Debian Codegraph @

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

raw symbols SCIP
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/places_service.proto
20
21 package placespb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 viewport "google.golang.org/genproto/googleapis/geo/type/viewport"
27 latlng "google.golang.org/genproto/googleapis/type/latlng"
28 grpc "google.golang.org/grpc"
29 codes "google.golang.org/grpc/codes"
30 status "google.golang.org/grpc/status"
31 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
32 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
33 reflect "reflect"
34 sync "sync"
35 )
36
37 const (
38 // Verify that this generated code is sufficiently up-to-date.
39 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
40 // Verify that runtime/protoimpl is sufficiently up-to-date.
41 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
42 )
43
44 // How results will be ranked in the response.
45 type SearchNearbyRequest_RankPreference int32
46
47 const (
48 // RankPreference value not set. Will use rank by POPULARITY by default.
49 SearchNearbyRequest_RANK_PREFERENCE_UNSPECIFIED SearchNearbyRequest_RankPreference = 0
50 // Ranks results by distance.
51 SearchNearbyRequest_DISTANCE SearchNearbyRequest_RankPreference = 1
52 // Ranks results by popularity.
53 SearchNearbyRequest_POPULARITY SearchNearbyRequest_RankPreference = 2
54 )
55
56 // Enum value maps for SearchNearbyRequest_RankPreference.
57 var (
58 SearchNearbyRequest_RankPreference_name = map[int32]string{
59 0: "RANK_PREFERENCE_UNSPECIFIED",
60 1: "DISTANCE",
61 2: "POPULARITY",
62 }
63 SearchNearbyRequest_RankPreference_value = map[string]int32{
64 "RANK_PREFERENCE_UNSPECIFIED": 0,
65 "DISTANCE": 1,
66 "POPULARITY": 2,
67 }
68 )
69
70 func (x SearchNearbyRequest_RankPreference) Enum() *SearchNearbyRequest_RankPreference {
71 p := new(SearchNearbyRequest_RankPreference)
72 *p = x
73 return p
74 }
75
76 func (x SearchNearbyRequest_RankPreference) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (SearchNearbyRequest_RankPreference) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_maps_places_v1_places_service_proto_enumTypes[0].Descriptor()
82 }
83
84 func (SearchNearbyRequest_RankPreference) Type() protoreflect.EnumType {
85 return &file_google_maps_places_v1_places_service_proto_enumTypes[0]
86 }
87
88 func (x SearchNearbyRequest_RankPreference) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92 // Deprecated: Use SearchNearbyRequest_RankPreference.Descriptor instead.
93 func (SearchNearbyRequest_RankPreference) EnumDescriptor() ([]byte, []int) {
94 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{1, 0}
95 }
96
97 // How results will be ranked in the response.
98 type SearchTextRequest_RankPreference int32
99
100 const (
101 // For a categorical query such as "Restaurants in New York City", RELEVANCE
102 // is the default. For non-categorical queries such as "Mountain View, CA"
103 // we recommend that you leave rankPreference unset.
104 SearchTextRequest_RANK_PREFERENCE_UNSPECIFIED SearchTextRequest_RankPreference = 0
105 // Ranks results by distance.
106 SearchTextRequest_DISTANCE SearchTextRequest_RankPreference = 1
107 // Ranks results by relevance. Sort order determined by normal ranking
108 // stack.
109 SearchTextRequest_RELEVANCE SearchTextRequest_RankPreference = 2
110 )
111
112 // Enum value maps for SearchTextRequest_RankPreference.
113 var (
114 SearchTextRequest_RankPreference_name = map[int32]string{
115 0: "RANK_PREFERENCE_UNSPECIFIED",
116 1: "DISTANCE",
117 2: "RELEVANCE",
118 }
119 SearchTextRequest_RankPreference_value = map[string]int32{
120 "RANK_PREFERENCE_UNSPECIFIED": 0,
121 "DISTANCE": 1,
122 "RELEVANCE": 2,
123 }
124 )
125
126 func (x SearchTextRequest_RankPreference) Enum() *SearchTextRequest_RankPreference {
127 p := new(SearchTextRequest_RankPreference)
128 *p = x
129 return p
130 }
131
132 func (x SearchTextRequest_RankPreference) String() string {
133 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
134 }
135
136 func (SearchTextRequest_RankPreference) Descriptor() protoreflect.EnumDescriptor {
137 return file_google_maps_places_v1_places_service_proto_enumTypes[1].Descriptor()
138 }
139
140 func (SearchTextRequest_RankPreference) Type() protoreflect.EnumType {
141 return &file_google_maps_places_v1_places_service_proto_enumTypes[1]
142 }
143
144 func (x SearchTextRequest_RankPreference) Number() protoreflect.EnumNumber {
145 return protoreflect.EnumNumber(x)
146 }
147
148 // Deprecated: Use SearchTextRequest_RankPreference.Descriptor instead.
149 func (SearchTextRequest_RankPreference) EnumDescriptor() ([]byte, []int) {
150 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{3, 0}
151 }
152
153 // Parameters to configure the routing calculations to the places in the
154 // response, both along a route (where result ranking will be influenced) and
155 // for calculating travel times on results.
156 type RoutingParameters struct {
157 state protoimpl.MessageState
158 sizeCache protoimpl.SizeCache
159 unknownFields protoimpl.UnknownFields
160
161 // Optional. An explicit routing origin that overrides the origin defined in
162 // the polyline. By default, the polyline origin is used.
163 Origin *latlng.LatLng `protobuf:"bytes,1,opt,name=origin,proto3" json:"origin,omitempty"`
164 // Optional. The travel mode.
165 TravelMode TravelMode `protobuf:"varint,2,opt,name=travel_mode,json=travelMode,proto3,enum=google.maps.places.v1.TravelMode" json:"travel_mode,omitempty"`
166 // Optional. The route modifiers.
167 RouteModifiers *RouteModifiers `protobuf:"bytes,3,opt,name=route_modifiers,json=routeModifiers,proto3" json:"route_modifiers,omitempty"`
168 // Optional. Specifies how to compute the routing summaries. The server
169 // attempts to use the selected routing preference to compute the route. The
170 // traffic aware routing preference is only available for the `DRIVE` or
171 // `TWO_WHEELER` `travelMode`.
172 RoutingPreference RoutingPreference `protobuf:"varint,4,opt,name=routing_preference,json=routingPreference,proto3,enum=google.maps.places.v1.RoutingPreference" json:"routing_preference,omitempty"`
173 }
174
175 func (x *RoutingParameters) Reset() {
176 *x = RoutingParameters{}
177 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[0]
178 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
179 ms.StoreMessageInfo(mi)
180 }
181
182 func (x *RoutingParameters) String() string {
183 return protoimpl.X.MessageStringOf(x)
184 }
185
186 func (*RoutingParameters) ProtoMessage() {}
187
188 func (x *RoutingParameters) ProtoReflect() protoreflect.Message {
189 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[0]
190 if x != nil {
191 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
192 if ms.LoadMessageInfo() == nil {
193 ms.StoreMessageInfo(mi)
194 }
195 return ms
196 }
197 return mi.MessageOf(x)
198 }
199
200 // Deprecated: Use RoutingParameters.ProtoReflect.Descriptor instead.
201 func (*RoutingParameters) Descriptor() ([]byte, []int) {
202 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{0}
203 }
204
205 func (x *RoutingParameters) GetOrigin() *latlng.LatLng {
206 if x != nil {
207 return x.Origin
208 }
209 return nil
210 }
211
212 func (x *RoutingParameters) GetTravelMode() TravelMode {
213 if x != nil {
214 return x.TravelMode
215 }
216 return TravelMode_TRAVEL_MODE_UNSPECIFIED
217 }
218
219 func (x *RoutingParameters) GetRouteModifiers() *RouteModifiers {
220 if x != nil {
221 return x.RouteModifiers
222 }
223 return nil
224 }
225
226 func (x *RoutingParameters) GetRoutingPreference() RoutingPreference {
227 if x != nil {
228 return x.RoutingPreference
229 }
230 return RoutingPreference_ROUTING_PREFERENCE_UNSPECIFIED
231 }
232
233 // Request proto for Search Nearby.
234 type SearchNearbyRequest struct {
235 state protoimpl.MessageState
236 sizeCache protoimpl.SizeCache
237 unknownFields protoimpl.UnknownFields
238
239 // Place details will be displayed with the preferred language if available.
240 // If the language code is unspecified or unrecognized, place details of any
241 // language may be returned, with a preference for English if such details
242 // exist.
243 //
244 // Current list of supported languages:
245 // https://developers.google.com/maps/faq#languagesupport.
246 LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
247 // The Unicode country/region code (CLDR) of the location where the
248 // request is coming from. This parameter is used to display the place
249 // details, like region-specific place name, if available. The parameter can
250 // affect results based on applicable law.
251 //
252 // For more information, see
253 // https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html.
254 //
255 // Note that 3-digit region codes are not currently supported.
256 RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
257 // Included Place type (eg, "restaurant" or "gas_station") from
258 // https://developers.google.com/maps/documentation/places/web-service/place-types.
259 //
260 // Up to 50 types from [Table
261 // A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a)
262 // may be specified.
263 //
264 // If there are any conflicting types, i.e. a type appears in both
265 // included_types and excluded_types, an INVALID_ARGUMENT error is
266 // returned.
267 //
268 // If a Place type is specified with multiple type restrictions, only places
269 // that satisfy all of the restrictions are returned. For example, if we
270 // have {included_types = ["restaurant"], excluded_primary_types =
271 // ["restaurant"]}, the returned places provide "restaurant"
272 // related services but do not operate primarily as "restaurants".
273 IncludedTypes []string `protobuf:"bytes,3,rep,name=included_types,json=includedTypes,proto3" json:"included_types,omitempty"`
274 // Excluded Place type (eg, "restaurant" or "gas_station") from
275 // https://developers.google.com/maps/documentation/places/web-service/place-types.
276 //
277 // Up to 50 types from [Table
278 // A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a)
279 // may be specified.
280 //
281 // If the client provides both included_types (e.g. restaurant) and
282 // excluded_types (e.g. cafe), then the response should include places that
283 // are restaurant but not cafe. The response includes places that match at
284 // least one of the included_types and none of the excluded_types.
285 //
286 // If there are any conflicting types, i.e. a type appears in both
287 // included_types and excluded_types, an INVALID_ARGUMENT error is returned.
288 //
289 // If a Place type is specified with multiple type restrictions, only places
290 // that satisfy all of the restrictions are returned. For example, if we
291 // have {included_types = ["restaurant"], excluded_primary_types =
292 // ["restaurant"]}, the returned places provide "restaurant"
293 // related services but do not operate primarily as "restaurants".
294 ExcludedTypes []string `protobuf:"bytes,4,rep,name=excluded_types,json=excludedTypes,proto3" json:"excluded_types,omitempty"`
295 // Included primary Place type (e.g. "restaurant" or "gas_station") from
296 // https://developers.google.com/maps/documentation/places/web-service/place-types.
297 // A place can only have a single primary type from the supported types table
298 // associated with it.
299 //
300 // Up to 50 types from [Table
301 // A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a)
302 // may be specified.
303 //
304 // If there are any conflicting primary types, i.e. a type appears in both
305 // included_primary_types and excluded_primary_types, an INVALID_ARGUMENT
306 // error is returned.
307 //
308 // If a Place type is specified with multiple type restrictions, only places
309 // that satisfy all of the restrictions are returned. For example, if we
310 // have {included_types = ["restaurant"], excluded_primary_types =
311 // ["restaurant"]}, the returned places provide "restaurant"
312 // related services but do not operate primarily as "restaurants".
313 IncludedPrimaryTypes []string `protobuf:"bytes,5,rep,name=included_primary_types,json=includedPrimaryTypes,proto3" json:"included_primary_types,omitempty"`
314 // Excluded primary Place type (e.g. "restaurant" or "gas_station") from
315 // https://developers.google.com/maps/documentation/places/web-service/place-types.
316 //
317 // Up to 50 types from [Table
318 // A](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a)
319 // may be specified.
320 //
321 // If there are any conflicting primary types, i.e. a type appears in both
322 // included_primary_types and excluded_primary_types, an INVALID_ARGUMENT
323 // error is returned.
324 //
325 // If a Place type is specified with multiple type restrictions, only places
326 // that satisfy all of the restrictions are returned. For example, if we
327 // have {included_types = ["restaurant"], excluded_primary_types =
328 // ["restaurant"]}, the returned places provide "restaurant"
329 // related services but do not operate primarily as "restaurants".
330 ExcludedPrimaryTypes []string `protobuf:"bytes,6,rep,name=excluded_primary_types,json=excludedPrimaryTypes,proto3" json:"excluded_primary_types,omitempty"`
331 // Maximum number of results to return. It must be between 1 and 20 (default),
332 // inclusively. If the number is unset, it falls back to the upper limit. If
333 // the number is set to negative or exceeds the upper limit, an
334 // INVALID_ARGUMENT error is returned.
335 MaxResultCount int32 `protobuf:"varint,7,opt,name=max_result_count,json=maxResultCount,proto3" json:"max_result_count,omitempty"`
336 // Required. The region to search.
337 LocationRestriction *SearchNearbyRequest_LocationRestriction `protobuf:"bytes,8,opt,name=location_restriction,json=locationRestriction,proto3" json:"location_restriction,omitempty"`
338 // How results will be ranked in the response.
339 RankPreference SearchNearbyRequest_RankPreference `protobuf:"varint,9,opt,name=rank_preference,json=rankPreference,proto3,enum=google.maps.places.v1.SearchNearbyRequest_RankPreference" json:"rank_preference,omitempty"`
340 // Optional. Parameters that affect the routing to the search results.
341 RoutingParameters *RoutingParameters `protobuf:"bytes,10,opt,name=routing_parameters,json=routingParameters,proto3" json:"routing_parameters,omitempty"`
342 }
343
344 func (x *SearchNearbyRequest) Reset() {
345 *x = SearchNearbyRequest{}
346 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[1]
347 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
348 ms.StoreMessageInfo(mi)
349 }
350
351 func (x *SearchNearbyRequest) String() string {
352 return protoimpl.X.MessageStringOf(x)
353 }
354
355 func (*SearchNearbyRequest) ProtoMessage() {}
356
357 func (x *SearchNearbyRequest) ProtoReflect() protoreflect.Message {
358 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[1]
359 if x != nil {
360 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
361 if ms.LoadMessageInfo() == nil {
362 ms.StoreMessageInfo(mi)
363 }
364 return ms
365 }
366 return mi.MessageOf(x)
367 }
368
369 // Deprecated: Use SearchNearbyRequest.ProtoReflect.Descriptor instead.
370 func (*SearchNearbyRequest) Descriptor() ([]byte, []int) {
371 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{1}
372 }
373
374 func (x *SearchNearbyRequest) GetLanguageCode() string {
375 if x != nil {
376 return x.LanguageCode
377 }
378 return ""
379 }
380
381 func (x *SearchNearbyRequest) GetRegionCode() string {
382 if x != nil {
383 return x.RegionCode
384 }
385 return ""
386 }
387
388 func (x *SearchNearbyRequest) GetIncludedTypes() []string {
389 if x != nil {
390 return x.IncludedTypes
391 }
392 return nil
393 }
394
395 func (x *SearchNearbyRequest) GetExcludedTypes() []string {
396 if x != nil {
397 return x.ExcludedTypes
398 }
399 return nil
400 }
401
402 func (x *SearchNearbyRequest) GetIncludedPrimaryTypes() []string {
403 if x != nil {
404 return x.IncludedPrimaryTypes
405 }
406 return nil
407 }
408
409 func (x *SearchNearbyRequest) GetExcludedPrimaryTypes() []string {
410 if x != nil {
411 return x.ExcludedPrimaryTypes
412 }
413 return nil
414 }
415
416 func (x *SearchNearbyRequest) GetMaxResultCount() int32 {
417 if x != nil {
418 return x.MaxResultCount
419 }
420 return 0
421 }
422
423 func (x *SearchNearbyRequest) GetLocationRestriction() *SearchNearbyRequest_LocationRestriction {
424 if x != nil {
425 return x.LocationRestriction
426 }
427 return nil
428 }
429
430 func (x *SearchNearbyRequest) GetRankPreference() SearchNearbyRequest_RankPreference {
431 if x != nil {
432 return x.RankPreference
433 }
434 return SearchNearbyRequest_RANK_PREFERENCE_UNSPECIFIED
435 }
436
437 func (x *SearchNearbyRequest) GetRoutingParameters() *RoutingParameters {
438 if x != nil {
439 return x.RoutingParameters
440 }
441 return nil
442 }
443
444 // Response proto for Search Nearby.
445 type SearchNearbyResponse struct {
446 state protoimpl.MessageState
447 sizeCache protoimpl.SizeCache
448 unknownFields protoimpl.UnknownFields
449
450 // A list of places that meets user's requirements like places
451 // types, number of places and specific location restriction.
452 Places []*Place `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
453 // A list of routing summaries where each entry associates to the
454 // corresponding place in the same index in the `places` field. If the routing
455 // summary is not available for one of the places, it will contain an empty
456 // entry. This list should have as many entries as the list of places if
457 // requested.
458 RoutingSummaries []*RoutingSummary `protobuf:"bytes,2,rep,name=routing_summaries,json=routingSummaries,proto3" json:"routing_summaries,omitempty"`
459 }
460
461 func (x *SearchNearbyResponse) Reset() {
462 *x = SearchNearbyResponse{}
463 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[2]
464 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
465 ms.StoreMessageInfo(mi)
466 }
467
468 func (x *SearchNearbyResponse) String() string {
469 return protoimpl.X.MessageStringOf(x)
470 }
471
472 func (*SearchNearbyResponse) ProtoMessage() {}
473
474 func (x *SearchNearbyResponse) ProtoReflect() protoreflect.Message {
475 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[2]
476 if x != nil {
477 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
478 if ms.LoadMessageInfo() == nil {
479 ms.StoreMessageInfo(mi)
480 }
481 return ms
482 }
483 return mi.MessageOf(x)
484 }
485
486 // Deprecated: Use SearchNearbyResponse.ProtoReflect.Descriptor instead.
487 func (*SearchNearbyResponse) Descriptor() ([]byte, []int) {
488 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{2}
489 }
490
491 func (x *SearchNearbyResponse) GetPlaces() []*Place {
492 if x != nil {
493 return x.Places
494 }
495 return nil
496 }
497
498 func (x *SearchNearbyResponse) GetRoutingSummaries() []*RoutingSummary {
499 if x != nil {
500 return x.RoutingSummaries
501 }
502 return nil
503 }
504
505 // Request proto for SearchText.
506 type SearchTextRequest struct {
507 state protoimpl.MessageState
508 sizeCache protoimpl.SizeCache
509 unknownFields protoimpl.UnknownFields
510
511 // Required. The text query for textual search.
512 TextQuery string `protobuf:"bytes,1,opt,name=text_query,json=textQuery,proto3" json:"text_query,omitempty"`
513 // Place details will be displayed with the preferred language if available.
514 // If the language code is unspecified or unrecognized, place details of any
515 // language may be returned, with a preference for English if such details
516 // exist.
517 //
518 // Current list of supported languages:
519 // https://developers.google.com/maps/faq#languagesupport.
520 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
521 // The Unicode country/region code (CLDR) of the location where the
522 // request is coming from. This parameter is used to display the place
523 // details, like region-specific place name, if available. The parameter can
524 // affect results based on applicable law.
525 //
526 // For more information, see
527 // https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html.
528 //
529 // Note that 3-digit region codes are not currently supported.
530 RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
531 // How results will be ranked in the response.
532 RankPreference SearchTextRequest_RankPreference `protobuf:"varint,4,opt,name=rank_preference,json=rankPreference,proto3,enum=google.maps.places.v1.SearchTextRequest_RankPreference" json:"rank_preference,omitempty"`
533 // The requested place type. Full list of types supported:
534 // https://developers.google.com/maps/documentation/places/web-service/place-types.
535 // Only support one included type.
536 IncludedType string `protobuf:"bytes,6,opt,name=included_type,json=includedType,proto3" json:"included_type,omitempty"`
537 // Used to restrict the search to places that are currently open. The default
538 // is false.
539 OpenNow bool `protobuf:"varint,7,opt,name=open_now,json=openNow,proto3" json:"open_now,omitempty"`
540 // Filter out results whose average user rating is strictly less than this
541 // limit. A valid value must be a float between 0 and 5 (inclusively) at a
542 // 0.5 cadence i.e. [0, 0.5, 1.0, ... , 5.0] inclusively. The input rating
543 // will round up to the nearest 0.5(ceiling). For instance, a rating of 0.6
544 // will eliminate all results with a less than 1.0 rating.
545 MinRating float64 `protobuf:"fixed64,9,opt,name=min_rating,json=minRating,proto3" json:"min_rating,omitempty"`
546 // Maximum number of results to return. It must be between 1 and 20,
547 // inclusively. The default is 20. If the number is unset, it falls back to
548 // the upper limit. If the number is set to negative or exceeds the upper
549 // limit, an INVALID_ARGUMENT error is returned.
550 MaxResultCount int32 `protobuf:"varint,10,opt,name=max_result_count,json=maxResultCount,proto3" json:"max_result_count,omitempty"`
551 // Used to restrict the search to places that are marked as certain price
552 // levels. Users can choose any combinations of price levels. Default to
553 // select all price levels.
554 PriceLevels []PriceLevel `protobuf:"varint,11,rep,packed,name=price_levels,json=priceLevels,proto3,enum=google.maps.places.v1.PriceLevel" json:"price_levels,omitempty"`
555 // Used to set strict type filtering for included_type. If set to true, only
556 // results of the same type will be returned. Default to false.
557 StrictTypeFiltering bool `protobuf:"varint,12,opt,name=strict_type_filtering,json=strictTypeFiltering,proto3" json:"strict_type_filtering,omitempty"`
558 // The region to search. This location serves as a bias which means results
559 // around given location might be returned. Cannot be set along with
560 // location_restriction.
561 LocationBias *SearchTextRequest_LocationBias `protobuf:"bytes,13,opt,name=location_bias,json=locationBias,proto3" json:"location_bias,omitempty"`
562 // The region to search. This location serves as a restriction which means
563 // results outside given location will not be returned. Cannot be set along
564 // with location_bias.
565 LocationRestriction *SearchTextRequest_LocationRestriction `protobuf:"bytes,14,opt,name=location_restriction,json=locationRestriction,proto3" json:"location_restriction,omitempty"`
566 // Optional. Set the searchable EV options of a place search request.
567 EvOptions *SearchTextRequest_EVOptions `protobuf:"bytes,15,opt,name=ev_options,json=evOptions,proto3" json:"ev_options,omitempty"`
568 // Optional. Additional parameters for routing to results.
569 RoutingParameters *RoutingParameters `protobuf:"bytes,16,opt,name=routing_parameters,json=routingParameters,proto3" json:"routing_parameters,omitempty"`
570 // Optional. Additional parameters proto for searching along a route.
571 SearchAlongRouteParameters *SearchTextRequest_SearchAlongRouteParameters `protobuf:"bytes,17,opt,name=search_along_route_parameters,json=searchAlongRouteParameters,proto3" json:"search_along_route_parameters,omitempty"`
572 // Optional. Include pure service area businesses if the field is set to true.
573 // Pure service area business is a business that visits or delivers to
574 // customers directly but does not serve customers at their business address.
575 // For example, businesses like cleaning services or plumbers. Those
576 // businesses do not have a physical address or location on Google Maps.
577 // Places will not return fields including `location`, `plus_code`, and other
578 // location related fields for these businesses.
579 IncludePureServiceAreaBusinesses bool `protobuf:"varint,20,opt,name=include_pure_service_area_businesses,json=includePureServiceAreaBusinesses,proto3" json:"include_pure_service_area_businesses,omitempty"`
580 }
581
582 func (x *SearchTextRequest) Reset() {
583 *x = SearchTextRequest{}
584 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[3]
585 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
586 ms.StoreMessageInfo(mi)
587 }
588
589 func (x *SearchTextRequest) String() string {
590 return protoimpl.X.MessageStringOf(x)
591 }
592
593 func (*SearchTextRequest) ProtoMessage() {}
594
595 func (x *SearchTextRequest) ProtoReflect() protoreflect.Message {
596 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[3]
597 if x != nil {
598 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
599 if ms.LoadMessageInfo() == nil {
600 ms.StoreMessageInfo(mi)
601 }
602 return ms
603 }
604 return mi.MessageOf(x)
605 }
606
607 // Deprecated: Use SearchTextRequest.ProtoReflect.Descriptor instead.
608 func (*SearchTextRequest) Descriptor() ([]byte, []int) {
609 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{3}
610 }
611
612 func (x *SearchTextRequest) GetTextQuery() string {
613 if x != nil {
614 return x.TextQuery
615 }
616 return ""
617 }
618
619 func (x *SearchTextRequest) GetLanguageCode() string {
620 if x != nil {
621 return x.LanguageCode
622 }
623 return ""
624 }
625
626 func (x *SearchTextRequest) GetRegionCode() string {
627 if x != nil {
628 return x.RegionCode
629 }
630 return ""
631 }
632
633 func (x *SearchTextRequest) GetRankPreference() SearchTextRequest_RankPreference {
634 if x != nil {
635 return x.RankPreference
636 }
637 return SearchTextRequest_RANK_PREFERENCE_UNSPECIFIED
638 }
639
640 func (x *SearchTextRequest) GetIncludedType() string {
641 if x != nil {
642 return x.IncludedType
643 }
644 return ""
645 }
646
647 func (x *SearchTextRequest) GetOpenNow() bool {
648 if x != nil {
649 return x.OpenNow
650 }
651 return false
652 }
653
654 func (x *SearchTextRequest) GetMinRating() float64 {
655 if x != nil {
656 return x.MinRating
657 }
658 return 0
659 }
660
661 func (x *SearchTextRequest) GetMaxResultCount() int32 {
662 if x != nil {
663 return x.MaxResultCount
664 }
665 return 0
666 }
667
668 func (x *SearchTextRequest) GetPriceLevels() []PriceLevel {
669 if x != nil {
670 return x.PriceLevels
671 }
672 return nil
673 }
674
675 func (x *SearchTextRequest) GetStrictTypeFiltering() bool {
676 if x != nil {
677 return x.StrictTypeFiltering
678 }
679 return false
680 }
681
682 func (x *SearchTextRequest) GetLocationBias() *SearchTextRequest_LocationBias {
683 if x != nil {
684 return x.LocationBias
685 }
686 return nil
687 }
688
689 func (x *SearchTextRequest) GetLocationRestriction() *SearchTextRequest_LocationRestriction {
690 if x != nil {
691 return x.LocationRestriction
692 }
693 return nil
694 }
695
696 func (x *SearchTextRequest) GetEvOptions() *SearchTextRequest_EVOptions {
697 if x != nil {
698 return x.EvOptions
699 }
700 return nil
701 }
702
703 func (x *SearchTextRequest) GetRoutingParameters() *RoutingParameters {
704 if x != nil {
705 return x.RoutingParameters
706 }
707 return nil
708 }
709
710 func (x *SearchTextRequest) GetSearchAlongRouteParameters() *SearchTextRequest_SearchAlongRouteParameters {
711 if x != nil {
712 return x.SearchAlongRouteParameters
713 }
714 return nil
715 }
716
717 func (x *SearchTextRequest) GetIncludePureServiceAreaBusinesses() bool {
718 if x != nil {
719 return x.IncludePureServiceAreaBusinesses
720 }
721 return false
722 }
723
724 // Response proto for SearchText.
725 type SearchTextResponse struct {
726 state protoimpl.MessageState
727 sizeCache protoimpl.SizeCache
728 unknownFields protoimpl.UnknownFields
729
730 // A list of places that meet the user's text search criteria.
731 Places []*Place `protobuf:"bytes,1,rep,name=places,proto3" json:"places,omitempty"`
732 // A list of routing summaries where each entry associates to the
733 // corresponding place in the same index in the `places` field. If the routing
734 // summary is not available for one of the places, it will contain an empty
735 // entry. This list will have as many entries as the list of places if
736 // requested.
737 RoutingSummaries []*RoutingSummary `protobuf:"bytes,2,rep,name=routing_summaries,json=routingSummaries,proto3" json:"routing_summaries,omitempty"`
738 // Experimental: See
739 // https://developers.google.com/maps/documentation/places/web-service/experimental/places-generative
740 // for more details.
741 //
742 // A list of contextual contents where each entry associates to the
743 // corresponding place in the same index in the places field. The contents
744 // that are relevant to the `text_query` in the request are preferred. If the
745 // contextual content is not available for one of the places, it will return
746 // non-contextual content. It will be empty only when the content is
747 // unavailable for this place. This list will have as many entries as the
748 // list of places if requested.
749 ContextualContents []*ContextualContent `protobuf:"bytes,3,rep,name=contextual_contents,json=contextualContents,proto3" json:"contextual_contents,omitempty"`
750 }
751
752 func (x *SearchTextResponse) Reset() {
753 *x = SearchTextResponse{}
754 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[4]
755 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
756 ms.StoreMessageInfo(mi)
757 }
758
759 func (x *SearchTextResponse) String() string {
760 return protoimpl.X.MessageStringOf(x)
761 }
762
763 func (*SearchTextResponse) ProtoMessage() {}
764
765 func (x *SearchTextResponse) ProtoReflect() protoreflect.Message {
766 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[4]
767 if x != nil {
768 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
769 if ms.LoadMessageInfo() == nil {
770 ms.StoreMessageInfo(mi)
771 }
772 return ms
773 }
774 return mi.MessageOf(x)
775 }
776
777 // Deprecated: Use SearchTextResponse.ProtoReflect.Descriptor instead.
778 func (*SearchTextResponse) Descriptor() ([]byte, []int) {
779 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{4}
780 }
781
782 func (x *SearchTextResponse) GetPlaces() []*Place {
783 if x != nil {
784 return x.Places
785 }
786 return nil
787 }
788
789 func (x *SearchTextResponse) GetRoutingSummaries() []*RoutingSummary {
790 if x != nil {
791 return x.RoutingSummaries
792 }
793 return nil
794 }
795
796 func (x *SearchTextResponse) GetContextualContents() []*ContextualContent {
797 if x != nil {
798 return x.ContextualContents
799 }
800 return nil
801 }
802
803 // Request for fetching a photo of a place using a photo resource name.
804 type GetPhotoMediaRequest struct {
805 state protoimpl.MessageState
806 sizeCache protoimpl.SizeCache
807 unknownFields protoimpl.UnknownFields
808
809 // Required. The resource name of a photo media in the format:
810 // `places/{place_id}/photos/{photo_reference}/media`.
811 //
812 // The resource name of a photo as returned in a Place object's `photos.name`
813 // field comes with the format
814 // `places/{place_id}/photos/{photo_reference}`. You need to append `/media`
815 // at the end of the photo resource to get the photo media resource name.
816 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
817 // Optional. Specifies the maximum desired width, in pixels, of the image. If
818 // the image is smaller than the values specified, the original image will be
819 // returned. If the image is larger in either dimension, it will be scaled to
820 // match the smaller of the two dimensions, restricted to its original aspect
821 // ratio. Both the max_height_px and max_width_px properties accept an integer
822 // between 1 and 4800, inclusively. If the value is not within the allowed
823 // range, an INVALID_ARGUMENT error will be returned.
824 //
825 // At least one of max_height_px or max_width_px needs to be specified. If
826 // neither max_height_px nor max_width_px is specified, an INVALID_ARGUMENT
827 // error will be returned.
828 MaxWidthPx int32 `protobuf:"varint,2,opt,name=max_width_px,json=maxWidthPx,proto3" json:"max_width_px,omitempty"`
829 // Optional. Specifies the maximum desired height, in pixels, of the image. If
830 // the image is smaller than the values specified, the original image will be
831 // returned. If the image is larger in either dimension, it will be scaled to
832 // match the smaller of the two dimensions, restricted to its original aspect
833 // ratio. Both the max_height_px and max_width_px properties accept an integer
834 // between 1 and 4800, inclusively. If the value is not within the allowed
835 // range, an INVALID_ARGUMENT error will be returned.
836 //
837 // At least one of max_height_px or max_width_px needs to be specified. If
838 // neither max_height_px nor max_width_px is specified, an INVALID_ARGUMENT
839 // error will be returned.
840 MaxHeightPx int32 `protobuf:"varint,3,opt,name=max_height_px,json=maxHeightPx,proto3" json:"max_height_px,omitempty"`
841 // Optional. If set, skip the default HTTP redirect behavior and render a text
842 // format (for example, in JSON format for HTTP use case) response. If not
843 // set, an HTTP redirect will be issued to redirect the call to the image
844 // media. This option is ignored for non-HTTP requests.
845 SkipHttpRedirect bool `protobuf:"varint,4,opt,name=skip_http_redirect,json=skipHttpRedirect,proto3" json:"skip_http_redirect,omitempty"`
846 }
847
848 func (x *GetPhotoMediaRequest) Reset() {
849 *x = GetPhotoMediaRequest{}
850 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[5]
851 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
852 ms.StoreMessageInfo(mi)
853 }
854
855 func (x *GetPhotoMediaRequest) String() string {
856 return protoimpl.X.MessageStringOf(x)
857 }
858
859 func (*GetPhotoMediaRequest) ProtoMessage() {}
860
861 func (x *GetPhotoMediaRequest) ProtoReflect() protoreflect.Message {
862 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[5]
863 if x != nil {
864 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
865 if ms.LoadMessageInfo() == nil {
866 ms.StoreMessageInfo(mi)
867 }
868 return ms
869 }
870 return mi.MessageOf(x)
871 }
872
873 // Deprecated: Use GetPhotoMediaRequest.ProtoReflect.Descriptor instead.
874 func (*GetPhotoMediaRequest) Descriptor() ([]byte, []int) {
875 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{5}
876 }
877
878 func (x *GetPhotoMediaRequest) GetName() string {
879 if x != nil {
880 return x.Name
881 }
882 return ""
883 }
884
885 func (x *GetPhotoMediaRequest) GetMaxWidthPx() int32 {
886 if x != nil {
887 return x.MaxWidthPx
888 }
889 return 0
890 }
891
892 func (x *GetPhotoMediaRequest) GetMaxHeightPx() int32 {
893 if x != nil {
894 return x.MaxHeightPx
895 }
896 return 0
897 }
898
899 func (x *GetPhotoMediaRequest) GetSkipHttpRedirect() bool {
900 if x != nil {
901 return x.SkipHttpRedirect
902 }
903 return false
904 }
905
906 // A photo media from Places API.
907 type PhotoMedia struct {
908 state protoimpl.MessageState
909 sizeCache protoimpl.SizeCache
910 unknownFields protoimpl.UnknownFields
911
912 // The resource name of a photo media in the format:
913 // `places/{place_id}/photos/{photo_reference}/media`.
914 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
915 // A short-lived uri that can be used to render the photo.
916 PhotoUri string `protobuf:"bytes,2,opt,name=photo_uri,json=photoUri,proto3" json:"photo_uri,omitempty"`
917 }
918
919 func (x *PhotoMedia) Reset() {
920 *x = PhotoMedia{}
921 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[6]
922 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
923 ms.StoreMessageInfo(mi)
924 }
925
926 func (x *PhotoMedia) String() string {
927 return protoimpl.X.MessageStringOf(x)
928 }
929
930 func (*PhotoMedia) ProtoMessage() {}
931
932 func (x *PhotoMedia) ProtoReflect() protoreflect.Message {
933 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[6]
934 if x != nil {
935 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
936 if ms.LoadMessageInfo() == nil {
937 ms.StoreMessageInfo(mi)
938 }
939 return ms
940 }
941 return mi.MessageOf(x)
942 }
943
944 // Deprecated: Use PhotoMedia.ProtoReflect.Descriptor instead.
945 func (*PhotoMedia) Descriptor() ([]byte, []int) {
946 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{6}
947 }
948
949 func (x *PhotoMedia) GetName() string {
950 if x != nil {
951 return x.Name
952 }
953 return ""
954 }
955
956 func (x *PhotoMedia) GetPhotoUri() string {
957 if x != nil {
958 return x.PhotoUri
959 }
960 return ""
961 }
962
963 // Request for fetching a Place based on its resource name, which is a string in
964 // the `places/{place_id}` format.
965 type GetPlaceRequest struct {
966 state protoimpl.MessageState
967 sizeCache protoimpl.SizeCache
968 unknownFields protoimpl.UnknownFields
969
970 // Required. The resource name of a place, in the `places/{place_id}` format.
971 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
972 // Optional. Place details will be displayed with the preferred language if
973 // available.
974 //
975 // Current list of supported languages:
976 // https://developers.google.com/maps/faq#languagesupport.
977 LanguageCode string `protobuf:"bytes,2,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
978 // Optional. The Unicode country/region code (CLDR) of the location where the
979 // request is coming from. This parameter is used to display the place
980 // details, like region-specific place name, if available. The parameter can
981 // affect results based on applicable law.
982 // For more information, see
983 // https://www.unicode.org/cldr/charts/latest/supplemental/territory_language_information.html.
984 //
985 // Note that 3-digit region codes are not currently supported.
986 RegionCode string `protobuf:"bytes,3,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
987 // Optional. A string which identifies an Autocomplete session for billing
988 // purposes. Must be a URL and filename safe base64 string with at most 36
989 // ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
990 // returned.
991 //
992 // The session begins when the user starts typing a query, and concludes when
993 // they select a place and a call to Place Details or Address Validation is
994 // made. Each session can have multiple queries, followed by one Place Details
995 // or Address Validation request. The credentials used for each request within
996 // a session must belong to the same Google Cloud Console project. Once a
997 // session has concluded, the token is no longer valid; your app must generate
998 // a fresh token for each session. If the `session_token` parameter is
999 // omitted, or if you reuse a session token, the session is charged as if no
1000 // session token was provided (each request is billed separately).
1001 //
1002 // We recommend the following guidelines:
1003 //
1004 // - Use session tokens for all Place Autocomplete calls.
1005 // - Generate a fresh token for each session. Using a version 4 UUID is
1006 // recommended.
1007 // - Ensure that the credentials used for all Place Autocomplete, Place
1008 // Details, and Address Validation requests within a session belong to the
1009 // same Cloud Console project.
1010 // - Be sure to pass a unique session token for each new session. Using the
1011 // same token for more than one session will result in each request being
1012 // billed individually.
1013 SessionToken string `protobuf:"bytes,4,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
1014 }
1015
1016 func (x *GetPlaceRequest) Reset() {
1017 *x = GetPlaceRequest{}
1018 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[7]
1019 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1020 ms.StoreMessageInfo(mi)
1021 }
1022
1023 func (x *GetPlaceRequest) String() string {
1024 return protoimpl.X.MessageStringOf(x)
1025 }
1026
1027 func (*GetPlaceRequest) ProtoMessage() {}
1028
1029 func (x *GetPlaceRequest) ProtoReflect() protoreflect.Message {
1030 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[7]
1031 if x != nil {
1032 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1033 if ms.LoadMessageInfo() == nil {
1034 ms.StoreMessageInfo(mi)
1035 }
1036 return ms
1037 }
1038 return mi.MessageOf(x)
1039 }
1040
1041 // Deprecated: Use GetPlaceRequest.ProtoReflect.Descriptor instead.
1042 func (*GetPlaceRequest) Descriptor() ([]byte, []int) {
1043 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{7}
1044 }
1045
1046 func (x *GetPlaceRequest) GetName() string {
1047 if x != nil {
1048 return x.Name
1049 }
1050 return ""
1051 }
1052
1053 func (x *GetPlaceRequest) GetLanguageCode() string {
1054 if x != nil {
1055 return x.LanguageCode
1056 }
1057 return ""
1058 }
1059
1060 func (x *GetPlaceRequest) GetRegionCode() string {
1061 if x != nil {
1062 return x.RegionCode
1063 }
1064 return ""
1065 }
1066
1067 func (x *GetPlaceRequest) GetSessionToken() string {
1068 if x != nil {
1069 return x.SessionToken
1070 }
1071 return ""
1072 }
1073
1074 // Request proto for AutocompletePlaces.
1075 type AutocompletePlacesRequest struct {
1076 state protoimpl.MessageState
1077 sizeCache protoimpl.SizeCache
1078 unknownFields protoimpl.UnknownFields
1079
1080 // Required. The text string on which to search.
1081 Input string `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
1082 // Optional. Bias results to a specified location.
1083 //
1084 // At most one of `location_bias` or `location_restriction` should be set. If
1085 // neither are set, the results will be biased by IP address, meaning the IP
1086 // address will be mapped to an imprecise location and used as a biasing
1087 // signal.
1088 LocationBias *AutocompletePlacesRequest_LocationBias `protobuf:"bytes,2,opt,name=location_bias,json=locationBias,proto3" json:"location_bias,omitempty"`
1089 // Optional. Restrict results to a specified location.
1090 //
1091 // At most one of `location_bias` or `location_restriction` should be set. If
1092 // neither are set, the results will be biased by IP address, meaning the IP
1093 // address will be mapped to an imprecise location and used as a biasing
1094 // signal.
1095 LocationRestriction *AutocompletePlacesRequest_LocationRestriction `protobuf:"bytes,3,opt,name=location_restriction,json=locationRestriction,proto3" json:"location_restriction,omitempty"`
1096 // Optional. Included primary Place type (for example, "restaurant" or
1097 // "gas_station") in Place Types
1098 // (https://developers.google.com/maps/documentation/places/web-service/place-types),
1099 // or only `(regions)`, or only `(cities)`. A Place is only returned if its
1100 // primary type is included in this list. Up to 5 values can be specified. If
1101 // no types are specified, all Place types are returned.
1102 IncludedPrimaryTypes []string `protobuf:"bytes,4,rep,name=included_primary_types,json=includedPrimaryTypes,proto3" json:"included_primary_types,omitempty"`
1103 // Optional. Only include results in the specified regions, specified as up to
1104 // 15 CLDR two-character region codes. An empty set will not restrict the
1105 // results. If both `location_restriction` and `included_region_codes` are
1106 // set, the results will be located in the area of intersection.
1107 IncludedRegionCodes []string `protobuf:"bytes,5,rep,name=included_region_codes,json=includedRegionCodes,proto3" json:"included_region_codes,omitempty"`
1108 // Optional. The language in which to return results. Defaults to en-US. The
1109 // results may be in mixed languages if the language used in `input` is
1110 // different from `language_code` or if the returned Place does not have a
1111 // translation from the local language to `language_code`.
1112 LanguageCode string `protobuf:"bytes,6,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`
1113 // Optional. The region code, specified as a CLDR two-character region code.
1114 // This affects address formatting, result ranking, and may influence what
1115 // results are returned. This does not restrict results to the specified
1116 // region. To restrict results to a region, use `region_code_restriction`.
1117 RegionCode string `protobuf:"bytes,7,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`
1118 // Optional. The origin point from which to calculate geodesic distance to the
1119 // destination (returned as `distance_meters`). If this value is omitted,
1120 // geodesic distance will not be returned.
1121 Origin *latlng.LatLng `protobuf:"bytes,8,opt,name=origin,proto3" json:"origin,omitempty"`
1122 // Optional. A zero-based Unicode character offset of `input` indicating the
1123 // cursor position in `input`. The cursor position may influence what
1124 // predictions are returned.
1125 //
1126 // If empty, defaults to the length of `input`.
1127 InputOffset int32 `protobuf:"varint,9,opt,name=input_offset,json=inputOffset,proto3" json:"input_offset,omitempty"`
1128 // Optional. If true, the response will include both Place and query
1129 // predictions. Otherwise the response will only return Place predictions.
1130 IncludeQueryPredictions bool `protobuf:"varint,10,opt,name=include_query_predictions,json=includeQueryPredictions,proto3" json:"include_query_predictions,omitempty"`
1131 // Optional. A string which identifies an Autocomplete session for billing
1132 // purposes. Must be a URL and filename safe base64 string with at most 36
1133 // ASCII characters in length. Otherwise an INVALID_ARGUMENT error is
1134 // returned.
1135 //
1136 // The session begins when the user starts typing a query, and concludes when
1137 // they select a place and a call to Place Details or Address Validation is
1138 // made. Each session can have multiple queries, followed by one Place Details
1139 // or Address Validation request. The credentials used for each request within
1140 // a session must belong to the same Google Cloud Console project. Once a
1141 // session has concluded, the token is no longer valid; your app must generate
1142 // a fresh token for each session. If the `session_token` parameter is
1143 // omitted, or if you reuse a session token, the session is charged as if no
1144 // session token was provided (each request is billed separately).
1145 //
1146 // We recommend the following guidelines:
1147 //
1148 // - Use session tokens for all Place Autocomplete calls.
1149 // - Generate a fresh token for each session. Using a version 4 UUID is
1150 // recommended.
1151 // - Ensure that the credentials used for all Place Autocomplete, Place
1152 // Details, and Address Validation requests within a session belong to the
1153 // same Cloud Console project.
1154 // - Be sure to pass a unique session token for each new session. Using the
1155 // same token for more than one session will result in each request being
1156 // billed individually.
1157 SessionToken string `protobuf:"bytes,11,opt,name=session_token,json=sessionToken,proto3" json:"session_token,omitempty"`
1158 // Optional. Include pure service area businesses if the field is set to true.
1159 // Pure service area business is a business that visits or delivers to
1160 // customers directly but does not serve customers at their business address.
1161 // For example, businesses like cleaning services or plumbers. Those
1162 // businesses do not have a physical address or location on Google Maps.
1163 // Places will not return fields including `location`, `plus_code`, and other
1164 // location related fields for these businesses.
1165 IncludePureServiceAreaBusinesses bool `protobuf:"varint,12,opt,name=include_pure_service_area_businesses,json=includePureServiceAreaBusinesses,proto3" json:"include_pure_service_area_businesses,omitempty"`
1166 }
1167
1168 func (x *AutocompletePlacesRequest) Reset() {
1169 *x = AutocompletePlacesRequest{}
1170 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[8]
1171 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1172 ms.StoreMessageInfo(mi)
1173 }
1174
1175 func (x *AutocompletePlacesRequest) String() string {
1176 return protoimpl.X.MessageStringOf(x)
1177 }
1178
1179 func (*AutocompletePlacesRequest) ProtoMessage() {}
1180
1181 func (x *AutocompletePlacesRequest) ProtoReflect() protoreflect.Message {
1182 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[8]
1183 if x != nil {
1184 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1185 if ms.LoadMessageInfo() == nil {
1186 ms.StoreMessageInfo(mi)
1187 }
1188 return ms
1189 }
1190 return mi.MessageOf(x)
1191 }
1192
1193 // Deprecated: Use AutocompletePlacesRequest.ProtoReflect.Descriptor instead.
1194 func (*AutocompletePlacesRequest) Descriptor() ([]byte, []int) {
1195 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{8}
1196 }
1197
1198 func (x *AutocompletePlacesRequest) GetInput() string {
1199 if x != nil {
1200 return x.Input
1201 }
1202 return ""
1203 }
1204
1205 func (x *AutocompletePlacesRequest) GetLocationBias() *AutocompletePlacesRequest_LocationBias {
1206 if x != nil {
1207 return x.LocationBias
1208 }
1209 return nil
1210 }
1211
1212 func (x *AutocompletePlacesRequest) GetLocationRestriction() *AutocompletePlacesRequest_LocationRestriction {
1213 if x != nil {
1214 return x.LocationRestriction
1215 }
1216 return nil
1217 }
1218
1219 func (x *AutocompletePlacesRequest) GetIncludedPrimaryTypes() []string {
1220 if x != nil {
1221 return x.IncludedPrimaryTypes
1222 }
1223 return nil
1224 }
1225
1226 func (x *AutocompletePlacesRequest) GetIncludedRegionCodes() []string {
1227 if x != nil {
1228 return x.IncludedRegionCodes
1229 }
1230 return nil
1231 }
1232
1233 func (x *AutocompletePlacesRequest) GetLanguageCode() string {
1234 if x != nil {
1235 return x.LanguageCode
1236 }
1237 return ""
1238 }
1239
1240 func (x *AutocompletePlacesRequest) GetRegionCode() string {
1241 if x != nil {
1242 return x.RegionCode
1243 }
1244 return ""
1245 }
1246
1247 func (x *AutocompletePlacesRequest) GetOrigin() *latlng.LatLng {
1248 if x != nil {
1249 return x.Origin
1250 }
1251 return nil
1252 }
1253
1254 func (x *AutocompletePlacesRequest) GetInputOffset() int32 {
1255 if x != nil {
1256 return x.InputOffset
1257 }
1258 return 0
1259 }
1260
1261 func (x *AutocompletePlacesRequest) GetIncludeQueryPredictions() bool {
1262 if x != nil {
1263 return x.IncludeQueryPredictions
1264 }
1265 return false
1266 }
1267
1268 func (x *AutocompletePlacesRequest) GetSessionToken() string {
1269 if x != nil {
1270 return x.SessionToken
1271 }
1272 return ""
1273 }
1274
1275 func (x *AutocompletePlacesRequest) GetIncludePureServiceAreaBusinesses() bool {
1276 if x != nil {
1277 return x.IncludePureServiceAreaBusinesses
1278 }
1279 return false
1280 }
1281
1282 // Response proto for AutocompletePlaces.
1283 type AutocompletePlacesResponse struct {
1284 state protoimpl.MessageState
1285 sizeCache protoimpl.SizeCache
1286 unknownFields protoimpl.UnknownFields
1287
1288 // Contains a list of suggestions, ordered in descending order of relevance.
1289 Suggestions []*AutocompletePlacesResponse_Suggestion `protobuf:"bytes,1,rep,name=suggestions,proto3" json:"suggestions,omitempty"`
1290 }
1291
1292 func (x *AutocompletePlacesResponse) Reset() {
1293 *x = AutocompletePlacesResponse{}
1294 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[9]
1295 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1296 ms.StoreMessageInfo(mi)
1297 }
1298
1299 func (x *AutocompletePlacesResponse) String() string {
1300 return protoimpl.X.MessageStringOf(x)
1301 }
1302
1303 func (*AutocompletePlacesResponse) ProtoMessage() {}
1304
1305 func (x *AutocompletePlacesResponse) ProtoReflect() protoreflect.Message {
1306 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[9]
1307 if x != nil {
1308 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1309 if ms.LoadMessageInfo() == nil {
1310 ms.StoreMessageInfo(mi)
1311 }
1312 return ms
1313 }
1314 return mi.MessageOf(x)
1315 }
1316
1317 // Deprecated: Use AutocompletePlacesResponse.ProtoReflect.Descriptor instead.
1318 func (*AutocompletePlacesResponse) Descriptor() ([]byte, []int) {
1319 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9}
1320 }
1321
1322 func (x *AutocompletePlacesResponse) GetSuggestions() []*AutocompletePlacesResponse_Suggestion {
1323 if x != nil {
1324 return x.Suggestions
1325 }
1326 return nil
1327 }
1328
1329 // The region to search.
1330 type SearchNearbyRequest_LocationRestriction struct {
1331 state protoimpl.MessageState
1332 sizeCache protoimpl.SizeCache
1333 unknownFields protoimpl.UnknownFields
1334
1335 // Types that are assignable to Type:
1336 //
1337 // *SearchNearbyRequest_LocationRestriction_Circle
1338 Type isSearchNearbyRequest_LocationRestriction_Type `protobuf_oneof:"type"`
1339 }
1340
1341 func (x *SearchNearbyRequest_LocationRestriction) Reset() {
1342 *x = SearchNearbyRequest_LocationRestriction{}
1343 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[10]
1344 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1345 ms.StoreMessageInfo(mi)
1346 }
1347
1348 func (x *SearchNearbyRequest_LocationRestriction) String() string {
1349 return protoimpl.X.MessageStringOf(x)
1350 }
1351
1352 func (*SearchNearbyRequest_LocationRestriction) ProtoMessage() {}
1353
1354 func (x *SearchNearbyRequest_LocationRestriction) ProtoReflect() protoreflect.Message {
1355 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[10]
1356 if x != nil {
1357 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1358 if ms.LoadMessageInfo() == nil {
1359 ms.StoreMessageInfo(mi)
1360 }
1361 return ms
1362 }
1363 return mi.MessageOf(x)
1364 }
1365
1366 // Deprecated: Use SearchNearbyRequest_LocationRestriction.ProtoReflect.Descriptor instead.
1367 func (*SearchNearbyRequest_LocationRestriction) Descriptor() ([]byte, []int) {
1368 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{1, 0}
1369 }
1370
1371 func (m *SearchNearbyRequest_LocationRestriction) GetType() isSearchNearbyRequest_LocationRestriction_Type {
1372 if m != nil {
1373 return m.Type
1374 }
1375 return nil
1376 }
1377
1378 func (x *SearchNearbyRequest_LocationRestriction) GetCircle() *Circle {
1379 if x, ok := x.GetType().(*SearchNearbyRequest_LocationRestriction_Circle); ok {
1380 return x.Circle
1381 }
1382 return nil
1383 }
1384
1385 type isSearchNearbyRequest_LocationRestriction_Type interface {
1386 isSearchNearbyRequest_LocationRestriction_Type()
1387 }
1388
1389 type SearchNearbyRequest_LocationRestriction_Circle struct {
1390 // A circle defined by center point and radius.
1391 Circle *Circle `protobuf:"bytes,2,opt,name=circle,proto3,oneof"`
1392 }
1393
1394 func (*SearchNearbyRequest_LocationRestriction_Circle) isSearchNearbyRequest_LocationRestriction_Type() {
1395 }
1396
1397 // The region to search. This location serves as a bias which means results
1398 // around given location might be returned.
1399 type SearchTextRequest_LocationBias struct {
1400 state protoimpl.MessageState
1401 sizeCache protoimpl.SizeCache
1402 unknownFields protoimpl.UnknownFields
1403
1404 // Types that are assignable to Type:
1405 //
1406 // *SearchTextRequest_LocationBias_Rectangle
1407 // *SearchTextRequest_LocationBias_Circle
1408 Type isSearchTextRequest_LocationBias_Type `protobuf_oneof:"type"`
1409 }
1410
1411 func (x *SearchTextRequest_LocationBias) Reset() {
1412 *x = SearchTextRequest_LocationBias{}
1413 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[11]
1414 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1415 ms.StoreMessageInfo(mi)
1416 }
1417
1418 func (x *SearchTextRequest_LocationBias) String() string {
1419 return protoimpl.X.MessageStringOf(x)
1420 }
1421
1422 func (*SearchTextRequest_LocationBias) ProtoMessage() {}
1423
1424 func (x *SearchTextRequest_LocationBias) ProtoReflect() protoreflect.Message {
1425 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[11]
1426 if x != nil {
1427 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1428 if ms.LoadMessageInfo() == nil {
1429 ms.StoreMessageInfo(mi)
1430 }
1431 return ms
1432 }
1433 return mi.MessageOf(x)
1434 }
1435
1436 // Deprecated: Use SearchTextRequest_LocationBias.ProtoReflect.Descriptor instead.
1437 func (*SearchTextRequest_LocationBias) Descriptor() ([]byte, []int) {
1438 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{3, 0}
1439 }
1440
1441 func (m *SearchTextRequest_LocationBias) GetType() isSearchTextRequest_LocationBias_Type {
1442 if m != nil {
1443 return m.Type
1444 }
1445 return nil
1446 }
1447
1448 func (x *SearchTextRequest_LocationBias) GetRectangle() *viewport.Viewport {
1449 if x, ok := x.GetType().(*SearchTextRequest_LocationBias_Rectangle); ok {
1450 return x.Rectangle
1451 }
1452 return nil
1453 }
1454
1455 func (x *SearchTextRequest_LocationBias) GetCircle() *Circle {
1456 if x, ok := x.GetType().(*SearchTextRequest_LocationBias_Circle); ok {
1457 return x.Circle
1458 }
1459 return nil
1460 }
1461
1462 type isSearchTextRequest_LocationBias_Type interface {
1463 isSearchTextRequest_LocationBias_Type()
1464 }
1465
1466 type SearchTextRequest_LocationBias_Rectangle struct {
1467 // A rectangle box defined by northeast and southwest corner.
1468 // `rectangle.high()` must be the northeast point of the rectangle
1469 // viewport. `rectangle.low()` must be the southwest point of the
1470 // rectangle viewport. `rectangle.low().latitude()` cannot be greater than
1471 // `rectangle.high().latitude()`. This will result in an empty latitude
1472 // range. A rectangle viewport cannot be wider than 180 degrees.
1473 Rectangle *viewport.Viewport `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"`
1474 }
1475
1476 type SearchTextRequest_LocationBias_Circle struct {
1477 // A circle defined by center point and radius.
1478 Circle *Circle `protobuf:"bytes,2,opt,name=circle,proto3,oneof"`
1479 }
1480
1481 func (*SearchTextRequest_LocationBias_Rectangle) isSearchTextRequest_LocationBias_Type() {}
1482
1483 func (*SearchTextRequest_LocationBias_Circle) isSearchTextRequest_LocationBias_Type() {}
1484
1485 // The region to search. This location serves as a restriction which means
1486 // results outside given location will not be returned.
1487 type SearchTextRequest_LocationRestriction struct {
1488 state protoimpl.MessageState
1489 sizeCache protoimpl.SizeCache
1490 unknownFields protoimpl.UnknownFields
1491
1492 // Types that are assignable to Type:
1493 //
1494 // *SearchTextRequest_LocationRestriction_Rectangle
1495 Type isSearchTextRequest_LocationRestriction_Type `protobuf_oneof:"type"`
1496 }
1497
1498 func (x *SearchTextRequest_LocationRestriction) Reset() {
1499 *x = SearchTextRequest_LocationRestriction{}
1500 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[12]
1501 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1502 ms.StoreMessageInfo(mi)
1503 }
1504
1505 func (x *SearchTextRequest_LocationRestriction) String() string {
1506 return protoimpl.X.MessageStringOf(x)
1507 }
1508
1509 func (*SearchTextRequest_LocationRestriction) ProtoMessage() {}
1510
1511 func (x *SearchTextRequest_LocationRestriction) ProtoReflect() protoreflect.Message {
1512 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[12]
1513 if x != nil {
1514 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1515 if ms.LoadMessageInfo() == nil {
1516 ms.StoreMessageInfo(mi)
1517 }
1518 return ms
1519 }
1520 return mi.MessageOf(x)
1521 }
1522
1523 // Deprecated: Use SearchTextRequest_LocationRestriction.ProtoReflect.Descriptor instead.
1524 func (*SearchTextRequest_LocationRestriction) Descriptor() ([]byte, []int) {
1525 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{3, 1}
1526 }
1527
1528 func (m *SearchTextRequest_LocationRestriction) GetType() isSearchTextRequest_LocationRestriction_Type {
1529 if m != nil {
1530 return m.Type
1531 }
1532 return nil
1533 }
1534
1535 func (x *SearchTextRequest_LocationRestriction) GetRectangle() *viewport.Viewport {
1536 if x, ok := x.GetType().(*SearchTextRequest_LocationRestriction_Rectangle); ok {
1537 return x.Rectangle
1538 }
1539 return nil
1540 }
1541
1542 type isSearchTextRequest_LocationRestriction_Type interface {
1543 isSearchTextRequest_LocationRestriction_Type()
1544 }
1545
1546 type SearchTextRequest_LocationRestriction_Rectangle struct {
1547 // A rectangle box defined by northeast and southwest corner.
1548 // `rectangle.high()` must be the northeast point of the rectangle
1549 // viewport. `rectangle.low()` must be the southwest point of the
1550 // rectangle viewport. `rectangle.low().latitude()` cannot be greater than
1551 // `rectangle.high().latitude()`. This will result in an empty latitude
1552 // range. A rectangle viewport cannot be wider than 180 degrees.
1553 Rectangle *viewport.Viewport `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"`
1554 }
1555
1556 func (*SearchTextRequest_LocationRestriction_Rectangle) isSearchTextRequest_LocationRestriction_Type() {
1557 }
1558
1559 // Searchable EV options of a place search request.
1560 type SearchTextRequest_EVOptions struct {
1561 state protoimpl.MessageState
1562 sizeCache protoimpl.SizeCache
1563 unknownFields protoimpl.UnknownFields
1564
1565 // Optional. Minimum required charging rate in kilowatts. A place with a
1566 // charging rate less than the specified rate is filtered out.
1567 MinimumChargingRateKw float64 `protobuf:"fixed64,1,opt,name=minimum_charging_rate_kw,json=minimumChargingRateKw,proto3" json:"minimum_charging_rate_kw,omitempty"`
1568 // Optional. The list of preferred EV connector types. A place that does not
1569 // support any of the listed connector types is filtered out.
1570 ConnectorTypes []EVConnectorType `protobuf:"varint,2,rep,packed,name=connector_types,json=connectorTypes,proto3,enum=google.maps.places.v1.EVConnectorType" json:"connector_types,omitempty"`
1571 }
1572
1573 func (x *SearchTextRequest_EVOptions) Reset() {
1574 *x = SearchTextRequest_EVOptions{}
1575 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[13]
1576 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1577 ms.StoreMessageInfo(mi)
1578 }
1579
1580 func (x *SearchTextRequest_EVOptions) String() string {
1581 return protoimpl.X.MessageStringOf(x)
1582 }
1583
1584 func (*SearchTextRequest_EVOptions) ProtoMessage() {}
1585
1586 func (x *SearchTextRequest_EVOptions) ProtoReflect() protoreflect.Message {
1587 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[13]
1588 if x != nil {
1589 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1590 if ms.LoadMessageInfo() == nil {
1591 ms.StoreMessageInfo(mi)
1592 }
1593 return ms
1594 }
1595 return mi.MessageOf(x)
1596 }
1597
1598 // Deprecated: Use SearchTextRequest_EVOptions.ProtoReflect.Descriptor instead.
1599 func (*SearchTextRequest_EVOptions) Descriptor() ([]byte, []int) {
1600 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{3, 2}
1601 }
1602
1603 func (x *SearchTextRequest_EVOptions) GetMinimumChargingRateKw() float64 {
1604 if x != nil {
1605 return x.MinimumChargingRateKw
1606 }
1607 return 0
1608 }
1609
1610 func (x *SearchTextRequest_EVOptions) GetConnectorTypes() []EVConnectorType {
1611 if x != nil {
1612 return x.ConnectorTypes
1613 }
1614 return nil
1615 }
1616
1617 // Specifies a precalculated polyline from the [Routes
1618 // API](https://developers.google.com/maps/documentation/routes) defining the
1619 // route to search. Searching along a route is similar to using the
1620 // `locationBias` or `locationRestriction` request option to bias the search
1621 // results. However, while the `locationBias` and `locationRestriction`
1622 // options let you specify a region to bias the search results, this option
1623 // lets you bias the results along a trip route.
1624 //
1625 // Results are not guaranteed to be along the route provided, but rather are
1626 // ranked within the search area defined by the polyline and, optionally, by
1627 // the `locationBias` or `locationRestriction` based on minimal detour times
1628 // from origin to destination. The results might be along an alternate route,
1629 // especially if the provided polyline does not define an optimal route from
1630 // origin to destination.
1631 type SearchTextRequest_SearchAlongRouteParameters struct {
1632 state protoimpl.MessageState
1633 sizeCache protoimpl.SizeCache
1634 unknownFields protoimpl.UnknownFields
1635
1636 // Required. The route polyline.
1637 Polyline *Polyline `protobuf:"bytes,1,opt,name=polyline,proto3" json:"polyline,omitempty"`
1638 }
1639
1640 func (x *SearchTextRequest_SearchAlongRouteParameters) Reset() {
1641 *x = SearchTextRequest_SearchAlongRouteParameters{}
1642 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[14]
1643 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1644 ms.StoreMessageInfo(mi)
1645 }
1646
1647 func (x *SearchTextRequest_SearchAlongRouteParameters) String() string {
1648 return protoimpl.X.MessageStringOf(x)
1649 }
1650
1651 func (*SearchTextRequest_SearchAlongRouteParameters) ProtoMessage() {}
1652
1653 func (x *SearchTextRequest_SearchAlongRouteParameters) ProtoReflect() protoreflect.Message {
1654 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[14]
1655 if x != nil {
1656 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1657 if ms.LoadMessageInfo() == nil {
1658 ms.StoreMessageInfo(mi)
1659 }
1660 return ms
1661 }
1662 return mi.MessageOf(x)
1663 }
1664
1665 // Deprecated: Use SearchTextRequest_SearchAlongRouteParameters.ProtoReflect.Descriptor instead.
1666 func (*SearchTextRequest_SearchAlongRouteParameters) Descriptor() ([]byte, []int) {
1667 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{3, 3}
1668 }
1669
1670 func (x *SearchTextRequest_SearchAlongRouteParameters) GetPolyline() *Polyline {
1671 if x != nil {
1672 return x.Polyline
1673 }
1674 return nil
1675 }
1676
1677 // The region to search. The results may be biased around the specified
1678 // region.
1679 type AutocompletePlacesRequest_LocationBias struct {
1680 state protoimpl.MessageState
1681 sizeCache protoimpl.SizeCache
1682 unknownFields protoimpl.UnknownFields
1683
1684 // Types that are assignable to Type:
1685 //
1686 // *AutocompletePlacesRequest_LocationBias_Rectangle
1687 // *AutocompletePlacesRequest_LocationBias_Circle
1688 Type isAutocompletePlacesRequest_LocationBias_Type `protobuf_oneof:"type"`
1689 }
1690
1691 func (x *AutocompletePlacesRequest_LocationBias) Reset() {
1692 *x = AutocompletePlacesRequest_LocationBias{}
1693 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[15]
1694 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1695 ms.StoreMessageInfo(mi)
1696 }
1697
1698 func (x *AutocompletePlacesRequest_LocationBias) String() string {
1699 return protoimpl.X.MessageStringOf(x)
1700 }
1701
1702 func (*AutocompletePlacesRequest_LocationBias) ProtoMessage() {}
1703
1704 func (x *AutocompletePlacesRequest_LocationBias) ProtoReflect() protoreflect.Message {
1705 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[15]
1706 if x != nil {
1707 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1708 if ms.LoadMessageInfo() == nil {
1709 ms.StoreMessageInfo(mi)
1710 }
1711 return ms
1712 }
1713 return mi.MessageOf(x)
1714 }
1715
1716 // Deprecated: Use AutocompletePlacesRequest_LocationBias.ProtoReflect.Descriptor instead.
1717 func (*AutocompletePlacesRequest_LocationBias) Descriptor() ([]byte, []int) {
1718 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{8, 0}
1719 }
1720
1721 func (m *AutocompletePlacesRequest_LocationBias) GetType() isAutocompletePlacesRequest_LocationBias_Type {
1722 if m != nil {
1723 return m.Type
1724 }
1725 return nil
1726 }
1727
1728 func (x *AutocompletePlacesRequest_LocationBias) GetRectangle() *viewport.Viewport {
1729 if x, ok := x.GetType().(*AutocompletePlacesRequest_LocationBias_Rectangle); ok {
1730 return x.Rectangle
1731 }
1732 return nil
1733 }
1734
1735 func (x *AutocompletePlacesRequest_LocationBias) GetCircle() *Circle {
1736 if x, ok := x.GetType().(*AutocompletePlacesRequest_LocationBias_Circle); ok {
1737 return x.Circle
1738 }
1739 return nil
1740 }
1741
1742 type isAutocompletePlacesRequest_LocationBias_Type interface {
1743 isAutocompletePlacesRequest_LocationBias_Type()
1744 }
1745
1746 type AutocompletePlacesRequest_LocationBias_Rectangle struct {
1747 // A viewport defined by a northeast and a southwest corner.
1748 Rectangle *viewport.Viewport `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"`
1749 }
1750
1751 type AutocompletePlacesRequest_LocationBias_Circle struct {
1752 // A circle defined by a center point and radius.
1753 Circle *Circle `protobuf:"bytes,2,opt,name=circle,proto3,oneof"`
1754 }
1755
1756 func (*AutocompletePlacesRequest_LocationBias_Rectangle) isAutocompletePlacesRequest_LocationBias_Type() {
1757 }
1758
1759 func (*AutocompletePlacesRequest_LocationBias_Circle) isAutocompletePlacesRequest_LocationBias_Type() {
1760 }
1761
1762 // The region to search. The results will be restricted to the specified
1763 // region.
1764 type AutocompletePlacesRequest_LocationRestriction struct {
1765 state protoimpl.MessageState
1766 sizeCache protoimpl.SizeCache
1767 unknownFields protoimpl.UnknownFields
1768
1769 // Types that are assignable to Type:
1770 //
1771 // *AutocompletePlacesRequest_LocationRestriction_Rectangle
1772 // *AutocompletePlacesRequest_LocationRestriction_Circle
1773 Type isAutocompletePlacesRequest_LocationRestriction_Type `protobuf_oneof:"type"`
1774 }
1775
1776 func (x *AutocompletePlacesRequest_LocationRestriction) Reset() {
1777 *x = AutocompletePlacesRequest_LocationRestriction{}
1778 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[16]
1779 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1780 ms.StoreMessageInfo(mi)
1781 }
1782
1783 func (x *AutocompletePlacesRequest_LocationRestriction) String() string {
1784 return protoimpl.X.MessageStringOf(x)
1785 }
1786
1787 func (*AutocompletePlacesRequest_LocationRestriction) ProtoMessage() {}
1788
1789 func (x *AutocompletePlacesRequest_LocationRestriction) ProtoReflect() protoreflect.Message {
1790 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[16]
1791 if x != nil {
1792 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1793 if ms.LoadMessageInfo() == nil {
1794 ms.StoreMessageInfo(mi)
1795 }
1796 return ms
1797 }
1798 return mi.MessageOf(x)
1799 }
1800
1801 // Deprecated: Use AutocompletePlacesRequest_LocationRestriction.ProtoReflect.Descriptor instead.
1802 func (*AutocompletePlacesRequest_LocationRestriction) Descriptor() ([]byte, []int) {
1803 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{8, 1}
1804 }
1805
1806 func (m *AutocompletePlacesRequest_LocationRestriction) GetType() isAutocompletePlacesRequest_LocationRestriction_Type {
1807 if m != nil {
1808 return m.Type
1809 }
1810 return nil
1811 }
1812
1813 func (x *AutocompletePlacesRequest_LocationRestriction) GetRectangle() *viewport.Viewport {
1814 if x, ok := x.GetType().(*AutocompletePlacesRequest_LocationRestriction_Rectangle); ok {
1815 return x.Rectangle
1816 }
1817 return nil
1818 }
1819
1820 func (x *AutocompletePlacesRequest_LocationRestriction) GetCircle() *Circle {
1821 if x, ok := x.GetType().(*AutocompletePlacesRequest_LocationRestriction_Circle); ok {
1822 return x.Circle
1823 }
1824 return nil
1825 }
1826
1827 type isAutocompletePlacesRequest_LocationRestriction_Type interface {
1828 isAutocompletePlacesRequest_LocationRestriction_Type()
1829 }
1830
1831 type AutocompletePlacesRequest_LocationRestriction_Rectangle struct {
1832 // A viewport defined by a northeast and a southwest corner.
1833 Rectangle *viewport.Viewport `protobuf:"bytes,1,opt,name=rectangle,proto3,oneof"`
1834 }
1835
1836 type AutocompletePlacesRequest_LocationRestriction_Circle struct {
1837 // A circle defined by a center point and radius.
1838 Circle *Circle `protobuf:"bytes,2,opt,name=circle,proto3,oneof"`
1839 }
1840
1841 func (*AutocompletePlacesRequest_LocationRestriction_Rectangle) isAutocompletePlacesRequest_LocationRestriction_Type() {
1842 }
1843
1844 func (*AutocompletePlacesRequest_LocationRestriction_Circle) isAutocompletePlacesRequest_LocationRestriction_Type() {
1845 }
1846
1847 // An Autocomplete suggestion result.
1848 type AutocompletePlacesResponse_Suggestion struct {
1849 state protoimpl.MessageState
1850 sizeCache protoimpl.SizeCache
1851 unknownFields protoimpl.UnknownFields
1852
1853 // Types that are assignable to Kind:
1854 //
1855 // *AutocompletePlacesResponse_Suggestion_PlacePrediction_
1856 // *AutocompletePlacesResponse_Suggestion_QueryPrediction_
1857 Kind isAutocompletePlacesResponse_Suggestion_Kind `protobuf_oneof:"kind"`
1858 }
1859
1860 func (x *AutocompletePlacesResponse_Suggestion) Reset() {
1861 *x = AutocompletePlacesResponse_Suggestion{}
1862 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[17]
1863 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1864 ms.StoreMessageInfo(mi)
1865 }
1866
1867 func (x *AutocompletePlacesResponse_Suggestion) String() string {
1868 return protoimpl.X.MessageStringOf(x)
1869 }
1870
1871 func (*AutocompletePlacesResponse_Suggestion) ProtoMessage() {}
1872
1873 func (x *AutocompletePlacesResponse_Suggestion) ProtoReflect() protoreflect.Message {
1874 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[17]
1875 if x != nil {
1876 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1877 if ms.LoadMessageInfo() == nil {
1878 ms.StoreMessageInfo(mi)
1879 }
1880 return ms
1881 }
1882 return mi.MessageOf(x)
1883 }
1884
1885 // Deprecated: Use AutocompletePlacesResponse_Suggestion.ProtoReflect.Descriptor instead.
1886 func (*AutocompletePlacesResponse_Suggestion) Descriptor() ([]byte, []int) {
1887 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9, 0}
1888 }
1889
1890 func (m *AutocompletePlacesResponse_Suggestion) GetKind() isAutocompletePlacesResponse_Suggestion_Kind {
1891 if m != nil {
1892 return m.Kind
1893 }
1894 return nil
1895 }
1896
1897 func (x *AutocompletePlacesResponse_Suggestion) GetPlacePrediction() *AutocompletePlacesResponse_Suggestion_PlacePrediction {
1898 if x, ok := x.GetKind().(*AutocompletePlacesResponse_Suggestion_PlacePrediction_); ok {
1899 return x.PlacePrediction
1900 }
1901 return nil
1902 }
1903
1904 func (x *AutocompletePlacesResponse_Suggestion) GetQueryPrediction() *AutocompletePlacesResponse_Suggestion_QueryPrediction {
1905 if x, ok := x.GetKind().(*AutocompletePlacesResponse_Suggestion_QueryPrediction_); ok {
1906 return x.QueryPrediction
1907 }
1908 return nil
1909 }
1910
1911 type isAutocompletePlacesResponse_Suggestion_Kind interface {
1912 isAutocompletePlacesResponse_Suggestion_Kind()
1913 }
1914
1915 type AutocompletePlacesResponse_Suggestion_PlacePrediction_ struct {
1916 // A prediction for a Place.
1917 PlacePrediction *AutocompletePlacesResponse_Suggestion_PlacePrediction `protobuf:"bytes,1,opt,name=place_prediction,json=placePrediction,proto3,oneof"`
1918 }
1919
1920 type AutocompletePlacesResponse_Suggestion_QueryPrediction_ struct {
1921 // A prediction for a query.
1922 QueryPrediction *AutocompletePlacesResponse_Suggestion_QueryPrediction `protobuf:"bytes,2,opt,name=query_prediction,json=queryPrediction,proto3,oneof"`
1923 }
1924
1925 func (*AutocompletePlacesResponse_Suggestion_PlacePrediction_) isAutocompletePlacesResponse_Suggestion_Kind() {
1926 }
1927
1928 func (*AutocompletePlacesResponse_Suggestion_QueryPrediction_) isAutocompletePlacesResponse_Suggestion_Kind() {
1929 }
1930
1931 // Identifies a substring within a given text.
1932 type AutocompletePlacesResponse_Suggestion_StringRange struct {
1933 state protoimpl.MessageState
1934 sizeCache protoimpl.SizeCache
1935 unknownFields protoimpl.UnknownFields
1936
1937 // Zero-based offset of the first Unicode character of the string
1938 // (inclusive).
1939 StartOffset int32 `protobuf:"varint,1,opt,name=start_offset,json=startOffset,proto3" json:"start_offset,omitempty"`
1940 // Zero-based offset of the last Unicode character (exclusive).
1941 EndOffset int32 `protobuf:"varint,2,opt,name=end_offset,json=endOffset,proto3" json:"end_offset,omitempty"`
1942 }
1943
1944 func (x *AutocompletePlacesResponse_Suggestion_StringRange) Reset() {
1945 *x = AutocompletePlacesResponse_Suggestion_StringRange{}
1946 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[18]
1947 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1948 ms.StoreMessageInfo(mi)
1949 }
1950
1951 func (x *AutocompletePlacesResponse_Suggestion_StringRange) String() string {
1952 return protoimpl.X.MessageStringOf(x)
1953 }
1954
1955 func (*AutocompletePlacesResponse_Suggestion_StringRange) ProtoMessage() {}
1956
1957 func (x *AutocompletePlacesResponse_Suggestion_StringRange) ProtoReflect() protoreflect.Message {
1958 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[18]
1959 if x != nil {
1960 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1961 if ms.LoadMessageInfo() == nil {
1962 ms.StoreMessageInfo(mi)
1963 }
1964 return ms
1965 }
1966 return mi.MessageOf(x)
1967 }
1968
1969 // Deprecated: Use AutocompletePlacesResponse_Suggestion_StringRange.ProtoReflect.Descriptor instead.
1970 func (*AutocompletePlacesResponse_Suggestion_StringRange) Descriptor() ([]byte, []int) {
1971 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9, 0, 0}
1972 }
1973
1974 func (x *AutocompletePlacesResponse_Suggestion_StringRange) GetStartOffset() int32 {
1975 if x != nil {
1976 return x.StartOffset
1977 }
1978 return 0
1979 }
1980
1981 func (x *AutocompletePlacesResponse_Suggestion_StringRange) GetEndOffset() int32 {
1982 if x != nil {
1983 return x.EndOffset
1984 }
1985 return 0
1986 }
1987
1988 // Text representing a Place or query prediction. The text may be used as is
1989 // or formatted.
1990 type AutocompletePlacesResponse_Suggestion_FormattableText struct {
1991 state protoimpl.MessageState
1992 sizeCache protoimpl.SizeCache
1993 unknownFields protoimpl.UnknownFields
1994
1995 // Text that may be used as is or formatted with `matches`.
1996 Text string `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
1997 // A list of string ranges identifying where the input request matched in
1998 // `text`. The ranges can be used to format specific parts of `text`. The
1999 // substrings may not be exact matches of `input` if the matching was
2000 // determined by criteria other than string matching (for example, spell
2001 // corrections or transliterations).
2002 //
2003 // These values are Unicode character offsets of `text`. The ranges are
2004 // guaranteed to be ordered in increasing offset values.
2005 Matches []*AutocompletePlacesResponse_Suggestion_StringRange `protobuf:"bytes,2,rep,name=matches,proto3" json:"matches,omitempty"`
2006 }
2007
2008 func (x *AutocompletePlacesResponse_Suggestion_FormattableText) Reset() {
2009 *x = AutocompletePlacesResponse_Suggestion_FormattableText{}
2010 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[19]
2011 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2012 ms.StoreMessageInfo(mi)
2013 }
2014
2015 func (x *AutocompletePlacesResponse_Suggestion_FormattableText) String() string {
2016 return protoimpl.X.MessageStringOf(x)
2017 }
2018
2019 func (*AutocompletePlacesResponse_Suggestion_FormattableText) ProtoMessage() {}
2020
2021 func (x *AutocompletePlacesResponse_Suggestion_FormattableText) ProtoReflect() protoreflect.Message {
2022 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[19]
2023 if x != nil {
2024 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2025 if ms.LoadMessageInfo() == nil {
2026 ms.StoreMessageInfo(mi)
2027 }
2028 return ms
2029 }
2030 return mi.MessageOf(x)
2031 }
2032
2033 // Deprecated: Use AutocompletePlacesResponse_Suggestion_FormattableText.ProtoReflect.Descriptor instead.
2034 func (*AutocompletePlacesResponse_Suggestion_FormattableText) Descriptor() ([]byte, []int) {
2035 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9, 0, 1}
2036 }
2037
2038 func (x *AutocompletePlacesResponse_Suggestion_FormattableText) GetText() string {
2039 if x != nil {
2040 return x.Text
2041 }
2042 return ""
2043 }
2044
2045 func (x *AutocompletePlacesResponse_Suggestion_FormattableText) GetMatches() []*AutocompletePlacesResponse_Suggestion_StringRange {
2046 if x != nil {
2047 return x.Matches
2048 }
2049 return nil
2050 }
2051
2052 // Contains a breakdown of a Place or query prediction into main text
2053 // and secondary text.
2054 //
2055 // For Place predictions, the main text contains the specific name of the
2056 // Place. For query predictions, the main text contains the query.
2057 //
2058 // The secondary text contains additional disambiguating features (such as a
2059 // city or region) to further identify the Place or refine the query.
2060 type AutocompletePlacesResponse_Suggestion_StructuredFormat struct {
2061 state protoimpl.MessageState
2062 sizeCache protoimpl.SizeCache
2063 unknownFields protoimpl.UnknownFields
2064
2065 // Represents the name of the Place or query.
2066 MainText *AutocompletePlacesResponse_Suggestion_FormattableText `protobuf:"bytes,1,opt,name=main_text,json=mainText,proto3" json:"main_text,omitempty"`
2067 // Represents additional disambiguating features (such as a city or
2068 // region) to further identify the Place or refine the query.
2069 SecondaryText *AutocompletePlacesResponse_Suggestion_FormattableText `protobuf:"bytes,2,opt,name=secondary_text,json=secondaryText,proto3" json:"secondary_text,omitempty"`
2070 }
2071
2072 func (x *AutocompletePlacesResponse_Suggestion_StructuredFormat) Reset() {
2073 *x = AutocompletePlacesResponse_Suggestion_StructuredFormat{}
2074 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[20]
2075 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2076 ms.StoreMessageInfo(mi)
2077 }
2078
2079 func (x *AutocompletePlacesResponse_Suggestion_StructuredFormat) String() string {
2080 return protoimpl.X.MessageStringOf(x)
2081 }
2082
2083 func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) ProtoMessage() {}
2084
2085 func (x *AutocompletePlacesResponse_Suggestion_StructuredFormat) ProtoReflect() protoreflect.Message {
2086 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[20]
2087 if x != nil {
2088 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2089 if ms.LoadMessageInfo() == nil {
2090 ms.StoreMessageInfo(mi)
2091 }
2092 return ms
2093 }
2094 return mi.MessageOf(x)
2095 }
2096
2097 // Deprecated: Use AutocompletePlacesResponse_Suggestion_StructuredFormat.ProtoReflect.Descriptor instead.
2098 func (*AutocompletePlacesResponse_Suggestion_StructuredFormat) Descriptor() ([]byte, []int) {
2099 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9, 0, 2}
2100 }
2101
2102 func (x *AutocompletePlacesResponse_Suggestion_StructuredFormat) GetMainText() *AutocompletePlacesResponse_Suggestion_FormattableText {
2103 if x != nil {
2104 return x.MainText
2105 }
2106 return nil
2107 }
2108
2109 func (x *AutocompletePlacesResponse_Suggestion_StructuredFormat) GetSecondaryText() *AutocompletePlacesResponse_Suggestion_FormattableText {
2110 if x != nil {
2111 return x.SecondaryText
2112 }
2113 return nil
2114 }
2115
2116 // Prediction results for a Place Autocomplete prediction.
2117 type AutocompletePlacesResponse_Suggestion_PlacePrediction struct {
2118 state protoimpl.MessageState
2119 sizeCache protoimpl.SizeCache
2120 unknownFields protoimpl.UnknownFields
2121
2122 // The resource name of the suggested Place. This name can be used in
2123 // other APIs that accept Place names.
2124 Place string `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"`
2125 // The unique identifier of the suggested Place. This identifier can be
2126 // used in other APIs that accept Place IDs.
2127 PlaceId string `protobuf:"bytes,2,opt,name=place_id,json=placeId,proto3" json:"place_id,omitempty"`
2128 // Contains the human-readable name for the returned result. For
2129 // establishment results, this is usually the business name and address.
2130 //
2131 // `text` is recommended for developers who wish to show a single UI
2132 // element. Developers who wish to show two separate, but related, UI
2133 // elements may want to use `structured_format` instead. They are two
2134 // different ways to represent a Place prediction. Users should not try to
2135 // parse `structured_format` into `text` or vice versa.
2136 //
2137 // This text may be different from the `display_name` returned by
2138 // GetPlace.
2139 //
2140 // May be in mixed languages if the request `input` and `language_code`
2141 // are in different languages or if the Place does not have a translation
2142 // from the local language to `language_code`.
2143 Text *AutocompletePlacesResponse_Suggestion_FormattableText `protobuf:"bytes,3,opt,name=text,proto3" json:"text,omitempty"`
2144 // A breakdown of the Place prediction into main text containing the name
2145 // of the Place and secondary text containing additional disambiguating
2146 // features (such as a city or region).
2147 //
2148 // `structured_format` is recommended for developers who wish to show two
2149 // separate, but related, UI elements. Developers who wish to show a
2150 // single UI element may want to use `text` instead. They are two
2151 // different ways to represent a Place prediction. Users should not try to
2152 // parse `structured_format` into `text` or vice versa.
2153 StructuredFormat *AutocompletePlacesResponse_Suggestion_StructuredFormat `protobuf:"bytes,4,opt,name=structured_format,json=structuredFormat,proto3" json:"structured_format,omitempty"`
2154 // List of types that apply to this Place from Table A or Table B in
2155 // https://developers.google.com/maps/documentation/places/web-service/place-types.
2156 //
2157 // A type is a categorization of a Place. Places with shared types will
2158 // share similar characteristics.
2159 Types []string `protobuf:"bytes,5,rep,name=types,proto3" json:"types,omitempty"`
2160 // The length of the geodesic in meters from `origin` if `origin` is
2161 // specified. Certain predictions such as routes may not populate this
2162 // field.
2163 DistanceMeters int32 `protobuf:"varint,6,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"`
2164 }
2165
2166 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) Reset() {
2167 *x = AutocompletePlacesResponse_Suggestion_PlacePrediction{}
2168 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[21]
2169 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2170 ms.StoreMessageInfo(mi)
2171 }
2172
2173 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) String() string {
2174 return protoimpl.X.MessageStringOf(x)
2175 }
2176
2177 func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) ProtoMessage() {}
2178
2179 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) ProtoReflect() protoreflect.Message {
2180 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[21]
2181 if x != nil {
2182 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2183 if ms.LoadMessageInfo() == nil {
2184 ms.StoreMessageInfo(mi)
2185 }
2186 return ms
2187 }
2188 return mi.MessageOf(x)
2189 }
2190
2191 // Deprecated: Use AutocompletePlacesResponse_Suggestion_PlacePrediction.ProtoReflect.Descriptor instead.
2192 func (*AutocompletePlacesResponse_Suggestion_PlacePrediction) Descriptor() ([]byte, []int) {
2193 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9, 0, 3}
2194 }
2195
2196 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) GetPlace() string {
2197 if x != nil {
2198 return x.Place
2199 }
2200 return ""
2201 }
2202
2203 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) GetPlaceId() string {
2204 if x != nil {
2205 return x.PlaceId
2206 }
2207 return ""
2208 }
2209
2210 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) GetText() *AutocompletePlacesResponse_Suggestion_FormattableText {
2211 if x != nil {
2212 return x.Text
2213 }
2214 return nil
2215 }
2216
2217 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) GetStructuredFormat() *AutocompletePlacesResponse_Suggestion_StructuredFormat {
2218 if x != nil {
2219 return x.StructuredFormat
2220 }
2221 return nil
2222 }
2223
2224 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) GetTypes() []string {
2225 if x != nil {
2226 return x.Types
2227 }
2228 return nil
2229 }
2230
2231 func (x *AutocompletePlacesResponse_Suggestion_PlacePrediction) GetDistanceMeters() int32 {
2232 if x != nil {
2233 return x.DistanceMeters
2234 }
2235 return 0
2236 }
2237
2238 // Prediction results for a Query Autocomplete prediction.
2239 type AutocompletePlacesResponse_Suggestion_QueryPrediction struct {
2240 state protoimpl.MessageState
2241 sizeCache protoimpl.SizeCache
2242 unknownFields protoimpl.UnknownFields
2243
2244 // The predicted text. This text does not represent a Place, but rather a
2245 // text query that could be used in a search endpoint (for example,
2246 // Text Search).
2247 //
2248 // `text` is recommended for developers who wish to show a single UI
2249 // element. Developers who wish to show two separate, but related, UI
2250 // elements may want to use `structured_format` instead. They are two
2251 // different ways to represent a query prediction. Users should not try to
2252 // parse `structured_format` into `text` or vice versa.
2253 //
2254 // May be in mixed languages if the request `input` and `language_code`
2255 // are in different languages or if part of the query does not have a
2256 // translation from the local language to `language_code`.
2257 Text *AutocompletePlacesResponse_Suggestion_FormattableText `protobuf:"bytes,1,opt,name=text,proto3" json:"text,omitempty"`
2258 // A breakdown of the query prediction into main text containing the query
2259 // and secondary text containing additional disambiguating features (such
2260 // as a city or region).
2261 //
2262 // `structured_format` is recommended for developers who wish to show two
2263 // separate, but related, UI elements. Developers who wish to show a
2264 // single UI element may want to use `text` instead. They are two
2265 // different ways to represent a query prediction. Users should not try to
2266 // parse `structured_format` into `text` or vice versa.
2267 StructuredFormat *AutocompletePlacesResponse_Suggestion_StructuredFormat `protobuf:"bytes,2,opt,name=structured_format,json=structuredFormat,proto3" json:"structured_format,omitempty"`
2268 }
2269
2270 func (x *AutocompletePlacesResponse_Suggestion_QueryPrediction) Reset() {
2271 *x = AutocompletePlacesResponse_Suggestion_QueryPrediction{}
2272 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[22]
2273 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2274 ms.StoreMessageInfo(mi)
2275 }
2276
2277 func (x *AutocompletePlacesResponse_Suggestion_QueryPrediction) String() string {
2278 return protoimpl.X.MessageStringOf(x)
2279 }
2280
2281 func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) ProtoMessage() {}
2282
2283 func (x *AutocompletePlacesResponse_Suggestion_QueryPrediction) ProtoReflect() protoreflect.Message {
2284 mi := &file_google_maps_places_v1_places_service_proto_msgTypes[22]
2285 if x != nil {
2286 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
2287 if ms.LoadMessageInfo() == nil {
2288 ms.StoreMessageInfo(mi)
2289 }
2290 return ms
2291 }
2292 return mi.MessageOf(x)
2293 }
2294
2295 // Deprecated: Use AutocompletePlacesResponse_Suggestion_QueryPrediction.ProtoReflect.Descriptor instead.
2296 func (*AutocompletePlacesResponse_Suggestion_QueryPrediction) Descriptor() ([]byte, []int) {
2297 return file_google_maps_places_v1_places_service_proto_rawDescGZIP(), []int{9, 0, 4}
2298 }
2299
2300 func (x *AutocompletePlacesResponse_Suggestion_QueryPrediction) GetText() *AutocompletePlacesResponse_Suggestion_FormattableText {
2301 if x != nil {
2302 return x.Text
2303 }
2304 return nil
2305 }
2306
2307 func (x *AutocompletePlacesResponse_Suggestion_QueryPrediction) GetStructuredFormat() *AutocompletePlacesResponse_Suggestion_StructuredFormat {
2308 if x != nil {
2309 return x.StructuredFormat
2310 }
2311 return nil
2312 }
2313
2314 var File_google_maps_places_v1_places_service_proto protoreflect.FileDescriptor
2315
2316 var file_google_maps_places_v1_places_service_proto_rawDesc = []byte{
2317 0x0a, 0x2a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c,
2318 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x5f, 0x73,
2319 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x15, 0x67, 0x6f,
2320 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73,
2321 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
2322 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2323 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c,
2324 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
2325 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
2326 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f,
2327 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
2328 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x67,
2329 0x65, 0x6f, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x76, 0x69, 0x65, 0x77, 0x70, 0x6f, 0x72, 0x74,
2330 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d,
2331 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f,
2332 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
2333 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d,
2334 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x65, 0x76,
2335 0x5f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
2336 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61,
2337 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x67, 0x65, 0x6f, 0x6d, 0x65, 0x74, 0x72, 0x79, 0x2e,
2338 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x21, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61,
2339 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61,
2340 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2341 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f,
2342 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b,
2343 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63,
2344 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69,
2345 0x66, 0x69, 0x65, 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2e, 0x67, 0x6f, 0x6f,
2346 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f,
2347 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65,
2348 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2b, 0x67, 0x6f, 0x6f,
2349 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f,
2350 0x76, 0x31, 0x2f, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61,
2351 0x72, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2352 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f,
2353 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74,
2354 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c,
2355 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xc1, 0x02, 0x0a, 0x11,
2356 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
2357 0x73, 0x12, 0x30, 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
2358 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
2359 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6f, 0x72, 0x69,
2360 0x67, 0x69, 0x6e, 0x12, 0x47, 0x0a, 0x0b, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x5f, 0x6d, 0x6f,
2361 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2362 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2363 0x2e, 0x54, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01,
2364 0x52, 0x0a, 0x74, 0x72, 0x61, 0x76, 0x65, 0x6c, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x53, 0x0a, 0x0f,
2365 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x18,
2366 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
2367 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f,
2368 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72, 0x73, 0x42, 0x03, 0xe0, 0x41,
2369 0x01, 0x52, 0x0e, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x69, 0x66, 0x69, 0x65, 0x72,
2370 0x73, 0x12, 0x5c, 0x0a, 0x12, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x65,
2371 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e,
2372 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
2373 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65,
2374 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x72, 0x6f,
2375 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x22,
2376 0xa2, 0x06, 0x0a, 0x13, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79,
2377 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75,
2378 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
2379 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b,
2380 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
2381 0x09, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x25, 0x0a,
2382 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
2383 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54,
2384 0x79, 0x70, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64,
2385 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x65, 0x78,
2386 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x34, 0x0a, 0x16, 0x69,
2387 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f,
2388 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x69, 0x6e, 0x63,
2389 0x6c, 0x75, 0x64, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65,
2390 0x73, 0x12, 0x34, 0x0a, 0x16, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x72,
2391 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28,
2392 0x09, 0x52, 0x14, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61,
2393 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f, 0x72,
2394 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28,
2395 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x75, 0x6e,
2396 0x74, 0x12, 0x76, 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65,
2397 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
2398 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c,
2399 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x65,
2400 0x61, 0x72, 0x62, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63, 0x61,
2401 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x42,
2402 0x03, 0xe0, 0x41, 0x02, 0x52, 0x13, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
2403 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x62, 0x0a, 0x0f, 0x72, 0x61, 0x6e,
2404 0x6b, 0x5f, 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x09, 0x20, 0x01,
2405 0x28, 0x0e, 0x32, 0x39, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
2406 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63,
2407 0x68, 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52,
2408 0x61, 0x6e, 0x6b, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x72,
2409 0x61, 0x6e, 0x6b, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x5c, 0x0a,
2410 0x12, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
2411 0x65, 0x72, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2412 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76,
2413 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74,
2414 0x65, 0x72, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e,
2415 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x1a, 0x56, 0x0a, 0x13, 0x4c,
2416 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69,
2417 0x6f, 0x6e, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01,
2418 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
2419 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x6c,
2420 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74,
2421 0x79, 0x70, 0x65, 0x22, 0x4f, 0x0a, 0x0e, 0x52, 0x61, 0x6e, 0x6b, 0x50, 0x72, 0x65, 0x66, 0x65,
2422 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x50, 0x52,
2423 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49,
2424 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e,
2425 0x43, 0x45, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4f, 0x50, 0x55, 0x4c, 0x41, 0x52, 0x49,
2426 0x54, 0x59, 0x10, 0x02, 0x22, 0xa0, 0x01, 0x0a, 0x14, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e,
2427 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a,
2428 0x06, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1c, 0x2e,
2429 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
2430 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x06, 0x70, 0x6c, 0x61,
2431 0x63, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73,
2432 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25,
2433 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61,
2434 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x75,
2435 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x75,
2436 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x22, 0x81, 0x0d, 0x0a, 0x11, 0x53, 0x65, 0x61, 0x72,
2437 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x22, 0x0a,
2438 0x0a, 0x74, 0x65, 0x78, 0x74, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
2439 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x74, 0x65, 0x78, 0x74, 0x51, 0x75, 0x65, 0x72,
2440 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f,
2441 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61,
2442 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e,
2443 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x67,
2444 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x60, 0x0a, 0x0f, 0x72, 0x61, 0x6e, 0x6b, 0x5f,
2445 0x70, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
2446 0x32, 0x37, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70,
2447 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54,
2448 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x52, 0x61, 0x6e, 0x6b, 0x50,
2449 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x72, 0x61, 0x6e, 0x6b, 0x50,
2450 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x69, 0x6e, 0x63,
2451 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09,
2452 0x52, 0x0c, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x12, 0x19,
2453 0x0a, 0x08, 0x6f, 0x70, 0x65, 0x6e, 0x5f, 0x6e, 0x6f, 0x77, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08,
2454 0x52, 0x07, 0x6f, 0x70, 0x65, 0x6e, 0x4e, 0x6f, 0x77, 0x12, 0x1d, 0x0a, 0x0a, 0x6d, 0x69, 0x6e,
2455 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x09, 0x20, 0x01, 0x28, 0x01, 0x52, 0x09, 0x6d,
2456 0x69, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x12, 0x28, 0x0a, 0x10, 0x6d, 0x61, 0x78, 0x5f,
2457 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x0a, 0x20, 0x01,
2458 0x28, 0x05, 0x52, 0x0e, 0x6d, 0x61, 0x78, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x43, 0x6f, 0x75,
2459 0x6e, 0x74, 0x12, 0x44, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x6c, 0x65, 0x76, 0x65,
2460 0x6c, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x21, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2461 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2462 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x52, 0x0b, 0x70, 0x72, 0x69,
2463 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x73, 0x74, 0x72, 0x69,
2464 0x63, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e,
2465 0x67, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x13, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x54,
2466 0x79, 0x70, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x12, 0x5a, 0x0a, 0x0d,
2467 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x62, 0x69, 0x61, 0x73, 0x18, 0x0d, 0x20,
2468 0x01, 0x28, 0x0b, 0x32, 0x35, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
2469 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72,
2470 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f,
2471 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x61, 0x73, 0x52, 0x0c, 0x6c, 0x6f, 0x63, 0x61,
2472 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x61, 0x73, 0x12, 0x6f, 0x0a, 0x14, 0x6c, 0x6f, 0x63, 0x61,
2473 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
2474 0x18, 0x0e, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2475 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53,
2476 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
2477 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63,
2478 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x13, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65,
2479 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x56, 0x0a, 0x0a, 0x65, 0x76, 0x5f,
2480 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e,
2481 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
2482 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74,
2483 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x45, 0x56, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
2484 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09, 0x65, 0x76, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e,
2485 0x73, 0x12, 0x5c, 0x0a, 0x12, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x61, 0x72,
2486 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x10, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e,
2487 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
2488 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72,
2489 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x11, 0x72, 0x6f,
2490 0x75, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12,
2491 0x8b, 0x01, 0x0a, 0x1d, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x6c, 0x6f, 0x6e, 0x67,
2492 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72,
2493 0x73, 0x18, 0x11, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x43, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2494 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2495 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
2496 0x74, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x6c, 0x6f, 0x6e, 0x67, 0x52, 0x6f, 0x75,
2497 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x42, 0x03, 0xe0, 0x41,
2498 0x01, 0x52, 0x1a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x6c, 0x6f, 0x6e, 0x67, 0x52, 0x6f,
2499 0x75, 0x74, 0x65, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x53, 0x0a,
2500 0x24, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70, 0x75, 0x72, 0x65, 0x5f, 0x73, 0x65,
2501 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e,
2502 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01,
2503 0x52, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50, 0x75, 0x72, 0x65, 0x53, 0x65, 0x72,
2504 0x76, 0x69, 0x63, 0x65, 0x41, 0x72, 0x65, 0x61, 0x42, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73,
2505 0x65, 0x73, 0x1a, 0x8a, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42,
2506 0x69, 0x61, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x74, 0x61, 0x6e, 0x67, 0x6c, 0x65,
2507 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
2508 0x67, 0x65, 0x6f, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x70, 0x6f, 0x72,
2509 0x74, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x63, 0x74, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x37,
2510 0x0a, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d,
2511 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61,
2512 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x48, 0x00, 0x52,
2513 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a,
2514 0x58, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72,
2515 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x74, 0x61, 0x6e,
2516 0x67, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2517 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6f, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x56, 0x69, 0x65, 0x77,
2518 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x63, 0x74, 0x61, 0x6e, 0x67, 0x6c,
2519 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x9f, 0x01, 0x0a, 0x09, 0x45, 0x56,
2520 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x3c, 0x0a, 0x18, 0x6d, 0x69, 0x6e, 0x69, 0x6d,
2521 0x75, 0x6d, 0x5f, 0x63, 0x68, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x5f, 0x72, 0x61, 0x74, 0x65,
2522 0x5f, 0x6b, 0x77, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x15,
2523 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x43, 0x68, 0x61, 0x72, 0x67, 0x69, 0x6e, 0x67, 0x52,
2524 0x61, 0x74, 0x65, 0x4b, 0x77, 0x12, 0x54, 0x0a, 0x0f, 0x63, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
2525 0x6f, 0x72, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x26,
2526 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61,
2527 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x56, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74,
2528 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0e, 0x63, 0x6f, 0x6e,
2529 0x6e, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x54, 0x79, 0x70, 0x65, 0x73, 0x1a, 0x5e, 0x0a, 0x1a, 0x53,
2530 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x6c, 0x6f, 0x6e, 0x67, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x50,
2531 0x61, 0x72, 0x61, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x12, 0x40, 0x0a, 0x08, 0x70, 0x6f, 0x6c,
2532 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x6f,
2533 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73,
2534 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x42, 0x03, 0xe0, 0x41,
2535 0x02, 0x52, 0x08, 0x70, 0x6f, 0x6c, 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0x4e, 0x0a, 0x0e, 0x52,
2536 0x61, 0x6e, 0x6b, 0x50, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a,
2537 0x1b, 0x52, 0x41, 0x4e, 0x4b, 0x5f, 0x50, 0x52, 0x45, 0x46, 0x45, 0x52, 0x45, 0x4e, 0x43, 0x45,
2538 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c,
2539 0x0a, 0x08, 0x44, 0x49, 0x53, 0x54, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09,
2540 0x52, 0x45, 0x4c, 0x45, 0x56, 0x41, 0x4e, 0x43, 0x45, 0x10, 0x02, 0x22, 0xf9, 0x01, 0x0a, 0x12,
2541 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
2542 0x73, 0x65, 0x12, 0x34, 0x0a, 0x06, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03,
2543 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
2544 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65,
2545 0x52, 0x06, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x12, 0x52, 0x0a, 0x11, 0x72, 0x6f, 0x75, 0x74,
2546 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x02, 0x20,
2547 0x03, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
2548 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x6f, 0x75, 0x74,
2549 0x69, 0x6e, 0x67, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x52, 0x10, 0x72, 0x6f, 0x75, 0x74,
2550 0x69, 0x6e, 0x67, 0x53, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x59, 0x0a, 0x13,
2551 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x65,
2552 0x6e, 0x74, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2553 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76,
2554 0x31, 0x2e, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x74,
2555 0x65, 0x6e, 0x74, 0x52, 0x12, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x78, 0x74, 0x75, 0x61, 0x6c, 0x43,
2556 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x73, 0x22, 0xd7, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x50,
2557 0x68, 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
2558 0x12, 0x3c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x28,
2559 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x22, 0x0a, 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67,
2560 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x68,
2561 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x25,
2562 0x0a, 0x0c, 0x6d, 0x61, 0x78, 0x5f, 0x77, 0x69, 0x64, 0x74, 0x68, 0x5f, 0x70, 0x78, 0x18, 0x02,
2563 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x6d, 0x61, 0x78, 0x57, 0x69,
2564 0x64, 0x74, 0x68, 0x50, 0x78, 0x12, 0x27, 0x0a, 0x0d, 0x6d, 0x61, 0x78, 0x5f, 0x68, 0x65, 0x69,
2565 0x67, 0x68, 0x74, 0x5f, 0x70, 0x78, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41,
2566 0x01, 0x52, 0x0b, 0x6d, 0x61, 0x78, 0x48, 0x65, 0x69, 0x67, 0x68, 0x74, 0x50, 0x78, 0x12, 0x31,
2567 0x0a, 0x12, 0x73, 0x6b, 0x69, 0x70, 0x5f, 0x68, 0x74, 0x74, 0x70, 0x5f, 0x72, 0x65, 0x64, 0x69,
2568 0x72, 0x65, 0x63, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
2569 0x10, 0x73, 0x6b, 0x69, 0x70, 0x48, 0x74, 0x74, 0x70, 0x52, 0x65, 0x64, 0x69, 0x72, 0x65, 0x63,
2570 0x74, 0x22, 0xaf, 0x01, 0x0a, 0x0a, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61,
2571 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04,
2572 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x75, 0x72,
2573 0x69, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x55, 0x72,
2574 0x69, 0x3a, 0x70, 0xea, 0x41, 0x6d, 0x0a, 0x20, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67,
2575 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x68,
2576 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x30, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73,
2577 0x2f, 0x7b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x2f, 0x70, 0x68, 0x6f, 0x74,
2578 0x6f, 0x73, 0x2f, 0x7b, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65,
2579 0x6e, 0x63, 0x65, 0x7d, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61, 0x2a, 0x0b, 0x70, 0x68, 0x6f, 0x74,
2580 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x73, 0x32, 0x0a, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x4d, 0x65,
2581 0x64, 0x69, 0x61, 0x22, 0xc4, 0x01, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65,
2582 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18,
2583 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x23, 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x70,
2584 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73,
2585 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65,
2586 0x12, 0x28, 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64,
2587 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x61,
2588 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65,
2589 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42,
2590 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65,
2591 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65,
2592 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x73, 0x65,
2593 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x22, 0x9c, 0x08, 0x0a, 0x19, 0x41,
2594 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65,
2595 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x19, 0x0a, 0x05, 0x69, 0x6e, 0x70, 0x75,
2596 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x05, 0x69, 0x6e,
2597 0x70, 0x75, 0x74, 0x12, 0x67, 0x0a, 0x0d, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
2598 0x62, 0x69, 0x61, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x3d, 0x2e, 0x67, 0x6f, 0x6f,
2599 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e,
2600 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50,
2601 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63,
2602 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x61, 0x73, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c,
2603 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x61, 0x73, 0x12, 0x7c, 0x0a, 0x14,
2604 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63,
2605 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x44, 0x2e, 0x67, 0x6f, 0x6f,
2606 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e,
2607 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50,
2608 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x4c, 0x6f, 0x63,
2609 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e,
2610 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x13, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
2611 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x16, 0x69, 0x6e,
2612 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74,
2613 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
2614 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79,
2615 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x37, 0x0a, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65,
2616 0x64, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x05,
2617 0x20, 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75,
2618 0x64, 0x65, 0x64, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x12, 0x28,
2619 0x0a, 0x0d, 0x6c, 0x61, 0x6e, 0x67, 0x75, 0x61, 0x67, 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18,
2620 0x06, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x6c, 0x61, 0x6e, 0x67,
2621 0x75, 0x61, 0x67, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x72, 0x65, 0x67, 0x69,
2622 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
2623 0x41, 0x01, 0x52, 0x0a, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x30,
2624 0x0a, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13,
2625 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74,
2626 0x4c, 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x06, 0x6f, 0x72, 0x69, 0x67, 0x69, 0x6e,
2627 0x12, 0x26, 0x0a, 0x0c, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74,
2628 0x18, 0x09, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x69, 0x6e, 0x70,
2629 0x75, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12, 0x3f, 0x0a, 0x19, 0x69, 0x6e, 0x63, 0x6c,
2630 0x75, 0x64, 0x65, 0x5f, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63,
2631 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01,
2632 0x52, 0x17, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72,
2633 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x28, 0x0a, 0x0d, 0x73, 0x65, 0x73,
2634 0x73, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09,
2635 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x73, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x54, 0x6f,
2636 0x6b, 0x65, 0x6e, 0x12, 0x53, 0x0a, 0x24, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x70,
2637 0x75, 0x72, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61, 0x72, 0x65, 0x61,
2638 0x5f, 0x62, 0x75, 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28,
2639 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x20, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x50,
2640 0x75, 0x72, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x41, 0x72, 0x65, 0x61, 0x42, 0x75,
2641 0x73, 0x69, 0x6e, 0x65, 0x73, 0x73, 0x65, 0x73, 0x1a, 0x8a, 0x01, 0x0a, 0x0c, 0x4c, 0x6f, 0x63,
2642 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x69, 0x61, 0x73, 0x12, 0x39, 0x0a, 0x09, 0x72, 0x65, 0x63,
2643 0x74, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67,
2644 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6f, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x56,
2645 0x69, 0x65, 0x77, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x72, 0x65, 0x63, 0x74, 0x61,
2646 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x18, 0x02,
2647 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
2648 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x69, 0x72,
2649 0x63, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x42, 0x06, 0x0a,
2650 0x04, 0x74, 0x79, 0x70, 0x65, 0x1a, 0x91, 0x01, 0x0a, 0x13, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69,
2651 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a,
2652 0x09, 0x72, 0x65, 0x63, 0x74, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
2653 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x65, 0x6f, 0x2e, 0x74, 0x79,
2654 0x70, 0x65, 0x2e, 0x56, 0x69, 0x65, 0x77, 0x70, 0x6f, 0x72, 0x74, 0x48, 0x00, 0x52, 0x09, 0x72,
2655 0x65, 0x63, 0x74, 0x61, 0x6e, 0x67, 0x6c, 0x65, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x69, 0x72, 0x63,
2656 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2657 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2658 0x2e, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c,
2659 0x65, 0x42, 0x06, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0xd1, 0x0b, 0x0a, 0x1a, 0x41, 0x75,
2660 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73,
2661 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x5e, 0x0a, 0x0b, 0x73, 0x75, 0x67, 0x67,
2662 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3c, 0x2e,
2663 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
2664 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65,
2665 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
2666 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0b, 0x73, 0x75, 0x67,
2667 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x1a, 0xd2, 0x0a, 0x0a, 0x0a, 0x53, 0x75, 0x67,
2668 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x79, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x63, 0x65,
2669 0x5f, 0x70, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28,
2670 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
2671 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f,
2672 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70,
2673 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e,
2674 0x50, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48,
2675 0x00, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69,
2676 0x6f, 0x6e, 0x12, 0x79, 0x0a, 0x10, 0x71, 0x75, 0x65, 0x72, 0x79, 0x5f, 0x70, 0x72, 0x65, 0x64,
2677 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67,
2678 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65,
2679 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
2680 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e,
2681 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x51, 0x75, 0x65, 0x72, 0x79,
2682 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x00, 0x52, 0x0f, 0x71, 0x75,
2683 0x65, 0x72, 0x79, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x4f, 0x0a,
2684 0x0b, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x21, 0x0a, 0x0c,
2685 0x73, 0x74, 0x61, 0x72, 0x74, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x01, 0x20, 0x01,
2686 0x28, 0x05, 0x52, 0x0b, 0x73, 0x74, 0x61, 0x72, 0x74, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x12,
2687 0x1d, 0x0a, 0x0a, 0x65, 0x6e, 0x64, 0x5f, 0x6f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20,
2688 0x01, 0x28, 0x05, 0x52, 0x09, 0x65, 0x6e, 0x64, 0x4f, 0x66, 0x66, 0x73, 0x65, 0x74, 0x1a, 0x89,
2689 0x01, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65,
2690 0x78, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
2691 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x62, 0x0a, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65,
2692 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x48, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
2693 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e,
2694 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63,
2695 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65,
2696 0x73, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x69, 0x6e, 0x67, 0x52, 0x61, 0x6e, 0x67,
2697 0x65, 0x52, 0x07, 0x6d, 0x61, 0x74, 0x63, 0x68, 0x65, 0x73, 0x1a, 0xf2, 0x01, 0x0a, 0x10, 0x53,
2698 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x12,
2699 0x69, 0x0a, 0x09, 0x6d, 0x61, 0x69, 0x6e, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x01, 0x20, 0x01,
2700 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
2701 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63,
2702 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73,
2703 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
2704 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x78, 0x74,
2705 0x52, 0x08, 0x6d, 0x61, 0x69, 0x6e, 0x54, 0x65, 0x78, 0x74, 0x12, 0x73, 0x0a, 0x0e, 0x73, 0x65,
2706 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x65, 0x78, 0x74, 0x18, 0x02, 0x20, 0x01,
2707 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73,
2708 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63,
2709 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73,
2710 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f, 0x6e,
2711 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65, 0x78, 0x74,
2712 0x52, 0x0d, 0x73, 0x65, 0x63, 0x6f, 0x6e, 0x64, 0x61, 0x72, 0x79, 0x54, 0x65, 0x78, 0x74, 0x1a,
2713 0x81, 0x03, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x50, 0x72, 0x65, 0x64, 0x69, 0x63, 0x74,
2714 0x69, 0x6f, 0x6e, 0x12, 0x36, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
2715 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e,
2716 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50,
2717 0x6c, 0x61, 0x63, 0x65, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70,
2718 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70,
2719 0x6c, 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x60, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18, 0x03,
2720 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
2721 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74,
2722 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52,
2723 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69,
2724 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x65,
2725 0x78, 0x74, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x7a, 0x0a, 0x11, 0x73, 0x74, 0x72, 0x75,
2726 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x04, 0x20,
2727 0x01, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70,
2728 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f,
2729 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65,
2730 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69, 0x6f,
2731 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x46, 0x6f, 0x72, 0x6d,
2732 0x61, 0x74, 0x52, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x46, 0x6f,
2733 0x72, 0x6d, 0x61, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x05, 0x20,
2734 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x27, 0x0a, 0x0f, 0x64, 0x69,
2735 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x5f, 0x6d, 0x65, 0x74, 0x65, 0x72, 0x73, 0x18, 0x06, 0x20,
2736 0x01, 0x28, 0x05, 0x52, 0x0e, 0x64, 0x69, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x4d, 0x65, 0x74,
2737 0x65, 0x72, 0x73, 0x1a, 0xef, 0x01, 0x0a, 0x0f, 0x51, 0x75, 0x65, 0x72, 0x79, 0x50, 0x72, 0x65,
2738 0x64, 0x69, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x60, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 0x18,
2739 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
2740 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75,
2741 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73,
2742 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74,
2743 0x69, 0x6f, 0x6e, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x54,
2744 0x65, 0x78, 0x74, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x12, 0x7a, 0x0a, 0x11, 0x73, 0x74, 0x72,
2745 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x02,
2746 0x20, 0x01, 0x28, 0x0b, 0x32, 0x4d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61,
2747 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74,
2748 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52,
2749 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x53, 0x75, 0x67, 0x67, 0x65, 0x73, 0x74, 0x69,
2750 0x6f, 0x6e, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x46, 0x6f, 0x72,
2751 0x6d, 0x61, 0x74, 0x52, 0x10, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x75, 0x72, 0x65, 0x64, 0x46,
2752 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x42, 0x06, 0x0a, 0x04, 0x6b, 0x69, 0x6e, 0x64, 0x32, 0x92, 0x06,
2753 0x0a, 0x06, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x12, 0x8b, 0x01, 0x0a, 0x0c, 0x53, 0x65, 0x61,
2754 0x72, 0x63, 0x68, 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x12, 0x2a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
2755 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76,
2756 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x65,
2757 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
2758 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
2759 0x61, 0x72, 0x63, 0x68, 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
2760 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17, 0x2f,
2761 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68,
2762 0x4e, 0x65, 0x61, 0x72, 0x62, 0x79, 0x12, 0x83, 0x01, 0x0a, 0x0a, 0x53, 0x65, 0x61, 0x72, 0x63,
2763 0x68, 0x54, 0x65, 0x78, 0x74, 0x12, 0x28, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
2764 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65,
2765 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
2766 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c,
2767 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65,
2768 0x78, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x20, 0x82, 0xd3, 0xe4, 0x93,
2769 0x02, 0x1a, 0x3a, 0x01, 0x2a, 0x22, 0x15, 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65,
2770 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x65, 0x78, 0x74, 0x12, 0x92, 0x01, 0x0a,
2771 0x0d, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x12, 0x2b,
2772 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61,
2773 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x4d,
2774 0x65, 0x64, 0x69, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x67, 0x6f,
2775 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73,
2776 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x68, 0x6f, 0x74, 0x6f, 0x4d, 0x65, 0x64, 0x69, 0x61, 0x22, 0x31,
2777 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x24, 0x12, 0x22, 0x2f,
2778 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f,
2779 0x2a, 0x2f, 0x70, 0x68, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x2a, 0x2f, 0x6d, 0x65, 0x64, 0x69, 0x61,
2780 0x7d, 0x12, 0x74, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x26, 0x2e,
2781 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63,
2782 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x65,
2783 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
2784 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c,
2785 0x61, 0x63, 0x65, 0x22, 0x22, 0xda, 0x41, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x82, 0xd3, 0xe4, 0x93,
2786 0x02, 0x15, 0x12, 0x13, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x6c,
2787 0x61, 0x63, 0x65, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9d, 0x01, 0x0a, 0x12, 0x41, 0x75, 0x74, 0x6f,
2788 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x12, 0x30,
2789 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61,
2790 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d, 0x70, 0x6c,
2791 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
2792 0x1a, 0x31, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70,
2793 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x41, 0x75, 0x74, 0x6f, 0x63, 0x6f, 0x6d,
2794 0x70, 0x6c, 0x65, 0x74, 0x65, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
2795 0x6e, 0x73, 0x65, 0x22, 0x22, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x1c, 0x3a, 0x01, 0x2a, 0x22, 0x17,
2796 0x2f, 0x76, 0x31, 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x3a, 0x61, 0x75, 0x74, 0x6f, 0x63,
2797 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x1a, 0x49, 0xca, 0x41, 0x15, 0x70, 0x6c, 0x61, 0x63,
2798 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f,
2799 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77, 0x2e,
2800 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61,
2801 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f,
2802 0x72, 0x6d, 0x42, 0xa3, 0x01, 0x0a, 0x19, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
2803 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x76, 0x31,
2804 0x42, 0x12, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50,
2805 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x37, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
2806 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x61, 0x70, 0x73,
2807 0x2f, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x70, 0x6c,
2808 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0x3b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x70, 0x62, 0xa2,
2809 0x02, 0x06, 0x47, 0x4d, 0x50, 0x53, 0x56, 0x31, 0xaa, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
2810 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x56, 0x31,
2811 0xca, 0x02, 0x15, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d, 0x61, 0x70, 0x73, 0x5c, 0x50,
2812 0x6c, 0x61, 0x63, 0x65, 0x73, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
2813 }
2814
2815 var (
2816 file_google_maps_places_v1_places_service_proto_rawDescOnce sync.Once
2817 file_google_maps_places_v1_places_service_proto_rawDescData = file_google_maps_places_v1_places_service_proto_rawDesc
2818 )
2819
2820 func file_google_maps_places_v1_places_service_proto_rawDescGZIP() []byte {
2821 file_google_maps_places_v1_places_service_proto_rawDescOnce.Do(func() {
2822 file_google_maps_places_v1_places_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_places_v1_places_service_proto_rawDescData)
2823 })
2824 return file_google_maps_places_v1_places_service_proto_rawDescData
2825 }
2826
2827 var file_google_maps_places_v1_places_service_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
2828 var file_google_maps_places_v1_places_service_proto_msgTypes = make([]protoimpl.MessageInfo, 23)
2829 var file_google_maps_places_v1_places_service_proto_goTypes = []any{
2830 (SearchNearbyRequest_RankPreference)(0), // 0: google.maps.places.v1.SearchNearbyRequest.RankPreference
2831 (SearchTextRequest_RankPreference)(0), // 1: google.maps.places.v1.SearchTextRequest.RankPreference
2832 (*RoutingParameters)(nil), // 2: google.maps.places.v1.RoutingParameters
2833 (*SearchNearbyRequest)(nil), // 3: google.maps.places.v1.SearchNearbyRequest
2834 (*SearchNearbyResponse)(nil), // 4: google.maps.places.v1.SearchNearbyResponse
2835 (*SearchTextRequest)(nil), // 5: google.maps.places.v1.SearchTextRequest
2836 (*SearchTextResponse)(nil), // 6: google.maps.places.v1.SearchTextResponse
2837 (*GetPhotoMediaRequest)(nil), // 7: google.maps.places.v1.GetPhotoMediaRequest
2838 (*PhotoMedia)(nil), // 8: google.maps.places.v1.PhotoMedia
2839 (*GetPlaceRequest)(nil), // 9: google.maps.places.v1.GetPlaceRequest
2840 (*AutocompletePlacesRequest)(nil), // 10: google.maps.places.v1.AutocompletePlacesRequest
2841 (*AutocompletePlacesResponse)(nil), // 11: google.maps.places.v1.AutocompletePlacesResponse
2842 (*SearchNearbyRequest_LocationRestriction)(nil), // 12: google.maps.places.v1.SearchNearbyRequest.LocationRestriction
2843 (*SearchTextRequest_LocationBias)(nil), // 13: google.maps.places.v1.SearchTextRequest.LocationBias
2844 (*SearchTextRequest_LocationRestriction)(nil), // 14: google.maps.places.v1.SearchTextRequest.LocationRestriction
2845 (*SearchTextRequest_EVOptions)(nil), // 15: google.maps.places.v1.SearchTextRequest.EVOptions
2846 (*SearchTextRequest_SearchAlongRouteParameters)(nil), // 16: google.maps.places.v1.SearchTextRequest.SearchAlongRouteParameters
2847 (*AutocompletePlacesRequest_LocationBias)(nil), // 17: google.maps.places.v1.AutocompletePlacesRequest.LocationBias
2848 (*AutocompletePlacesRequest_LocationRestriction)(nil), // 18: google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction
2849 (*AutocompletePlacesResponse_Suggestion)(nil), // 19: google.maps.places.v1.AutocompletePlacesResponse.Suggestion
2850 (*AutocompletePlacesResponse_Suggestion_StringRange)(nil), // 20: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange
2851 (*AutocompletePlacesResponse_Suggestion_FormattableText)(nil), // 21: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText
2852 (*AutocompletePlacesResponse_Suggestion_StructuredFormat)(nil), // 22: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat
2853 (*AutocompletePlacesResponse_Suggestion_PlacePrediction)(nil), // 23: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction
2854 (*AutocompletePlacesResponse_Suggestion_QueryPrediction)(nil), // 24: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction
2855 (*latlng.LatLng)(nil), // 25: google.type.LatLng
2856 (TravelMode)(0), // 26: google.maps.places.v1.TravelMode
2857 (*RouteModifiers)(nil), // 27: google.maps.places.v1.RouteModifiers
2858 (RoutingPreference)(0), // 28: google.maps.places.v1.RoutingPreference
2859 (*Place)(nil), // 29: google.maps.places.v1.Place
2860 (*RoutingSummary)(nil), // 30: google.maps.places.v1.RoutingSummary
2861 (PriceLevel)(0), // 31: google.maps.places.v1.PriceLevel
2862 (*ContextualContent)(nil), // 32: google.maps.places.v1.ContextualContent
2863 (*Circle)(nil), // 33: google.maps.places.v1.Circle
2864 (*viewport.Viewport)(nil), // 34: google.geo.type.Viewport
2865 (EVConnectorType)(0), // 35: google.maps.places.v1.EVConnectorType
2866 (*Polyline)(nil), // 36: google.maps.places.v1.Polyline
2867 }
2868 var file_google_maps_places_v1_places_service_proto_depIdxs = []int32{
2869 25, // 0: google.maps.places.v1.RoutingParameters.origin:type_name -> google.type.LatLng
2870 26, // 1: google.maps.places.v1.RoutingParameters.travel_mode:type_name -> google.maps.places.v1.TravelMode
2871 27, // 2: google.maps.places.v1.RoutingParameters.route_modifiers:type_name -> google.maps.places.v1.RouteModifiers
2872 28, // 3: google.maps.places.v1.RoutingParameters.routing_preference:type_name -> google.maps.places.v1.RoutingPreference
2873 12, // 4: google.maps.places.v1.SearchNearbyRequest.location_restriction:type_name -> google.maps.places.v1.SearchNearbyRequest.LocationRestriction
2874 0, // 5: google.maps.places.v1.SearchNearbyRequest.rank_preference:type_name -> google.maps.places.v1.SearchNearbyRequest.RankPreference
2875 2, // 6: google.maps.places.v1.SearchNearbyRequest.routing_parameters:type_name -> google.maps.places.v1.RoutingParameters
2876 29, // 7: google.maps.places.v1.SearchNearbyResponse.places:type_name -> google.maps.places.v1.Place
2877 30, // 8: google.maps.places.v1.SearchNearbyResponse.routing_summaries:type_name -> google.maps.places.v1.RoutingSummary
2878 1, // 9: google.maps.places.v1.SearchTextRequest.rank_preference:type_name -> google.maps.places.v1.SearchTextRequest.RankPreference
2879 31, // 10: google.maps.places.v1.SearchTextRequest.price_levels:type_name -> google.maps.places.v1.PriceLevel
2880 13, // 11: google.maps.places.v1.SearchTextRequest.location_bias:type_name -> google.maps.places.v1.SearchTextRequest.LocationBias
2881 14, // 12: google.maps.places.v1.SearchTextRequest.location_restriction:type_name -> google.maps.places.v1.SearchTextRequest.LocationRestriction
2882 15, // 13: google.maps.places.v1.SearchTextRequest.ev_options:type_name -> google.maps.places.v1.SearchTextRequest.EVOptions
2883 2, // 14: google.maps.places.v1.SearchTextRequest.routing_parameters:type_name -> google.maps.places.v1.RoutingParameters
2884 16, // 15: google.maps.places.v1.SearchTextRequest.search_along_route_parameters:type_name -> google.maps.places.v1.SearchTextRequest.SearchAlongRouteParameters
2885 29, // 16: google.maps.places.v1.SearchTextResponse.places:type_name -> google.maps.places.v1.Place
2886 30, // 17: google.maps.places.v1.SearchTextResponse.routing_summaries:type_name -> google.maps.places.v1.RoutingSummary
2887 32, // 18: google.maps.places.v1.SearchTextResponse.contextual_contents:type_name -> google.maps.places.v1.ContextualContent
2888 17, // 19: google.maps.places.v1.AutocompletePlacesRequest.location_bias:type_name -> google.maps.places.v1.AutocompletePlacesRequest.LocationBias
2889 18, // 20: google.maps.places.v1.AutocompletePlacesRequest.location_restriction:type_name -> google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction
2890 25, // 21: google.maps.places.v1.AutocompletePlacesRequest.origin:type_name -> google.type.LatLng
2891 19, // 22: google.maps.places.v1.AutocompletePlacesResponse.suggestions:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion
2892 33, // 23: google.maps.places.v1.SearchNearbyRequest.LocationRestriction.circle:type_name -> google.maps.places.v1.Circle
2893 34, // 24: google.maps.places.v1.SearchTextRequest.LocationBias.rectangle:type_name -> google.geo.type.Viewport
2894 33, // 25: google.maps.places.v1.SearchTextRequest.LocationBias.circle:type_name -> google.maps.places.v1.Circle
2895 34, // 26: google.maps.places.v1.SearchTextRequest.LocationRestriction.rectangle:type_name -> google.geo.type.Viewport
2896 35, // 27: google.maps.places.v1.SearchTextRequest.EVOptions.connector_types:type_name -> google.maps.places.v1.EVConnectorType
2897 36, // 28: google.maps.places.v1.SearchTextRequest.SearchAlongRouteParameters.polyline:type_name -> google.maps.places.v1.Polyline
2898 34, // 29: google.maps.places.v1.AutocompletePlacesRequest.LocationBias.rectangle:type_name -> google.geo.type.Viewport
2899 33, // 30: google.maps.places.v1.AutocompletePlacesRequest.LocationBias.circle:type_name -> google.maps.places.v1.Circle
2900 34, // 31: google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction.rectangle:type_name -> google.geo.type.Viewport
2901 33, // 32: google.maps.places.v1.AutocompletePlacesRequest.LocationRestriction.circle:type_name -> google.maps.places.v1.Circle
2902 23, // 33: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.place_prediction:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction
2903 24, // 34: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.query_prediction:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction
2904 20, // 35: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText.matches:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StringRange
2905 21, // 36: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat.main_text:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText
2906 21, // 37: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat.secondary_text:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText
2907 21, // 38: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction.text:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText
2908 22, // 39: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.PlacePrediction.structured_format:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat
2909 21, // 40: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction.text:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.FormattableText
2910 22, // 41: google.maps.places.v1.AutocompletePlacesResponse.Suggestion.QueryPrediction.structured_format:type_name -> google.maps.places.v1.AutocompletePlacesResponse.Suggestion.StructuredFormat
2911 3, // 42: google.maps.places.v1.Places.SearchNearby:input_type -> google.maps.places.v1.SearchNearbyRequest
2912 5, // 43: google.maps.places.v1.Places.SearchText:input_type -> google.maps.places.v1.SearchTextRequest
2913 7, // 44: google.maps.places.v1.Places.GetPhotoMedia:input_type -> google.maps.places.v1.GetPhotoMediaRequest
2914 9, // 45: google.maps.places.v1.Places.GetPlace:input_type -> google.maps.places.v1.GetPlaceRequest
2915 10, // 46: google.maps.places.v1.Places.AutocompletePlaces:input_type -> google.maps.places.v1.AutocompletePlacesRequest
2916 4, // 47: google.maps.places.v1.Places.SearchNearby:output_type -> google.maps.places.v1.SearchNearbyResponse
2917 6, // 48: google.maps.places.v1.Places.SearchText:output_type -> google.maps.places.v1.SearchTextResponse
2918 8, // 49: google.maps.places.v1.Places.GetPhotoMedia:output_type -> google.maps.places.v1.PhotoMedia
2919 29, // 50: google.maps.places.v1.Places.GetPlace:output_type -> google.maps.places.v1.Place
2920 11, // 51: google.maps.places.v1.Places.AutocompletePlaces:output_type -> google.maps.places.v1.AutocompletePlacesResponse
2921 47, // [47:52] is the sub-list for method output_type
2922 42, // [42:47] is the sub-list for method input_type
2923 42, // [42:42] is the sub-list for extension type_name
2924 42, // [42:42] is the sub-list for extension extendee
2925 0, // [0:42] is the sub-list for field type_name
2926 }
2927
2928 func init() { file_google_maps_places_v1_places_service_proto_init() }
2929 func file_google_maps_places_v1_places_service_proto_init() {
2930 if File_google_maps_places_v1_places_service_proto != nil {
2931 return
2932 }
2933 file_google_maps_places_v1_contextual_content_proto_init()
2934 file_google_maps_places_v1_ev_charging_proto_init()
2935 file_google_maps_places_v1_geometry_proto_init()
2936 file_google_maps_places_v1_place_proto_init()
2937 file_google_maps_places_v1_polyline_proto_init()
2938 file_google_maps_places_v1_route_modifiers_proto_init()
2939 file_google_maps_places_v1_routing_preference_proto_init()
2940 file_google_maps_places_v1_routing_summary_proto_init()
2941 file_google_maps_places_v1_travel_mode_proto_init()
2942 file_google_maps_places_v1_places_service_proto_msgTypes[10].OneofWrappers = []any{
2943 (*SearchNearbyRequest_LocationRestriction_Circle)(nil),
2944 }
2945 file_google_maps_places_v1_places_service_proto_msgTypes[11].OneofWrappers = []any{
2946 (*SearchTextRequest_LocationBias_Rectangle)(nil),
2947 (*SearchTextRequest_LocationBias_Circle)(nil),
2948 }
2949 file_google_maps_places_v1_places_service_proto_msgTypes[12].OneofWrappers = []any{
2950 (*SearchTextRequest_LocationRestriction_Rectangle)(nil),
2951 }
2952 file_google_maps_places_v1_places_service_proto_msgTypes[15].OneofWrappers = []any{
2953 (*AutocompletePlacesRequest_LocationBias_Rectangle)(nil),
2954 (*AutocompletePlacesRequest_LocationBias_Circle)(nil),
2955 }
2956 file_google_maps_places_v1_places_service_proto_msgTypes[16].OneofWrappers = []any{
2957 (*AutocompletePlacesRequest_LocationRestriction_Rectangle)(nil),
2958 (*AutocompletePlacesRequest_LocationRestriction_Circle)(nil),
2959 }
2960 file_google_maps_places_v1_places_service_proto_msgTypes[17].OneofWrappers = []any{
2961 (*AutocompletePlacesResponse_Suggestion_PlacePrediction_)(nil),
2962 (*AutocompletePlacesResponse_Suggestion_QueryPrediction_)(nil),
2963 }
2964 type x struct{}
2965 out := protoimpl.TypeBuilder{
2966 File: protoimpl.DescBuilder{
2967 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
2968 RawDescriptor: file_google_maps_places_v1_places_service_proto_rawDesc,
2969 NumEnums: 2,
2970 NumMessages: 23,
2971 NumExtensions: 0,
2972 NumServices: 1,
2973 },
2974 GoTypes: file_google_maps_places_v1_places_service_proto_goTypes,
2975 DependencyIndexes: file_google_maps_places_v1_places_service_proto_depIdxs,
2976 EnumInfos: file_google_maps_places_v1_places_service_proto_enumTypes,
2977 MessageInfos: file_google_maps_places_v1_places_service_proto_msgTypes,
2978 }.Build()
2979 File_google_maps_places_v1_places_service_proto = out.File
2980 file_google_maps_places_v1_places_service_proto_rawDesc = nil
2981 file_google_maps_places_v1_places_service_proto_goTypes = nil
2982 file_google_maps_places_v1_places_service_proto_depIdxs = nil
2983 }
2984
2985 // Reference imports to suppress errors if they are not otherwise used.
2986 var _ context.Context
2987 var _ grpc.ClientConnInterface
2988
2989 // This is a compile-time assertion to ensure that this generated file
2990 // is compatible with the grpc package it is being compiled against.
2991 const _ = grpc.SupportPackageIsVersion6
2992
2993 // PlacesClient is the client API for Places service.
2994 //
2995 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
2996 type PlacesClient interface {
2997 // Search for places near locations.
2998 SearchNearby(ctx context.Context, in *SearchNearbyRequest, opts ...grpc.CallOption) (*SearchNearbyResponse, error)
2999 // Text query based place search.
3000 SearchText(ctx context.Context, in *SearchTextRequest, opts ...grpc.CallOption) (*SearchTextResponse, error)
3001 // Get a photo media with a photo reference string.
3002 GetPhotoMedia(ctx context.Context, in *GetPhotoMediaRequest, opts ...grpc.CallOption) (*PhotoMedia, error)
3003 // Get the details of a place based on its resource name, which is a string
3004 // in the `places/{place_id}` format.
3005 GetPlace(ctx context.Context, in *GetPlaceRequest, opts ...grpc.CallOption) (*Place, error)
3006 // Returns predictions for the given input.
3007 AutocompletePlaces(ctx context.Context, in *AutocompletePlacesRequest, opts ...grpc.CallOption) (*AutocompletePlacesResponse, error)
3008 }
3009
3010 type placesClient struct {
3011 cc grpc.ClientConnInterface
3012 }
3013
3014 func NewPlacesClient(cc grpc.ClientConnInterface) PlacesClient {
3015 return &placesClient{cc}
3016 }
3017
3018 func (c *placesClient) SearchNearby(ctx context.Context, in *SearchNearbyRequest, opts ...grpc.CallOption) (*SearchNearbyResponse, error) {
3019 out := new(SearchNearbyResponse)
3020 err := c.cc.Invoke(ctx, "/google.maps.places.v1.Places/SearchNearby", in, out, opts...)
3021 if err != nil {
3022 return nil, err
3023 }
3024 return out, nil
3025 }
3026
3027 func (c *placesClient) SearchText(ctx context.Context, in *SearchTextRequest, opts ...grpc.CallOption) (*SearchTextResponse, error) {
3028 out := new(SearchTextResponse)
3029 err := c.cc.Invoke(ctx, "/google.maps.places.v1.Places/SearchText", in, out, opts...)
3030 if err != nil {
3031 return nil, err
3032 }
3033 return out, nil
3034 }
3035
3036 func (c *placesClient) GetPhotoMedia(ctx context.Context, in *GetPhotoMediaRequest, opts ...grpc.CallOption) (*PhotoMedia, error) {
3037 out := new(PhotoMedia)
3038 err := c.cc.Invoke(ctx, "/google.maps.places.v1.Places/GetPhotoMedia", in, out, opts...)
3039 if err != nil {
3040 return nil, err
3041 }
3042 return out, nil
3043 }
3044
3045 func (c *placesClient) GetPlace(ctx context.Context, in *GetPlaceRequest, opts ...grpc.CallOption) (*Place, error) {
3046 out := new(Place)
3047 err := c.cc.Invoke(ctx, "/google.maps.places.v1.Places/GetPlace", in, out, opts...)
3048 if err != nil {
3049 return nil, err
3050 }
3051 return out, nil
3052 }
3053
3054 func (c *placesClient) AutocompletePlaces(ctx context.Context, in *AutocompletePlacesRequest, opts ...grpc.CallOption) (*AutocompletePlacesResponse, error) {
3055 out := new(AutocompletePlacesResponse)
3056 err := c.cc.Invoke(ctx, "/google.maps.places.v1.Places/AutocompletePlaces", in, out, opts...)
3057 if err != nil {
3058 return nil, err
3059 }
3060 return out, nil
3061 }
3062
3063 // PlacesServer is the server API for Places service.
3064 type PlacesServer interface {
3065 // Search for places near locations.
3066 SearchNearby(context.Context, *SearchNearbyRequest) (*SearchNearbyResponse, error)
3067 // Text query based place search.
3068 SearchText(context.Context, *SearchTextRequest) (*SearchTextResponse, error)
3069 // Get a photo media with a photo reference string.
3070 GetPhotoMedia(context.Context, *GetPhotoMediaRequest) (*PhotoMedia, error)
3071 // Get the details of a place based on its resource name, which is a string
3072 // in the `places/{place_id}` format.
3073 GetPlace(context.Context, *GetPlaceRequest) (*Place, error)
3074 // Returns predictions for the given input.
3075 AutocompletePlaces(context.Context, *AutocompletePlacesRequest) (*AutocompletePlacesResponse, error)
3076 }
3077
3078 // UnimplementedPlacesServer can be embedded to have forward compatible implementations.
3079 type UnimplementedPlacesServer struct {
3080 }
3081
3082 func (*UnimplementedPlacesServer) SearchNearby(context.Context, *SearchNearbyRequest) (*SearchNearbyResponse, error) {
3083 return nil, status.Errorf(codes.Unimplemented, "method SearchNearby not implemented")
3084 }
3085 func (*UnimplementedPlacesServer) SearchText(context.Context, *SearchTextRequest) (*SearchTextResponse, error) {
3086 return nil, status.Errorf(codes.Unimplemented, "method SearchText not implemented")
3087 }
3088 func (*UnimplementedPlacesServer) GetPhotoMedia(context.Context, *GetPhotoMediaRequest) (*PhotoMedia, error) {
3089 return nil, status.Errorf(codes.Unimplemented, "method GetPhotoMedia not implemented")
3090 }
3091 func (*UnimplementedPlacesServer) GetPlace(context.Context, *GetPlaceRequest) (*Place, error) {
3092 return nil, status.Errorf(codes.Unimplemented, "method GetPlace not implemented")
3093 }
3094 func (*UnimplementedPlacesServer) AutocompletePlaces(context.Context, *AutocompletePlacesRequest) (*AutocompletePlacesResponse, error) {
3095 return nil, status.Errorf(codes.Unimplemented, "method AutocompletePlaces not implemented")
3096 }
3097
3098 func RegisterPlacesServer(s *grpc.Server, srv PlacesServer) {
3099 s.RegisterService(&_Places_serviceDesc, srv)
3100 }
3101
3102 func _Places_SearchNearby_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3103 in := new(SearchNearbyRequest)
3104 if err := dec(in); err != nil {
3105 return nil, err
3106 }
3107 if interceptor == nil {
3108 return srv.(PlacesServer).SearchNearby(ctx, in)
3109 }
3110 info := &grpc.UnaryServerInfo{
3111 Server: srv,
3112 FullMethod: "/google.maps.places.v1.Places/SearchNearby",
3113 }
3114 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3115 return srv.(PlacesServer).SearchNearby(ctx, req.(*SearchNearbyRequest))
3116 }
3117 return interceptor(ctx, in, info, handler)
3118 }
3119
3120 func _Places_SearchText_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3121 in := new(SearchTextRequest)
3122 if err := dec(in); err != nil {
3123 return nil, err
3124 }
3125 if interceptor == nil {
3126 return srv.(PlacesServer).SearchText(ctx, in)
3127 }
3128 info := &grpc.UnaryServerInfo{
3129 Server: srv,
3130 FullMethod: "/google.maps.places.v1.Places/SearchText",
3131 }
3132 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3133 return srv.(PlacesServer).SearchText(ctx, req.(*SearchTextRequest))
3134 }
3135 return interceptor(ctx, in, info, handler)
3136 }
3137
3138 func _Places_GetPhotoMedia_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3139 in := new(GetPhotoMediaRequest)
3140 if err := dec(in); err != nil {
3141 return nil, err
3142 }
3143 if interceptor == nil {
3144 return srv.(PlacesServer).GetPhotoMedia(ctx, in)
3145 }
3146 info := &grpc.UnaryServerInfo{
3147 Server: srv,
3148 FullMethod: "/google.maps.places.v1.Places/GetPhotoMedia",
3149 }
3150 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3151 return srv.(PlacesServer).GetPhotoMedia(ctx, req.(*GetPhotoMediaRequest))
3152 }
3153 return interceptor(ctx, in, info, handler)
3154 }
3155
3156 func _Places_GetPlace_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3157 in := new(GetPlaceRequest)
3158 if err := dec(in); err != nil {
3159 return nil, err
3160 }
3161 if interceptor == nil {
3162 return srv.(PlacesServer).GetPlace(ctx, in)
3163 }
3164 info := &grpc.UnaryServerInfo{
3165 Server: srv,
3166 FullMethod: "/google.maps.places.v1.Places/GetPlace",
3167 }
3168 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3169 return srv.(PlacesServer).GetPlace(ctx, req.(*GetPlaceRequest))
3170 }
3171 return interceptor(ctx, in, info, handler)
3172 }
3173
3174 func _Places_AutocompletePlaces_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
3175 in := new(AutocompletePlacesRequest)
3176 if err := dec(in); err != nil {
3177 return nil, err
3178 }
3179 if interceptor == nil {
3180 return srv.(PlacesServer).AutocompletePlaces(ctx, in)
3181 }
3182 info := &grpc.UnaryServerInfo{
3183 Server: srv,
3184 FullMethod: "/google.maps.places.v1.Places/AutocompletePlaces",
3185 }
3186 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
3187 return srv.(PlacesServer).AutocompletePlaces(ctx, req.(*AutocompletePlacesRequest))
3188 }
3189 return interceptor(ctx, in, info, handler)
3190 }
3191
3192 var _Places_serviceDesc = grpc.ServiceDesc{
3193 ServiceName: "google.maps.places.v1.Places",
3194 HandlerType: (*PlacesServer)(nil),
3195 Methods: []grpc.MethodDesc{
3196 {
3197 MethodName: "SearchNearby",
3198 Handler: _Places_SearchNearby_Handler,
3199 },
3200 {
3201 MethodName: "SearchText",
3202 Handler: _Places_SearchText_Handler,
3203 },
3204 {
3205 MethodName: "GetPhotoMedia",
3206 Handler: _Places_GetPhotoMedia_Handler,
3207 },
3208 {
3209 MethodName: "GetPlace",
3210 Handler: _Places_GetPlace_Handler,
3211 },
3212 {
3213 MethodName: "AutocompletePlaces",
3214 Handler: _Places_AutocompletePlaces_Handler,
3215 },
3216 },
3217 Streams: []grpc.StreamDesc{},
3218 Metadata: "google/maps/places/v1/places_service.proto",
3219 }