codekingpro/portable-devtools
114k
1# -*- coding: utf-8 -*-2 3# Copyright 2020 Google LLC4#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 at8#9# http://www.apache.org/licenses/LICENSE-2.010#11# Unless required by applicable law or agreed to in writing, software12# 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 and15# limitations under the License.16 17# Generated by the protocol buffer compiler. DO NOT EDIT!18# source: google/cloud/location/locations.proto19"""Generated protocol buffer code."""20from google.protobuf import descriptor as _descriptor21from google.protobuf import descriptor_pool as _descriptor_pool22from google.protobuf import message as _message23from google.protobuf import reflection as _reflection24from google.protobuf import symbol_database as _symbol_database25 26# @@protoc_insertion_point(imports)27 28_sym_db = _symbol_database.Default()29 30 31from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb232from google.protobuf import any_pb2 as google_dot_protobuf_dot_any__pb233from google.api import client_pb2 as google_dot_api_dot_client__pb234 35 36DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(37 b'\n%google/cloud/location/locations.proto\x12\x15google.cloud.location\x1a\x1cgoogle/api/annotations.proto\x1a\x19google/protobuf/any.proto\x1a\x17google/api/client.proto"[\n\x14ListLocationsRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x02 \x01(\t\x12\x11\n\tpage_size\x18\x03 \x01(\x05\x12\x12\n\npage_token\x18\x04 \x01(\t"d\n\x15ListLocationsResponse\x12\x32\n\tlocations\x18\x01 \x03(\x0b\x32\x1f.google.cloud.location.Location\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t""\n\x12GetLocationRequest\x12\x0c\n\x04name\x18\x01 \x01(\t"\xd7\x01\n\x08Location\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0blocation_id\x18\x04 \x01(\t\x12\x14\n\x0c\x64isplay_name\x18\x05 \x01(\t\x12;\n\x06labels\x18\x02 \x03(\x0b\x32+.google.cloud.location.Location.LabelsEntry\x12&\n\x08metadata\x18\x03 \x01(\x0b\x32\x14.google.protobuf.Any\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\xa4\x03\n\tLocations\x12\xab\x01\n\rListLocations\x12+.google.cloud.location.ListLocationsRequest\x1a,.google.cloud.location.ListLocationsResponse"?\x82\xd3\xe4\x93\x02\x39\x12\x14/v1/{name=locations}Z!\x12\x1f/v1/{name=projects/*}/locations\x12\x9e\x01\n\x0bGetLocation\x12).google.cloud.location.GetLocationRequest\x1a\x1f.google.cloud.location.Location"C\x82\xd3\xe4\x93\x02=\x12\x16/v1/{name=locations/*}Z#\x12!/v1/{name=projects/*/locations/*}\x1aH\xca\x41\x14\x63loud.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformBo\n\x19\x63om.google.cloud.locationB\x0eLocationsProtoP\x01Z=google.golang.org/genproto/googleapis/cloud/location;location\xf8\x01\x01\x62\x06proto3'38)39 40 41_LISTLOCATIONSREQUEST = DESCRIPTOR.message_types_by_name["ListLocationsRequest"]42_LISTLOCATIONSRESPONSE = DESCRIPTOR.message_types_by_name["ListLocationsResponse"]43_GETLOCATIONREQUEST = DESCRIPTOR.message_types_by_name["GetLocationRequest"]44_LOCATION = DESCRIPTOR.message_types_by_name["Location"]45_LOCATION_LABELSENTRY = _LOCATION.nested_types_by_name["LabelsEntry"]46ListLocationsRequest = _reflection.GeneratedProtocolMessageType(47 "ListLocationsRequest",48 (_message.Message,),49 {50 "DESCRIPTOR": _LISTLOCATIONSREQUEST,51 "__module__": "google.cloud.location.locations_pb2"52 # @@protoc_insertion_point(class_scope:google.cloud.location.ListLocationsRequest)53 },54)55_sym_db.RegisterMessage(ListLocationsRequest)56 57ListLocationsResponse = _reflection.GeneratedProtocolMessageType(58 "ListLocationsResponse",59 (_message.Message,),60 {61 "DESCRIPTOR": _LISTLOCATIONSRESPONSE,62 "__module__": "google.cloud.location.locations_pb2"63 # @@protoc_insertion_point(class_scope:google.cloud.location.ListLocationsResponse)64 },65)66_sym_db.RegisterMessage(ListLocationsResponse)67 68GetLocationRequest = _reflection.GeneratedProtocolMessageType(69 "GetLocationRequest",70 (_message.Message,),71 {72 "DESCRIPTOR": _GETLOCATIONREQUEST,73 "__module__": "google.cloud.location.locations_pb2"74 # @@protoc_insertion_point(class_scope:google.cloud.location.GetLocationRequest)75 },76)77_sym_db.RegisterMessage(GetLocationRequest)78 79Location = _reflection.GeneratedProtocolMessageType(80 "Location",81 (_message.Message,),82 {83 "LabelsEntry": _reflection.GeneratedProtocolMessageType(84 "LabelsEntry",85 (_message.Message,),86 {87 "DESCRIPTOR": _LOCATION_LABELSENTRY,88 "__module__": "google.cloud.location.locations_pb2"89 # @@protoc_insertion_point(class_scope:google.cloud.location.Location.LabelsEntry)90 },91 ),92 "DESCRIPTOR": _LOCATION,93 "__module__": "google.cloud.location.locations_pb2"94 # @@protoc_insertion_point(class_scope:google.cloud.location.Location)95 },96)97_sym_db.RegisterMessage(Location)98_sym_db.RegisterMessage(Location.LabelsEntry)99 100_LOCATIONS = DESCRIPTOR.services_by_name["Locations"]101if _descriptor._USE_C_DESCRIPTORS == False:102 103 DESCRIPTOR._options = None104 DESCRIPTOR._serialized_options = b"\n\031com.google.cloud.locationB\016LocationsProtoP\001Z=google.golang.org/genproto/googleapis/cloud/location;location\370\001\001"105 _LOCATION_LABELSENTRY._options = None106 _LOCATION_LABELSENTRY._serialized_options = b"8\001"107 _LOCATIONS._options = None108 _LOCATIONS._serialized_options = b"\312A\024cloud.googleapis.com\322A.https://www.googleapis.com/auth/cloud-platform"109 _LOCATIONS.methods_by_name["ListLocations"]._options = None110 _LOCATIONS.methods_by_name[111 "ListLocations"112 ]._serialized_options = b"\202\323\344\223\0029\022\024/v1/{name=locations}Z!\022\037/v1/{name=projects/*}/locations"113 _LOCATIONS.methods_by_name["GetLocation"]._options = None114 _LOCATIONS.methods_by_name[115 "GetLocation"116 ]._serialized_options = b"\202\323\344\223\002=\022\026/v1/{name=locations/*}Z#\022!/v1/{name=projects/*/locations/*}"117 _LISTLOCATIONSREQUEST._serialized_start = 146118 _LISTLOCATIONSREQUEST._serialized_end = 237119 _LISTLOCATIONSRESPONSE._serialized_start = 239120 _LISTLOCATIONSRESPONSE._serialized_end = 339121 _GETLOCATIONREQUEST._serialized_start = 341122 _GETLOCATIONREQUEST._serialized_end = 375123 _LOCATION._serialized_start = 378124 _LOCATION._serialized_end = 593125 _LOCATION_LABELSENTRY._serialized_start = 548126 _LOCATION_LABELSENTRY._serialized_end = 593127 _LOCATIONS._serialized_start = 596128 _LOCATIONS._serialized_end = 1016129# @@protoc_insertion_point(module_scope)130 