1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# source: sec0.proto 3 4import sys 5 6_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import descriptor_pb2 9from google.protobuf import message as _message 10from google.protobuf import reflection as _reflection 11from google.protobuf import symbol_database as _symbol_database 12from google.protobuf.internal import enum_type_wrapper 13 14# @@protoc_insertion_point(imports) 15 16_sym_db = _symbol_database.Default() 17 18 19import constants_pb2 as constants__pb2 20 21DESCRIPTOR = _descriptor.FileDescriptor( 22 name='sec0.proto', 23 package='', 24 syntax='proto3', 25 serialized_pb=_b('\n\nsec0.proto\x1a\x0f\x63onstants.proto\"\x0e\n\x0cS0SessionCmd\"(\n\rS0SessionResp\x12\x17\n\x06status\x18\x01 \x01(\x0e\x32\x07.Status\"n\n\x0bSec0Payload\x12\x19\n\x03msg\x18\x01 \x01(\x0e\x32\x0c.Sec0MsgType\x12\x1b\n\x02sc\x18\x14 \x01(\x0b\x32\r.S0SessionCmdH\x00\x12\x1c\n\x02sr\x18\x15 \x01(\x0b\x32\x0e.S0SessionRespH\x00\x42\t\n\x07payload*>\n\x0bSec0MsgType\x12\x16\n\x12S0_Session_Command\x10\x00\x12\x17\n\x13S0_Session_Response\x10\x01\x62\x06proto3') 26 , 27 dependencies=[constants__pb2.DESCRIPTOR,]) 28 29_SEC0MSGTYPE = _descriptor.EnumDescriptor( 30 name='Sec0MsgType', 31 full_name='Sec0MsgType', 32 filename=None, 33 file=DESCRIPTOR, 34 values=[ 35 _descriptor.EnumValueDescriptor( 36 name='S0_Session_Command', index=0, number=0, 37 options=None, 38 type=None), 39 _descriptor.EnumValueDescriptor( 40 name='S0_Session_Response', index=1, number=1, 41 options=None, 42 type=None), 43 ], 44 containing_type=None, 45 options=None, 46 serialized_start=201, 47 serialized_end=263, 48) 49_sym_db.RegisterEnumDescriptor(_SEC0MSGTYPE) 50 51Sec0MsgType = enum_type_wrapper.EnumTypeWrapper(_SEC0MSGTYPE) 52S0_Session_Command = 0 53S0_Session_Response = 1 54 55 56 57_S0SESSIONCMD = _descriptor.Descriptor( 58 name='S0SessionCmd', 59 full_name='S0SessionCmd', 60 filename=None, 61 file=DESCRIPTOR, 62 containing_type=None, 63 fields=[ 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=31, 77 serialized_end=45, 78) 79 80 81_S0SESSIONRESP = _descriptor.Descriptor( 82 name='S0SessionResp', 83 full_name='S0SessionResp', 84 filename=None, 85 file=DESCRIPTOR, 86 containing_type=None, 87 fields=[ 88 _descriptor.FieldDescriptor( 89 name='status', full_name='S0SessionResp.status', index=0, 90 number=1, type=14, cpp_type=8, label=1, 91 has_default_value=False, default_value=0, 92 message_type=None, enum_type=None, containing_type=None, 93 is_extension=False, extension_scope=None, 94 options=None, file=DESCRIPTOR), 95 ], 96 extensions=[ 97 ], 98 nested_types=[], 99 enum_types=[ 100 ], 101 options=None, 102 is_extendable=False, 103 syntax='proto3', 104 extension_ranges=[], 105 oneofs=[ 106 ], 107 serialized_start=47, 108 serialized_end=87, 109) 110 111 112_SEC0PAYLOAD = _descriptor.Descriptor( 113 name='Sec0Payload', 114 full_name='Sec0Payload', 115 filename=None, 116 file=DESCRIPTOR, 117 containing_type=None, 118 fields=[ 119 _descriptor.FieldDescriptor( 120 name='msg', full_name='Sec0Payload.msg', index=0, 121 number=1, type=14, cpp_type=8, label=1, 122 has_default_value=False, default_value=0, 123 message_type=None, enum_type=None, containing_type=None, 124 is_extension=False, extension_scope=None, 125 options=None, file=DESCRIPTOR), 126 _descriptor.FieldDescriptor( 127 name='sc', full_name='Sec0Payload.sc', index=1, 128 number=20, type=11, cpp_type=10, label=1, 129 has_default_value=False, default_value=None, 130 message_type=None, enum_type=None, containing_type=None, 131 is_extension=False, extension_scope=None, 132 options=None, file=DESCRIPTOR), 133 _descriptor.FieldDescriptor( 134 name='sr', full_name='Sec0Payload.sr', index=2, 135 number=21, type=11, cpp_type=10, label=1, 136 has_default_value=False, default_value=None, 137 message_type=None, enum_type=None, containing_type=None, 138 is_extension=False, extension_scope=None, 139 options=None, file=DESCRIPTOR), 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 _descriptor.OneofDescriptor( 152 name='payload', full_name='Sec0Payload.payload', 153 index=0, containing_type=None, fields=[]), 154 ], 155 serialized_start=89, 156 serialized_end=199, 157) 158 159_S0SESSIONRESP.fields_by_name['status'].enum_type = constants__pb2._STATUS 160_SEC0PAYLOAD.fields_by_name['msg'].enum_type = _SEC0MSGTYPE 161_SEC0PAYLOAD.fields_by_name['sc'].message_type = _S0SESSIONCMD 162_SEC0PAYLOAD.fields_by_name['sr'].message_type = _S0SESSIONRESP 163_SEC0PAYLOAD.oneofs_by_name['payload'].fields.append( 164 _SEC0PAYLOAD.fields_by_name['sc']) 165_SEC0PAYLOAD.fields_by_name['sc'].containing_oneof = _SEC0PAYLOAD.oneofs_by_name['payload'] 166_SEC0PAYLOAD.oneofs_by_name['payload'].fields.append( 167 _SEC0PAYLOAD.fields_by_name['sr']) 168_SEC0PAYLOAD.fields_by_name['sr'].containing_oneof = _SEC0PAYLOAD.oneofs_by_name['payload'] 169DESCRIPTOR.message_types_by_name['S0SessionCmd'] = _S0SESSIONCMD 170DESCRIPTOR.message_types_by_name['S0SessionResp'] = _S0SESSIONRESP 171DESCRIPTOR.message_types_by_name['Sec0Payload'] = _SEC0PAYLOAD 172DESCRIPTOR.enum_types_by_name['Sec0MsgType'] = _SEC0MSGTYPE 173_sym_db.RegisterFileDescriptor(DESCRIPTOR) 174 175S0SessionCmd = _reflection.GeneratedProtocolMessageType('S0SessionCmd', (_message.Message,), dict( 176 DESCRIPTOR = _S0SESSIONCMD, 177 __module__ = 'sec0_pb2' 178 # @@protoc_insertion_point(class_scope:S0SessionCmd) 179 )) 180_sym_db.RegisterMessage(S0SessionCmd) 181 182S0SessionResp = _reflection.GeneratedProtocolMessageType('S0SessionResp', (_message.Message,), dict( 183 DESCRIPTOR = _S0SESSIONRESP, 184 __module__ = 'sec0_pb2' 185 # @@protoc_insertion_point(class_scope:S0SessionResp) 186 )) 187_sym_db.RegisterMessage(S0SessionResp) 188 189Sec0Payload = _reflection.GeneratedProtocolMessageType('Sec0Payload', (_message.Message,), dict( 190 DESCRIPTOR = _SEC0PAYLOAD, 191 __module__ = 'sec0_pb2' 192 # @@protoc_insertion_point(class_scope:Sec0Payload) 193 )) 194_sym_db.RegisterMessage(Sec0Payload) 195 196 197# @@protoc_insertion_point(module_scope) 198