github.com/leonlxy/hyperledger@v1.0.0-alpha.0.20170427033203-34922035d248/bddtests/msp/identities_pb2.py (about)

     1  # Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  # source: msp/identities.proto
     3  
     4  import sys
     5  _b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
     6  from google.protobuf import descriptor as _descriptor
     7  from google.protobuf import message as _message
     8  from google.protobuf import reflection as _reflection
     9  from google.protobuf import symbol_database as _symbol_database
    10  from google.protobuf import descriptor_pb2
    11  # @@protoc_insertion_point(imports)
    12  
    13  _sym_db = _symbol_database.Default()
    14  
    15  
    16  
    17  
    18  DESCRIPTOR = _descriptor.FileDescriptor(
    19    name='msp/identities.proto',
    20    package='msp',
    21    syntax='proto3',
    22    serialized_pb=_b('\n\x14msp/identities.proto\x12\x03msp\"5\n\x12SerializedIdentity\x12\r\n\x05mspid\x18\x01 \x01(\t\x12\x10\n\x08id_bytes\x18\x02 \x01(\x0c\x42M\n!org.hyperledger.fabric.protos.mspZ(github.com/hyperledger/fabric/protos/mspb\x06proto3')
    23  )
    24  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
    25  
    26  
    27  
    28  
    29  _SERIALIZEDIDENTITY = _descriptor.Descriptor(
    30    name='SerializedIdentity',
    31    full_name='msp.SerializedIdentity',
    32    filename=None,
    33    file=DESCRIPTOR,
    34    containing_type=None,
    35    fields=[
    36      _descriptor.FieldDescriptor(
    37        name='mspid', full_name='msp.SerializedIdentity.mspid', index=0,
    38        number=1, type=9, cpp_type=9, label=1,
    39        has_default_value=False, default_value=_b("").decode('utf-8'),
    40        message_type=None, enum_type=None, containing_type=None,
    41        is_extension=False, extension_scope=None,
    42        options=None),
    43      _descriptor.FieldDescriptor(
    44        name='id_bytes', full_name='msp.SerializedIdentity.id_bytes', index=1,
    45        number=2, type=12, cpp_type=9, label=1,
    46        has_default_value=False, default_value=_b(""),
    47        message_type=None, enum_type=None, containing_type=None,
    48        is_extension=False, extension_scope=None,
    49        options=None),
    50    ],
    51    extensions=[
    52    ],
    53    nested_types=[],
    54    enum_types=[
    55    ],
    56    options=None,
    57    is_extendable=False,
    58    syntax='proto3',
    59    extension_ranges=[],
    60    oneofs=[
    61    ],
    62    serialized_start=29,
    63    serialized_end=82,
    64  )
    65  
    66  DESCRIPTOR.message_types_by_name['SerializedIdentity'] = _SERIALIZEDIDENTITY
    67  
    68  SerializedIdentity = _reflection.GeneratedProtocolMessageType('SerializedIdentity', (_message.Message,), dict(
    69    DESCRIPTOR = _SERIALIZEDIDENTITY,
    70    __module__ = 'msp.identities_pb2'
    71    # @@protoc_insertion_point(class_scope:msp.SerializedIdentity)
    72    ))
    73  _sym_db.RegisterMessage(SerializedIdentity)
    74  
    75  
    76  DESCRIPTOR.has_options = True
    77  DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n!org.hyperledger.fabric.protos.mspZ(github.com/hyperledger/fabric/protos/msp'))
    78  try:
    79    # THESE ELEMENTS WILL BE DEPRECATED.
    80    # Please use the generated *_pb2_grpc.py files instead.
    81    import grpc
    82    from grpc.framework.common import cardinality
    83    from grpc.framework.interfaces.face import utilities as face_utilities
    84    from grpc.beta import implementations as beta_implementations
    85    from grpc.beta import interfaces as beta_interfaces
    86  except ImportError:
    87    pass
    88  # @@protoc_insertion_point(module_scope)