is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='tensorboard.NodeDef.AttrEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=194, serialized_end=261, ) _NODEDEF = _descriptor.Descriptor( name='NodeDef', full_name='tensorboard.NodeDef', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='positions', full_name='hiber.map.Satellite.positions', index=2, number=3, type=11, cpp_type=10, label=3, has_default_value=False, default_value=[], message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[_SATELLITE_POSITION, ], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('\030\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1049, serialized_end=1219, ) _SATELLITESREQUEST_RESPONSE = _descriptor.Descriptor( name='Response', full_name='hiber.map.SatellitesRequest.Response', filename=None, file=DESCRIPTOR,
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, options=None, file=DESCRIPTOR), ], extensions=[], nested_types=[], enum_types=[], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[], serialized_start=206, serialized_end=249, ) _RPCRECORD = _descriptor.Descriptor( name='RPCRecord', full_name='RPCRecord', filename=None, file=DESCRIPTOR, containing_type=None,
def __new__(mcls, name, bases, attrs): # Do not do any special behavior for Message itself. if not bases: return super().__new__(mcls, name, bases, attrs) # Get the essential information about the proto package, and where # this component belongs within the file. package, marshal = _package_info.compile(name, attrs) # Determine the local path of this proto component within the file. local_path = tuple(attrs.get('__qualname__', name).split('.')) # Sanity check: We get the wrong full name if a class is declared # inside a function local scope; correct this. if '<locals>' in local_path: ix = local_path.index('<locals>') local_path = local_path[:ix - 1] + local_path[ix + 1:] # Determine the full name in protocol buffers. full_name = '.'.join((package, ) + local_path).lstrip('.') # Special case: Maps. Map fields are special; they are essentially # shorthand for a nested message and a repeated field of that message. # Decompose each map into its constituent form. # https://developers.google.com/protocol-buffers/docs/proto3#maps for key, field in copy.copy(attrs).items(): if not isinstance(field, MapField): continue # Determine the name of the entry message. msg_name = '{pascal_key}Entry'.format(pascal_key=re.sub( r'_\w', lambda m: m.group()[1:].upper(), key, ).replace(key[0], key[0].upper(), 1), ) # Create the "entry" message (with the key and value fields). # # Note: We instantiate an ordered dictionary here and then # attach key and value in order to ensure that the fields are # iterated in the correct order when the class is created. # This is only an issue in Python 3.5, where the order is # random (and the wrong order causes the pool to refuse to add # the descriptor because reasons). entry_attrs = collections.OrderedDict({ '__module__': attrs.get('__module__', None), '__qualname__': '{prefix}.{name}'.format( prefix=attrs.get('__qualname__', name), name=msg_name, ), '_pb_options': { 'map_entry': True }, }) entry_attrs['key'] = Field(field.map_key_type, number=1) entry_attrs['value'] = Field( field.proto_type, number=2, enum=field.enum, message=field.message, ) attrs[msg_name] = MessageMeta(msg_name, (Message, ), entry_attrs) # Create the repeated field for the entry message. attrs[key] = RepeatedField( ProtoType.MESSAGE, number=field.number, message=attrs[msg_name], ) # Okay, now we deal with all the rest of the fields. # Iterate over all the attributes and separate the fields into # their own sequence. fields = [] oneofs = collections.OrderedDict() proto_imports = set() index = 0 for key, field in copy.copy(attrs).items(): # Sanity check: If this is not a field, do nothing. if not isinstance(field, Field): continue # Remove the field from the attrs dictionary; the field objects # themselves should not be direct attributes. attrs.pop(key) # Add data that the field requires that we do not take in the # constructor because we can derive it from the metaclass. # (The goal is to make the declaration syntax as nice as possible.) field.mcls_data = { 'name': key, 'parent_name': full_name, 'index': index, 'package': package, } # Add the field to the list of fields. fields.append(field) # If this field is part of a "oneof", ensure the oneof itself # is represented. if field.oneof: # Keep a running tally of the index of each oneof, and assign # that index to the field's descriptor. oneofs.setdefault(field.oneof, len(oneofs)) field.descriptor.oneof_index = oneofs[field.oneof] # If this field references a message, it may be from another # proto file; ensure we know about the import (to faithfully # construct our file descriptor proto). if field.message and not isinstance(field.message, str): field_msg = field.message if hasattr(field_msg, 'pb') and callable(field_msg.pb): field_msg = field_msg.pb() # Sanity check: The field's message may not yet be defined if # it was a Message defined in the same file, and the file # descriptor proto has not yet been generated. # # We do nothing in this situation; everything will be handled # correctly when the file descriptor is created later. if field_msg: proto_imports.add(field_msg.DESCRIPTOR.file.name) symbol_database.Default().RegisterMessage(field_msg) # Increment the field index counter. index += 1 # As per descriptor.proto, all synthetic oneofs must be ordered after # 'real' oneofs. opt_attrs = {} for field in fields: if field.optional: field.oneof = "_{}".format(field.name) field.descriptor.oneof_index = oneofs[field.oneof] = len( oneofs) opt_attrs[field.name] = field.name # Generating a metaclass dynamically provides class attributes that # instances can't see. This provides idiomatically named constants # that enable the following pattern to check for field presence: # # class MyMessage(proto.Message): # field = proto.Field(proto.INT32, number=1, optional=True) # # m = MyMessage() # MyMessage.field in m mcls = type('AttrsMeta', (mcls, ), opt_attrs) # Determine the filename. # We determine an appropriate proto filename based on the # Python module. filename = '{0}.proto'.format( attrs.get('__module__', name.lower()).replace('.', '/')) # Get or create the information about the file, including the # descriptor to which the new message descriptor shall be added. file_info = _file_info._FileInfo.registry.setdefault( filename, _file_info._FileInfo( descriptor=descriptor_pb2.FileDescriptorProto( name=filename, package=package, syntax='proto3', ), enums=collections.OrderedDict(), messages=collections.OrderedDict(), name=filename, nested={}, ), ) # Ensure any imports that would be necessary are assigned to the file # descriptor proto being created. for proto_import in proto_imports: if proto_import not in file_info.descriptor.dependency: file_info.descriptor.dependency.append(proto_import) # Retrieve any message options. opts = descriptor_pb2.MessageOptions(**attrs.pop('_pb_options', {})) # Create the underlying proto descriptor. desc = descriptor_pb2.DescriptorProto( name=name, field=[i.descriptor for i in fields], oneof_decl=[ descriptor_pb2.OneofDescriptorProto(name=i) for i in oneofs.keys() ], options=opts, ) # If any descriptors were nested under this one, they need to be # attached as nested types here. for child_path in copy.copy(file_info.nested).keys(): if local_path == child_path[:-1]: desc.nested_type.add().MergeFrom( file_info.nested.pop(child_path), ) # Add the descriptor to the file if it is a top-level descriptor, # or to a "holding area" for nested messages otherwise. if len(local_path) == 1: file_info.descriptor.message_type.add().MergeFrom(desc) else: file_info.nested[local_path] = desc # Create the MessageInfo instance to be attached to this message. attrs['_meta'] = _MessageInfo( fields=fields, full_name=full_name, marshal=marshal, options=opts, package=package, ) # Run the superclass constructor. cls = super().__new__(mcls, name, bases, attrs) # The info class and fields need a reference to the class just created. cls._meta.parent = cls for field in cls._meta.fields.values(): field.parent = cls # Add this message to the _FileInfo instance; this allows us to # associate the descriptor with the message once the descriptor # is generated. file_info.messages[full_name] = cls # Generate the descriptor for the file if it is ready. if file_info.ready(new_class=cls): file_info.generate_file_pb() # Done; return the class. return cls
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='CoreML.Specification.Metadata.UserDefinedEntry.value', 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, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=812, serialized_end=862, ) _METADATA = _descriptor.Descriptor( name='Metadata', full_name='CoreML.Specification.Metadata', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='tensorflow.ProfileSessionDataRequest.ParametersEntry.value', 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, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=723, serialized_end=772, ) _PROFILESESSIONDATAREQUEST = _descriptor.Descriptor( name='ProfileSessionDataRequest', full_name='tensorflow.ProfileSessionDataRequest', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='Ydb.YqlInternal.ExecDataQueryAstRequest.ParametersEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=675, serialized_end=741, ) _EXECDATAQUERYASTREQUEST = _descriptor.Descriptor( name='ExecDataQueryAstRequest', full_name='Ydb.YqlInternal.ExecDataQueryAstRequest', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='value', full_name='bmeg.Gene.InfoEntry.value', 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, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=317, serialized_end=360, ) _GENE = _descriptor.Descriptor( name='Gene', full_name='bmeg.Gene', filename=None, file=DESCRIPTOR, containing_type=None,
from google.protobuf import message from google.protobuf import reflection from google.protobuf import service from google.protobuf import service_reflection from google.protobuf import descriptor_pb2 _TESTMESSAGESET = descriptor.Descriptor( name='TestMessageSet', full_name='protobuf_unittest.TestMessageSet', filename='google/protobuf/unittest_mset.proto', containing_type=None, fields=[], extensions=[], nested_types=[], # TODO(robinson): Implement. enum_types=[], options=descriptor._ParseOptions(descriptor_pb2.MessageOptions(), '\010\001')) _TESTMESSAGESETCONTAINER = descriptor.Descriptor( name='TestMessageSetContainer', full_name='protobuf_unittest.TestMessageSetContainer', filename='google/protobuf/unittest_mset.proto', containing_type=None, fields=[ descriptor.FieldDescriptor( name='message_set', full_name='protobuf_unittest.TestMessageSetContainer.message_set', index=0, number=1, type=11, cpp_type=10,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='common.ConfigGroupSchema.GroupsEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=357, serialized_end=429, ) _CONFIGGROUPSCHEMA_VALUESENTRY = _descriptor.Descriptor( name='ValuesEntry', full_name='common.ConfigGroupSchema.ValuesEntry', filename=None, file=DESCRIPTOR, containing_type=None,
_TESTMESSAGESET = _descriptor.Descriptor( name='TestMessageSet', full_name='google.protobuf.internal.TestMessageSet', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('\010\001')), is_extendable=True, syntax='proto2', extension_ranges=[(4, 2147483647), ], oneofs=[ ], serialized_start=83, serialized_end=113, ) _TESTMESSAGESETEXTENSION1 = _descriptor.Descriptor( name='TestMessageSetExtension1', full_name='google.protobuf.internal.TestMessageSetExtension1', filename=None, file=DESCRIPTOR,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='throttlerdata.MaxRatesResponse.RatesEntry.value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=136, serialized_end=180, ) _MAXRATESRESPONSE = _descriptor.Descriptor( name='MaxRatesResponse', full_name='throttlerdata.MaxRatesResponse', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='google.devtools.remoteworkers.v1test2.Task.LogsEntry.value', 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, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=264, serialized_end=307, ) _TASK = _descriptor.Descriptor( name='Task', full_name='google.devtools.remoteworkers.v1test2.Task', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='fleetspeak.ValidationInfo.TagsEntry.value', 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, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=249, serialized_end=292, ) _VALIDATIONINFO = _descriptor.Descriptor( name='ValidationInfo', full_name='fleetspeak.ValidationInfo', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='p4.P4_int_metadata.KpisEntry.value', index=1, number=2, type=2, cpp_type=6, label=1, has_default_value=False, default_value=float(0), message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=424, serialized_end=467, ) _P4_INT_METADATA = _descriptor.Descriptor( name='P4_int_metadata', full_name='p4.P4_int_metadata', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='value', full_name='istio.networking.v1alpha3.Subset.LabelsEntry.value', 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, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1184, serialized_end=1229, ) _SUBSET = _descriptor.Descriptor( name='Subset', full_name='istio.networking.v1alpha3.Subset', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='ga4gh.Attributes.ValsEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=401, serialized_end=482, ) _ATTRIBUTES = _descriptor.Descriptor( name='Attributes', full_name='ga4gh.Attributes', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='value', full_name='google.cloud.dataproc.v1beta2.ClusterOperationMetadata.LabelsEntry.value', 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, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=774, serialized_end=819, ) _CLUSTEROPERATIONMETADATA = _descriptor.Descriptor( name='ClusterOperationMetadata', full_name='google.cloud.dataproc.v1beta2.ClusterOperationMetadata', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='value', full_name='coprocess.MiniRequestObject.HeadersEntry.value', 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, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=630, serialized_end=676, ) _MINIREQUESTOBJECT_SETHEADERSENTRY = _descriptor.Descriptor( name='SetHeadersEntry', full_name='coprocess.MiniRequestObject.SetHeadersEntry', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='topodata.Tablet.PortMapEntry.value', index=1, number=2, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=414, serialized_end=460, ) _TABLET_TAGSENTRY = _descriptor.Descriptor( name='TagsEntry', full_name='topodata.Tablet.TagsEntry', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='CoreML.Specification.StringToInt64Map.MapEntry.value', index=1, number=2, type=3, cpp_type=2, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=148, serialized_end=190, ) _STRINGTOINT64MAP = _descriptor.Descriptor( name='StringToInt64Map', full_name='CoreML.Specification.StringToInt64Map', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='proto.FlagRequest.StringsEntry.value', 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, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=154, serialized_end=200, ) _FLAGREQUEST_NUMBERSENTRY = _descriptor.Descriptor( name='NumbersEntry', full_name='proto.FlagRequest.NumbersEntry', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='tensorflow.serving.SignatureDefMap.SignatureDefEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=277, serialized_end=354, ) _SIGNATUREDEFMAP = _descriptor.Descriptor( name='SignatureDefMap', full_name='tensorflow.serving.SignatureDefMap', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='Anchor.ObjectsEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=217, serialized_end=272, ) _ANCHOR = _descriptor.Descriptor( name='Anchor', full_name='Anchor', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='google.protobuf.Struct.FieldsEntry.value', index=1, number=2, 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=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=113, serialized_end=182, ) _STRUCT = _descriptor.Descriptor( name='Struct', full_name='google.protobuf.Struct', filename=None, file=DESCRIPTOR, containing_type=None,
label=1, has_default_value=False, default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None ), ], extensions=[], nested_types=[], enum_types=[], options=_descriptor._ParseOptions( descriptor_pb2.MessageOptions(), _b('8\001') ), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[], serialized_start=463, serialized_end=565, ) _DESCRIPTIONRESPONSE_RESOURCEDESCRIPTION_ROLESENTRY = _descriptor.Descriptor( name='RolesEntry', full_name='access.DescriptionResponse.ResourceDescription.RolesEntry', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None, file=DESCRIPTOR), _descriptor.FieldDescriptor( name='value', full_name='google.monitoring.v3.AlertPolicy.UserLabelsEntry.value', 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, options=None, file=DESCRIPTOR), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1749, serialized_end=1798, ) _ALERTPOLICY = _descriptor.Descriptor( name='AlertPolicy', full_name='google.monitoring.v3.AlertPolicy', filename=None, file=DESCRIPTOR, containing_type=None,
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='trace.Trace.MetadataEntry.value', 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, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=300, serialized_end=347, ) _TRACE = _descriptor.Descriptor( name='Trace', full_name='trace.Trace', filename=None, file=DESCRIPTOR, containing_type=None,
default_value=None, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[], nested_types=[ _CONTENTTYPEMANAGER_GETSTATISTICSGPB_RESULTGPB, _CONTENTTYPEMANAGER_GETSTATISTICSGPB_SETUPGPB, ], enum_types=[], options=descriptor._ParseOptions( descriptor_pb2.MessageOptions(), '\212\265\030#Get content type manager statistics'), is_extendable=False, extension_ranges=[], serialized_start=682, serialized_end=1281, ) _CONTENTTYPEMANAGER_CLEARCOUNTERSGPB = descriptor.Descriptor( name='ContentTypeManager_ClearCountersGpb', full_name='a.line.db.ContentTypeManager_ClearCountersGpb', filename=None, file=DESCRIPTOR, containing_type=None, fields=[ descriptor.FieldDescriptor(
is_extension=False, extension_scope=None, options=None), _descriptor.FieldDescriptor( name='value', full_name='tensorflow.ConfigProto.DeviceCountEntry.value', index=1, number=2, type=5, cpp_type=1, label=1, has_default_value=False, default_value=0, message_type=None, enum_type=None, containing_type=None, is_extension=False, extension_scope=None, options=None), ], extensions=[ ], nested_types=[], enum_types=[ ], options=_descriptor._ParseOptions(descriptor_pb2.MessageOptions(), _b('8\001')), is_extendable=False, syntax='proto3', extension_ranges=[], oneofs=[ ], serialized_start=1768, serialized_end=1818, ) _CONFIGPROTO = _descriptor.Descriptor( name='ConfigProto', full_name='tensorflow.ConfigProto', filename=None, file=DESCRIPTOR, containing_type=None,