83 lines
3.6 KiB
Python
83 lines
3.6 KiB
Python
# -*- coding: utf-8 -*-
|
|
|
|
# Copyright 2020 Google LLC
|
|
#
|
|
# Licensed under the Apache License, Version 2.0 (the "License");
|
|
# you may not use this file except in compliance with the License.
|
|
# You may obtain a copy of the License at
|
|
#
|
|
# http://www.apache.org/licenses/LICENSE-2.0
|
|
#
|
|
# Unless required by applicable law or agreed to in writing, software
|
|
# distributed under the License is distributed on an "AS IS" BASIS,
|
|
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
# See the License for the specific language governing permissions and
|
|
# limitations under the License.
|
|
|
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
# source: google/api/http.proto
|
|
"""Generated protocol buffer code."""
|
|
from google.protobuf import descriptor as _descriptor
|
|
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
from google.protobuf import message as _message
|
|
from google.protobuf import reflection as _reflection
|
|
from google.protobuf import symbol_database as _symbol_database
|
|
|
|
# @@protoc_insertion_point(imports)
|
|
|
|
_sym_db = _symbol_database.Default()
|
|
|
|
|
|
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(
|
|
b'\n\x15google/api/http.proto\x12\ngoogle.api"T\n\x04Http\x12#\n\x05rules\x18\x01 \x03(\x0b\x32\x14.google.api.HttpRule\x12\'\n\x1f\x66ully_decode_reserved_expansion\x18\x02 \x01(\x08"\x81\x02\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\x1d.google.api.CustomHttpPatternH\x00\x12\x0c\n\x04\x62ody\x18\x07 \x01(\t\x12\x15\n\rresponse_body\x18\x0c \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(\tBj\n\x0e\x63om.google.apiB\tHttpProtoP\x01ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\xf8\x01\x01\xa2\x02\x04GAPIb\x06proto3'
|
|
)
|
|
|
|
|
|
_HTTP = DESCRIPTOR.message_types_by_name["Http"]
|
|
_HTTPRULE = DESCRIPTOR.message_types_by_name["HttpRule"]
|
|
_CUSTOMHTTPPATTERN = DESCRIPTOR.message_types_by_name["CustomHttpPattern"]
|
|
Http = _reflection.GeneratedProtocolMessageType(
|
|
"Http",
|
|
(_message.Message,),
|
|
{
|
|
"DESCRIPTOR": _HTTP,
|
|
"__module__": "google.api.http_pb2"
|
|
# @@protoc_insertion_point(class_scope:google.api.Http)
|
|
},
|
|
)
|
|
_sym_db.RegisterMessage(Http)
|
|
|
|
HttpRule = _reflection.GeneratedProtocolMessageType(
|
|
"HttpRule",
|
|
(_message.Message,),
|
|
{
|
|
"DESCRIPTOR": _HTTPRULE,
|
|
"__module__": "google.api.http_pb2"
|
|
# @@protoc_insertion_point(class_scope:google.api.HttpRule)
|
|
},
|
|
)
|
|
_sym_db.RegisterMessage(HttpRule)
|
|
|
|
CustomHttpPattern = _reflection.GeneratedProtocolMessageType(
|
|
"CustomHttpPattern",
|
|
(_message.Message,),
|
|
{
|
|
"DESCRIPTOR": _CUSTOMHTTPPATTERN,
|
|
"__module__": "google.api.http_pb2"
|
|
# @@protoc_insertion_point(class_scope:google.api.CustomHttpPattern)
|
|
},
|
|
)
|
|
_sym_db.RegisterMessage(CustomHttpPattern)
|
|
|
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
|
DESCRIPTOR._options = None
|
|
DESCRIPTOR._serialized_options = b"\n\016com.google.apiB\tHttpProtoP\001ZAgoogle.golang.org/genproto/googleapis/api/annotations;annotations\370\001\001\242\002\004GAPI"
|
|
_HTTP._serialized_start = 37
|
|
_HTTP._serialized_end = 121
|
|
_HTTPRULE._serialized_start = 124
|
|
_HTTPRULE._serialized_end = 381
|
|
_CUSTOMHTTPPATTERN._serialized_start = 383
|
|
_CUSTOMHTTPPATTERN._serialized_end = 430
|
|
# @@protoc_insertion_point(module_scope)
|