Zsolt Haraszti | a9a12dc | 2016-09-27 13:48:35 -0700 | [diff] [blame^] | 1 | # Generated by the protocol buffer compiler. DO NOT EDIT! |
| 2 | # source: third_party/google/api/http.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='third_party/google/api/http.proto', |
| 20 | package='google.api', |
| 21 | syntax='proto3', |
| 22 | serialized_pb=_b('\n!third_party/google/api/http.proto\x12\ngoogle.api\"\xd8\x01\n\x08HttpRule\x12\r\n\x03get\x18\x02 \x01(\tH\x00\x12\r\n\x03put\x18\x03 \x01(\tH\x00\x12\x0e\n\x04post\x18\x04 \x01(\tH\x00\x12\x10\n\x06\x64\x65lete\x18\x05 \x01(\tH\x00\x12\x0f\n\x05patch\x18\x06 \x01(\tH\x00\x12/\n\x06\x63ustom\x18\x08 \x01(\x0b\x32\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x31\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x14.google.api.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tB\x1d\n\x0e\x63om.google.apiB\tHttpProtoP\x01\x62\x06proto3') |
| 23 | ) |
| 24 | _sym_db.RegisterFileDescriptor(DESCRIPTOR) |
| 25 | |
| 26 | |
| 27 | |
| 28 | |
| 29 | _HTTPRULE = _descriptor.Descriptor( |
| 30 | name='HttpRule', |
| 31 | full_name='google.api.HttpRule', |
| 32 | filename=None, |
| 33 | file=DESCRIPTOR, |
| 34 | containing_type=None, |
| 35 | fields=[ |
| 36 | _descriptor.FieldDescriptor( |
| 37 | name='get', full_name='google.api.HttpRule.get', index=0, |
| 38 | number=2, 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 | _descriptor.FieldDescriptor( |
| 44 | name='put', full_name='google.api.HttpRule.put', index=1, |
| 45 | number=3, type=9, cpp_type=9, label=1, |
| 46 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 47 | message_type=None, enum_type=None, containing_type=None, |
| 48 | is_extension=False, extension_scope=None, |
| 49 | options=None), |
| 50 | _descriptor.FieldDescriptor( |
| 51 | name='post', full_name='google.api.HttpRule.post', index=2, |
| 52 | number=4, type=9, cpp_type=9, label=1, |
| 53 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 54 | message_type=None, enum_type=None, containing_type=None, |
| 55 | is_extension=False, extension_scope=None, |
| 56 | options=None), |
| 57 | _descriptor.FieldDescriptor( |
| 58 | name='delete', full_name='google.api.HttpRule.delete', index=3, |
| 59 | number=5, type=9, cpp_type=9, label=1, |
| 60 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 61 | message_type=None, enum_type=None, containing_type=None, |
| 62 | is_extension=False, extension_scope=None, |
| 63 | options=None), |
| 64 | _descriptor.FieldDescriptor( |
| 65 | name='patch', full_name='google.api.HttpRule.patch', index=4, |
| 66 | number=6, type=9, cpp_type=9, label=1, |
| 67 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 68 | message_type=None, enum_type=None, containing_type=None, |
| 69 | is_extension=False, extension_scope=None, |
| 70 | options=None), |
| 71 | _descriptor.FieldDescriptor( |
| 72 | name='custom', full_name='google.api.HttpRule.custom', index=5, |
| 73 | number=8, type=11, cpp_type=10, label=1, |
| 74 | has_default_value=False, default_value=None, |
| 75 | message_type=None, enum_type=None, containing_type=None, |
| 76 | is_extension=False, extension_scope=None, |
| 77 | options=None), |
| 78 | _descriptor.FieldDescriptor( |
| 79 | name='body', full_name='google.api.HttpRule.body', index=6, |
| 80 | number=7, type=9, cpp_type=9, label=1, |
| 81 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 82 | message_type=None, enum_type=None, containing_type=None, |
| 83 | is_extension=False, extension_scope=None, |
| 84 | options=None), |
| 85 | _descriptor.FieldDescriptor( |
| 86 | name='additional_bindings', full_name='google.api.HttpRule.additional_bindings', index=7, |
| 87 | number=11, type=11, cpp_type=10, label=3, |
| 88 | has_default_value=False, default_value=[], |
| 89 | message_type=None, enum_type=None, containing_type=None, |
| 90 | is_extension=False, extension_scope=None, |
| 91 | options=None), |
| 92 | ], |
| 93 | extensions=[ |
| 94 | ], |
| 95 | nested_types=[], |
| 96 | enum_types=[ |
| 97 | ], |
| 98 | options=None, |
| 99 | is_extendable=False, |
| 100 | syntax='proto3', |
| 101 | extension_ranges=[], |
| 102 | oneofs=[ |
| 103 | _descriptor.OneofDescriptor( |
| 104 | name='pattern', full_name='google.api.HttpRule.pattern', |
| 105 | index=0, containing_type=None, fields=[]), |
| 106 | ], |
| 107 | serialized_start=50, |
| 108 | serialized_end=266, |
| 109 | ) |
| 110 | |
| 111 | |
| 112 | _CUSTOMHTTPPATTERN = _descriptor.Descriptor( |
| 113 | name='CustomHttpPattern', |
| 114 | full_name='google.api.CustomHttpPattern', |
| 115 | filename=None, |
| 116 | file=DESCRIPTOR, |
| 117 | containing_type=None, |
| 118 | fields=[ |
| 119 | _descriptor.FieldDescriptor( |
| 120 | name='kind', full_name='google.api.CustomHttpPattern.kind', index=0, |
| 121 | number=1, type=9, cpp_type=9, label=1, |
| 122 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 123 | message_type=None, enum_type=None, containing_type=None, |
| 124 | is_extension=False, extension_scope=None, |
| 125 | options=None), |
| 126 | _descriptor.FieldDescriptor( |
| 127 | name='path', full_name='google.api.CustomHttpPattern.path', index=1, |
| 128 | number=2, type=9, cpp_type=9, label=1, |
| 129 | has_default_value=False, default_value=_b("").decode('utf-8'), |
| 130 | message_type=None, enum_type=None, containing_type=None, |
| 131 | is_extension=False, extension_scope=None, |
| 132 | options=None), |
| 133 | ], |
| 134 | extensions=[ |
| 135 | ], |
| 136 | nested_types=[], |
| 137 | enum_types=[ |
| 138 | ], |
| 139 | options=None, |
| 140 | is_extendable=False, |
| 141 | syntax='proto3', |
| 142 | extension_ranges=[], |
| 143 | oneofs=[ |
| 144 | ], |
| 145 | serialized_start=268, |
| 146 | serialized_end=315, |
| 147 | ) |
| 148 | |
| 149 | _HTTPRULE.fields_by_name['custom'].message_type = _CUSTOMHTTPPATTERN |
| 150 | _HTTPRULE.fields_by_name['additional_bindings'].message_type = _HTTPRULE |
| 151 | _HTTPRULE.oneofs_by_name['pattern'].fields.append( |
| 152 | _HTTPRULE.fields_by_name['get']) |
| 153 | _HTTPRULE.fields_by_name['get'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] |
| 154 | _HTTPRULE.oneofs_by_name['pattern'].fields.append( |
| 155 | _HTTPRULE.fields_by_name['put']) |
| 156 | _HTTPRULE.fields_by_name['put'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] |
| 157 | _HTTPRULE.oneofs_by_name['pattern'].fields.append( |
| 158 | _HTTPRULE.fields_by_name['post']) |
| 159 | _HTTPRULE.fields_by_name['post'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] |
| 160 | _HTTPRULE.oneofs_by_name['pattern'].fields.append( |
| 161 | _HTTPRULE.fields_by_name['delete']) |
| 162 | _HTTPRULE.fields_by_name['delete'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] |
| 163 | _HTTPRULE.oneofs_by_name['pattern'].fields.append( |
| 164 | _HTTPRULE.fields_by_name['patch']) |
| 165 | _HTTPRULE.fields_by_name['patch'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] |
| 166 | _HTTPRULE.oneofs_by_name['pattern'].fields.append( |
| 167 | _HTTPRULE.fields_by_name['custom']) |
| 168 | _HTTPRULE.fields_by_name['custom'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern'] |
| 169 | DESCRIPTOR.message_types_by_name['HttpRule'] = _HTTPRULE |
| 170 | DESCRIPTOR.message_types_by_name['CustomHttpPattern'] = _CUSTOMHTTPPATTERN |
| 171 | |
| 172 | HttpRule = _reflection.GeneratedProtocolMessageType('HttpRule', (_message.Message,), dict( |
| 173 | DESCRIPTOR = _HTTPRULE, |
| 174 | __module__ = 'third_party.google.api.http_pb2' |
| 175 | # @@protoc_insertion_point(class_scope:google.api.HttpRule) |
| 176 | )) |
| 177 | _sym_db.RegisterMessage(HttpRule) |
| 178 | |
| 179 | CustomHttpPattern = _reflection.GeneratedProtocolMessageType('CustomHttpPattern', (_message.Message,), dict( |
| 180 | DESCRIPTOR = _CUSTOMHTTPPATTERN, |
| 181 | __module__ = 'third_party.google.api.http_pb2' |
| 182 | # @@protoc_insertion_point(class_scope:google.api.CustomHttpPattern) |
| 183 | )) |
| 184 | _sym_db.RegisterMessage(CustomHttpPattern) |
| 185 | |
| 186 | |
| 187 | DESCRIPTOR.has_options = True |
| 188 | DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\016com.google.apiB\tHttpProtoP\001')) |
| 189 | import grpc |
| 190 | from grpc.beta import implementations as beta_implementations |
| 191 | from grpc.beta import interfaces as beta_interfaces |
| 192 | from grpc.framework.common import cardinality |
| 193 | from grpc.framework.interfaces.face import utilities as face_utilities |
| 194 | # @@protoc_insertion_point(module_scope) |