# Generated by the protocol buffer compiler.  DO NOT EDIT!
# source: google/api/resource.proto

import sys
_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
from google.protobuf import descriptor as _descriptor
from google.protobuf import message as _message
from google.protobuf import reflection as _reflection
from google.protobuf import symbol_database as _symbol_database
# @@protoc_insertion_point(imports)

_sym_db = _symbol_database.Default()


from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2


DESCRIPTOR = _descriptor.FileDescriptor(
  name='google/api/resource.proto',
  package='google.api',
  syntax='proto3',
  serialized_options=_b('\n\016com.google.apiB\rResourceProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\242\002\004GAPI\352A\035\n\022projects/{project}\022\007Project\352A,\n\034organizations/{organization}\022\014Organization'),
  serialized_pb=_b('\n\x19google/api/resource.proto\x12\ngoogle.api\x1a google/protobuf/descriptor.proto\"+\n\x08Resource\x12\x0f\n\x07pattern\x18\x01 \x01(\t\x12\x0e\n\x06symbol\x18\x02 \x01(\t:F\n\x08resource\x12\x1d.google.protobuf.FieldOptions\x18\x9d\x08 \x01(\x0b\x32\x14.google.api.Resource::\n\x12resource_reference\x12\x1d.google.protobuf.FieldOptions\x18\x9f\x08 \x01(\t:P\n\x13resource_definition\x12\x1c.google.protobuf.FileOptions\x18\x9d\x08 \x03(\x0b\x32\x14.google.api.ResourceB\xba\x01\n\x0e\x63om.google.apiB\rResourceProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xa2\x02\x04GAPI\xea\x41\x1d\n\x12projects/{project}\x12\x07Project\xea\x41,\n\x1corganizations/{organization}\x12\x0cOrganizationb\x06proto3')
  ,
  dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,])


RESOURCE_FIELD_NUMBER = 1053
resource = _descriptor.FieldDescriptor(
  name='resource', full_name='google.api.resource', index=0,
  number=1053, type=11, cpp_type=10, label=1,
  has_default_value=False, default_value=None,
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR)
RESOURCE_REFERENCE_FIELD_NUMBER = 1055
resource_reference = _descriptor.FieldDescriptor(
  name='resource_reference', full_name='google.api.resource_reference', index=1,
  number=1055, type=9, cpp_type=9, label=1,
  has_default_value=False, default_value=_b("").decode('utf-8'),
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR)
RESOURCE_DEFINITION_FIELD_NUMBER = 1053
resource_definition = _descriptor.FieldDescriptor(
  name='resource_definition', full_name='google.api.resource_definition', index=2,
  number=1053, type=11, cpp_type=10, label=3,
  has_default_value=False, default_value=[],
  message_type=None, enum_type=None, containing_type=None,
  is_extension=True, extension_scope=None,
  serialized_options=None, file=DESCRIPTOR)


_RESOURCE = _descriptor.Descriptor(
  name='Resource',
  full_name='google.api.Resource',
  filename=None,
  file=DESCRIPTOR,
  containing_type=None,
  fields=[
    _descriptor.FieldDescriptor(
      name='pattern', full_name='google.api.Resource.pattern', index=0,
      number=1, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
    _descriptor.FieldDescriptor(
      name='symbol', full_name='google.api.Resource.symbol', index=1,
      number=2, type=9, cpp_type=9, label=1,
      has_default_value=False, default_value=_b("").decode('utf-8'),
      message_type=None, enum_type=None, containing_type=None,
      is_extension=False, extension_scope=None,
      serialized_options=None, file=DESCRIPTOR),
  ],
  extensions=[
  ],
  nested_types=[],
  enum_types=[
  ],
  serialized_options=None,
  is_extendable=False,
  syntax='proto3',
  extension_ranges=[],
  oneofs=[
  ],
  serialized_start=75,
  serialized_end=118,
)

DESCRIPTOR.message_types_by_name['Resource'] = _RESOURCE
DESCRIPTOR.extensions_by_name['resource'] = resource
DESCRIPTOR.extensions_by_name['resource_reference'] = resource_reference
DESCRIPTOR.extensions_by_name['resource_definition'] = resource_definition
_sym_db.RegisterFileDescriptor(DESCRIPTOR)

Resource = _reflection.GeneratedProtocolMessageType('Resource', (_message.Message,), dict(
  DESCRIPTOR = _RESOURCE,
  __module__ = 'google.api.resource_pb2'
  # @@protoc_insertion_point(class_scope:google.api.Resource)
  ))
_sym_db.RegisterMessage(Resource)

resource.message_type = _RESOURCE
google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(resource)
google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(resource_reference)
resource_definition.message_type = _RESOURCE
google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(resource_definition)

DESCRIPTOR._options = None
# @@protoc_insertion_point(module_scope)
