blob: 8e359f550adec8286b8b1809b60f097a83908ae1 [file] [log] [blame]
Scott Bakerbef5fd92019-02-21 10:24:02 -08001#!/usr/bin/env python
2
3# Copyright 2017 the original author or authors.
4#
5# Licensed under the Apache License, Version 2.0 (the "License");
6# you may not use this file except in compliance with the License.
7# You may obtain a copy of the License at
8#
9# http://www.apache.org/licenses/LICENSE-2.0
10#
11# Unless required by applicable law or agreed to in writing, software
12# distributed under the License is distributed on an "AS IS" BASIS,
13# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14# See the License for the specific language governing permissions and
15# limitations under the License.
16#
17
18# Generated by the protocol buffer compiler. DO NOT EDIT!
19# source: http.proto
20
Zack Williams5c2ea232019-01-30 15:23:01 -070021from __future__ import absolute_import
Scott Bakerbef5fd92019-02-21 10:24:02 -080022import sys
23_b=sys.version_info[0]<3 and (lambda x:x) or (lambda x:x.encode('latin1'))
24from google.protobuf import descriptor as _descriptor
25from google.protobuf import message as _message
26from google.protobuf import reflection as _reflection
27from google.protobuf import symbol_database as _symbol_database
28from google.protobuf import descriptor_pb2
29# @@protoc_insertion_point(imports)
30
31_sym_db = _symbol_database.Default()
32
33
34
35
36DESCRIPTOR = _descriptor.FileDescriptor(
37 name='http.proto',
38 package='googleapi',
39 syntax='proto3',
40 serialized_pb=_b('\n\nhttp.proto\x12\tgoogleapi\"S\n\x04Http\x12\"\n\x05rules\x18\x01 \x03(\x0b\x32\x13.googleapi.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08\"\xe8\x01\n\x08HttpRule\x12\x10\n\x08selector\x18\x01 \x01(\t\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\x1c.googleapi.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x30\n\x13\x61\x64\x64itional_bindings\x18\x0b \x03(\x0b\x32\x13.googleapi.HttpRuleB\t\n\x07pattern\"/\n\x11\x43ustomHttpPattern\x12\x0c\n\x04kind\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3')
41)
42
43
44
45
46_HTTP = _descriptor.Descriptor(
47 name='Http',
48 full_name='googleapi.Http',
49 filename=None,
50 file=DESCRIPTOR,
51 containing_type=None,
52 fields=[
53 _descriptor.FieldDescriptor(
54 name='rules', full_name='googleapi.Http.rules', index=0,
55 number=1, type=11, cpp_type=10, label=3,
56 has_default_value=False, default_value=[],
57 message_type=None, enum_type=None, containing_type=None,
58 is_extension=False, extension_scope=None,
59 options=None, file=DESCRIPTOR),
60 _descriptor.FieldDescriptor(
61 name='fully_decode_reserved_expansion', full_name='googleapi.Http.fully_decode_reserved_expansion', index=1,
62 number=2, type=8, cpp_type=7, label=1,
63 has_default_value=False, default_value=False,
64 message_type=None, enum_type=None, containing_type=None,
65 is_extension=False, extension_scope=None,
66 options=None, file=DESCRIPTOR),
67 ],
68 extensions=[
69 ],
70 nested_types=[],
71 enum_types=[
72 ],
73 options=None,
74 is_extendable=False,
75 syntax='proto3',
76 extension_ranges=[],
77 oneofs=[
78 ],
79 serialized_start=25,
80 serialized_end=108,
81)
82
83
84_HTTPRULE = _descriptor.Descriptor(
85 name='HttpRule',
86 full_name='googleapi.HttpRule',
87 filename=None,
88 file=DESCRIPTOR,
89 containing_type=None,
90 fields=[
91 _descriptor.FieldDescriptor(
92 name='selector', full_name='googleapi.HttpRule.selector', index=0,
93 number=1, type=9, cpp_type=9, label=1,
94 has_default_value=False, default_value=_b("").decode('utf-8'),
95 message_type=None, enum_type=None, containing_type=None,
96 is_extension=False, extension_scope=None,
97 options=None, file=DESCRIPTOR),
98 _descriptor.FieldDescriptor(
99 name='get', full_name='googleapi.HttpRule.get', index=1,
100 number=2, type=9, cpp_type=9, label=1,
101 has_default_value=False, default_value=_b("").decode('utf-8'),
102 message_type=None, enum_type=None, containing_type=None,
103 is_extension=False, extension_scope=None,
104 options=None, file=DESCRIPTOR),
105 _descriptor.FieldDescriptor(
106 name='put', full_name='googleapi.HttpRule.put', index=2,
107 number=3, type=9, cpp_type=9, label=1,
108 has_default_value=False, default_value=_b("").decode('utf-8'),
109 message_type=None, enum_type=None, containing_type=None,
110 is_extension=False, extension_scope=None,
111 options=None, file=DESCRIPTOR),
112 _descriptor.FieldDescriptor(
113 name='post', full_name='googleapi.HttpRule.post', index=3,
114 number=4, type=9, cpp_type=9, label=1,
115 has_default_value=False, default_value=_b("").decode('utf-8'),
116 message_type=None, enum_type=None, containing_type=None,
117 is_extension=False, extension_scope=None,
118 options=None, file=DESCRIPTOR),
119 _descriptor.FieldDescriptor(
120 name='delete', full_name='googleapi.HttpRule.delete', index=4,
121 number=5, 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, file=DESCRIPTOR),
126 _descriptor.FieldDescriptor(
127 name='patch', full_name='googleapi.HttpRule.patch', index=5,
128 number=6, 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, file=DESCRIPTOR),
133 _descriptor.FieldDescriptor(
134 name='custom', full_name='googleapi.HttpRule.custom', index=6,
135 number=8, 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 _descriptor.FieldDescriptor(
141 name='body', full_name='googleapi.HttpRule.body', index=7,
142 number=7, type=9, cpp_type=9, label=1,
143 has_default_value=False, default_value=_b("").decode('utf-8'),
144 message_type=None, enum_type=None, containing_type=None,
145 is_extension=False, extension_scope=None,
146 options=None, file=DESCRIPTOR),
147 _descriptor.FieldDescriptor(
148 name='additional_bindings', full_name='googleapi.HttpRule.additional_bindings', index=8,
149 number=11, type=11, cpp_type=10, label=3,
150 has_default_value=False, default_value=[],
151 message_type=None, enum_type=None, containing_type=None,
152 is_extension=False, extension_scope=None,
153 options=None, file=DESCRIPTOR),
154 ],
155 extensions=[
156 ],
157 nested_types=[],
158 enum_types=[
159 ],
160 options=None,
161 is_extendable=False,
162 syntax='proto3',
163 extension_ranges=[],
164 oneofs=[
165 _descriptor.OneofDescriptor(
166 name='pattern', full_name='googleapi.HttpRule.pattern',
167 index=0, containing_type=None, fields=[]),
168 ],
169 serialized_start=111,
170 serialized_end=343,
171)
172
173
174_CUSTOMHTTPPATTERN = _descriptor.Descriptor(
175 name='CustomHttpPattern',
176 full_name='googleapi.CustomHttpPattern',
177 filename=None,
178 file=DESCRIPTOR,
179 containing_type=None,
180 fields=[
181 _descriptor.FieldDescriptor(
182 name='kind', full_name='googleapi.CustomHttpPattern.kind', index=0,
183 number=1, type=9, cpp_type=9, label=1,
184 has_default_value=False, default_value=_b("").decode('utf-8'),
185 message_type=None, enum_type=None, containing_type=None,
186 is_extension=False, extension_scope=None,
187 options=None, file=DESCRIPTOR),
188 _descriptor.FieldDescriptor(
189 name='path', full_name='googleapi.CustomHttpPattern.path', index=1,
190 number=2, type=9, cpp_type=9, label=1,
191 has_default_value=False, default_value=_b("").decode('utf-8'),
192 message_type=None, enum_type=None, containing_type=None,
193 is_extension=False, extension_scope=None,
194 options=None, file=DESCRIPTOR),
195 ],
196 extensions=[
197 ],
198 nested_types=[],
199 enum_types=[
200 ],
201 options=None,
202 is_extendable=False,
203 syntax='proto3',
204 extension_ranges=[],
205 oneofs=[
206 ],
207 serialized_start=345,
208 serialized_end=392,
209)
210
211_HTTP.fields_by_name['rules'].message_type = _HTTPRULE
212_HTTPRULE.fields_by_name['custom'].message_type = _CUSTOMHTTPPATTERN
213_HTTPRULE.fields_by_name['additional_bindings'].message_type = _HTTPRULE
214_HTTPRULE.oneofs_by_name['pattern'].fields.append(
215 _HTTPRULE.fields_by_name['get'])
216_HTTPRULE.fields_by_name['get'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern']
217_HTTPRULE.oneofs_by_name['pattern'].fields.append(
218 _HTTPRULE.fields_by_name['put'])
219_HTTPRULE.fields_by_name['put'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern']
220_HTTPRULE.oneofs_by_name['pattern'].fields.append(
221 _HTTPRULE.fields_by_name['post'])
222_HTTPRULE.fields_by_name['post'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern']
223_HTTPRULE.oneofs_by_name['pattern'].fields.append(
224 _HTTPRULE.fields_by_name['delete'])
225_HTTPRULE.fields_by_name['delete'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern']
226_HTTPRULE.oneofs_by_name['pattern'].fields.append(
227 _HTTPRULE.fields_by_name['patch'])
228_HTTPRULE.fields_by_name['patch'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern']
229_HTTPRULE.oneofs_by_name['pattern'].fields.append(
230 _HTTPRULE.fields_by_name['custom'])
231_HTTPRULE.fields_by_name['custom'].containing_oneof = _HTTPRULE.oneofs_by_name['pattern']
232DESCRIPTOR.message_types_by_name['Http'] = _HTTP
233DESCRIPTOR.message_types_by_name['HttpRule'] = _HTTPRULE
234DESCRIPTOR.message_types_by_name['CustomHttpPattern'] = _CUSTOMHTTPPATTERN
235_sym_db.RegisterFileDescriptor(DESCRIPTOR)
236
237Http = _reflection.GeneratedProtocolMessageType('Http', (_message.Message,), dict(
238 DESCRIPTOR = _HTTP,
239 __module__ = 'http_pb2'
240 # @@protoc_insertion_point(class_scope:googleapi.Http)
241 ))
242_sym_db.RegisterMessage(Http)
243
244HttpRule = _reflection.GeneratedProtocolMessageType('HttpRule', (_message.Message,), dict(
245 DESCRIPTOR = _HTTPRULE,
246 __module__ = 'http_pb2'
247 # @@protoc_insertion_point(class_scope:googleapi.HttpRule)
248 ))
249_sym_db.RegisterMessage(HttpRule)
250
251CustomHttpPattern = _reflection.GeneratedProtocolMessageType('CustomHttpPattern', (_message.Message,), dict(
252 DESCRIPTOR = _CUSTOMHTTPPATTERN,
253 __module__ = 'http_pb2'
254 # @@protoc_insertion_point(class_scope:googleapi.CustomHttpPattern)
255 ))
256_sym_db.RegisterMessage(CustomHttpPattern)
257
258
259DESCRIPTOR.has_options = True
260DESCRIPTOR._options = _descriptor._ParseOptions(descriptor_pb2.FileOptions(), _b('\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\370\001\001\242\002\004GAPI'))
261# @@protoc_insertion_point(module_scope)