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

     1  # Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  # source: peer/query.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/query.proto',
    20    package='protos',
    21    syntax='proto3',
    22    serialized_pb=_b('\n\x10peer/query.proto\x12\x06protos\"C\n\x16\x43haincodeQueryResponse\x12)\n\nchaincodes\x18\x01 \x03(\x0b\x32\x15.protos.ChaincodeInfo\"g\n\rChaincodeInfo\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07version\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12\r\n\x05input\x18\x04 \x01(\t\x12\x0c\n\x04\x65scc\x18\x05 \x01(\t\x12\x0c\n\x04vscc\x18\x06 \x01(\t\"=\n\x14\x43hannelQueryResponse\x12%\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x13.protos.ChannelInfo\"!\n\x0b\x43hannelInfo\x12\x12\n\nchannel_id\x18\x01 \x01(\tBO\n\"org.hyperledger.fabric.protos.peerZ)github.com/hyperledger/fabric/protos/peerb\x06proto3')
    23  )
    24  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
    25  
    26  
    27  
    28  
    29  _CHAINCODEQUERYRESPONSE = _descriptor.Descriptor(
    30    name='ChaincodeQueryResponse',
    31    full_name='protos.ChaincodeQueryResponse',
    32    filename=None,
    33    file=DESCRIPTOR,
    34    containing_type=None,
    35    fields=[
    36      _descriptor.FieldDescriptor(
    37        name='chaincodes', full_name='protos.ChaincodeQueryResponse.chaincodes', index=0,
    38        number=1, type=11, cpp_type=10, label=3,
    39        has_default_value=False, default_value=[],
    40        message_type=None, enum_type=None, containing_type=None,
    41        is_extension=False, extension_scope=None,
    42        options=None),
    43    ],
    44    extensions=[
    45    ],
    46    nested_types=[],
    47    enum_types=[
    48    ],
    49    options=None,
    50    is_extendable=False,
    51    syntax='proto3',
    52    extension_ranges=[],
    53    oneofs=[
    54    ],
    55    serialized_start=28,
    56    serialized_end=95,
    57  )
    58  
    59  
    60  _CHAINCODEINFO = _descriptor.Descriptor(
    61    name='ChaincodeInfo',
    62    full_name='protos.ChaincodeInfo',
    63    filename=None,
    64    file=DESCRIPTOR,
    65    containing_type=None,
    66    fields=[
    67      _descriptor.FieldDescriptor(
    68        name='name', full_name='protos.ChaincodeInfo.name', index=0,
    69        number=1, type=9, cpp_type=9, label=1,
    70        has_default_value=False, default_value=_b("").decode('utf-8'),
    71        message_type=None, enum_type=None, containing_type=None,
    72        is_extension=False, extension_scope=None,
    73        options=None),
    74      _descriptor.FieldDescriptor(
    75        name='version', full_name='protos.ChaincodeInfo.version', index=1,
    76        number=2, type=9, cpp_type=9, label=1,
    77        has_default_value=False, default_value=_b("").decode('utf-8'),
    78        message_type=None, enum_type=None, containing_type=None,
    79        is_extension=False, extension_scope=None,
    80        options=None),
    81      _descriptor.FieldDescriptor(
    82        name='path', full_name='protos.ChaincodeInfo.path', index=2,
    83        number=3, type=9, cpp_type=9, label=1,
    84        has_default_value=False, default_value=_b("").decode('utf-8'),
    85        message_type=None, enum_type=None, containing_type=None,
    86        is_extension=False, extension_scope=None,
    87        options=None),
    88      _descriptor.FieldDescriptor(
    89        name='input', full_name='protos.ChaincodeInfo.input', index=3,
    90        number=4, type=9, cpp_type=9, label=1,
    91        has_default_value=False, default_value=_b("").decode('utf-8'),
    92        message_type=None, enum_type=None, containing_type=None,
    93        is_extension=False, extension_scope=None,
    94        options=None),
    95      _descriptor.FieldDescriptor(
    96        name='escc', full_name='protos.ChaincodeInfo.escc', index=4,
    97        number=5, type=9, cpp_type=9, label=1,
    98        has_default_value=False, default_value=_b("").decode('utf-8'),
    99        message_type=None, enum_type=None, containing_type=None,
   100        is_extension=False, extension_scope=None,
   101        options=None),
   102      _descriptor.FieldDescriptor(
   103        name='vscc', full_name='protos.ChaincodeInfo.vscc', index=5,
   104        number=6, type=9, cpp_type=9, label=1,
   105        has_default_value=False, default_value=_b("").decode('utf-8'),
   106        message_type=None, enum_type=None, containing_type=None,
   107        is_extension=False, extension_scope=None,
   108        options=None),
   109    ],
   110    extensions=[
   111    ],
   112    nested_types=[],
   113    enum_types=[
   114    ],
   115    options=None,
   116    is_extendable=False,
   117    syntax='proto3',
   118    extension_ranges=[],
   119    oneofs=[
   120    ],
   121    serialized_start=97,
   122    serialized_end=200,
   123  )
   124  
   125  
   126  _CHANNELQUERYRESPONSE = _descriptor.Descriptor(
   127    name='ChannelQueryResponse',
   128    full_name='protos.ChannelQueryResponse',
   129    filename=None,
   130    file=DESCRIPTOR,
   131    containing_type=None,
   132    fields=[
   133      _descriptor.FieldDescriptor(
   134        name='channels', full_name='protos.ChannelQueryResponse.channels', index=0,
   135        number=1, type=11, cpp_type=10, label=3,
   136        has_default_value=False, default_value=[],
   137        message_type=None, enum_type=None, containing_type=None,
   138        is_extension=False, extension_scope=None,
   139        options=None),
   140    ],
   141    extensions=[
   142    ],
   143    nested_types=[],
   144    enum_types=[
   145    ],
   146    options=None,
   147    is_extendable=False,
   148    syntax='proto3',
   149    extension_ranges=[],
   150    oneofs=[
   151    ],
   152    serialized_start=202,
   153    serialized_end=263,
   154  )
   155  
   156  
   157  _CHANNELINFO = _descriptor.Descriptor(
   158    name='ChannelInfo',
   159    full_name='protos.ChannelInfo',
   160    filename=None,
   161    file=DESCRIPTOR,
   162    containing_type=None,
   163    fields=[
   164      _descriptor.FieldDescriptor(
   165        name='channel_id', full_name='protos.ChannelInfo.channel_id', index=0,
   166        number=1, type=9, cpp_type=9, label=1,
   167        has_default_value=False, default_value=_b("").decode('utf-8'),
   168        message_type=None, enum_type=None, containing_type=None,
   169        is_extension=False, extension_scope=None,
   170        options=None),
   171    ],
   172    extensions=[
   173    ],
   174    nested_types=[],
   175    enum_types=[
   176    ],
   177    options=None,
   178    is_extendable=False,
   179    syntax='proto3',
   180    extension_ranges=[],
   181    oneofs=[
   182    ],
   183    serialized_start=265,
   184    serialized_end=298,
   185  )
   186  
   187  _CHAINCODEQUERYRESPONSE.fields_by_name['chaincodes'].message_type = _CHAINCODEINFO
   188  _CHANNELQUERYRESPONSE.fields_by_name['channels'].message_type = _CHANNELINFO
   189  DESCRIPTOR.message_types_by_name['ChaincodeQueryResponse'] = _CHAINCODEQUERYRESPONSE
   190  DESCRIPTOR.message_types_by_name['ChaincodeInfo'] = _CHAINCODEINFO
   191  DESCRIPTOR.message_types_by_name['ChannelQueryResponse'] = _CHANNELQUERYRESPONSE
   192  DESCRIPTOR.message_types_by_name['ChannelInfo'] = _CHANNELINFO
   193  
   194  ChaincodeQueryResponse = _reflection.GeneratedProtocolMessageType('ChaincodeQueryResponse', (_message.Message,), dict(
   195    DESCRIPTOR = _CHAINCODEQUERYRESPONSE,
   196    __module__ = 'peer.query_pb2'
   197    # @@protoc_insertion_point(class_scope:protos.ChaincodeQueryResponse)
   198    ))
   199  _sym_db.RegisterMessage(ChaincodeQueryResponse)
   200  
   201  ChaincodeInfo = _reflection.GeneratedProtocolMessageType('ChaincodeInfo', (_message.Message,), dict(
   202    DESCRIPTOR = _CHAINCODEINFO,
   203    __module__ = 'peer.query_pb2'
   204    # @@protoc_insertion_point(class_scope:protos.ChaincodeInfo)
   205    ))
   206  _sym_db.RegisterMessage(ChaincodeInfo)
   207  
   208  ChannelQueryResponse = _reflection.GeneratedProtocolMessageType('ChannelQueryResponse', (_message.Message,), dict(
   209    DESCRIPTOR = _CHANNELQUERYRESPONSE,
   210    __module__ = 'peer.query_pb2'
   211    # @@protoc_insertion_point(class_scope:protos.ChannelQueryResponse)
   212    ))
   213  _sym_db.RegisterMessage(ChannelQueryResponse)
   214  
   215  ChannelInfo = _reflection.GeneratedProtocolMessageType('ChannelInfo', (_message.Message,), dict(
   216    DESCRIPTOR = _CHANNELINFO,
   217    __module__ = 'peer.query_pb2'
   218    # @@protoc_insertion_point(class_scope:protos.ChannelInfo)
   219    ))
   220  _sym_db.RegisterMessage(ChannelInfo)
   221  
   222  
   223  DESCRIPTOR.has_options = True
   224  DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\"org.hyperledger.fabric.protos.peerZ)github.com/hyperledger/fabric/protos/peer'))
   225  try:
   226    # THESE ELEMENTS WILL BE DEPRECATED.
   227    # Please use the generated *_pb2_grpc.py files instead.
   228    import grpc
   229    from grpc.framework.common import cardinality
   230    from grpc.framework.interfaces.face import utilities as face_utilities
   231    from grpc.beta import implementations as beta_implementations
   232    from grpc.beta import interfaces as beta_interfaces
   233  except ImportError:
   234    pass
   235  # @@protoc_insertion_point(module_scope)