Debian Codegraph @

googleapis/maps/regionlookup/v1alpha/region_search_values.pb.go

raw symbols SCIP
1 // Copyright 2022 Google LLC
2 //
3 // Licensed under the Apache License, Version 2.0 (the "License");
4 // you may not use this file except in compliance with the License.
5 // You may obtain a copy of the License at
6 //
7 // http://www.apache.org/licenses/LICENSE-2.0
8 //
9 // Unless required by applicable law or agreed to in writing, software
10 // distributed under the License is distributed on an "AS IS" BASIS,
11 // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12 // See the License for the specific language governing permissions and
13 // limitations under the License.
14
15 // Code generated by protoc-gen-go. DO NOT EDIT.
16 // versions:
17 // protoc-gen-go v1.26.0
18 // protoc v3.12.2
19 // source: google/maps/regionlookup/v1alpha/region_search_values.proto
20
21 package regionlookup
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 latlng "google.golang.org/genproto/googleapis/type/latlng"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 )
32
33 const (
34 // Verify that this generated code is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
36 // Verify that runtime/protoimpl is sufficiently up-to-date.
37 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
38 )
39
40 // Possible place types to match to.
41 type RegionSearchValue_PlaceType int32
42
43 const (
44 // Default value. This value is unused.
45 RegionSearchValue_PLACE_TYPE_UNSPECIFIED RegionSearchValue_PlaceType = 0
46 // Postal code.
47 RegionSearchValue_POSTAL_CODE RegionSearchValue_PlaceType = 1
48 // Administrative area level 1 (State in the US).
49 RegionSearchValue_ADMINISTRATIVE_AREA_LEVEL_1 RegionSearchValue_PlaceType = 2
50 // Administrative area level 2 (County in the US).
51 RegionSearchValue_ADMINISTRATIVE_AREA_LEVEL_2 RegionSearchValue_PlaceType = 3
52 // Locality (City).
53 RegionSearchValue_LOCALITY RegionSearchValue_PlaceType = 4
54 // Neighborhood.
55 RegionSearchValue_NEIGHBORHOOD RegionSearchValue_PlaceType = 5
56 // Country.
57 RegionSearchValue_COUNTRY RegionSearchValue_PlaceType = 6
58 // Sublocality.
59 RegionSearchValue_SUBLOCALITY RegionSearchValue_PlaceType = 7
60 // Administrative area level 3.
61 RegionSearchValue_ADMINISTRATIVE_AREA_LEVEL_3 RegionSearchValue_PlaceType = 8
62 // Administrative area level 4.
63 RegionSearchValue_ADMINISTRATIVE_AREA_LEVEL_4 RegionSearchValue_PlaceType = 9
64 // School district.
65 RegionSearchValue_SCHOOL_DISTRICT RegionSearchValue_PlaceType = 10
66 )
67
68 // Enum value maps for RegionSearchValue_PlaceType.
69 var (
70 RegionSearchValue_PlaceType_name = map[int32]string{
71 0: "PLACE_TYPE_UNSPECIFIED",
72 1: "POSTAL_CODE",
73 2: "ADMINISTRATIVE_AREA_LEVEL_1",
74 3: "ADMINISTRATIVE_AREA_LEVEL_2",
75 4: "LOCALITY",
76 5: "NEIGHBORHOOD",
77 6: "COUNTRY",
78 7: "SUBLOCALITY",
79 8: "ADMINISTRATIVE_AREA_LEVEL_3",
80 9: "ADMINISTRATIVE_AREA_LEVEL_4",
81 10: "SCHOOL_DISTRICT",
82 }
83 RegionSearchValue_PlaceType_value = map[string]int32{
84 "PLACE_TYPE_UNSPECIFIED": 0,
85 "POSTAL_CODE": 1,
86 "ADMINISTRATIVE_AREA_LEVEL_1": 2,
87 "ADMINISTRATIVE_AREA_LEVEL_2": 3,
88 "LOCALITY": 4,
89 "NEIGHBORHOOD": 5,
90 "COUNTRY": 6,
91 "SUBLOCALITY": 7,
92 "ADMINISTRATIVE_AREA_LEVEL_3": 8,
93 "ADMINISTRATIVE_AREA_LEVEL_4": 9,
94 "SCHOOL_DISTRICT": 10,
95 }
96 )
97
98 func (x RegionSearchValue_PlaceType) Enum() *RegionSearchValue_PlaceType {
99 p := new(RegionSearchValue_PlaceType)
100 *p = x
101 return p
102 }
103
104 func (x RegionSearchValue_PlaceType) String() string {
105 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
106 }
107
108 func (RegionSearchValue_PlaceType) Descriptor() protoreflect.EnumDescriptor {
109 return file_google_maps_regionlookup_v1alpha_region_search_values_proto_enumTypes[0].Descriptor()
110 }
111
112 func (RegionSearchValue_PlaceType) Type() protoreflect.EnumType {
113 return &file_google_maps_regionlookup_v1alpha_region_search_values_proto_enumTypes[0]
114 }
115
116 func (x RegionSearchValue_PlaceType) Number() protoreflect.EnumNumber {
117 return protoreflect.EnumNumber(x)
118 }
119
120 // Deprecated: Use RegionSearchValue_PlaceType.Descriptor instead.
121 func (RegionSearchValue_PlaceType) EnumDescriptor() ([]byte, []int) {
122 return file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescGZIP(), []int{0, 0}
123 }
124
125 // Region Search Values.
126 //
127 // Desired search values of a single region.
128 //
129 // Location must be specified by one of the following: address, latlng or
130 // place_id. If none is specified, an INVALID_ARGUMENT error is returned.
131 // region_code must also be provided when address is specified.
132 //
133 // The fields address, latlng and place_id specify a location contained inside
134 // the region to match. For example if address is "1600 Amphitheatre Pkwy,
135 // Mountain View, CA 94043" the API returns the following matched_place_id
136 // results when the following place_types are specified:
137 //
138 // place_type: matched_place_id results:
139 // postal_code Place ID for "94043"
140 // administrative_area_level_1 Place ID for The State of California
141 // administrative_area_level_2 Place ID for Santa Clara County
142 // etc.
143 //
144 // More Examples:
145 //
146 // If latlng is "latitude: 37.4220656 longitude: -122.0862784" and place_type
147 // is "locality", the result contains the Place ID (of type "locality") for
148 // that location (the Place ID of Mountain View, CA, in this case).
149 //
150 // If place_id is "ChIJj61dQgK6j4AR4GeTYWZsKWw" (Place ID for Google office in
151 // Mountain view, CA) and place_type is "locality", the result contains the
152 // Place ID (of type "locality") for that location (the Place ID of Mountain
153 // View, CA, in this case).
154 //
155 // If no match is found, matched_place_id is not set.
156 //
157 // Candidates Place IDs are returned when a search finds multiple Place
158 // IDs for the location specified. For example if the API is searching for
159 // region Place IDs of type neighboorhood for a location that is contained
160 // within multiple neighboords. The Place Ids will be returned as candidates in
161 // the candidate_place_ids field.
162 //
163 // Next available tag: 10
164 type RegionSearchValue struct {
165 state protoimpl.MessageState
166 sizeCache protoimpl.SizeCache
167 unknownFields protoimpl.UnknownFields
168
169 // The location must be specified by one of the following:
170 //
171 // Types that are assignable to Location:
172 // *RegionSearchValue_Address
173 // *RegionSearchValue_Latlng
174 // *RegionSearchValue_PlaceId
175 Location isRegionSearchValue_Location `protobuf_oneof:"location"`
176 // Required. The type of the place to match.
177 PlaceType RegionSearchValue_PlaceType `protobuf:"varint,6,opt,name=place_type,json=placeType,proto3,enum=google.maps.regionlookup.v1alpha.RegionSearchValue_PlaceType" json:"place_type,omitempty"`
178 // The BCP-47 language code, such as "en-US" or "sr-Latn", corresponding to
179 // the language in which the place name and address is requested. If none is
180 // requested, then it defaults to English.
181 LanguageCode string `protobuf:"bytes,7,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
182 // Two-letter ISO-3166 country/region code for the location you're trying to
183 // match. region_code is required when address is specified.
184 RegionCode string `protobuf:"bytes,8,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
185 }
186
187 func (x *RegionSearchValue) Reset() {
188 *x = RegionSearchValue{}
189 if protoimpl.UnsafeEnabled {
190 mi := &file_google_maps_regionlookup_v1alpha_region_search_values_proto_msgTypes[0]
191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
192 ms.StoreMessageInfo(mi)
193 }
194 }
195
196 func (x *RegionSearchValue) String() string {
197 return protoimpl.X.MessageStringOf(x)
198 }
199
200 func (*RegionSearchValue) ProtoMessage() {}
201
202 func (x *RegionSearchValue) ProtoReflect() protoreflect.Message {
203 mi := &file_google_maps_regionlookup_v1alpha_region_search_values_proto_msgTypes[0]
204 if protoimpl.UnsafeEnabled && x != nil {
205 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
206 if ms.LoadMessageInfo() == nil {
207 ms.StoreMessageInfo(mi)
208 }
209 return ms
210 }
211 return mi.MessageOf(x)
212 }
213
214 // Deprecated: Use RegionSearchValue.ProtoReflect.Descriptor instead.
215 func (*RegionSearchValue) Descriptor() ([]byte, []int) {
216 return file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescGZIP(), []int{0}
217 }
218
219 func (m *RegionSearchValue) GetLocation() isRegionSearchValue_Location {
220 if m != nil {
221 return m.Location
222 }
223 return nil
224 }
225
226 func (x *RegionSearchValue) GetAddress() string {
227 if x, ok := x.GetLocation().(*RegionSearchValue_Address); ok {
228 return x.Address
229 }
230 return ""
231 }
232
233 func (x *RegionSearchValue) GetLatlng() *latlng.LatLng {
234 if x, ok := x.GetLocation().(*RegionSearchValue_Latlng); ok {
235 return x.Latlng
236 }
237 return nil
238 }
239
240 func (x *RegionSearchValue) GetPlaceId() string {
241 if x, ok := x.GetLocation().(*RegionSearchValue_PlaceId); ok {
242 return x.PlaceId
243 }
244 return ""
245 }
246
247 func (x *RegionSearchValue) GetPlaceType() RegionSearchValue_PlaceType {
248 if x != nil {
249 return x.PlaceType
250 }
251 return RegionSearchValue_PLACE_TYPE_UNSPECIFIED
252 }
253
254 func (x *RegionSearchValue) GetLanguageCode() string {
255 if x != nil {
256 return x.LanguageCode
257 }
258 return ""
259 }
260
261 func (x *RegionSearchValue) GetRegionCode() string {
262 if x != nil {
263 return x.RegionCode
264 }
265 return ""
266 }
267
268 type isRegionSearchValue_Location interface {
269 isRegionSearchValue_Location()
270 }
271
272 type RegionSearchValue_Address struct {
273 // The unstructured street address that is contained inside a region to
274 // match. region_code is required when address is specified.
275 Address string `protobuf:"bytes,1,opt,name=address,proto3,oneof"`
276 }
277
278 type RegionSearchValue_Latlng struct {
279 // The latitude and longitude that is contained inside a region to match.
280 Latlng *latlng.LatLng `protobuf:"bytes,2,opt,name=latlng,proto3,oneof"`
281 }
282
283 type RegionSearchValue_PlaceId struct {
284 // The Place ID that is contained inside a region to match.
285 PlaceId string `protobuf:"bytes,3,opt,name=place_id,json=placeId,proto3,oneof"`
286 }
287
288 func (*RegionSearchValue_Address) isRegionSearchValue_Location() {}
289
290 func (*RegionSearchValue_Latlng) isRegionSearchValue_Location() {}
291
292 func (*RegionSearchValue_PlaceId) isRegionSearchValue_Location() {}
293
294 var File_google_maps_regionlookup_v1alpha_region_search_values_proto protoreflect.FileDescriptor
295
296 var file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDesc = []byte{
297 0x0a, 0x3b, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x72, 0x65,
298 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x61, 0x6c, 0x70,
299 0x68, 0x61, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68,
300 0x5f, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x20, 0x67,
301 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
302 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a,
303 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
304 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
305 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61,
306 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc2, 0x04, 0x0a, 0x11, 0x52,
307 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65,
308 0x12, 0x1a, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
309 0x09, 0x48, 0x00, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, 0x2d, 0x0a, 0x06,
310 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67,
311 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e,
312 0x67, 0x48, 0x00, 0x52, 0x06, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x12, 0x1b, 0x0a, 0x08, 0x70,
313 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52,
314 0x07, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x61, 0x0a, 0x0a, 0x70, 0x6c, 0x61, 0x63,
315 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3d, 0x2e, 0x67,
316 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f,
317 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2e,
318 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75,
319 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02,
320 0x52, 0x09, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x6c,
321 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01,
322 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65,
323 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
324 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64,
325 0x65, 0x22, 0x8f, 0x02, 0x0a, 0x09, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12,
326 0x1a, 0x0a, 0x16, 0x50, 0x4c, 0x41, 0x43, 0x45, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e,
327 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x50,
328 0x4f, 0x53, 0x54, 0x41, 0x4c, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b,
329 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x41,
330 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x31, 0x10, 0x02, 0x12, 0x1f, 0x0a,
331 0x1b, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f,
332 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x32, 0x10, 0x03, 0x12, 0x0c,
333 0x0a, 0x08, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x04, 0x12, 0x10, 0x0a, 0x0c,
334 0x4e, 0x45, 0x49, 0x47, 0x48, 0x42, 0x4f, 0x52, 0x48, 0x4f, 0x4f, 0x44, 0x10, 0x05, 0x12, 0x0b,
335 0x0a, 0x07, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x52, 0x59, 0x10, 0x06, 0x12, 0x0f, 0x0a, 0x0b, 0x53,
336 0x55, 0x42, 0x4c, 0x4f, 0x43, 0x41, 0x4c, 0x49, 0x54, 0x59, 0x10, 0x07, 0x12, 0x1f, 0x0a, 0x1b,
337 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f, 0x41,
338 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x33, 0x10, 0x08, 0x12, 0x1f, 0x0a,
339 0x1b, 0x41, 0x44, 0x4d, 0x49, 0x4e, 0x49, 0x53, 0x54, 0x52, 0x41, 0x54, 0x49, 0x56, 0x45, 0x5f,
340 0x41, 0x52, 0x45, 0x41, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x34, 0x10, 0x09, 0x12, 0x13,
341 0x0a, 0x0f, 0x53, 0x43, 0x48, 0x4f, 0x4f, 0x4c, 0x5f, 0x44, 0x49, 0x53, 0x54, 0x52, 0x49, 0x43,
342 0x54, 0x10, 0x0a, 0x42, 0x0a, 0x0a, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
343 0xe1, 0x01, 0x0a, 0x24, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
344 0x61, 0x70, 0x73, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70,
345 0x2e, 0x76, 0x31, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x17, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
346 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x50, 0x72, 0x6f, 0x74,
347 0x6f, 0x50, 0x01, 0x5a, 0x4c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61,
348 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
349 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f,
350 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2f, 0x76, 0x31, 0x61,
351 0x6c, 0x70, 0x68, 0x61, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x6c, 0x6f, 0x6f, 0x6b, 0x75,
352 0x70, 0xf8, 0x01, 0x01, 0xa2, 0x02, 0x06, 0x4d, 0x52, 0x4c, 0x56, 0x31, 0x41, 0xaa, 0x02, 0x20,
353 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x52, 0x65, 0x67, 0x69,
354 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x2e, 0x56, 0x31, 0x41, 0x6c, 0x70, 0x68, 0x61,
355 0xca, 0x02, 0x20, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x52,
356 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x4c, 0x6f, 0x6f, 0x6b, 0x75, 0x70, 0x5c, 0x56, 0x31, 0x61, 0x6c,
357 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
358 }
359
360 var (
361 file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescOnce sync.Once
362 file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescData = file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDesc
363 )
364
365 func file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescGZIP() []byte {
366 file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescOnce.Do(func() {
367 file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescData)
368 })
369 return file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDescData
370 }
371
372 var file_google_maps_regionlookup_v1alpha_region_search_values_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
373 var file_google_maps_regionlookup_v1alpha_region_search_values_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
374 var file_google_maps_regionlookup_v1alpha_region_search_values_proto_goTypes = []interface{}{
375 (RegionSearchValue_PlaceType)(0), // 0: google.maps.regionlookup.v1alpha.RegionSearchValue.PlaceType
376 (*RegionSearchValue)(nil), // 1: google.maps.regionlookup.v1alpha.RegionSearchValue
377 (*latlng.LatLng)(nil), // 2: google.type.LatLng
378 }
379 var file_google_maps_regionlookup_v1alpha_region_search_values_proto_depIdxs = []int32{
380 2, // 0: google.maps.regionlookup.v1alpha.RegionSearchValue.latlng:type_name -> google.type.LatLng
381 0, // 1: google.maps.regionlookup.v1alpha.RegionSearchValue.place_type:type_name -> google.maps.regionlookup.v1alpha.RegionSearchValue.PlaceType
382 2, // [2:2] is the sub-list for method output_type
383 2, // [2:2] is the sub-list for method input_type
384 2, // [2:2] is the sub-list for extension type_name
385 2, // [2:2] is the sub-list for extension extendee
386 0, // [0:2] is the sub-list for field type_name
387 }
388
389 func init() { file_google_maps_regionlookup_v1alpha_region_search_values_proto_init() }
390 func file_google_maps_regionlookup_v1alpha_region_search_values_proto_init() {
391 if File_google_maps_regionlookup_v1alpha_region_search_values_proto != nil {
392 return
393 }
394 if !protoimpl.UnsafeEnabled {
395 file_google_maps_regionlookup_v1alpha_region_search_values_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
396 switch v := v.(*RegionSearchValue); i {
397 case 0:
398 return &v.state
399 case 1:
400 return &v.sizeCache
401 case 2:
402 return &v.unknownFields
403 default:
404 return nil
405 }
406 }
407 }
408 file_google_maps_regionlookup_v1alpha_region_search_values_proto_msgTypes[0].OneofWrappers = []interface{}{
409 (*RegionSearchValue_Address)(nil),
410 (*RegionSearchValue_Latlng)(nil),
411 (*RegionSearchValue_PlaceId)(nil),
412 }
413 type x struct{}
414 out := protoimpl.TypeBuilder{
415 File: protoimpl.DescBuilder{
416 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
417 RawDescriptor: file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDesc,
418 NumEnums: 1,
419 NumMessages: 1,
420 NumExtensions: 0,
421 NumServices: 0,
422 },
423 GoTypes: file_google_maps_regionlookup_v1alpha_region_search_values_proto_goTypes,
424 DependencyIndexes: file_google_maps_regionlookup_v1alpha_region_search_values_proto_depIdxs,
425 EnumInfos: file_google_maps_regionlookup_v1alpha_region_search_values_proto_enumTypes,
426 MessageInfos: file_google_maps_regionlookup_v1alpha_region_search_values_proto_msgTypes,
427 }.Build()
428 File_google_maps_regionlookup_v1alpha_region_search_values_proto = out.File
429 file_google_maps_regionlookup_v1alpha_region_search_values_proto_rawDesc = nil
430 file_google_maps_regionlookup_v1alpha_region_search_values_proto_goTypes = nil
431 file_google_maps_regionlookup_v1alpha_region_search_values_proto_depIdxs = nil
432 }