github.com/adnan-c/fabric_e2e_couchdb@v0.6.1-preview.0.20170228180935-21ce6b23cf91/bddtests/common/configuration_pb2.py (about)

     1  # Generated by the protocol buffer compiler.  DO NOT EDIT!
     2  # source: common/configuration.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='common/configuration.proto',
    20    package='common',
    21    syntax='proto3',
    22    serialized_pb=_b('\n\x1a\x63ommon/configuration.proto\x12\x06\x63ommon\" \n\x10HashingAlgorithm\x12\x0c\n\x04name\x18\x01 \x01(\t\"*\n\x19\x42lockDataHashingStructure\x12\r\n\x05width\x18\x01 \x01(\r\"%\n\x10OrdererAddresses\x12\x11\n\taddresses\x18\x01 \x03(\tB-Z+github.com/hyperledger/fabric/protos/commonb\x06proto3')
    23  )
    24  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
    25  
    26  
    27  
    28  
    29  _HASHINGALGORITHM = _descriptor.Descriptor(
    30    name='HashingAlgorithm',
    31    full_name='common.HashingAlgorithm',
    32    filename=None,
    33    file=DESCRIPTOR,
    34    containing_type=None,
    35    fields=[
    36      _descriptor.FieldDescriptor(
    37        name='name', full_name='common.HashingAlgorithm.name', 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    ],
    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=38,
    56    serialized_end=70,
    57  )
    58  
    59  
    60  _BLOCKDATAHASHINGSTRUCTURE = _descriptor.Descriptor(
    61    name='BlockDataHashingStructure',
    62    full_name='common.BlockDataHashingStructure',
    63    filename=None,
    64    file=DESCRIPTOR,
    65    containing_type=None,
    66    fields=[
    67      _descriptor.FieldDescriptor(
    68        name='width', full_name='common.BlockDataHashingStructure.width', index=0,
    69        number=1, type=13, cpp_type=3, label=1,
    70        has_default_value=False, default_value=0,
    71        message_type=None, enum_type=None, containing_type=None,
    72        is_extension=False, extension_scope=None,
    73        options=None),
    74    ],
    75    extensions=[
    76    ],
    77    nested_types=[],
    78    enum_types=[
    79    ],
    80    options=None,
    81    is_extendable=False,
    82    syntax='proto3',
    83    extension_ranges=[],
    84    oneofs=[
    85    ],
    86    serialized_start=72,
    87    serialized_end=114,
    88  )
    89  
    90  
    91  _ORDERERADDRESSES = _descriptor.Descriptor(
    92    name='OrdererAddresses',
    93    full_name='common.OrdererAddresses',
    94    filename=None,
    95    file=DESCRIPTOR,
    96    containing_type=None,
    97    fields=[
    98      _descriptor.FieldDescriptor(
    99        name='addresses', full_name='common.OrdererAddresses.addresses', index=0,
   100        number=1, type=9, cpp_type=9, label=3,
   101        has_default_value=False, default_value=[],
   102        message_type=None, enum_type=None, containing_type=None,
   103        is_extension=False, extension_scope=None,
   104        options=None),
   105    ],
   106    extensions=[
   107    ],
   108    nested_types=[],
   109    enum_types=[
   110    ],
   111    options=None,
   112    is_extendable=False,
   113    syntax='proto3',
   114    extension_ranges=[],
   115    oneofs=[
   116    ],
   117    serialized_start=116,
   118    serialized_end=153,
   119  )
   120  
   121  DESCRIPTOR.message_types_by_name['HashingAlgorithm'] = _HASHINGALGORITHM
   122  DESCRIPTOR.message_types_by_name['BlockDataHashingStructure'] = _BLOCKDATAHASHINGSTRUCTURE
   123  DESCRIPTOR.message_types_by_name['OrdererAddresses'] = _ORDERERADDRESSES
   124  
   125  HashingAlgorithm = _reflection.GeneratedProtocolMessageType('HashingAlgorithm', (_message.Message,), dict(
   126    DESCRIPTOR = _HASHINGALGORITHM,
   127    __module__ = 'common.configuration_pb2'
   128    # @@protoc_insertion_point(class_scope:common.HashingAlgorithm)
   129    ))
   130  _sym_db.RegisterMessage(HashingAlgorithm)
   131  
   132  BlockDataHashingStructure = _reflection.GeneratedProtocolMessageType('BlockDataHashingStructure', (_message.Message,), dict(
   133    DESCRIPTOR = _BLOCKDATAHASHINGSTRUCTURE,
   134    __module__ = 'common.configuration_pb2'
   135    # @@protoc_insertion_point(class_scope:common.BlockDataHashingStructure)
   136    ))
   137  _sym_db.RegisterMessage(BlockDataHashingStructure)
   138  
   139  OrdererAddresses = _reflection.GeneratedProtocolMessageType('OrdererAddresses', (_message.Message,), dict(
   140    DESCRIPTOR = _ORDERERADDRESSES,
   141    __module__ = 'common.configuration_pb2'
   142    # @@protoc_insertion_point(class_scope:common.OrdererAddresses)
   143    ))
   144  _sym_db.RegisterMessage(OrdererAddresses)
   145  
   146  
   147  DESCRIPTOR.has_options = True
   148  DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('Z+github.com/hyperledger/fabric/protos/common'))
   149  try:
   150    # THESE ELEMENTS WILL BE DEPRECATED.
   151    # Please use the generated *_pb2_grpc.py files instead.
   152    import grpc
   153    from grpc.framework.common import cardinality
   154    from grpc.framework.interfaces.face import utilities as face_utilities
   155    from grpc.beta import implementations as beta_implementations
   156    from grpc.beta import interfaces as beta_interfaces
   157  except ImportError:
   158    pass
   159  # @@protoc_insertion_point(module_scope)