github.com/kchristidis/fabric@v1.0.4-0.20171028114726-837acd08cde1/bddtests/peer/chaincode_event_pb2.py (about)

     1  # Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  # source: peer/chaincode_event.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='peer/chaincode_event.proto',
    20    package='protos',
    21    syntax='proto3',
    22    serialized_pb=_b('\n\x1apeer/chaincode_event.proto\x12\x06protos\"Z\n\x0e\x43haincodeEvent\x12\x14\n\x0c\x63haincode_id\x18\x01 \x01(\t\x12\r\n\x05tx_id\x18\x02 \x01(\t\x12\x12\n\nevent_name\x18\x03 \x01(\t\x12\x0f\n\x07payload\x18\x04 \x01(\x0c\x42\x66\n\"org.hyperledger.fabric.protos.peerB\x15\x43haincodeEventPackageZ)github.com/hyperledger/fabric/protos/peerb\x06proto3')
    23  )
    24  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
    25  
    26  
    27  
    28  
    29  _CHAINCODEEVENT = _descriptor.Descriptor(
    30    name='ChaincodeEvent',
    31    full_name='protos.ChaincodeEvent',
    32    filename=None,
    33    file=DESCRIPTOR,
    34    containing_type=None,
    35    fields=[
    36      _descriptor.FieldDescriptor(
    37        name='chaincode_id', full_name='protos.ChaincodeEvent.chaincode_id', 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='tx_id', full_name='protos.ChaincodeEvent.tx_id', index=1,
    45        number=2, type=9, cpp_type=9, label=1,
    46        has_default_value=False, default_value=_b("").decode('utf-8'),
    47        message_type=None, enum_type=None, containing_type=None,
    48        is_extension=False, extension_scope=None,
    49        options=None),
    50      _descriptor.FieldDescriptor(
    51        name='event_name', full_name='protos.ChaincodeEvent.event_name', index=2,
    52        number=3, type=9, cpp_type=9, label=1,
    53        has_default_value=False, default_value=_b("").decode('utf-8'),
    54        message_type=None, enum_type=None, containing_type=None,
    55        is_extension=False, extension_scope=None,
    56        options=None),
    57      _descriptor.FieldDescriptor(
    58        name='payload', full_name='protos.ChaincodeEvent.payload', index=3,
    59        number=4, type=12, cpp_type=9, label=1,
    60        has_default_value=False, default_value=_b(""),
    61        message_type=None, enum_type=None, containing_type=None,
    62        is_extension=False, extension_scope=None,
    63        options=None),
    64    ],
    65    extensions=[
    66    ],
    67    nested_types=[],
    68    enum_types=[
    69    ],
    70    options=None,
    71    is_extendable=False,
    72    syntax='proto3',
    73    extension_ranges=[],
    74    oneofs=[
    75    ],
    76    serialized_start=38,
    77    serialized_end=128,
    78  )
    79  
    80  DESCRIPTOR.message_types_by_name['ChaincodeEvent'] = _CHAINCODEEVENT
    81  
    82  ChaincodeEvent = _reflection.GeneratedProtocolMessageType('ChaincodeEvent', (_message.Message,), dict(
    83    DESCRIPTOR = _CHAINCODEEVENT,
    84    __module__ = 'peer.chaincode_event_pb2'
    85    # @@protoc_insertion_point(class_scope:protos.ChaincodeEvent)
    86    ))
    87  _sym_db.RegisterMessage(ChaincodeEvent)
    88  
    89  
    90  DESCRIPTOR.has_options = True
    91  DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\"org.hyperledger.fabric.protos.peerB\025ChaincodeEventPackageZ)github.com/hyperledger/fabric/protos/peer'))
    92  try:
    93    # THESE ELEMENTS WILL BE DEPRECATED.
    94    # Please use the generated *_pb2_grpc.py files instead.
    95    import grpc
    96    from grpc.framework.common import cardinality
    97    from grpc.framework.interfaces.face import utilities as face_utilities
    98    from grpc.beta import implementations as beta_implementations
    99    from grpc.beta import interfaces as beta_interfaces
   100  except ImportError:
   101    pass
   102  # @@protoc_insertion_point(module_scope)