1# Generated by the protocol buffer compiler. DO NOT EDIT! 2# source: nanopb.proto 3 4import sys 5_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1')) 6from google.protobuf.internal import enum_type_wrapper 7from google.protobuf import descriptor as _descriptor 8from google.protobuf import message as _message 9from google.protobuf import reflection as _reflection 10from google.protobuf import symbol_database as _symbol_database 11from google.protobuf import descriptor_pb2 12# @@protoc_insertion_point(imports) 13 14_sym_db = _symbol_database.Default() 15 16 17from google.protobuf import descriptor_pb2 as google_dot_protobuf_dot_descriptor__pb2 18 19 20DESCRIPTOR = _descriptor.FileDescriptor( 21 name='nanopb.proto', 22 package='', 23 syntax='proto2', 24 serialized_pb=_b('\n\x0cnanopb.proto\x1a google/protobuf/descriptor.proto\"\x80\x02\n\rNanoPBOptions\x12\x10\n\x08max_size\x18\x01 \x01(\x05\x12\x11\n\tmax_count\x18\x02 \x01(\x05\x12&\n\x08int_size\x18\x07 \x01(\x0e\x32\x08.IntSize:\nIS_DEFAULT\x12$\n\x04type\x18\x03 \x01(\x0e\x32\n.FieldType:\nFT_DEFAULT\x12\x18\n\nlong_names\x18\x04 \x01(\x08:\x04true\x12\x1c\n\rpacked_struct\x18\x05 \x01(\x08:\x05\x66\x61lse\x12\x1b\n\x0cskip_message\x18\x06 \x01(\x08:\x05\x66\x61lse\x12\x18\n\tno_unions\x18\x08 \x01(\x08:\x05\x66\x61lse\x12\r\n\x05msgid\x18\t \x01(\r*Z\n\tFieldType\x12\x0e\n\nFT_DEFAULT\x10\x00\x12\x0f\n\x0b\x46T_CALLBACK\x10\x01\x12\x0e\n\nFT_POINTER\x10\x04\x12\r\n\tFT_STATIC\x10\x02\x12\r\n\tFT_IGNORE\x10\x03*D\n\x07IntSize\x12\x0e\n\nIS_DEFAULT\x10\x00\x12\x08\n\x04IS_8\x10\x08\x12\t\n\x05IS_16\x10\x10\x12\t\n\x05IS_32\x10 \x12\t\n\x05IS_64\x10@:E\n\x0enanopb_fileopt\x12\x1c.google.protobuf.FileOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:G\n\rnanopb_msgopt\x12\x1f.google.protobuf.MessageOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:E\n\x0enanopb_enumopt\x12\x1c.google.protobuf.EnumOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptions:>\n\x06nanopb\x12\x1d.google.protobuf.FieldOptions\x18\xf2\x07 \x01(\x0b\x32\x0e.NanoPBOptionsB\x1a\n\x18\x66i.kapsi.koti.jpa.nanopb') 25 , 26 dependencies=[google_dot_protobuf_dot_descriptor__pb2.DESCRIPTOR,]) 27 28_FIELDTYPE = _descriptor.EnumDescriptor( 29 name='FieldType', 30 full_name='FieldType', 31 filename=None, 32 file=DESCRIPTOR, 33 values=[ 34 _descriptor.EnumValueDescriptor( 35 name='FT_DEFAULT', index=0, number=0, 36 options=None, 37 type=None), 38 _descriptor.EnumValueDescriptor( 39 name='FT_CALLBACK', index=1, number=1, 40 options=None, 41 type=None), 42 _descriptor.EnumValueDescriptor( 43 name='FT_POINTER', index=2, number=4, 44 options=None, 45 type=None), 46 _descriptor.EnumValueDescriptor( 47 name='FT_STATIC', index=3, number=2, 48 options=None, 49 type=None), 50 _descriptor.EnumValueDescriptor( 51 name='FT_IGNORE', index=4, number=3, 52 options=None, 53 type=None), 54 ], 55 containing_type=None, 56 options=None, 57 serialized_start=309, 58 serialized_end=399, 59) 60_sym_db.RegisterEnumDescriptor(_FIELDTYPE) 61 62FieldType = enum_type_wrapper.EnumTypeWrapper(_FIELDTYPE) 63_INTSIZE = _descriptor.EnumDescriptor( 64 name='IntSize', 65 full_name='IntSize', 66 filename=None, 67 file=DESCRIPTOR, 68 values=[ 69 _descriptor.EnumValueDescriptor( 70 name='IS_DEFAULT', index=0, number=0, 71 options=None, 72 type=None), 73 _descriptor.EnumValueDescriptor( 74 name='IS_8', index=1, number=8, 75 options=None, 76 type=None), 77 _descriptor.EnumValueDescriptor( 78 name='IS_16', index=2, number=16, 79 options=None, 80 type=None), 81 _descriptor.EnumValueDescriptor( 82 name='IS_32', index=3, number=32, 83 options=None, 84 type=None), 85 _descriptor.EnumValueDescriptor( 86 name='IS_64', index=4, number=64, 87 options=None, 88 type=None), 89 ], 90 containing_type=None, 91 options=None, 92 serialized_start=401, 93 serialized_end=469, 94) 95_sym_db.RegisterEnumDescriptor(_INTSIZE) 96 97IntSize = enum_type_wrapper.EnumTypeWrapper(_INTSIZE) 98FT_DEFAULT = 0 99FT_CALLBACK = 1 100FT_POINTER = 4 101FT_STATIC = 2 102FT_IGNORE = 3 103IS_DEFAULT = 0 104IS_8 = 8 105IS_16 = 16 106IS_32 = 32 107IS_64 = 64 108 109NANOPB_FILEOPT_FIELD_NUMBER = 1010 110nanopb_fileopt = _descriptor.FieldDescriptor( 111 name='nanopb_fileopt', full_name='nanopb_fileopt', index=0, 112 number=1010, type=11, cpp_type=10, label=1, 113 has_default_value=False, default_value=None, 114 message_type=None, enum_type=None, containing_type=None, 115 is_extension=True, extension_scope=None, 116 options=None) 117NANOPB_MSGOPT_FIELD_NUMBER = 1010 118nanopb_msgopt = _descriptor.FieldDescriptor( 119 name='nanopb_msgopt', full_name='nanopb_msgopt', index=1, 120 number=1010, type=11, cpp_type=10, label=1, 121 has_default_value=False, default_value=None, 122 message_type=None, enum_type=None, containing_type=None, 123 is_extension=True, extension_scope=None, 124 options=None) 125NANOPB_ENUMOPT_FIELD_NUMBER = 1010 126nanopb_enumopt = _descriptor.FieldDescriptor( 127 name='nanopb_enumopt', full_name='nanopb_enumopt', index=2, 128 number=1010, 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=True, extension_scope=None, 132 options=None) 133NANOPB_FIELD_NUMBER = 1010 134nanopb = _descriptor.FieldDescriptor( 135 name='nanopb', full_name='nanopb', index=3, 136 number=1010, type=11, cpp_type=10, label=1, 137 has_default_value=False, default_value=None, 138 message_type=None, enum_type=None, containing_type=None, 139 is_extension=True, extension_scope=None, 140 options=None) 141 142 143_NANOPBOPTIONS = _descriptor.Descriptor( 144 name='NanoPBOptions', 145 full_name='NanoPBOptions', 146 filename=None, 147 file=DESCRIPTOR, 148 containing_type=None, 149 fields=[ 150 _descriptor.FieldDescriptor( 151 name='max_size', full_name='NanoPBOptions.max_size', index=0, 152 number=1, type=5, cpp_type=1, label=1, 153 has_default_value=False, default_value=0, 154 message_type=None, enum_type=None, containing_type=None, 155 is_extension=False, extension_scope=None, 156 options=None), 157 _descriptor.FieldDescriptor( 158 name='max_count', full_name='NanoPBOptions.max_count', index=1, 159 number=2, type=5, cpp_type=1, label=1, 160 has_default_value=False, default_value=0, 161 message_type=None, enum_type=None, containing_type=None, 162 is_extension=False, extension_scope=None, 163 options=None), 164 _descriptor.FieldDescriptor( 165 name='int_size', full_name='NanoPBOptions.int_size', index=2, 166 number=7, type=14, cpp_type=8, label=1, 167 has_default_value=True, default_value=0, 168 message_type=None, enum_type=None, containing_type=None, 169 is_extension=False, extension_scope=None, 170 options=None), 171 _descriptor.FieldDescriptor( 172 name='type', full_name='NanoPBOptions.type', index=3, 173 number=3, type=14, cpp_type=8, label=1, 174 has_default_value=True, default_value=0, 175 message_type=None, enum_type=None, containing_type=None, 176 is_extension=False, extension_scope=None, 177 options=None), 178 _descriptor.FieldDescriptor( 179 name='long_names', full_name='NanoPBOptions.long_names', index=4, 180 number=4, type=8, cpp_type=7, label=1, 181 has_default_value=True, default_value=True, 182 message_type=None, enum_type=None, containing_type=None, 183 is_extension=False, extension_scope=None, 184 options=None), 185 _descriptor.FieldDescriptor( 186 name='packed_struct', full_name='NanoPBOptions.packed_struct', index=5, 187 number=5, type=8, cpp_type=7, label=1, 188 has_default_value=True, default_value=False, 189 message_type=None, enum_type=None, containing_type=None, 190 is_extension=False, extension_scope=None, 191 options=None), 192 _descriptor.FieldDescriptor( 193 name='skip_message', full_name='NanoPBOptions.skip_message', index=6, 194 number=6, type=8, cpp_type=7, label=1, 195 has_default_value=True, default_value=False, 196 message_type=None, enum_type=None, containing_type=None, 197 is_extension=False, extension_scope=None, 198 options=None), 199 _descriptor.FieldDescriptor( 200 name='no_unions', full_name='NanoPBOptions.no_unions', index=7, 201 number=8, type=8, cpp_type=7, label=1, 202 has_default_value=True, default_value=False, 203 message_type=None, enum_type=None, containing_type=None, 204 is_extension=False, extension_scope=None, 205 options=None), 206 _descriptor.FieldDescriptor( 207 name='msgid', full_name='NanoPBOptions.msgid', index=8, 208 number=9, type=13, cpp_type=3, label=1, 209 has_default_value=False, default_value=0, 210 message_type=None, enum_type=None, containing_type=None, 211 is_extension=False, extension_scope=None, 212 options=None), 213 ], 214 extensions=[ 215 ], 216 nested_types=[], 217 enum_types=[ 218 ], 219 options=None, 220 is_extendable=False, 221 syntax='proto2', 222 extension_ranges=[], 223 oneofs=[ 224 ], 225 serialized_start=51, 226 serialized_end=307, 227) 228 229_NANOPBOPTIONS.fields_by_name['int_size'].enum_type = _INTSIZE 230_NANOPBOPTIONS.fields_by_name['type'].enum_type = _FIELDTYPE 231DESCRIPTOR.message_types_by_name['NanoPBOptions'] = _NANOPBOPTIONS 232DESCRIPTOR.enum_types_by_name['FieldType'] = _FIELDTYPE 233DESCRIPTOR.enum_types_by_name['IntSize'] = _INTSIZE 234DESCRIPTOR.extensions_by_name['nanopb_fileopt'] = nanopb_fileopt 235DESCRIPTOR.extensions_by_name['nanopb_msgopt'] = nanopb_msgopt 236DESCRIPTOR.extensions_by_name['nanopb_enumopt'] = nanopb_enumopt 237DESCRIPTOR.extensions_by_name['nanopb'] = nanopb 238_sym_db.RegisterFileDescriptor(DESCRIPTOR) 239 240NanoPBOptions = _reflection.GeneratedProtocolMessageType('NanoPBOptions', (_message.Message,), dict( 241 DESCRIPTOR = _NANOPBOPTIONS, 242 __module__ = 'nanopb_pb2' 243 # @@protoc_insertion_point(class_scope:NanoPBOptions) 244 )) 245_sym_db.RegisterMessage(NanoPBOptions) 246 247nanopb_fileopt.message_type = _NANOPBOPTIONS 248google_dot_protobuf_dot_descriptor__pb2.FileOptions.RegisterExtension(nanopb_fileopt) 249nanopb_msgopt.message_type = _NANOPBOPTIONS 250google_dot_protobuf_dot_descriptor__pb2.MessageOptions.RegisterExtension(nanopb_msgopt) 251nanopb_enumopt.message_type = _NANOPBOPTIONS 252google_dot_protobuf_dot_descriptor__pb2.EnumOptions.RegisterExtension(nanopb_enumopt) 253nanopb.message_type = _NANOPBOPTIONS 254google_dot_protobuf_dot_descriptor__pb2.FieldOptions.RegisterExtension(nanopb) 255 256DESCRIPTOR.has_options = True 257DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\030fi.kapsi.koti.jpa.nanopb')) 258# @@protoc_insertion_point(module_scope) 259