github.com/anuvu/tyk@v2.9.0-beta9-dl-apic+incompatible/coprocess/bindings/python/coprocess_common_pb2.py (about) 1 # Generated by the protocol buffer compiler. DO NOT EDIT! 2 # source: coprocess_common.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='coprocess_common.proto', 21 package='coprocess', 22 syntax='proto3', 23 serialized_pb=_b('\n\x16\x63oprocess_common.proto\x12\tcoprocess\"\x1c\n\x0bStringSlice\x12\r\n\x05items\x18\x01 \x03(\t*O\n\x08HookType\x12\x0b\n\x07Unknown\x10\x00\x12\x07\n\x03Pre\x10\x01\x12\x08\n\x04Post\x10\x02\x12\x0f\n\x0bPostKeyAuth\x10\x03\x12\x12\n\x0e\x43ustomKeyCheck\x10\x04\x62\x06proto3') 24 ) 25 26 _HOOKTYPE = _descriptor.EnumDescriptor( 27 name='HookType', 28 full_name='coprocess.HookType', 29 filename=None, 30 file=DESCRIPTOR, 31 values=[ 32 _descriptor.EnumValueDescriptor( 33 name='Unknown', index=0, number=0, 34 options=None, 35 type=None), 36 _descriptor.EnumValueDescriptor( 37 name='Pre', index=1, number=1, 38 options=None, 39 type=None), 40 _descriptor.EnumValueDescriptor( 41 name='Post', index=2, number=2, 42 options=None, 43 type=None), 44 _descriptor.EnumValueDescriptor( 45 name='PostKeyAuth', index=3, number=3, 46 options=None, 47 type=None), 48 _descriptor.EnumValueDescriptor( 49 name='CustomKeyCheck', index=4, number=4, 50 options=None, 51 type=None), 52 ], 53 containing_type=None, 54 options=None, 55 serialized_start=67, 56 serialized_end=146, 57 ) 58 _sym_db.RegisterEnumDescriptor(_HOOKTYPE) 59 60 HookType = enum_type_wrapper.EnumTypeWrapper(_HOOKTYPE) 61 Unknown = 0 62 Pre = 1 63 Post = 2 64 PostKeyAuth = 3 65 CustomKeyCheck = 4 66 67 68 69 _STRINGSLICE = _descriptor.Descriptor( 70 name='StringSlice', 71 full_name='coprocess.StringSlice', 72 filename=None, 73 file=DESCRIPTOR, 74 containing_type=None, 75 fields=[ 76 _descriptor.FieldDescriptor( 77 name='items', full_name='coprocess.StringSlice.items', index=0, 78 number=1, type=9, cpp_type=9, label=3, 79 has_default_value=False, default_value=[], 80 message_type=None, enum_type=None, containing_type=None, 81 is_extension=False, extension_scope=None, 82 options=None, file=DESCRIPTOR), 83 ], 84 extensions=[ 85 ], 86 nested_types=[], 87 enum_types=[ 88 ], 89 options=None, 90 is_extendable=False, 91 syntax='proto3', 92 extension_ranges=[], 93 oneofs=[ 94 ], 95 serialized_start=37, 96 serialized_end=65, 97 ) 98 99 DESCRIPTOR.message_types_by_name['StringSlice'] = _STRINGSLICE 100 DESCRIPTOR.enum_types_by_name['HookType'] = _HOOKTYPE 101 _sym_db.RegisterFileDescriptor(DESCRIPTOR) 102 103 StringSlice = _reflection.GeneratedProtocolMessageType('StringSlice', (_message.Message,), dict( 104 DESCRIPTOR = _STRINGSLICE, 105 __module__ = 'coprocess_common_pb2' 106 # @@protoc_insertion_point(class_scope:coprocess.StringSlice) 107 )) 108 _sym_db.RegisterMessage(StringSlice) 109 110 111 # @@protoc_insertion_point(module_scope)