/ components / protocomm / python / constants_pb2.py
constants_pb2.py
 1  # Generated by the protocol buffer compiler.  DO NOT EDIT!
 2  # source: constants.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.internal import enum_type_wrapper
 7  from google.protobuf import descriptor as _descriptor
 8  from google.protobuf import message as _message
 9  from google.protobuf import reflection as _reflection
10  from google.protobuf import symbol_database as _symbol_database
11  from google.protobuf import descriptor_pb2
12  # @@protoc_insertion_point(imports)
13  
14  _sym_db = _symbol_database.Default()
15  
16  
17  
18  
19  DESCRIPTOR = _descriptor.FileDescriptor(
20    name='constants.proto',
21    package='',
22    syntax='proto3',
23    serialized_pb=_b('\n\x0f\x63onstants.proto*\x9f\x01\n\x06Status\x12\x0b\n\x07Success\x10\x00\x12\x14\n\x10InvalidSecScheme\x10\x01\x12\x10\n\x0cInvalidProto\x10\x02\x12\x13\n\x0fTooManySessions\x10\x03\x12\x13\n\x0fInvalidArgument\x10\x04\x12\x11\n\rInternalError\x10\x05\x12\x0f\n\x0b\x43ryptoError\x10\x06\x12\x12\n\x0eInvalidSession\x10\x07\x62\x06proto3')
24  )
25  
26  _STATUS = _descriptor.EnumDescriptor(
27    name='Status',
28    full_name='Status',
29    filename=None,
30    file=DESCRIPTOR,
31    values=[
32      _descriptor.EnumValueDescriptor(
33        name='Success', index=0, number=0,
34        options=None,
35        type=None),
36      _descriptor.EnumValueDescriptor(
37        name='InvalidSecScheme', index=1, number=1,
38        options=None,
39        type=None),
40      _descriptor.EnumValueDescriptor(
41        name='InvalidProto', index=2, number=2,
42        options=None,
43        type=None),
44      _descriptor.EnumValueDescriptor(
45        name='TooManySessions', index=3, number=3,
46        options=None,
47        type=None),
48      _descriptor.EnumValueDescriptor(
49        name='InvalidArgument', index=4, number=4,
50        options=None,
51        type=None),
52      _descriptor.EnumValueDescriptor(
53        name='InternalError', index=5, number=5,
54        options=None,
55        type=None),
56      _descriptor.EnumValueDescriptor(
57        name='CryptoError', index=6, number=6,
58        options=None,
59        type=None),
60      _descriptor.EnumValueDescriptor(
61        name='InvalidSession', index=7, number=7,
62        options=None,
63        type=None),
64    ],
65    containing_type=None,
66    options=None,
67    serialized_start=20,
68    serialized_end=179,
69  )
70  _sym_db.RegisterEnumDescriptor(_STATUS)
71  
72  Status = enum_type_wrapper.EnumTypeWrapper(_STATUS)
73  Success = 0
74  InvalidSecScheme = 1
75  InvalidProto = 2
76  TooManySessions = 3
77  InvalidArgument = 4
78  InternalError = 5
79  CryptoError = 6
80  InvalidSession = 7
81  
82  
83  DESCRIPTOR.enum_types_by_name['Status'] = _STATUS
84  _sym_db.RegisterFileDescriptor(DESCRIPTOR)
85  
86  
87  # @@protoc_insertion_point(module_scope)