Debian Codegraph @

maps/places/apiv1/placespb/address_descriptor.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/maps/places/v1/address_descriptor.proto
20
21 package placespb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 localized_text "google.golang.org/genproto/googleapis/type/localized_text"
26 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
27 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
28 reflect "reflect"
29 sync "sync"
30 )
31
32 const (
33 // Verify that this generated code is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
35 // Verify that runtime/protoimpl is sufficiently up-to-date.
36 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
37 )
38
39 // Defines the spatial relationship between the target location and the
40 // landmark.
41 type AddressDescriptor_Landmark_SpatialRelationship int32
42
43 const (
44 // This is the default relationship when nothing more specific below
45 // applies.
46 AddressDescriptor_Landmark_NEAR AddressDescriptor_Landmark_SpatialRelationship = 0
47 // The landmark has a spatial geometry and the target is within its
48 // bounds.
49 AddressDescriptor_Landmark_WITHIN AddressDescriptor_Landmark_SpatialRelationship = 1
50 // The target is directly adjacent to the landmark.
51 AddressDescriptor_Landmark_BESIDE AddressDescriptor_Landmark_SpatialRelationship = 2
52 // The target is directly opposite the landmark on the other side of the
53 // road.
54 AddressDescriptor_Landmark_ACROSS_THE_ROAD AddressDescriptor_Landmark_SpatialRelationship = 3
55 // On the same route as the landmark but not besides or across.
56 AddressDescriptor_Landmark_DOWN_THE_ROAD AddressDescriptor_Landmark_SpatialRelationship = 4
57 // Not on the same route as the landmark but a single turn away.
58 AddressDescriptor_Landmark_AROUND_THE_CORNER AddressDescriptor_Landmark_SpatialRelationship = 5
59 // Close to the landmark's structure but further away from its street
60 // entrances.
61 AddressDescriptor_Landmark_BEHIND AddressDescriptor_Landmark_SpatialRelationship = 6
62 )
63
64 // Enum value maps for AddressDescriptor_Landmark_SpatialRelationship.
65 var (
66 AddressDescriptor_Landmark_SpatialRelationship_name = map[int32]string{
67 0: "NEAR",
68 1: "WITHIN",
69 2: "BESIDE",
70 3: "ACROSS_THE_ROAD",
71 4: "DOWN_THE_ROAD",
72 5: "AROUND_THE_CORNER",
73 6: "BEHIND",
74 }
75 AddressDescriptor_Landmark_SpatialRelationship_value = map[string]int32{
76 "NEAR": 0,
77 "WITHIN": 1,
78 "BESIDE": 2,
79 "ACROSS_THE_ROAD": 3,
80 "DOWN_THE_ROAD": 4,
81 "AROUND_THE_CORNER": 5,
82 "BEHIND": 6,
83 }
84 )
85
86 func (x AddressDescriptor_Landmark_SpatialRelationship) Enum() *AddressDescriptor_Landmark_SpatialRelationship {
87 p := new(AddressDescriptor_Landmark_SpatialRelationship)
88 *p = x
89 return p
90 }
91
92 func (x AddressDescriptor_Landmark_SpatialRelationship) String() string {
93 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
94 }
95
96 func (AddressDescriptor_Landmark_SpatialRelationship) Descriptor() protoreflect.EnumDescriptor {
97 return file_google_maps_places_v1_address_descriptor_proto_enumTypes[0].Descriptor()
98 }
99
100 func (AddressDescriptor_Landmark_SpatialRelationship) Type() protoreflect.EnumType {
101 return &file_google_maps_places_v1_address_descriptor_proto_enumTypes[0]
102 }
103
104 func (x AddressDescriptor_Landmark_SpatialRelationship) Number() protoreflect.EnumNumber {
105 return protoreflect.EnumNumber(x)
106 }
107
108 // Deprecated: Use AddressDescriptor_Landmark_SpatialRelationship.Descriptor instead.
109 func (AddressDescriptor_Landmark_SpatialRelationship) EnumDescriptor() ([]byte, []int) {
110 return file_google_maps_places_v1_address_descriptor_proto_rawDescGZIP(), []int{0, 0, 0}
111 }
112
113 // Defines the spatial relationship between the target location and the
114 // area.
115 type AddressDescriptor_Area_Containment int32
116
117 const (
118 // The containment is unspecified.
119 AddressDescriptor_Area_CONTAINMENT_UNSPECIFIED AddressDescriptor_Area_Containment = 0
120 // The target location is within the area region, close to the
121 // center.
122 AddressDescriptor_Area_WITHIN AddressDescriptor_Area_Containment = 1
123 // The target location is within the area region, close to the edge.
124 AddressDescriptor_Area_OUTSKIRTS AddressDescriptor_Area_Containment = 2
125 // The target location is outside the area region, but close by.
126 AddressDescriptor_Area_NEAR AddressDescriptor_Area_Containment = 3
127 )
128
129 // Enum value maps for AddressDescriptor_Area_Containment.
130 var (
131 AddressDescriptor_Area_Containment_name = map[int32]string{
132 0: "CONTAINMENT_UNSPECIFIED",
133 1: "WITHIN",
134 2: "OUTSKIRTS",
135 3: "NEAR",
136 }
137 AddressDescriptor_Area_Containment_value = map[string]int32{
138 "CONTAINMENT_UNSPECIFIED": 0,
139 "WITHIN": 1,
140 "OUTSKIRTS": 2,
141 "NEAR": 3,
142 }
143 )
144
145 func (x AddressDescriptor_Area_Containment) Enum() *AddressDescriptor_Area_Containment {
146 p := new(AddressDescriptor_Area_Containment)
147 *p = x
148 return p
149 }
150
151 func (x AddressDescriptor_Area_Containment) String() string {
152 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
153 }
154
155 func (AddressDescriptor_Area_Containment) Descriptor() protoreflect.EnumDescriptor {
156 return file_google_maps_places_v1_address_descriptor_proto_enumTypes[1].Descriptor()
157 }
158
159 func (AddressDescriptor_Area_Containment) Type() protoreflect.EnumType {
160 return &file_google_maps_places_v1_address_descriptor_proto_enumTypes[1]
161 }
162
163 func (x AddressDescriptor_Area_Containment) Number() protoreflect.EnumNumber {
164 return protoreflect.EnumNumber(x)
165 }
166
167 // Deprecated: Use AddressDescriptor_Area_Containment.Descriptor instead.
168 func (AddressDescriptor_Area_Containment) EnumDescriptor() ([]byte, []int) {
169 return file_google_maps_places_v1_address_descriptor_proto_rawDescGZIP(), []int{0, 1, 0}
170 }
171
172 // A relational description of a location. Includes a ranked set of nearby
173 // landmarks and precise containing areas and their relationship to the target
174 // location.
175 type AddressDescriptor struct {
176 state protoimpl.MessageState
177 sizeCache protoimpl.SizeCache
178 unknownFields protoimpl.UnknownFields
179
180 // A ranked list of nearby landmarks. The most recognizable and nearby
181 // landmarks are ranked first.
182 Landmarks []*AddressDescriptor_Landmark `protobuf:"bytes,1,rep,name=landmarks,proto3" json:"landmarks,omitempty"`
183 // A ranked list of containing or adjacent areas. The most recognizable and
184 // precise areas are ranked first.
185 Areas []*AddressDescriptor_Area `protobuf:"bytes,2,rep,name=areas,proto3" json:"areas,omitempty"`
186 }
187
188 func (x *AddressDescriptor) Reset() {
189 *x = AddressDescriptor{}
190 mi := &file_google_maps_places_v1_address_descriptor_proto_msgTypes[0]
191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
192 ms.StoreMessageInfo(mi)
193 }
194
195 func (x *AddressDescriptor) String() string {
196 return protoimpl.X.MessageStringOf(x)
197 }
198
199 func (*AddressDescriptor) ProtoMessage() {}
200
201 func (x *AddressDescriptor) ProtoReflect() protoreflect.Message {
202 mi := &file_google_maps_places_v1_address_descriptor_proto_msgTypes[0]
203 if x != nil {
204 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
205 if ms.LoadMessageInfo() == nil {
206 ms.StoreMessageInfo(mi)
207 }
208 return ms
209 }
210 return mi.MessageOf(x)
211 }
212
213 // Deprecated: Use AddressDescriptor.ProtoReflect.Descriptor instead.
214 func (*AddressDescriptor) Descriptor() ([]byte, []int) {
215 return file_google_maps_places_v1_address_descriptor_proto_rawDescGZIP(), []int{0}
216 }
217
218 func (x *AddressDescriptor) GetLandmarks() []*AddressDescriptor_Landmark {
219 if x != nil {
220 return x.Landmarks
221 }
222 return nil
223 }
224
225 func (x *AddressDescriptor) GetAreas() []*AddressDescriptor_Area {
226 if x != nil {
227 return x.Areas
228 }
229 return nil
230 }
231
232 // Basic landmark information and the landmark's relationship with the
233 // target location.
234 //
235 // Landmarks are prominent places that can be used to describe a location.
236 type AddressDescriptor_Landmark struct {
237 state protoimpl.MessageState
238 sizeCache protoimpl.SizeCache
239 unknownFields protoimpl.UnknownFields
240
241 // The landmark's resource name.
242 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
243 // The landmark's place id.
244 PlaceId string `protobuf:"bytes,2,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
245 // The landmark's display name.
246 DisplayName *localized_text.LocalizedText `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
247 // A set of type tags for this landmark. For a complete list of possible
248 // values, see
249 // https://developers.google.com/maps/documentation/places/web-service/place-types.
250 Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"`
251 // Defines the spatial relationship between the target location and the
252 // landmark.
253 SpatialRelationship AddressDescriptor_Landmark_SpatialRelationship `protobuf:"varint,5,opt,name=spatial_relationship,json=spatialRelationship,proto3,enum=google.maps.places.v1.AddressDescriptor_Landmark_SpatialRelationship" json:"spatial_relationship,omitempty"`
254 // The straight line distance, in meters, between the center point of the
255 // target and the center point of the landmark. In some situations, this
256 // value can be longer than `travel_distance_meters`.
257 StraightLineDistanceMeters float32 `protobuf:"fixed32,6,opt,name=straight_line_distance_meters,json=straightLineDistanceMeters,proto3" json:"straight_line_distance_meters,omitempty"`
258 // The travel distance, in meters, along the road network from the target to
259 // the landmark, if known. This value does not take into account the mode of
260 // transportation, such as walking, driving, or biking.
261 TravelDistanceMeters *float32 `protobuf:"fixed32,7,opt,name=travel_distance_meters,json=travelDistanceMeters,proto3,oneof" json:"travel_distance_meters,omitempty"`
262 }
263
264 func (x *AddressDescriptor_Landmark) Reset() {
265 *x = AddressDescriptor_Landmark{}
266 mi := &file_google_maps_places_v1_address_descriptor_proto_msgTypes[1]
267 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
268 ms.StoreMessageInfo(mi)
269 }
270
271 func (x *AddressDescriptor_Landmark) String() string {
272 return protoimpl.X.MessageStringOf(x)
273 }
274
275 func (*AddressDescriptor_Landmark) ProtoMessage() {}
276
277 func (x *AddressDescriptor_Landmark) ProtoReflect() protoreflect.Message {
278 mi := &file_google_maps_places_v1_address_descriptor_proto_msgTypes[1]
279 if x != nil {
280 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
281 if ms.LoadMessageInfo() == nil {
282 ms.StoreMessageInfo(mi)
283 }
284 return ms
285 }
286 return mi.MessageOf(x)
287 }
288
289 // Deprecated: Use AddressDescriptor_Landmark.ProtoReflect.Descriptor instead.
290 func (*AddressDescriptor_Landmark) Descriptor() ([]byte, []int) {
291 return file_google_maps_places_v1_address_descriptor_proto_rawDescGZIP(), []int{0, 0}
292 }
293
294 func (x *AddressDescriptor_Landmark) GetName() string {
295 if x != nil {
296 return x.Name
297 }
298 return ""
299 }
300
301 func (x *AddressDescriptor_Landmark) GetPlaceId() string {
302 if x != nil {
303 return x.PlaceId
304 }
305 return ""
306 }
307
308 func (x *AddressDescriptor_Landmark) GetDisplayName() *localized_text.LocalizedText {
309 if x != nil {
310 return x.DisplayName
311 }
312 return nil
313 }
314
315 func (x *AddressDescriptor_Landmark) GetTypes() []string {
316 if x != nil {
317 return x.Types
318 }
319 return nil
320 }
321
322 func (x *AddressDescriptor_Landmark) GetSpatialRelationship() AddressDescriptor_Landmark_SpatialRelationship {
323 if x != nil {
324 return x.SpatialRelationship
325 }
326 return AddressDescriptor_Landmark_NEAR
327 }
328
329 func (x *AddressDescriptor_Landmark) GetStraightLineDistanceMeters() float32 {
330 if x != nil {
331 return x.StraightLineDistanceMeters
332 }
333 return 0
334 }
335
336 func (x *AddressDescriptor_Landmark) GetTravelDistanceMeters() float32 {
337 if x != nil && x.TravelDistanceMeters != nil {
338 return *x.TravelDistanceMeters
339 }
340 return 0
341 }
342
343 // Area information and the area's relationship with the target location.
344 //
345 // Areas includes precise sublocality, neighborhoods, and large compounds that
346 // are useful for describing a location.
347 type AddressDescriptor_Area struct {
348 state protoimpl.MessageState
349 sizeCache protoimpl.SizeCache
350 unknownFields protoimpl.UnknownFields
351
352 // The area's resource name.
353 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
354 // The area's place id.
355 PlaceId string `protobuf:"bytes,2,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
356 // The area's display name.
357 DisplayName *localized_text.LocalizedText `protobuf:"bytes,3,opt,name=display_name,json=displayName,proto3" json:"display_name,omitempty"`
358 // Defines the spatial relationship between the target location and the
359 // area.
360 Containment AddressDescriptor_Area_Containment `protobuf:"varint,4,opt,name=containment,proto3,enum=google.maps.places.v1.AddressDescriptor_Area_Containment" json:"containment,omitempty"`
361 }
362
363 func (x *AddressDescriptor_Area) Reset() {
364 *x = AddressDescriptor_Area{}
365 mi := &file_google_maps_places_v1_address_descriptor_proto_msgTypes[2]
366 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
367 ms.StoreMessageInfo(mi)
368 }
369
370 func (x *AddressDescriptor_Area) String() string {
371 return protoimpl.X.MessageStringOf(x)
372 }
373
374 func (*AddressDescriptor_Area) ProtoMessage() {}
375
376 func (x *AddressDescriptor_Area) ProtoReflect() protoreflect.Message {
377 mi := &file_google_maps_places_v1_address_descriptor_proto_msgTypes[2]
378 if x != nil {
379 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
380 if ms.LoadMessageInfo() == nil {
381 ms.StoreMessageInfo(mi)
382 }
383 return ms
384 }
385 return mi.MessageOf(x)
386 }
387
388 // Deprecated: Use AddressDescriptor_Area.ProtoReflect.Descriptor instead.
389 func (*AddressDescriptor_Area) Descriptor() ([]byte, []int) {
390 return file_google_maps_places_v1_address_descriptor_proto_rawDescGZIP(), []int{0, 1}
391 }
392
393 func (x *AddressDescriptor_Area) GetName() string {
394 if x != nil {
395 return x.Name
396 }
397 return ""
398 }
399
400 func (x *AddressDescriptor_Area) GetPlaceId() string {
401 if x != nil {
402 return x.PlaceId
403 }
404 return ""
405 }
406
407 func (x *AddressDescriptor_Area) GetDisplayName() *localized_text.LocalizedText {
408 if x != nil {
409 return x.DisplayName
410 }
411 return nil
412 }
413
414 func (x *AddressDescriptor_Area) GetContainment() AddressDescriptor_Area_Containment {
415 if x != nil {
416 return x.Containment
417 }
418 return AddressDescriptor_Area_CONTAINMENT_UNSPECIFIED
419 }
420
421 var File_google_maps_places_v1_address_descriptor_proto protoreflect.FileDescriptor
422
423 var file_google_maps_places_v1_address_descriptor_proto_rawDesc = []byte{
424 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c,
425 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x5f,
426 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
427 0x12, 0x15, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c,
428 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
429 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
430 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f,
431 0x6c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x2e, 0x70,
432 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbb, 0x08, 0x0a, 0x11, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73,
433 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x12, 0x4f, 0x0a, 0x09, 0x6c, 0x61,
434 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x31, 0x2e,
435 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
436 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x73,
437 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b,
438 0x52, 0x09, 0x6c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x73, 0x12, 0x43, 0x0a, 0x05, 0x61,
439 0x72, 0x65, 0x61, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2d, 0x2e, 0x67, 0x6f, 0x6f,
440 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e,
441 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69,
442 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x41, 0x72, 0x65, 0x61, 0x52, 0x05, 0x61, 0x72, 0x65, 0x61, 0x73,
443 0x1a, 0xc8, 0x04, 0x0a, 0x08, 0x4c, 0x61, 0x6e, 0x64, 0x6d, 0x61, 0x72, 0x6b, 0x12, 0x34, 0x0a,
444 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d,
445 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61,
446 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e,
447 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18,
448 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3d,
449 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03,
450 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79,
451 0x70, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69, 0x7a, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74,
452 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x14, 0x0a,
453 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79,
454 0x70, 0x65, 0x73, 0x12, 0x78, 0x0a, 0x14, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x5f, 0x72,
455 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x18, 0x05, 0x20, 0x01, 0x28,
456 0x0e, 0x32, 0x45, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
457 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73,
458 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x4c, 0x61, 0x6e, 0x64,
459 0x6d, 0x61, 0x72, 0x6b, 0x2e, 0x53, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x6c, 0x61,
460 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x52, 0x13, 0x73, 0x70, 0x61, 0x74, 0x69, 0x61,
461 0x6c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x68, 0x69, 0x70, 0x12, 0x41, 0x0a,
462 0x1d, 0x73, 0x74, 0x72, 0x61, 0x69, 0x67, 0x68, 0x74, 0x5f, 0x6c, 0x69, 0x6e, 0x65, 0x5f, 0x64,
463 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06,
464 0x20, 0x01, 0x28, 0x02, 0x52, 0x1a, 0x73, 0x74, 0x72, 0x61, 0x69, 0x67, 0x68, 0x74, 0x4c, 0x69,
465 0x6e, 0x65, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x73,
466 0x12, 0x39, 0x0a, 0x16, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74, 0x61,
467 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x07, 0x20, 0x01, 0x28, 0x02,
468 0x48, 0x00, 0x52, 0x14, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x44, 0x69, 0x73, 0x74, 0x61, 0x6e,
469 0x63, 0x65, 0x4d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x88, 0x01, 0x01, 0x22, 0x82, 0x01, 0x0a, 0x13,
470 0x53, 0x70, 0x61, 0x74, 0x69, 0x61, 0x6c, 0x52, 0x65, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73,
471 0x68, 0x69, 0x70, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x45, 0x41, 0x52, 0x10, 0x00, 0x12, 0x0a, 0x0a,
472 0x06, 0x57, 0x49, 0x54, 0x48, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x45, 0x53,
473 0x49, 0x44, 0x45, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x41, 0x43, 0x52, 0x4f, 0x53, 0x53, 0x5f,
474 0x54, 0x48, 0x45, 0x5f, 0x52, 0x4f, 0x41, 0x44, 0x10, 0x03, 0x12, 0x11, 0x0a, 0x0d, 0x44, 0x4f,
475 0x57, 0x4e, 0x5f, 0x54, 0x48, 0x45, 0x5f, 0x52, 0x4f, 0x41, 0x44, 0x10, 0x04, 0x12, 0x15, 0x0a,
476 0x11, 0x41, 0x52, 0x4f, 0x55, 0x4e, 0x44, 0x5f, 0x54, 0x48, 0x45, 0x5f, 0x43, 0x4f, 0x52, 0x4e,
477 0x45, 0x52, 0x10, 0x05, 0x12, 0x0a, 0x0a, 0x06, 0x42, 0x45, 0x48, 0x49, 0x4e, 0x44, 0x10, 0x06,
478 0x42, 0x19, 0x0a, 0x17, 0x5f, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x64, 0x69, 0x73, 0x74,
479 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0xc4, 0x02, 0x0a, 0x04,
480 0x41, 0x72, 0x65, 0x61, 0x12, 0x34, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
481 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e,
482 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,
483 0x6c, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6c,
484 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6c,
485 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x3d, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
486 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f,
487 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x6c, 0x69,
488 0x7a, 0x65, 0x64, 0x54, 0x65, 0x78, 0x74, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79,
489 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x5b, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x6d,
490 0x65, 0x6e, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
491 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76,
492 0x31, 0x2e, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
493 0x74, 0x6f, 0x72, 0x2e, 0x41, 0x72, 0x65, 0x61, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e,
494 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x6d, 0x65, 0x6e,
495 0x74, 0x22, 0x4f, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x6d, 0x65, 0x6e, 0x74,
496 0x12, 0x1b, 0x0a, 0x17, 0x43, 0x4f, 0x4e, 0x54, 0x41, 0x49, 0x4e, 0x4d, 0x45, 0x4e, 0x54, 0x5f,
497 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0a, 0x0a,
498 0x06, 0x57, 0x49, 0x54, 0x48, 0x49, 0x4e, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x4f, 0x55, 0x54,
499 0x53, 0x4b, 0x49, 0x52, 0x54, 0x53, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x4e, 0x45, 0x41, 0x52,
500 0x10, 0x03, 0x42, 0xa7, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
501 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
502 0x42, 0x16, 0x41, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x44, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
503 0x74, 0x6f, 0x72, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75,
504 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
505 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76,
506 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x70, 0x6c, 0x61, 0x63, 0x65,
507 0x73, 0x70, 0x62, 0xa2, 0x02, 0x06, 0x47, 0x4d, 0x50, 0x53, 0x56, 0x31, 0xaa, 0x02, 0x15, 0x47,
508 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65,
509 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61,
510 0x70, 0x73, 0x5c, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72,
511 0x6f, 0x74, 0x6f, 0x33,
512 }
513
514 var (
515 file_google_maps_places_v1_address_descriptor_proto_rawDescOnce sync.Once
516 file_google_maps_places_v1_address_descriptor_proto_rawDescData = file_google_maps_places_v1_address_descriptor_proto_rawDesc
517 )
518
519 func file_google_maps_places_v1_address_descriptor_proto_rawDescGZIP() []byte {
520 file_google_maps_places_v1_address_descriptor_proto_rawDescOnce.Do(func() {
521 file_google_maps_places_v1_address_descriptor_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_places_v1_address_descriptor_proto_rawDescData)
522 })
523 return file_google_maps_places_v1_address_descriptor_proto_rawDescData
524 }
525
526 var file_google_maps_places_v1_address_descriptor_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
527 var file_google_maps_places_v1_address_descriptor_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
528 var file_google_maps_places_v1_address_descriptor_proto_goTypes = []any{
529 (AddressDescriptor_Landmark_SpatialRelationship)(0), // 0: google.maps.places.v1.AddressDescriptor.Landmark.SpatialRelationship
530 (AddressDescriptor_Area_Containment)(0), // 1: google.maps.places.v1.AddressDescriptor.Area.Containment
531 (*AddressDescriptor)(nil), // 2: google.maps.places.v1.AddressDescriptor
532 (*AddressDescriptor_Landmark)(nil), // 3: google.maps.places.v1.AddressDescriptor.Landmark
533 (*AddressDescriptor_Area)(nil), // 4: google.maps.places.v1.AddressDescriptor.Area
534 (*localized_text.LocalizedText)(nil), // 5: google.type.LocalizedText
535 }
536 var file_google_maps_places_v1_address_descriptor_proto_depIdxs = []int32{
537 3, // 0: google.maps.places.v1.AddressDescriptor.landmarks:type_name -> google.maps.places.v1.AddressDescriptor.Landmark
538 4, // 1: google.maps.places.v1.AddressDescriptor.areas:type_name -> google.maps.places.v1.AddressDescriptor.Area
539 5, // 2: google.maps.places.v1.AddressDescriptor.Landmark.display_name:type_name -> google.type.LocalizedText
540 0, // 3: google.maps.places.v1.AddressDescriptor.Landmark.spatial_relationship:type_name -> google.maps.places.v1.AddressDescriptor.Landmark.SpatialRelationship
541 5, // 4: google.maps.places.v1.AddressDescriptor.Area.display_name:type_name -> google.type.LocalizedText
542 1, // 5: google.maps.places.v1.AddressDescriptor.Area.containment:type_name -> google.maps.places.v1.AddressDescriptor.Area.Containment
543 6, // [6:6] is the sub-list for method output_type
544 6, // [6:6] is the sub-list for method input_type
545 6, // [6:6] is the sub-list for extension type_name
546 6, // [6:6] is the sub-list for extension extendee
547 0, // [0:6] is the sub-list for field type_name
548 }
549
550 func init() { file_google_maps_places_v1_address_descriptor_proto_init() }
551 func file_google_maps_places_v1_address_descriptor_proto_init() {
552 if File_google_maps_places_v1_address_descriptor_proto != nil {
553 return
554 }
555 file_google_maps_places_v1_address_descriptor_proto_msgTypes[1].OneofWrappers = []any{}
556 type x struct{}
557 out := protoimpl.TypeBuilder{
558 File: protoimpl.DescBuilder{
559 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
560 RawDescriptor: file_google_maps_places_v1_address_descriptor_proto_rawDesc,
561 NumEnums: 2,
562 NumMessages: 3,
563 NumExtensions: 0,
564 NumServices: 0,
565 },
566 GoTypes: file_google_maps_places_v1_address_descriptor_proto_goTypes,
567 DependencyIndexes: file_google_maps_places_v1_address_descriptor_proto_depIdxs,
568 EnumInfos: file_google_maps_places_v1_address_descriptor_proto_enumTypes,
569 MessageInfos: file_google_maps_places_v1_address_descriptor_proto_msgTypes,
570 }.Build()
571 File_google_maps_places_v1_address_descriptor_proto = out.File
572 file_google_maps_places_v1_address_descriptor_proto_rawDesc = nil
573 file_google_maps_places_v1_address_descriptor_proto_goTypes = nil
574 file_google_maps_places_v1_address_descriptor_proto_depIdxs = nil
575 }