Debian Codegraph @

maps/areainsights/apiv1/areainsightspb/area_insights_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/areainsights/v1/area_insights_service.proto
20
21 package areainsightspb
22
23 import (
24 context "context"
25 _ "google.golang.org/genproto/googleapis/api/annotations"
26 latlng "google.golang.org/genproto/googleapis/type/latlng"
27 grpc "google.golang.org/grpc"
28 codes "google.golang.org/grpc/codes"
29 status "google.golang.org/grpc/status"
30 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
31 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
32 reflect "reflect"
33 sync "sync"
34 )
35
36 const (
37 // Verify that this generated code is sufficiently up-to-date.
38 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
39 // Verify that runtime/protoimpl is sufficiently up-to-date.
40 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
41 )
42
43 // Supported insights.
44 type Insight int32
45
46 const (
47 // Not Specified.
48 Insight_INSIGHT_UNSPECIFIED Insight = 0
49 // Count insight.
50 //
51 // When this insight is specified ComputeInsights returns the number of
52 // places that match the specified filter criteria.
53 //
54 // Example request:
55 // ```
56 //
57 // {
58 // "insights": ["INSIGHT_COUNT"],
59 // "filter": {
60 // "locationFilter": {
61 // "region": {
62 // "place": "places/ChIJPV4oX_65j4ARVW8IJ6IJUYs"
63 // }
64 // },
65 // "typeFilter": {
66 // "includedTypes": ["restaurant"]
67 // },
68 // "operatingStatus": ["OPERATING_STATUS_OPERATIONAL"],
69 // "priceLevels": [
70 // "PRICE_LEVEL_FREE",
71 // "PRICE_LEVEL_INEXPENSIVE"
72 // ],
73 // "ratingFilter": {
74 // "minRating": 4.0
75 // }
76 // }
77 // }
78 //
79 // ```
80 //
81 // Example response:
82 // ```
83 //
84 // {
85 // "count": 1234
86 // }
87 //
88 // ```
89 Insight_INSIGHT_COUNT Insight = 1
90 // Return Places
91 //
92 // When this insight is specified ComputeInsights returns places IDs
93 // that match the specified filter criteria.
94 //
95 // Example request:
96 // ```
97 //
98 // {
99 // "insights": ["INSIGHT_PLACES"],
100 // "filter": {
101 // "locationFilter": {
102 // "region": {
103 // "place": "places/ChIJPV4oX_65j4ARVW8IJ6IJUYs"
104 // }
105 // },
106 // "typeFilter": {
107 // "includedTypes": ["restaurant"]
108 // },
109 // "operatingStatus": ["OPERATING_STATUS_OPERATIONAL"],
110 // "priceLevels": [
111 // "PRICE_LEVEL_FREE",
112 // "PRICE_LEVEL_INEXPENSIVE"
113 // ],
114 // "ratingFilter": {
115 // "minRating": 4.0
116 // }
117 // }
118 // }
119 //
120 // ```
121 //
122 // Example response:
123 // ```
124 //
125 // {
126 // "placeInsights": [
127 // {"place": "places/ABC"},
128 // {"place": "places/PQR"},
129 // {"place": "places/XYZ"}
130 // ]
131 // }
132 //
133 // ```
134 Insight_INSIGHT_PLACES Insight = 2
135 )
136
137 // Enum value maps for Insight.
138 var (
139 Insight_name = map[int32]string{
140 0: "INSIGHT_UNSPECIFIED",
141 1: "INSIGHT_COUNT",
142 2: "INSIGHT_PLACES",
143 }
144 Insight_value = map[string]int32{
145 "INSIGHT_UNSPECIFIED": 0,
146 "INSIGHT_COUNT": 1,
147 "INSIGHT_PLACES": 2,
148 }
149 )
150
151 func (x Insight) Enum() *Insight {
152 p := new(Insight)
153 *p = x
154 return p
155 }
156
157 func (x Insight) String() string {
158 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
159 }
160
161 func (Insight) Descriptor() protoreflect.EnumDescriptor {
162 return file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes[0].Descriptor()
163 }
164
165 func (Insight) Type() protoreflect.EnumType {
166 return &file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes[0]
167 }
168
169 func (x Insight) Number() protoreflect.EnumNumber {
170 return protoreflect.EnumNumber(x)
171 }
172
173 // Deprecated: Use Insight.Descriptor instead.
174 func (Insight) EnumDescriptor() ([]byte, []int) {
175 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{0}
176 }
177
178 // Operating status of the place.
179 type OperatingStatus int32
180
181 const (
182 // Not specified. This value should not be used.
183 OperatingStatus_OPERATING_STATUS_UNSPECIFIED OperatingStatus = 0
184 // The place is operational and its open during its defined hours.
185 OperatingStatus_OPERATING_STATUS_OPERATIONAL OperatingStatus = 1
186 // The Place is no longer in business.
187 OperatingStatus_OPERATING_STATUS_PERMANENTLY_CLOSED OperatingStatus = 3
188 // The place is temporarily closed and expected to reopen in the future.
189 OperatingStatus_OPERATING_STATUS_TEMPORARILY_CLOSED OperatingStatus = 4
190 )
191
192 // Enum value maps for OperatingStatus.
193 var (
194 OperatingStatus_name = map[int32]string{
195 0: "OPERATING_STATUS_UNSPECIFIED",
196 1: "OPERATING_STATUS_OPERATIONAL",
197 3: "OPERATING_STATUS_PERMANENTLY_CLOSED",
198 4: "OPERATING_STATUS_TEMPORARILY_CLOSED",
199 }
200 OperatingStatus_value = map[string]int32{
201 "OPERATING_STATUS_UNSPECIFIED": 0,
202 "OPERATING_STATUS_OPERATIONAL": 1,
203 "OPERATING_STATUS_PERMANENTLY_CLOSED": 3,
204 "OPERATING_STATUS_TEMPORARILY_CLOSED": 4,
205 }
206 )
207
208 func (x OperatingStatus) Enum() *OperatingStatus {
209 p := new(OperatingStatus)
210 *p = x
211 return p
212 }
213
214 func (x OperatingStatus) String() string {
215 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
216 }
217
218 func (OperatingStatus) Descriptor() protoreflect.EnumDescriptor {
219 return file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes[1].Descriptor()
220 }
221
222 func (OperatingStatus) Type() protoreflect.EnumType {
223 return &file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes[1]
224 }
225
226 func (x OperatingStatus) Number() protoreflect.EnumNumber {
227 return protoreflect.EnumNumber(x)
228 }
229
230 // Deprecated: Use OperatingStatus.Descriptor instead.
231 func (OperatingStatus) EnumDescriptor() ([]byte, []int) {
232 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{1}
233 }
234
235 // Price level of the place.
236 type PriceLevel int32
237
238 const (
239 // Not specified. This value should not be used.
240 PriceLevel_PRICE_LEVEL_UNSPECIFIED PriceLevel = 0
241 // Place provides free services.
242 PriceLevel_PRICE_LEVEL_FREE PriceLevel = 1
243 // Place provides inexpensive services.
244 PriceLevel_PRICE_LEVEL_INEXPENSIVE PriceLevel = 2
245 // Place provides moderately priced services.
246 PriceLevel_PRICE_LEVEL_MODERATE PriceLevel = 3
247 // Place provides expensive services.
248 PriceLevel_PRICE_LEVEL_EXPENSIVE PriceLevel = 4
249 // Place provides very expensive services.
250 PriceLevel_PRICE_LEVEL_VERY_EXPENSIVE PriceLevel = 5
251 )
252
253 // Enum value maps for PriceLevel.
254 var (
255 PriceLevel_name = map[int32]string{
256 0: "PRICE_LEVEL_UNSPECIFIED",
257 1: "PRICE_LEVEL_FREE",
258 2: "PRICE_LEVEL_INEXPENSIVE",
259 3: "PRICE_LEVEL_MODERATE",
260 4: "PRICE_LEVEL_EXPENSIVE",
261 5: "PRICE_LEVEL_VERY_EXPENSIVE",
262 }
263 PriceLevel_value = map[string]int32{
264 "PRICE_LEVEL_UNSPECIFIED": 0,
265 "PRICE_LEVEL_FREE": 1,
266 "PRICE_LEVEL_INEXPENSIVE": 2,
267 "PRICE_LEVEL_MODERATE": 3,
268 "PRICE_LEVEL_EXPENSIVE": 4,
269 "PRICE_LEVEL_VERY_EXPENSIVE": 5,
270 }
271 )
272
273 func (x PriceLevel) Enum() *PriceLevel {
274 p := new(PriceLevel)
275 *p = x
276 return p
277 }
278
279 func (x PriceLevel) String() string {
280 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
281 }
282
283 func (PriceLevel) Descriptor() protoreflect.EnumDescriptor {
284 return file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes[2].Descriptor()
285 }
286
287 func (PriceLevel) Type() protoreflect.EnumType {
288 return &file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes[2]
289 }
290
291 func (x PriceLevel) Number() protoreflect.EnumNumber {
292 return protoreflect.EnumNumber(x)
293 }
294
295 // Deprecated: Use PriceLevel.Descriptor instead.
296 func (PriceLevel) EnumDescriptor() ([]byte, []int) {
297 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{2}
298 }
299
300 // Request for the ComputeInsights RPC.
301 type ComputeInsightsRequest struct {
302 state protoimpl.MessageState
303 sizeCache protoimpl.SizeCache
304 unknownFields protoimpl.UnknownFields
305
306 // Required. Insights to compute. Currently only INSIGHT_COUNT and
307 // INSIGHT_PLACES are supported.
308 Insights []Insight `protobuf:"varint,4,rep,packed,name=insights,proto3,enum=google.maps.areainsights.v1.Insight" json:"insights,omitempty"`
309 // Required. Insight filter.
310 Filter *Filter `protobuf:"bytes,5,opt,name=filter,proto3" json:"filter,omitempty"`
311 }
312
313 func (x *ComputeInsightsRequest) Reset() {
314 *x = ComputeInsightsRequest{}
315 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[0]
316 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
317 ms.StoreMessageInfo(mi)
318 }
319
320 func (x *ComputeInsightsRequest) String() string {
321 return protoimpl.X.MessageStringOf(x)
322 }
323
324 func (*ComputeInsightsRequest) ProtoMessage() {}
325
326 func (x *ComputeInsightsRequest) ProtoReflect() protoreflect.Message {
327 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[0]
328 if x != nil {
329 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
330 if ms.LoadMessageInfo() == nil {
331 ms.StoreMessageInfo(mi)
332 }
333 return ms
334 }
335 return mi.MessageOf(x)
336 }
337
338 // Deprecated: Use ComputeInsightsRequest.ProtoReflect.Descriptor instead.
339 func (*ComputeInsightsRequest) Descriptor() ([]byte, []int) {
340 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{0}
341 }
342
343 func (x *ComputeInsightsRequest) GetInsights() []Insight {
344 if x != nil {
345 return x.Insights
346 }
347 return nil
348 }
349
350 func (x *ComputeInsightsRequest) GetFilter() *Filter {
351 if x != nil {
352 return x.Filter
353 }
354 return nil
355 }
356
357 // Response for the ComputeInsights RPC.
358 type ComputeInsightsResponse struct {
359 state protoimpl.MessageState
360 sizeCache protoimpl.SizeCache
361 unknownFields protoimpl.UnknownFields
362
363 // Result for Insights.INSIGHT_COUNT.
364 Count *int64 `protobuf:"varint,1,opt,name=count,proto3,oneof" json:"count,omitempty"`
365 // Result for Insights.INSIGHT_PLACES.
366 PlaceInsights []*PlaceInsight `protobuf:"bytes,5,rep,name=place_insights,json=placeInsights,proto3" json:"place_insights,omitempty"`
367 }
368
369 func (x *ComputeInsightsResponse) Reset() {
370 *x = ComputeInsightsResponse{}
371 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[1]
372 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
373 ms.StoreMessageInfo(mi)
374 }
375
376 func (x *ComputeInsightsResponse) String() string {
377 return protoimpl.X.MessageStringOf(x)
378 }
379
380 func (*ComputeInsightsResponse) ProtoMessage() {}
381
382 func (x *ComputeInsightsResponse) ProtoReflect() protoreflect.Message {
383 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[1]
384 if x != nil {
385 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
386 if ms.LoadMessageInfo() == nil {
387 ms.StoreMessageInfo(mi)
388 }
389 return ms
390 }
391 return mi.MessageOf(x)
392 }
393
394 // Deprecated: Use ComputeInsightsResponse.ProtoReflect.Descriptor instead.
395 func (*ComputeInsightsResponse) Descriptor() ([]byte, []int) {
396 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{1}
397 }
398
399 func (x *ComputeInsightsResponse) GetCount() int64 {
400 if x != nil && x.Count != nil {
401 return *x.Count
402 }
403 return 0
404 }
405
406 func (x *ComputeInsightsResponse) GetPlaceInsights() []*PlaceInsight {
407 if x != nil {
408 return x.PlaceInsights
409 }
410 return nil
411 }
412
413 // Holds information about a place
414 type PlaceInsight struct {
415 state protoimpl.MessageState
416 sizeCache protoimpl.SizeCache
417 unknownFields protoimpl.UnknownFields
418
419 // The unique identifier of the place. This resource name can be used to
420 // retrieve details about the place using the [Places
421 // API](https://developers.google.com/maps/documentation/places/web-service/reference/rest/v1/places/get).
422 Place string `protobuf:"bytes,1,opt,name=place,proto3" json:"place,omitempty"`
423 }
424
425 func (x *PlaceInsight) Reset() {
426 *x = PlaceInsight{}
427 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[2]
428 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
429 ms.StoreMessageInfo(mi)
430 }
431
432 func (x *PlaceInsight) String() string {
433 return protoimpl.X.MessageStringOf(x)
434 }
435
436 func (*PlaceInsight) ProtoMessage() {}
437
438 func (x *PlaceInsight) ProtoReflect() protoreflect.Message {
439 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[2]
440 if x != nil {
441 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
442 if ms.LoadMessageInfo() == nil {
443 ms.StoreMessageInfo(mi)
444 }
445 return ms
446 }
447 return mi.MessageOf(x)
448 }
449
450 // Deprecated: Use PlaceInsight.ProtoReflect.Descriptor instead.
451 func (*PlaceInsight) Descriptor() ([]byte, []int) {
452 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{2}
453 }
454
455 func (x *PlaceInsight) GetPlace() string {
456 if x != nil {
457 return x.Place
458 }
459 return ""
460 }
461
462 // Filters for the ComputeInsights RPC.
463 type Filter struct {
464 state protoimpl.MessageState
465 sizeCache protoimpl.SizeCache
466 unknownFields protoimpl.UnknownFields
467
468 // Required. Restricts results to places which are located in the area
469 // specified by location filters.
470 LocationFilter *LocationFilter `protobuf:"bytes,1,opt,name=location_filter,json=locationFilter,proto3" json:"location_filter,omitempty"`
471 // Required. Place type filters.
472 TypeFilter *TypeFilter `protobuf:"bytes,2,opt,name=type_filter,json=typeFilter,proto3" json:"type_filter,omitempty"`
473 // Optional. Restricts results to places whose operating status is included on
474 // this list. If operating_status is not set, OPERATING_STATUS_OPERATIONAL is
475 // used as default.
476 OperatingStatus []OperatingStatus `protobuf:"varint,3,rep,packed,name=operating_status,json=operatingStatus,proto3,enum=google.maps.areainsights.v1.OperatingStatus" json:"operating_status,omitempty"`
477 // Optional. Restricts results to places whose price level is included on this
478 // list. If `price_levels` is not set, all price levels are included in the
479 // results.
480 PriceLevels []PriceLevel `protobuf:"varint,4,rep,packed,name=price_levels,json=priceLevels,proto3,enum=google.maps.areainsights.v1.PriceLevel" json:"price_levels,omitempty"`
481 // Optional. Restricts results to places whose average user ratings are in the
482 // range specified by rating_filter. If rating_filter is not set, all ratings
483 // are included in the result.
484 RatingFilter *RatingFilter `protobuf:"bytes,5,opt,name=rating_filter,json=ratingFilter,proto3" json:"rating_filter,omitempty"`
485 }
486
487 func (x *Filter) Reset() {
488 *x = Filter{}
489 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[3]
490 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
491 ms.StoreMessageInfo(mi)
492 }
493
494 func (x *Filter) String() string {
495 return protoimpl.X.MessageStringOf(x)
496 }
497
498 func (*Filter) ProtoMessage() {}
499
500 func (x *Filter) ProtoReflect() protoreflect.Message {
501 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[3]
502 if x != nil {
503 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
504 if ms.LoadMessageInfo() == nil {
505 ms.StoreMessageInfo(mi)
506 }
507 return ms
508 }
509 return mi.MessageOf(x)
510 }
511
512 // Deprecated: Use Filter.ProtoReflect.Descriptor instead.
513 func (*Filter) Descriptor() ([]byte, []int) {
514 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{3}
515 }
516
517 func (x *Filter) GetLocationFilter() *LocationFilter {
518 if x != nil {
519 return x.LocationFilter
520 }
521 return nil
522 }
523
524 func (x *Filter) GetTypeFilter() *TypeFilter {
525 if x != nil {
526 return x.TypeFilter
527 }
528 return nil
529 }
530
531 func (x *Filter) GetOperatingStatus() []OperatingStatus {
532 if x != nil {
533 return x.OperatingStatus
534 }
535 return nil
536 }
537
538 func (x *Filter) GetPriceLevels() []PriceLevel {
539 if x != nil {
540 return x.PriceLevels
541 }
542 return nil
543 }
544
545 func (x *Filter) GetRatingFilter() *RatingFilter {
546 if x != nil {
547 return x.RatingFilter
548 }
549 return nil
550 }
551
552 // Location filters.
553 //
554 // Specifies the area of interest for the insight.
555 type LocationFilter struct {
556 state protoimpl.MessageState
557 sizeCache protoimpl.SizeCache
558 unknownFields protoimpl.UnknownFields
559
560 // One of the following must be specified.
561 //
562 // Types that are assignable to Area:
563 //
564 // *LocationFilter_Circle_
565 // *LocationFilter_Region_
566 // *LocationFilter_CustomArea_
567 Area isLocationFilter_Area `protobuf_oneof:"area"`
568 }
569
570 func (x *LocationFilter) Reset() {
571 *x = LocationFilter{}
572 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[4]
573 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
574 ms.StoreMessageInfo(mi)
575 }
576
577 func (x *LocationFilter) String() string {
578 return protoimpl.X.MessageStringOf(x)
579 }
580
581 func (*LocationFilter) ProtoMessage() {}
582
583 func (x *LocationFilter) ProtoReflect() protoreflect.Message {
584 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[4]
585 if x != nil {
586 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
587 if ms.LoadMessageInfo() == nil {
588 ms.StoreMessageInfo(mi)
589 }
590 return ms
591 }
592 return mi.MessageOf(x)
593 }
594
595 // Deprecated: Use LocationFilter.ProtoReflect.Descriptor instead.
596 func (*LocationFilter) Descriptor() ([]byte, []int) {
597 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{4}
598 }
599
600 func (m *LocationFilter) GetArea() isLocationFilter_Area {
601 if m != nil {
602 return m.Area
603 }
604 return nil
605 }
606
607 func (x *LocationFilter) GetCircle() *LocationFilter_Circle {
608 if x, ok := x.GetArea().(*LocationFilter_Circle_); ok {
609 return x.Circle
610 }
611 return nil
612 }
613
614 func (x *LocationFilter) GetRegion() *LocationFilter_Region {
615 if x, ok := x.GetArea().(*LocationFilter_Region_); ok {
616 return x.Region
617 }
618 return nil
619 }
620
621 func (x *LocationFilter) GetCustomArea() *LocationFilter_CustomArea {
622 if x, ok := x.GetArea().(*LocationFilter_CustomArea_); ok {
623 return x.CustomArea
624 }
625 return nil
626 }
627
628 type isLocationFilter_Area interface {
629 isLocationFilter_Area()
630 }
631
632 type LocationFilter_Circle_ struct {
633 // Area as a circle.
634 Circle *LocationFilter_Circle `protobuf:"bytes,1,opt,name=circle,proto3,oneof"`
635 }
636
637 type LocationFilter_Region_ struct {
638 // Area as region.
639 Region *LocationFilter_Region `protobuf:"bytes,2,opt,name=region,proto3,oneof"`
640 }
641
642 type LocationFilter_CustomArea_ struct {
643 // Custom area specified by a polygon.
644 CustomArea *LocationFilter_CustomArea `protobuf:"bytes,3,opt,name=custom_area,json=customArea,proto3,oneof"`
645 }
646
647 func (*LocationFilter_Circle_) isLocationFilter_Area() {}
648
649 func (*LocationFilter_Region_) isLocationFilter_Area() {}
650
651 func (*LocationFilter_CustomArea_) isLocationFilter_Area() {}
652
653 // Place type filters.
654 //
655 // Only Place types from
656 // [Table
657 // a](https://developers.google.com/maps/documentation/places/web-service/place-types#table-a)
658 // are supported.
659 //
660 // A place can only have a single primary type associated with it. For example,
661 // the primary type might be "mexican_restaurant" or "steak_house". Use
662 // included_primary_types and excluded_primary_types to filter the results on a
663 // place's primary type.
664 //
665 // A place can also have multiple type values associated with it. For example a
666 // restaurant might have the following types: "seafood_restaurant",
667 // "restaurant", "food", "point_of_interest", "establishment". Use
668 // included_types and excluded_types to filter the results on the list of types
669 // associated with a place.
670 //
671 // If a search is specified with multiple type restrictions, only places that
672 // satisfy all of the restrictions are returned. For example, if you specify
673 // {"included_types": ["restaurant"], "excluded_primary_types":
674 // ["steak_house"]}, the returned places provide "restaurant" related services
675 // but do not operate primarily as a "steak_house".
676 //
677 // If there are any conflicting types, i.e. a type appears in both
678 // included_types and excluded_types types or included_primary_types and
679 // excluded_primary_types, an INVALID_ARGUMENT error is returned.
680 //
681 // One of included_types or included_primary_types must be set.
682 type TypeFilter struct {
683 state protoimpl.MessageState
684 sizeCache protoimpl.SizeCache
685 unknownFields protoimpl.UnknownFields
686
687 // Optional. Included Place types.
688 IncludedTypes []string `protobuf:"bytes,1,rep,name=included_types,json=includedTypes,proto3" json:"included_types,omitempty"`
689 // Optional. Excluded Place types.
690 ExcludedTypes []string `protobuf:"bytes,2,rep,name=excluded_types,json=excludedTypes,proto3" json:"excluded_types,omitempty"`
691 // Optional. Included primary Place types.
692 IncludedPrimaryTypes []string `protobuf:"bytes,3,rep,name=included_primary_types,json=includedPrimaryTypes,proto3" json:"included_primary_types,omitempty"`
693 // Optional. Excluded primary Place types.
694 ExcludedPrimaryTypes []string `protobuf:"bytes,4,rep,name=excluded_primary_types,json=excludedPrimaryTypes,proto3" json:"excluded_primary_types,omitempty"`
695 }
696
697 func (x *TypeFilter) Reset() {
698 *x = TypeFilter{}
699 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[5]
700 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
701 ms.StoreMessageInfo(mi)
702 }
703
704 func (x *TypeFilter) String() string {
705 return protoimpl.X.MessageStringOf(x)
706 }
707
708 func (*TypeFilter) ProtoMessage() {}
709
710 func (x *TypeFilter) ProtoReflect() protoreflect.Message {
711 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[5]
712 if x != nil {
713 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
714 if ms.LoadMessageInfo() == nil {
715 ms.StoreMessageInfo(mi)
716 }
717 return ms
718 }
719 return mi.MessageOf(x)
720 }
721
722 // Deprecated: Use TypeFilter.ProtoReflect.Descriptor instead.
723 func (*TypeFilter) Descriptor() ([]byte, []int) {
724 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{5}
725 }
726
727 func (x *TypeFilter) GetIncludedTypes() []string {
728 if x != nil {
729 return x.IncludedTypes
730 }
731 return nil
732 }
733
734 func (x *TypeFilter) GetExcludedTypes() []string {
735 if x != nil {
736 return x.ExcludedTypes
737 }
738 return nil
739 }
740
741 func (x *TypeFilter) GetIncludedPrimaryTypes() []string {
742 if x != nil {
743 return x.IncludedPrimaryTypes
744 }
745 return nil
746 }
747
748 func (x *TypeFilter) GetExcludedPrimaryTypes() []string {
749 if x != nil {
750 return x.ExcludedPrimaryTypes
751 }
752 return nil
753 }
754
755 // Average user rating filters.
756 type RatingFilter struct {
757 state protoimpl.MessageState
758 sizeCache protoimpl.SizeCache
759 unknownFields protoimpl.UnknownFields
760
761 // Optional. Restricts results to places whose average user rating is greater
762 // than or equal to min_rating. Values must be between 1.0 and 5.0.
763 MinRating *float32 `protobuf:"fixed32,5,opt,name=min_rating,json=minRating,proto3,oneof" json:"min_rating,omitempty"`
764 // Optional. Restricts results to places whose average user rating is strictly
765 // less than or equal to max_rating. Values must be between 1.0 and 5.0.
766 MaxRating *float32 `protobuf:"fixed32,6,opt,name=max_rating,json=maxRating,proto3,oneof" json:"max_rating,omitempty"`
767 }
768
769 func (x *RatingFilter) Reset() {
770 *x = RatingFilter{}
771 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[6]
772 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
773 ms.StoreMessageInfo(mi)
774 }
775
776 func (x *RatingFilter) String() string {
777 return protoimpl.X.MessageStringOf(x)
778 }
779
780 func (*RatingFilter) ProtoMessage() {}
781
782 func (x *RatingFilter) ProtoReflect() protoreflect.Message {
783 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[6]
784 if x != nil {
785 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
786 if ms.LoadMessageInfo() == nil {
787 ms.StoreMessageInfo(mi)
788 }
789 return ms
790 }
791 return mi.MessageOf(x)
792 }
793
794 // Deprecated: Use RatingFilter.ProtoReflect.Descriptor instead.
795 func (*RatingFilter) Descriptor() ([]byte, []int) {
796 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{6}
797 }
798
799 func (x *RatingFilter) GetMinRating() float32 {
800 if x != nil && x.MinRating != nil {
801 return *x.MinRating
802 }
803 return 0
804 }
805
806 func (x *RatingFilter) GetMaxRating() float32 {
807 if x != nil && x.MaxRating != nil {
808 return *x.MaxRating
809 }
810 return 0
811 }
812
813 // A circle is defined by a center point and radius in meters.
814 type LocationFilter_Circle struct {
815 state protoimpl.MessageState
816 sizeCache protoimpl.SizeCache
817 unknownFields protoimpl.UnknownFields
818
819 // The center of the circle.
820 //
821 // Types that are assignable to Center:
822 //
823 // *LocationFilter_Circle_LatLng
824 // *LocationFilter_Circle_Place
825 Center isLocationFilter_Circle_Center `protobuf_oneof:"center"`
826 // Optional. The radius of the circle in meters
827 Radius int32 `protobuf:"varint,3,opt,name=radius,proto3" json:"radius,omitempty"`
828 }
829
830 func (x *LocationFilter_Circle) Reset() {
831 *x = LocationFilter_Circle{}
832 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[7]
833 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
834 ms.StoreMessageInfo(mi)
835 }
836
837 func (x *LocationFilter_Circle) String() string {
838 return protoimpl.X.MessageStringOf(x)
839 }
840
841 func (*LocationFilter_Circle) ProtoMessage() {}
842
843 func (x *LocationFilter_Circle) ProtoReflect() protoreflect.Message {
844 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[7]
845 if x != nil {
846 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
847 if ms.LoadMessageInfo() == nil {
848 ms.StoreMessageInfo(mi)
849 }
850 return ms
851 }
852 return mi.MessageOf(x)
853 }
854
855 // Deprecated: Use LocationFilter_Circle.ProtoReflect.Descriptor instead.
856 func (*LocationFilter_Circle) Descriptor() ([]byte, []int) {
857 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{4, 0}
858 }
859
860 func (m *LocationFilter_Circle) GetCenter() isLocationFilter_Circle_Center {
861 if m != nil {
862 return m.Center
863 }
864 return nil
865 }
866
867 func (x *LocationFilter_Circle) GetLatLng() *latlng.LatLng {
868 if x, ok := x.GetCenter().(*LocationFilter_Circle_LatLng); ok {
869 return x.LatLng
870 }
871 return nil
872 }
873
874 func (x *LocationFilter_Circle) GetPlace() string {
875 if x, ok := x.GetCenter().(*LocationFilter_Circle_Place); ok {
876 return x.Place
877 }
878 return ""
879 }
880
881 func (x *LocationFilter_Circle) GetRadius() int32 {
882 if x != nil {
883 return x.Radius
884 }
885 return 0
886 }
887
888 type isLocationFilter_Circle_Center interface {
889 isLocationFilter_Circle_Center()
890 }
891
892 type LocationFilter_Circle_LatLng struct {
893 // The latitude and longitude of the center of the circle.
894 LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3,oneof"`
895 }
896
897 type LocationFilter_Circle_Place struct {
898 // **Format:** Must be in the format `places/PLACE_ID`, where `PLACE_ID`
899 // is the unique identifier of a place. For example:
900 // `places/ChIJgUbEo8cfqokR5lP9_Wh_DaM`.
901 Place string `protobuf:"bytes,2,opt,name=place,proto3,oneof"`
902 }
903
904 func (*LocationFilter_Circle_LatLng) isLocationFilter_Circle_Center() {}
905
906 func (*LocationFilter_Circle_Place) isLocationFilter_Circle_Center() {}
907
908 // A region is a geographic boundary such as: cities, postal codes, counties,
909 // states, etc.
910 type LocationFilter_Region struct {
911 state protoimpl.MessageState
912 sizeCache protoimpl.SizeCache
913 unknownFields protoimpl.UnknownFields
914
915 // Defines a geographic region. Only one type of region (e.g. place) can
916 // specified at a time.
917 //
918 // Types that are assignable to Region:
919 //
920 // *LocationFilter_Region_Place
921 Region isLocationFilter_Region_Region `protobuf_oneof:"region"`
922 }
923
924 func (x *LocationFilter_Region) Reset() {
925 *x = LocationFilter_Region{}
926 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[8]
927 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
928 ms.StoreMessageInfo(mi)
929 }
930
931 func (x *LocationFilter_Region) String() string {
932 return protoimpl.X.MessageStringOf(x)
933 }
934
935 func (*LocationFilter_Region) ProtoMessage() {}
936
937 func (x *LocationFilter_Region) ProtoReflect() protoreflect.Message {
938 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[8]
939 if x != nil {
940 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
941 if ms.LoadMessageInfo() == nil {
942 ms.StoreMessageInfo(mi)
943 }
944 return ms
945 }
946 return mi.MessageOf(x)
947 }
948
949 // Deprecated: Use LocationFilter_Region.ProtoReflect.Descriptor instead.
950 func (*LocationFilter_Region) Descriptor() ([]byte, []int) {
951 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{4, 1}
952 }
953
954 func (m *LocationFilter_Region) GetRegion() isLocationFilter_Region_Region {
955 if m != nil {
956 return m.Region
957 }
958 return nil
959 }
960
961 func (x *LocationFilter_Region) GetPlace() string {
962 if x, ok := x.GetRegion().(*LocationFilter_Region_Place); ok {
963 return x.Place
964 }
965 return ""
966 }
967
968 type isLocationFilter_Region_Region interface {
969 isLocationFilter_Region_Region()
970 }
971
972 type LocationFilter_Region_Place struct {
973 // The unique identifier of a specific geographic region.
974 Place string `protobuf:"bytes,1,opt,name=place,proto3,oneof"`
975 }
976
977 func (*LocationFilter_Region_Place) isLocationFilter_Region_Region() {}
978
979 // Custom Area.
980 type LocationFilter_CustomArea struct {
981 state protoimpl.MessageState
982 sizeCache protoimpl.SizeCache
983 unknownFields protoimpl.UnknownFields
984
985 // Required. The custom area represented as a polygon
986 Polygon *LocationFilter_CustomArea_Polygon `protobuf:"bytes,1,opt,name=polygon,proto3" json:"polygon,omitempty"`
987 }
988
989 func (x *LocationFilter_CustomArea) Reset() {
990 *x = LocationFilter_CustomArea{}
991 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[9]
992 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
993 ms.StoreMessageInfo(mi)
994 }
995
996 func (x *LocationFilter_CustomArea) String() string {
997 return protoimpl.X.MessageStringOf(x)
998 }
999
1000 func (*LocationFilter_CustomArea) ProtoMessage() {}
1001
1002 func (x *LocationFilter_CustomArea) ProtoReflect() protoreflect.Message {
1003 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[9]
1004 if x != nil {
1005 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1006 if ms.LoadMessageInfo() == nil {
1007 ms.StoreMessageInfo(mi)
1008 }
1009 return ms
1010 }
1011 return mi.MessageOf(x)
1012 }
1013
1014 // Deprecated: Use LocationFilter_CustomArea.ProtoReflect.Descriptor instead.
1015 func (*LocationFilter_CustomArea) Descriptor() ([]byte, []int) {
1016 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{4, 2}
1017 }
1018
1019 func (x *LocationFilter_CustomArea) GetPolygon() *LocationFilter_CustomArea_Polygon {
1020 if x != nil {
1021 return x.Polygon
1022 }
1023 return nil
1024 }
1025
1026 // A polygon is represented by a series of connected coordinates in an
1027 // counterclockwise ordered sequence. The coordinates form a closed loop and
1028 // define a filled region. The first and last coordinates are equivalent,
1029 // and they must contain identical values. The format is a simplified
1030 // version of GeoJSON polygons (we only support one counterclockwise
1031 // exterior ring).
1032 type LocationFilter_CustomArea_Polygon struct {
1033 state protoimpl.MessageState
1034 sizeCache protoimpl.SizeCache
1035 unknownFields protoimpl.UnknownFields
1036
1037 // Optional. The coordinates that define the polygon.
1038 Coordinates []*latlng.LatLng `protobuf:"bytes,1,rep,name=coordinates,proto3" json:"coordinates,omitempty"`
1039 }
1040
1041 func (x *LocationFilter_CustomArea_Polygon) Reset() {
1042 *x = LocationFilter_CustomArea_Polygon{}
1043 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[10]
1044 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1045 ms.StoreMessageInfo(mi)
1046 }
1047
1048 func (x *LocationFilter_CustomArea_Polygon) String() string {
1049 return protoimpl.X.MessageStringOf(x)
1050 }
1051
1052 func (*LocationFilter_CustomArea_Polygon) ProtoMessage() {}
1053
1054 func (x *LocationFilter_CustomArea_Polygon) ProtoReflect() protoreflect.Message {
1055 mi := &file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[10]
1056 if x != nil {
1057 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
1058 if ms.LoadMessageInfo() == nil {
1059 ms.StoreMessageInfo(mi)
1060 }
1061 return ms
1062 }
1063 return mi.MessageOf(x)
1064 }
1065
1066 // Deprecated: Use LocationFilter_CustomArea_Polygon.ProtoReflect.Descriptor instead.
1067 func (*LocationFilter_CustomArea_Polygon) Descriptor() ([]byte, []int) {
1068 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP(), []int{4, 2, 0}
1069 }
1070
1071 func (x *LocationFilter_CustomArea_Polygon) GetCoordinates() []*latlng.LatLng {
1072 if x != nil {
1073 return x.Coordinates
1074 }
1075 return nil
1076 }
1077
1078 var File_google_maps_areainsights_v1_area_insights_service_proto protoreflect.FileDescriptor
1079
1080 var file_google_maps_areainsights_v1_area_insights_service_proto_rawDesc = []byte{
1081 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x61, 0x72,
1082 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x61, 0x72,
1083 0x65, 0x61, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x5f, 0x73, 0x65, 0x72, 0x76,
1084 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1b, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1085 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67,
1086 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61,
1087 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70,
1088 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
1089 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
1090 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f,
1091 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19,
1092 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75,
1093 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
1094 0x65, 0x2f, 0x74, 0x79, 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72,
1095 0x6f, 0x74, 0x6f, 0x22, 0xa1, 0x01, 0x0a, 0x16, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x49,
1096 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x45,
1097 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e,
1098 0x32, 0x24, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61,
1099 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49,
1100 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x69, 0x6e, 0x73,
1101 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x40, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18,
1102 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
1103 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73,
1104 0x2e, 0x76, 0x31, 0x2e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
1105 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0x90, 0x01, 0x0a, 0x17, 0x43, 0x6f, 0x6d, 0x70,
1106 0x75, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
1107 0x6e, 0x73, 0x65, 0x12, 0x19, 0x0a, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01,
1108 0x28, 0x03, 0x48, 0x00, 0x52, 0x05, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x88, 0x01, 0x01, 0x12, 0x50,
1109 0x0a, 0x0e, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73,
1110 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x29, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1111 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74,
1112 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68,
1113 0x74, 0x52, 0x0d, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73,
1114 0x42, 0x08, 0x0a, 0x06, 0x5f, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x22, 0x46, 0x0a, 0x0c, 0x50, 0x6c,
1115 0x61, 0x63, 0x65, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x12, 0x36, 0x0a, 0x05, 0x70, 0x6c,
1116 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, 0x0a, 0x1b,
1117 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
1118 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x52, 0x05, 0x70, 0x6c, 0x61,
1119 0x63, 0x65, 0x22, 0xb6, 0x03, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x59, 0x0a,
1120 0x0f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72,
1121 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
1122 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74,
1123 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c,
1124 0x74, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0e, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69,
1125 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4d, 0x0a, 0x0b, 0x74, 0x79, 0x70, 0x65,
1126 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 0x2e,
1127 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61,
1128 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x79, 0x70, 0x65,
1129 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x74, 0x79, 0x70,
1130 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x5c, 0x0a, 0x10, 0x6f, 0x70, 0x65, 0x72, 0x61,
1131 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28,
1132 0x0e, 0x32, 0x2c, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
1133 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e,
1134 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x42,
1135 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x6f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x53,
1136 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x4f, 0x0a, 0x0c, 0x70, 0x72, 0x69, 0x63, 0x65, 0x5f, 0x6c,
1137 0x65, 0x76, 0x65, 0x6c, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x67, 0x6f,
1138 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e,
1139 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c,
1140 0x65, 0x76, 0x65, 0x6c, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x70, 0x72, 0x69, 0x63, 0x65,
1141 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x73, 0x12, 0x53, 0x0a, 0x0d, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67,
1142 0x5f, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x29, 0x2e,
1143 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61,
1144 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x61, 0x74, 0x69,
1145 0x6e, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0c, 0x72,
1146 0x61, 0x74, 0x69, 0x6e, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x22, 0xae, 0x05, 0x0a, 0x0e,
1147 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x4c,
1148 0x0a, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32,
1149 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65,
1150 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63,
1151 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x69, 0x72, 0x63,
1152 0x6c, 0x65, 0x48, 0x00, 0x52, 0x06, 0x63, 0x69, 0x72, 0x63, 0x6c, 0x65, 0x12, 0x4c, 0x0a, 0x06,
1153 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x32, 0x2e, 0x67,
1154 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69,
1155 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f, 0x63, 0x61, 0x74,
1156 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e,
1157 0x48, 0x00, 0x52, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x59, 0x0a, 0x0b, 0x63, 0x75,
1158 0x73, 0x74, 0x6f, 0x6d, 0x5f, 0x61, 0x72, 0x65, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
1159 0x36, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72,
1160 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,
1161 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x75, 0x73,
1162 0x74, 0x6f, 0x6d, 0x41, 0x72, 0x65, 0x61, 0x48, 0x00, 0x52, 0x0a, 0x63, 0x75, 0x73, 0x74, 0x6f,
1163 0x6d, 0x41, 0x72, 0x65, 0x61, 0x1a, 0x99, 0x01, 0x0a, 0x06, 0x43, 0x69, 0x72, 0x63, 0x6c, 0x65,
1164 0x12, 0x2e, 0x0a, 0x07, 0x6c, 0x61, 0x74, 0x5f, 0x6c, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28,
1165 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e,
1166 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x48, 0x00, 0x52, 0x06, 0x6c, 0x61, 0x74, 0x4c, 0x6e, 0x67,
1167 0x12, 0x38, 0x0a, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
1168 0x20, 0xfa, 0x41, 0x1d, 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f,
1169 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x63,
1170 0x65, 0x48, 0x00, 0x52, 0x05, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x06, 0x72, 0x61,
1171 0x64, 0x69, 0x75, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52,
1172 0x06, 0x72, 0x61, 0x64, 0x69, 0x75, 0x73, 0x42, 0x08, 0x0a, 0x06, 0x63, 0x65, 0x6e, 0x74, 0x65,
1173 0x72, 0x1a, 0x4c, 0x0a, 0x06, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x12, 0x38, 0x0a, 0x05, 0x70,
1174 0x6c, 0x61, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x20, 0xfa, 0x41, 0x1d, 0x0a,
1175 0x1b, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70,
1176 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x48, 0x00, 0x52, 0x05,
1177 0x70, 0x6c, 0x61, 0x63, 0x65, 0x42, 0x08, 0x0a, 0x06, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x1a,
1178 0xb2, 0x01, 0x0a, 0x0a, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x41, 0x72, 0x65, 0x61, 0x12, 0x5d,
1179 0x0a, 0x07, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32,
1180 0x3e, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72,
1181 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x4c, 0x6f,
1182 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x2e, 0x43, 0x75, 0x73,
1183 0x74, 0x6f, 0x6d, 0x41, 0x72, 0x65, 0x61, 0x2e, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x42,
1184 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x70, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x1a, 0x45, 0x0a,
1185 0x07, 0x50, 0x6f, 0x6c, 0x79, 0x67, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, 0x0b, 0x63, 0x6f, 0x6f, 0x72,
1186 0x64, 0x69, 0x6e, 0x61, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e,
1187 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c,
1188 0x6e, 0x67, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0b, 0x63, 0x6f, 0x6f, 0x72, 0x64, 0x69, 0x6e,
1189 0x61, 0x74, 0x65, 0x73, 0x42, 0x06, 0x0a, 0x04, 0x61, 0x72, 0x65, 0x61, 0x22, 0xda, 0x01, 0x0a,
1190 0x0a, 0x54, 0x79, 0x70, 0x65, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2a, 0x0a, 0x0e, 0x69,
1191 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x01, 0x20,
1192 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
1193 0x65, 0x64, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x2a, 0x0a, 0x0e, 0x65, 0x78, 0x63, 0x6c, 0x75,
1194 0x64, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x42,
1195 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54, 0x79,
1196 0x70, 0x65, 0x73, 0x12, 0x39, 0x0a, 0x16, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f,
1197 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x03, 0x20,
1198 0x03, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x14, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64,
1199 0x65, 0x64, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x39,
1200 0x0a, 0x16, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61,
1201 0x72, 0x79, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x09, 0x42, 0x03,
1202 0xe0, 0x41, 0x01, 0x52, 0x14, 0x65, 0x78, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x50, 0x72, 0x69,
1203 0x6d, 0x61, 0x72, 0x79, 0x54, 0x79, 0x70, 0x65, 0x73, 0x22, 0x7e, 0x0a, 0x0c, 0x52, 0x61, 0x74,
1204 0x69, 0x6e, 0x67, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x27, 0x0a, 0x0a, 0x6d, 0x69, 0x6e,
1205 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x18, 0x05, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0,
1206 0x41, 0x01, 0x48, 0x00, 0x52, 0x09, 0x6d, 0x69, 0x6e, 0x52, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x88,
1207 0x01, 0x01, 0x12, 0x27, 0x0a, 0x0a, 0x6d, 0x61, 0x78, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67,
1208 0x18, 0x06, 0x20, 0x01, 0x28, 0x02, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x01, 0x52, 0x09, 0x6d,
1209 0x61, 0x78, 0x52, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b, 0x5f,
1210 0x6d, 0x69, 0x6e, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x42, 0x0d, 0x0a, 0x0b, 0x5f, 0x6d,
1211 0x61, 0x78, 0x5f, 0x72, 0x61, 0x74, 0x69, 0x6e, 0x67, 0x2a, 0x49, 0x0a, 0x07, 0x49, 0x6e, 0x73,
1212 0x69, 0x67, 0x68, 0x74, 0x12, 0x17, 0x0a, 0x13, 0x49, 0x4e, 0x53, 0x49, 0x47, 0x48, 0x54, 0x5f,
1213 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a,
1214 0x0d, 0x49, 0x4e, 0x53, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x10, 0x01,
1215 0x12, 0x12, 0x0a, 0x0e, 0x49, 0x4e, 0x53, 0x49, 0x47, 0x48, 0x54, 0x5f, 0x50, 0x4c, 0x41, 0x43,
1216 0x45, 0x53, 0x10, 0x02, 0x2a, 0xa7, 0x01, 0x0a, 0x0f, 0x4f, 0x70, 0x65, 0x72, 0x61, 0x74, 0x69,
1217 0x6e, 0x67, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x20, 0x0a, 0x1c, 0x4f, 0x50, 0x45, 0x52,
1218 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x55, 0x4e, 0x53,
1219 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x20, 0x0a, 0x1c, 0x4f, 0x50,
1220 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x4f,
1221 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x41, 0x4c, 0x10, 0x01, 0x12, 0x27, 0x0a, 0x23,
1222 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49, 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53,
1223 0x5f, 0x50, 0x45, 0x52, 0x4d, 0x41, 0x4e, 0x45, 0x4e, 0x54, 0x4c, 0x59, 0x5f, 0x43, 0x4c, 0x4f,
1224 0x53, 0x45, 0x44, 0x10, 0x03, 0x12, 0x27, 0x0a, 0x23, 0x4f, 0x50, 0x45, 0x52, 0x41, 0x54, 0x49,
1225 0x4e, 0x47, 0x5f, 0x53, 0x54, 0x41, 0x54, 0x55, 0x53, 0x5f, 0x54, 0x45, 0x4d, 0x50, 0x4f, 0x52,
1226 0x41, 0x52, 0x49, 0x4c, 0x59, 0x5f, 0x43, 0x4c, 0x4f, 0x53, 0x45, 0x44, 0x10, 0x04, 0x2a, 0xb1,
1227 0x01, 0x0a, 0x0a, 0x50, 0x72, 0x69, 0x63, 0x65, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x1b, 0x0a,
1228 0x17, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x55, 0x4e, 0x53,
1229 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x52,
1230 0x49, 0x43, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x46, 0x52, 0x45, 0x45, 0x10, 0x01,
1231 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f,
1232 0x49, 0x4e, 0x45, 0x58, 0x50, 0x45, 0x4e, 0x53, 0x49, 0x56, 0x45, 0x10, 0x02, 0x12, 0x18, 0x0a,
1233 0x14, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x4d, 0x4f, 0x44,
1234 0x45, 0x52, 0x41, 0x54, 0x45, 0x10, 0x03, 0x12, 0x19, 0x0a, 0x15, 0x50, 0x52, 0x49, 0x43, 0x45,
1235 0x5f, 0x4c, 0x45, 0x56, 0x45, 0x4c, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x4e, 0x53, 0x49, 0x56, 0x45,
1236 0x10, 0x04, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x52, 0x49, 0x43, 0x45, 0x5f, 0x4c, 0x45, 0x56, 0x45,
1237 0x4c, 0x5f, 0x56, 0x45, 0x52, 0x59, 0x5f, 0x45, 0x58, 0x50, 0x45, 0x4e, 0x53, 0x49, 0x56, 0x45,
1238 0x10, 0x05, 0x32, 0xfe, 0x01, 0x0a, 0x0c, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x73, 0x69, 0x67,
1239 0x68, 0x74, 0x73, 0x12, 0x9c, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x49,
1240 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x12, 0x33, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1241 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68,
1242 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x73,
1243 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x34, 0x2e, 0x67,
1244 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69,
1245 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x75,
1246 0x74, 0x65, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
1247 0x73, 0x65, 0x22, 0x1e, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x18, 0x3a, 0x01, 0x2a, 0x22, 0x13, 0x2f,
1248 0x76, 0x31, 0x3a, 0x63, 0x6f, 0x6d, 0x70, 0x75, 0x74, 0x65, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68,
1249 0x74, 0x73, 0x1a, 0x4f, 0xca, 0x41, 0x1b, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67,
1250 0x68, 0x74, 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
1251 0x6f, 0x6d, 0xd2, 0x41, 0x2e, 0x68, 0x74, 0x74, 0x70, 0x73, 0x3a, 0x2f, 0x2f, 0x77, 0x77, 0x77,
1252 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f,
1253 0x61, 0x75, 0x74, 0x68, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2d, 0x70, 0x6c, 0x61, 0x74, 0x66,
1254 0x6f, 0x72, 0x6d, 0x42, 0xfd, 0x01, 0xea, 0x41, 0x30, 0x0a, 0x1b, 0x70, 0x6c, 0x61, 0x63, 0x65,
1255 0x73, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d,
1256 0x2f, 0x50, 0x6c, 0x61, 0x63, 0x65, 0x12, 0x11, 0x70, 0x6c, 0x61, 0x63, 0x65, 0x73, 0x2f, 0x7b,
1257 0x70, 0x6c, 0x61, 0x63, 0x65, 0x5f, 0x69, 0x64, 0x7d, 0x0a, 0x1f, 0x63, 0x6f, 0x6d, 0x2e, 0x67,
1258 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x61, 0x72, 0x65, 0x61, 0x69,
1259 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x41, 0x72, 0x65, 0x61,
1260 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x50,
1261 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f,
1262 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x61, 0x70, 0x73,
1263 0x2f, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x2f, 0x61, 0x70,
1264 0x69, 0x76, 0x31, 0x2f, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73,
1265 0x70, 0x62, 0x3b, 0x61, 0x72, 0x65, 0x61, 0x69, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73, 0x70,
1266 0x62, 0xa2, 0x02, 0x03, 0x4d, 0x41, 0x49, 0xaa, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
1267 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68,
1268 0x74, 0x73, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x4d,
1269 0x61, 0x70, 0x73, 0x5c, 0x41, 0x72, 0x65, 0x61, 0x49, 0x6e, 0x73, 0x69, 0x67, 0x68, 0x74, 0x73,
1270 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
1271 }
1272
1273 var (
1274 file_google_maps_areainsights_v1_area_insights_service_proto_rawDescOnce sync.Once
1275 file_google_maps_areainsights_v1_area_insights_service_proto_rawDescData = file_google_maps_areainsights_v1_area_insights_service_proto_rawDesc
1276 )
1277
1278 func file_google_maps_areainsights_v1_area_insights_service_proto_rawDescGZIP() []byte {
1279 file_google_maps_areainsights_v1_area_insights_service_proto_rawDescOnce.Do(func() {
1280 file_google_maps_areainsights_v1_area_insights_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_areainsights_v1_area_insights_service_proto_rawDescData)
1281 })
1282 return file_google_maps_areainsights_v1_area_insights_service_proto_rawDescData
1283 }
1284
1285 var file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
1286 var file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
1287 var file_google_maps_areainsights_v1_area_insights_service_proto_goTypes = []any{
1288 (Insight)(0), // 0: google.maps.areainsights.v1.Insight
1289 (OperatingStatus)(0), // 1: google.maps.areainsights.v1.OperatingStatus
1290 (PriceLevel)(0), // 2: google.maps.areainsights.v1.PriceLevel
1291 (*ComputeInsightsRequest)(nil), // 3: google.maps.areainsights.v1.ComputeInsightsRequest
1292 (*ComputeInsightsResponse)(nil), // 4: google.maps.areainsights.v1.ComputeInsightsResponse
1293 (*PlaceInsight)(nil), // 5: google.maps.areainsights.v1.PlaceInsight
1294 (*Filter)(nil), // 6: google.maps.areainsights.v1.Filter
1295 (*LocationFilter)(nil), // 7: google.maps.areainsights.v1.LocationFilter
1296 (*TypeFilter)(nil), // 8: google.maps.areainsights.v1.TypeFilter
1297 (*RatingFilter)(nil), // 9: google.maps.areainsights.v1.RatingFilter
1298 (*LocationFilter_Circle)(nil), // 10: google.maps.areainsights.v1.LocationFilter.Circle
1299 (*LocationFilter_Region)(nil), // 11: google.maps.areainsights.v1.LocationFilter.Region
1300 (*LocationFilter_CustomArea)(nil), // 12: google.maps.areainsights.v1.LocationFilter.CustomArea
1301 (*LocationFilter_CustomArea_Polygon)(nil), // 13: google.maps.areainsights.v1.LocationFilter.CustomArea.Polygon
1302 (*latlng.LatLng)(nil), // 14: google.type.LatLng
1303 }
1304 var file_google_maps_areainsights_v1_area_insights_service_proto_depIdxs = []int32{
1305 0, // 0: google.maps.areainsights.v1.ComputeInsightsRequest.insights:type_name -> google.maps.areainsights.v1.Insight
1306 6, // 1: google.maps.areainsights.v1.ComputeInsightsRequest.filter:type_name -> google.maps.areainsights.v1.Filter
1307 5, // 2: google.maps.areainsights.v1.ComputeInsightsResponse.place_insights:type_name -> google.maps.areainsights.v1.PlaceInsight
1308 7, // 3: google.maps.areainsights.v1.Filter.location_filter:type_name -> google.maps.areainsights.v1.LocationFilter
1309 8, // 4: google.maps.areainsights.v1.Filter.type_filter:type_name -> google.maps.areainsights.v1.TypeFilter
1310 1, // 5: google.maps.areainsights.v1.Filter.operating_status:type_name -> google.maps.areainsights.v1.OperatingStatus
1311 2, // 6: google.maps.areainsights.v1.Filter.price_levels:type_name -> google.maps.areainsights.v1.PriceLevel
1312 9, // 7: google.maps.areainsights.v1.Filter.rating_filter:type_name -> google.maps.areainsights.v1.RatingFilter
1313 10, // 8: google.maps.areainsights.v1.LocationFilter.circle:type_name -> google.maps.areainsights.v1.LocationFilter.Circle
1314 11, // 9: google.maps.areainsights.v1.LocationFilter.region:type_name -> google.maps.areainsights.v1.LocationFilter.Region
1315 12, // 10: google.maps.areainsights.v1.LocationFilter.custom_area:type_name -> google.maps.areainsights.v1.LocationFilter.CustomArea
1316 14, // 11: google.maps.areainsights.v1.LocationFilter.Circle.lat_lng:type_name -> google.type.LatLng
1317 13, // 12: google.maps.areainsights.v1.LocationFilter.CustomArea.polygon:type_name -> google.maps.areainsights.v1.LocationFilter.CustomArea.Polygon
1318 14, // 13: google.maps.areainsights.v1.LocationFilter.CustomArea.Polygon.coordinates:type_name -> google.type.LatLng
1319 3, // 14: google.maps.areainsights.v1.AreaInsights.ComputeInsights:input_type -> google.maps.areainsights.v1.ComputeInsightsRequest
1320 4, // 15: google.maps.areainsights.v1.AreaInsights.ComputeInsights:output_type -> google.maps.areainsights.v1.ComputeInsightsResponse
1321 15, // [15:16] is the sub-list for method output_type
1322 14, // [14:15] is the sub-list for method input_type
1323 14, // [14:14] is the sub-list for extension type_name
1324 14, // [14:14] is the sub-list for extension extendee
1325 0, // [0:14] is the sub-list for field type_name
1326 }
1327
1328 func init() { file_google_maps_areainsights_v1_area_insights_service_proto_init() }
1329 func file_google_maps_areainsights_v1_area_insights_service_proto_init() {
1330 if File_google_maps_areainsights_v1_area_insights_service_proto != nil {
1331 return
1332 }
1333 file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[1].OneofWrappers = []any{}
1334 file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[4].OneofWrappers = []any{
1335 (*LocationFilter_Circle_)(nil),
1336 (*LocationFilter_Region_)(nil),
1337 (*LocationFilter_CustomArea_)(nil),
1338 }
1339 file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[6].OneofWrappers = []any{}
1340 file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[7].OneofWrappers = []any{
1341 (*LocationFilter_Circle_LatLng)(nil),
1342 (*LocationFilter_Circle_Place)(nil),
1343 }
1344 file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes[8].OneofWrappers = []any{
1345 (*LocationFilter_Region_Place)(nil),
1346 }
1347 type x struct{}
1348 out := protoimpl.TypeBuilder{
1349 File: protoimpl.DescBuilder{
1350 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1351 RawDescriptor: file_google_maps_areainsights_v1_area_insights_service_proto_rawDesc,
1352 NumEnums: 3,
1353 NumMessages: 11,
1354 NumExtensions: 0,
1355 NumServices: 1,
1356 },
1357 GoTypes: file_google_maps_areainsights_v1_area_insights_service_proto_goTypes,
1358 DependencyIndexes: file_google_maps_areainsights_v1_area_insights_service_proto_depIdxs,
1359 EnumInfos: file_google_maps_areainsights_v1_area_insights_service_proto_enumTypes,
1360 MessageInfos: file_google_maps_areainsights_v1_area_insights_service_proto_msgTypes,
1361 }.Build()
1362 File_google_maps_areainsights_v1_area_insights_service_proto = out.File
1363 file_google_maps_areainsights_v1_area_insights_service_proto_rawDesc = nil
1364 file_google_maps_areainsights_v1_area_insights_service_proto_goTypes = nil
1365 file_google_maps_areainsights_v1_area_insights_service_proto_depIdxs = nil
1366 }
1367
1368 // Reference imports to suppress errors if they are not otherwise used.
1369 var _ context.Context
1370 var _ grpc.ClientConnInterface
1371
1372 // This is a compile-time assertion to ensure that this generated file
1373 // is compatible with the grpc package it is being compiled against.
1374 const _ = grpc.SupportPackageIsVersion6
1375
1376 // AreaInsightsClient is the client API for AreaInsights service.
1377 //
1378 // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.
1379 type AreaInsightsClient interface {
1380 // This method lets you retrieve insights about areas using a variety of
1381 // filter such as: area, place type, operating status, price level
1382 // and ratings. Currently "count" and "places" insights are supported. With
1383 // "count" insights you can answer questions such as "How many restaurant are
1384 // located in California that are operational, are inexpensive and have an
1385 // average rating of at least 4 stars" (see `insight` enum for more details).
1386 // With "places" insights, you can determine which places match the
1387 // requested filter. Clients can then use those place resource names to fetch
1388 // more details about each individual place using the Places API.
1389 ComputeInsights(ctx context.Context, in *ComputeInsightsRequest, opts ...grpc.CallOption) (*ComputeInsightsResponse, error)
1390 }
1391
1392 type areaInsightsClient struct {
1393 cc grpc.ClientConnInterface
1394 }
1395
1396 func NewAreaInsightsClient(cc grpc.ClientConnInterface) AreaInsightsClient {
1397 return &areaInsightsClient{cc}
1398 }
1399
1400 func (c *areaInsightsClient) ComputeInsights(ctx context.Context, in *ComputeInsightsRequest, opts ...grpc.CallOption) (*ComputeInsightsResponse, error) {
1401 out := new(ComputeInsightsResponse)
1402 err := c.cc.Invoke(ctx, "/google.maps.areainsights.v1.AreaInsights/ComputeInsights", in, out, opts...)
1403 if err != nil {
1404 return nil, err
1405 }
1406 return out, nil
1407 }
1408
1409 // AreaInsightsServer is the server API for AreaInsights service.
1410 type AreaInsightsServer interface {
1411 // This method lets you retrieve insights about areas using a variety of
1412 // filter such as: area, place type, operating status, price level
1413 // and ratings. Currently "count" and "places" insights are supported. With
1414 // "count" insights you can answer questions such as "How many restaurant are
1415 // located in California that are operational, are inexpensive and have an
1416 // average rating of at least 4 stars" (see `insight` enum for more details).
1417 // With "places" insights, you can determine which places match the
1418 // requested filter. Clients can then use those place resource names to fetch
1419 // more details about each individual place using the Places API.
1420 ComputeInsights(context.Context, *ComputeInsightsRequest) (*ComputeInsightsResponse, error)
1421 }
1422
1423 // UnimplementedAreaInsightsServer can be embedded to have forward compatible implementations.
1424 type UnimplementedAreaInsightsServer struct {
1425 }
1426
1427 func (*UnimplementedAreaInsightsServer) ComputeInsights(context.Context, *ComputeInsightsRequest) (*ComputeInsightsResponse, error) {
1428 return nil, status.Errorf(codes.Unimplemented, "method ComputeInsights not implemented")
1429 }
1430
1431 func RegisterAreaInsightsServer(s *grpc.Server, srv AreaInsightsServer) {
1432 s.RegisterService(&_AreaInsights_serviceDesc, srv)
1433 }
1434
1435 func _AreaInsights_ComputeInsights_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1436 in := new(ComputeInsightsRequest)
1437 if err := dec(in); err != nil {
1438 return nil, err
1439 }
1440 if interceptor == nil {
1441 return srv.(AreaInsightsServer).ComputeInsights(ctx, in)
1442 }
1443 info := &grpc.UnaryServerInfo{
1444 Server: srv,
1445 FullMethod: "/google.maps.areainsights.v1.AreaInsights/ComputeInsights",
1446 }
1447 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1448 return srv.(AreaInsightsServer).ComputeInsights(ctx, req.(*ComputeInsightsRequest))
1449 }
1450 return interceptor(ctx, in, info, handler)
1451 }
1452
1453 var _AreaInsights_serviceDesc = grpc.ServiceDesc{
1454 ServiceName: "google.maps.areainsights.v1.AreaInsights",
1455 HandlerType: (*AreaInsightsServer)(nil),
1456 Methods: []grpc.MethodDesc{
1457 {
1458 MethodName: "ComputeInsights",
1459 Handler: _AreaInsights_ComputeInsights_Handler,
1460 },
1461 },
1462 Streams: []grpc.StreamDesc{},
1463 Metadata: "google/maps/areainsights/v1/area_insights_service.proto",
1464 }