1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package sample
22
23 import (
24 reflect "reflect"
25 sync "sync"
26
27 _ "google.golang.org/genproto/googleapis/api/annotations"
28 latlng "google.golang.org/genproto/googleapis/type/latlng"
29 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
30 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
31 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
32 )
33
34 const (
35
36 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
37
38 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
39 )
40
41
42
43
44 type SpacingOptions_PointType int32
45
46 const (
47
48 SpacingOptions_POINT_TYPE_UNSPECIFIED SpacingOptions_PointType = 0
49
50 SpacingOptions_CENTER_POINT SpacingOptions_PointType = 1
51
52
53 SpacingOptions_SNAPPED_POINT SpacingOptions_PointType = 2
54 )
55
56
57 var (
58 SpacingOptions_PointType_name = map[int32]string{
59 0: "POINT_TYPE_UNSPECIFIED",
60 1: "CENTER_POINT",
61 2: "SNAPPED_POINT",
62 }
63 SpacingOptions_PointType_value = map[string]int32{
64 "POINT_TYPE_UNSPECIFIED": 0,
65 "CENTER_POINT": 1,
66 "SNAPPED_POINT": 2,
67 }
68 )
69
70 func (x SpacingOptions_PointType) Enum() *SpacingOptions_PointType {
71 p := new(SpacingOptions_PointType)
72 *p = x
73 return p
74 }
75
76 func (x SpacingOptions_PointType) String() string {
77 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
78 }
79
80 func (SpacingOptions_PointType) Descriptor() protoreflect.EnumDescriptor {
81 return file_google_maps_playablelocations_v3_sample_resources_proto_enumTypes[0].Descriptor()
82 }
83
84 func (SpacingOptions_PointType) Type() protoreflect.EnumType {
85 return &file_google_maps_playablelocations_v3_sample_resources_proto_enumTypes[0]
86 }
87
88 func (x SpacingOptions_PointType) Number() protoreflect.EnumNumber {
89 return protoreflect.EnumNumber(x)
90 }
91
92
93 func (SpacingOptions_PointType) EnumDescriptor() ([]byte, []int) {
94 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{1, 0}
95 }
96
97
98
99 type PlayableLocation struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104
105 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
106
107
108
109
110
111
112 LocationId isPlayableLocation_LocationId `protobuf_oneof:"location_id"`
113
114
115
116
117 Types []string `protobuf:"bytes,4,rep,name=types,proto3" json:"types,omitempty"`
118
119
120
121
122
123
124 CenterPoint *latlng.LatLng `protobuf:"bytes,5,opt,name=center_point,json=centerPoint,proto3" json:"center_point,omitempty"`
125
126
127 SnappedPoint *latlng.LatLng `protobuf:"bytes,6,opt,name=snapped_point,json=snappedPoint,proto3" json:"snapped_point,omitempty"`
128 }
129
130 func (x *PlayableLocation) Reset() {
131 *x = PlayableLocation{}
132 if protoimpl.UnsafeEnabled {
133 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[0]
134 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
135 ms.StoreMessageInfo(mi)
136 }
137 }
138
139 func (x *PlayableLocation) String() string {
140 return protoimpl.X.MessageStringOf(x)
141 }
142
143 func (*PlayableLocation) ProtoMessage() {}
144
145 func (x *PlayableLocation) ProtoReflect() protoreflect.Message {
146 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[0]
147 if protoimpl.UnsafeEnabled && x != nil {
148 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
149 if ms.LoadMessageInfo() == nil {
150 ms.StoreMessageInfo(mi)
151 }
152 return ms
153 }
154 return mi.MessageOf(x)
155 }
156
157
158 func (*PlayableLocation) Descriptor() ([]byte, []int) {
159 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{0}
160 }
161
162 func (x *PlayableLocation) GetName() string {
163 if x != nil {
164 return x.Name
165 }
166 return ""
167 }
168
169 func (m *PlayableLocation) GetLocationId() isPlayableLocation_LocationId {
170 if m != nil {
171 return m.LocationId
172 }
173 return nil
174 }
175
176 func (x *PlayableLocation) GetPlaceId() string {
177 if x, ok := x.GetLocationId().(*PlayableLocation_PlaceId); ok {
178 return x.PlaceId
179 }
180 return ""
181 }
182
183 func (x *PlayableLocation) GetPlusCode() string {
184 if x, ok := x.GetLocationId().(*PlayableLocation_PlusCode); ok {
185 return x.PlusCode
186 }
187 return ""
188 }
189
190 func (x *PlayableLocation) GetTypes() []string {
191 if x != nil {
192 return x.Types
193 }
194 return nil
195 }
196
197 func (x *PlayableLocation) GetCenterPoint() *latlng.LatLng {
198 if x != nil {
199 return x.CenterPoint
200 }
201 return nil
202 }
203
204 func (x *PlayableLocation) GetSnappedPoint() *latlng.LatLng {
205 if x != nil {
206 return x.SnappedPoint
207 }
208 return nil
209 }
210
211 type isPlayableLocation_LocationId interface {
212 isPlayableLocation_LocationId()
213 }
214
215 type PlayableLocation_PlaceId struct {
216
217 PlaceId string `protobuf:"bytes,2,opt,name=place_id,json=placeId,proto3,oneof"`
218 }
219
220 type PlayableLocation_PlusCode struct {
221
222 PlusCode string `protobuf:"bytes,3,opt,name=plus_code,json=plusCode,proto3,oneof"`
223 }
224
225 func (*PlayableLocation_PlaceId) isPlayableLocation_LocationId() {}
226
227 func (*PlayableLocation_PlusCode) isPlayableLocation_LocationId() {}
228
229
230 type SpacingOptions struct {
231 state protoimpl.MessageState
232 sizeCache protoimpl.SizeCache
233 unknownFields protoimpl.UnknownFields
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274 MinSpacingMeters float64 `protobuf:"fixed64,1,opt,name=min_spacing_meters,json=minSpacingMeters,proto3" json:"min_spacing_meters,omitempty"`
275
276
277
278
279
280
281
282
283 PointType SpacingOptions_PointType `protobuf:"varint,2,opt,name=point_type,json=pointType,proto3,enum=google.maps.playablelocations.v3.sample.SpacingOptions_PointType" json:"point_type,omitempty"`
284 }
285
286 func (x *SpacingOptions) Reset() {
287 *x = SpacingOptions{}
288 if protoimpl.UnsafeEnabled {
289 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[1]
290 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
291 ms.StoreMessageInfo(mi)
292 }
293 }
294
295 func (x *SpacingOptions) String() string {
296 return protoimpl.X.MessageStringOf(x)
297 }
298
299 func (*SpacingOptions) ProtoMessage() {}
300
301 func (x *SpacingOptions) ProtoReflect() protoreflect.Message {
302 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[1]
303 if protoimpl.UnsafeEnabled && x != nil {
304 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
305 if ms.LoadMessageInfo() == nil {
306 ms.StoreMessageInfo(mi)
307 }
308 return ms
309 }
310 return mi.MessageOf(x)
311 }
312
313
314 func (*SpacingOptions) Descriptor() ([]byte, []int) {
315 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{1}
316 }
317
318 func (x *SpacingOptions) GetMinSpacingMeters() float64 {
319 if x != nil {
320 return x.MinSpacingMeters
321 }
322 return 0
323 }
324
325 func (x *SpacingOptions) GetPointType() SpacingOptions_PointType {
326 if x != nil {
327 return x.PointType
328 }
329 return SpacingOptions_POINT_TYPE_UNSPECIFIED
330 }
331
332
333 type Filter struct {
334 state protoimpl.MessageState
335 sizeCache protoimpl.SizeCache
336 unknownFields protoimpl.UnknownFields
337
338
339
340
341
342 MaxLocationCount int32 `protobuf:"varint,1,opt,name=max_location_count,json=maxLocationCount,proto3" json:"max_location_count,omitempty"`
343
344
345 Spacing *SpacingOptions `protobuf:"bytes,2,opt,name=spacing,proto3" json:"spacing,omitempty"`
346
347
348 IncludedTypes []string `protobuf:"bytes,3,rep,name=included_types,json=includedTypes,proto3" json:"included_types,omitempty"`
349 }
350
351 func (x *Filter) Reset() {
352 *x = Filter{}
353 if protoimpl.UnsafeEnabled {
354 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[2]
355 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
356 ms.StoreMessageInfo(mi)
357 }
358 }
359
360 func (x *Filter) String() string {
361 return protoimpl.X.MessageStringOf(x)
362 }
363
364 func (*Filter) ProtoMessage() {}
365
366 func (x *Filter) ProtoReflect() protoreflect.Message {
367 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[2]
368 if protoimpl.UnsafeEnabled && x != nil {
369 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
370 if ms.LoadMessageInfo() == nil {
371 ms.StoreMessageInfo(mi)
372 }
373 return ms
374 }
375 return mi.MessageOf(x)
376 }
377
378
379 func (*Filter) Descriptor() ([]byte, []int) {
380 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{2}
381 }
382
383 func (x *Filter) GetMaxLocationCount() int32 {
384 if x != nil {
385 return x.MaxLocationCount
386 }
387 return 0
388 }
389
390 func (x *Filter) GetSpacing() *SpacingOptions {
391 if x != nil {
392 return x.Spacing
393 }
394 return nil
395 }
396
397 func (x *Filter) GetIncludedTypes() []string {
398 if x != nil {
399 return x.IncludedTypes
400 }
401 return nil
402 }
403
404
405
406 type Criterion struct {
407 state protoimpl.MessageState
408 sizeCache protoimpl.SizeCache
409 unknownFields protoimpl.UnknownFields
410
411
412
413
414
415
416
417
418
419
420
421 GameObjectType int32 `protobuf:"varint,1,opt,name=game_object_type,json=gameObjectType,proto3" json:"game_object_type,omitempty"`
422
423
424 Filter *Filter `protobuf:"bytes,2,opt,name=filter,proto3" json:"filter,omitempty"`
425
426
427
428
429
430
431
432
433
434
435
436
437 FieldsToReturn *fieldmaskpb.FieldMask `protobuf:"bytes,3,opt,name=fields_to_return,json=fieldsToReturn,proto3" json:"fields_to_return,omitempty"`
438 }
439
440 func (x *Criterion) Reset() {
441 *x = Criterion{}
442 if protoimpl.UnsafeEnabled {
443 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[3]
444 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
445 ms.StoreMessageInfo(mi)
446 }
447 }
448
449 func (x *Criterion) String() string {
450 return protoimpl.X.MessageStringOf(x)
451 }
452
453 func (*Criterion) ProtoMessage() {}
454
455 func (x *Criterion) ProtoReflect() protoreflect.Message {
456 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[3]
457 if protoimpl.UnsafeEnabled && x != nil {
458 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
459 if ms.LoadMessageInfo() == nil {
460 ms.StoreMessageInfo(mi)
461 }
462 return ms
463 }
464 return mi.MessageOf(x)
465 }
466
467
468 func (*Criterion) Descriptor() ([]byte, []int) {
469 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{3}
470 }
471
472 func (x *Criterion) GetGameObjectType() int32 {
473 if x != nil {
474 return x.GameObjectType
475 }
476 return 0
477 }
478
479 func (x *Criterion) GetFilter() *Filter {
480 if x != nil {
481 return x.Filter
482 }
483 return nil
484 }
485
486 func (x *Criterion) GetFieldsToReturn() *fieldmaskpb.FieldMask {
487 if x != nil {
488 return x.FieldsToReturn
489 }
490 return nil
491 }
492
493
494 type AreaFilter struct {
495 state protoimpl.MessageState
496 sizeCache protoimpl.SizeCache
497 unknownFields protoimpl.UnknownFields
498
499
500
501
502
503
504
505
506
507
508
509
510
511 S2CellId uint64 `protobuf:"fixed64,1,opt,name=s2_cell_id,json=s2CellId,proto3" json:"s2_cell_id,omitempty"`
512 }
513
514 func (x *AreaFilter) Reset() {
515 *x = AreaFilter{}
516 if protoimpl.UnsafeEnabled {
517 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[4]
518 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
519 ms.StoreMessageInfo(mi)
520 }
521 }
522
523 func (x *AreaFilter) String() string {
524 return protoimpl.X.MessageStringOf(x)
525 }
526
527 func (*AreaFilter) ProtoMessage() {}
528
529 func (x *AreaFilter) ProtoReflect() protoreflect.Message {
530 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[4]
531 if protoimpl.UnsafeEnabled && x != nil {
532 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
533 if ms.LoadMessageInfo() == nil {
534 ms.StoreMessageInfo(mi)
535 }
536 return ms
537 }
538 return mi.MessageOf(x)
539 }
540
541
542 func (*AreaFilter) Descriptor() ([]byte, []int) {
543 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{4}
544 }
545
546 func (x *AreaFilter) GetS2CellId() uint64 {
547 if x != nil {
548 return x.S2CellId
549 }
550 return 0
551 }
552
553
554 type PlayableLocationList struct {
555 state protoimpl.MessageState
556 sizeCache protoimpl.SizeCache
557 unknownFields protoimpl.UnknownFields
558
559
560 Locations []*PlayableLocation `protobuf:"bytes,1,rep,name=locations,proto3" json:"locations,omitempty"`
561 }
562
563 func (x *PlayableLocationList) Reset() {
564 *x = PlayableLocationList{}
565 if protoimpl.UnsafeEnabled {
566 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[5]
567 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
568 ms.StoreMessageInfo(mi)
569 }
570 }
571
572 func (x *PlayableLocationList) String() string {
573 return protoimpl.X.MessageStringOf(x)
574 }
575
576 func (*PlayableLocationList) ProtoMessage() {}
577
578 func (x *PlayableLocationList) ProtoReflect() protoreflect.Message {
579 mi := &file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[5]
580 if protoimpl.UnsafeEnabled && x != nil {
581 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
582 if ms.LoadMessageInfo() == nil {
583 ms.StoreMessageInfo(mi)
584 }
585 return ms
586 }
587 return mi.MessageOf(x)
588 }
589
590
591 func (*PlayableLocationList) Descriptor() ([]byte, []int) {
592 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP(), []int{5}
593 }
594
595 func (x *PlayableLocationList) GetLocations() []*PlayableLocation {
596 if x != nil {
597 return x.Locations
598 }
599 return nil
600 }
601
602 var File_google_maps_playablelocations_v3_sample_resources_proto protoreflect.FileDescriptor
603
604 var file_google_maps_playablelocations_v3_sample_resources_proto_rawDesc = []byte{
605 0x0a, 0x37, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x70, 0x6c,
606 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f,
607 0x76, 0x33, 0x2f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72,
608 0x63, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
609 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x6c,
610 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x73, 0x61, 0x6d, 0x70,
611 0x6c, 0x65, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66,
612 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72,
613 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74,
614 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e,
615 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x74, 0x79,
616 0x70, 0x65, 0x2f, 0x6c, 0x61, 0x74, 0x6c, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
617 0xf9, 0x01, 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x6f, 0x63, 0x61,
618 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01,
619 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1b, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x63,
620 0x65, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x07, 0x70, 0x6c,
621 0x61, 0x63, 0x65, 0x49, 0x64, 0x12, 0x1d, 0x0a, 0x09, 0x70, 0x6c, 0x75, 0x73, 0x5f, 0x63, 0x6f,
622 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x08, 0x70, 0x6c, 0x75, 0x73,
623 0x43, 0x6f, 0x64, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x04, 0x20,
624 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x36, 0x0a, 0x0c, 0x63, 0x65,
625 0x6e, 0x74, 0x65, 0x72, 0x5f, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
626 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c,
627 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x0b, 0x63, 0x65, 0x6e, 0x74, 0x65, 0x72, 0x50, 0x6f, 0x69,
628 0x6e, 0x74, 0x12, 0x38, 0x0a, 0x0d, 0x73, 0x6e, 0x61, 0x70, 0x70, 0x65, 0x64, 0x5f, 0x70, 0x6f,
629 0x69, 0x6e, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
630 0x6c, 0x65, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x2e, 0x4c, 0x61, 0x74, 0x4c, 0x6e, 0x67, 0x52, 0x0c,
631 0x73, 0x6e, 0x61, 0x70, 0x70, 0x65, 0x64, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x42, 0x0d, 0x0a, 0x0b,
632 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x69, 0x64, 0x22, 0xf3, 0x01, 0x0a, 0x0e,
633 0x53, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x31,
634 0x0a, 0x12, 0x6d, 0x69, 0x6e, 0x5f, 0x73, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x5f, 0x6d, 0x65,
635 0x74, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x01, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
636 0x10, 0x6d, 0x69, 0x6e, 0x53, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x4d, 0x65, 0x74, 0x65, 0x72,
637 0x73, 0x12, 0x60, 0x0a, 0x0a, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18,
638 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x41, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d,
639 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x6c, 0x6f, 0x63, 0x61,
640 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e,
641 0x53, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x50,
642 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x54,
643 0x79, 0x70, 0x65, 0x22, 0x4c, 0x0a, 0x09, 0x50, 0x6f, 0x69, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65,
644 0x12, 0x1a, 0x0a, 0x16, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
645 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x10, 0x0a, 0x0c,
646 0x43, 0x45, 0x4e, 0x54, 0x45, 0x52, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10, 0x01, 0x12, 0x11,
647 0x0a, 0x0d, 0x53, 0x4e, 0x41, 0x50, 0x50, 0x45, 0x44, 0x5f, 0x50, 0x4f, 0x49, 0x4e, 0x54, 0x10,
648 0x02, 0x22, 0xb0, 0x01, 0x0a, 0x06, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x2c, 0x0a, 0x12,
649 0x6d, 0x61, 0x78, 0x5f, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x75,
650 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x10, 0x6d, 0x61, 0x78, 0x4c, 0x6f, 0x63,
651 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x75, 0x6e, 0x74, 0x12, 0x51, 0x0a, 0x07, 0x73, 0x70,
652 0x61, 0x63, 0x69, 0x6e, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x67, 0x6f,
653 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x61, 0x62,
654 0x6c, 0x65, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x73,
655 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x53, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x74,
656 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x07, 0x73, 0x70, 0x61, 0x63, 0x69, 0x6e, 0x67, 0x12, 0x25, 0x0a,
657 0x0e, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18,
658 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x64, 0x54,
659 0x79, 0x70, 0x65, 0x73, 0x22, 0xc9, 0x01, 0x0a, 0x09, 0x43, 0x72, 0x69, 0x74, 0x65, 0x72, 0x69,
660 0x6f, 0x6e, 0x12, 0x2d, 0x0a, 0x10, 0x67, 0x61, 0x6d, 0x65, 0x5f, 0x6f, 0x62, 0x6a, 0x65, 0x63,
661 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x42, 0x03, 0xe0, 0x41,
662 0x02, 0x52, 0x0e, 0x67, 0x61, 0x6d, 0x65, 0x4f, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x54, 0x79, 0x70,
663 0x65, 0x12, 0x47, 0x0a, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
664 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
665 0x70, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e,
666 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x74,
667 0x65, 0x72, 0x52, 0x06, 0x66, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x44, 0x0a, 0x10, 0x66, 0x69,
668 0x65, 0x6c, 0x64, 0x73, 0x5f, 0x74, 0x6f, 0x5f, 0x72, 0x65, 0x74, 0x75, 0x72, 0x6e, 0x18, 0x03,
669 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
670 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b,
671 0x52, 0x0e, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x54, 0x6f, 0x52, 0x65, 0x74, 0x75, 0x72, 0x6e,
672 0x22, 0x2f, 0x0a, 0x0a, 0x41, 0x72, 0x65, 0x61, 0x46, 0x69, 0x6c, 0x74, 0x65, 0x72, 0x12, 0x21,
673 0x0a, 0x0a, 0x73, 0x32, 0x5f, 0x63, 0x65, 0x6c, 0x6c, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01,
674 0x28, 0x06, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x73, 0x32, 0x43, 0x65, 0x6c, 0x6c, 0x49,
675 0x64, 0x22, 0x6f, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x4c, 0x6f, 0x63,
676 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x57, 0x0a, 0x09, 0x6c, 0x6f, 0x63,
677 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x39, 0x2e, 0x67,
678 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x61,
679 0x62, 0x6c, 0x65, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e,
680 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x4c,
681 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x09, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
682 0x6e, 0x73, 0x42, 0xbf, 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
683 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x70, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x6c,
684 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x76, 0x33, 0x2e, 0x73, 0x61, 0x6d, 0x70,
685 0x6c, 0x65, 0x42, 0x0e, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x50, 0x72, 0x6f,
686 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x4d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c,
687 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
688 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d, 0x61, 0x70, 0x73,
689 0x2f, 0x70, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c, 0x65, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f,
690 0x6e, 0x73, 0x2f, 0x76, 0x33, 0x2f, 0x73, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x3b, 0x73, 0x61, 0x6d,
691 0x70, 0x6c, 0x65, 0xa2, 0x02, 0x04, 0x47, 0x4d, 0x50, 0x4c, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f,
692 0x67, 0x6c, 0x65, 0x2e, 0x4d, 0x61, 0x70, 0x73, 0x2e, 0x50, 0x6c, 0x61, 0x79, 0x61, 0x62, 0x6c,
693 0x65, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x56, 0x33, 0x2e, 0x53, 0x61,
694 0x6d, 0x70, 0x6c, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
695 }
696
697 var (
698 file_google_maps_playablelocations_v3_sample_resources_proto_rawDescOnce sync.Once
699 file_google_maps_playablelocations_v3_sample_resources_proto_rawDescData = file_google_maps_playablelocations_v3_sample_resources_proto_rawDesc
700 )
701
702 func file_google_maps_playablelocations_v3_sample_resources_proto_rawDescGZIP() []byte {
703 file_google_maps_playablelocations_v3_sample_resources_proto_rawDescOnce.Do(func() {
704 file_google_maps_playablelocations_v3_sample_resources_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_playablelocations_v3_sample_resources_proto_rawDescData)
705 })
706 return file_google_maps_playablelocations_v3_sample_resources_proto_rawDescData
707 }
708
709 var file_google_maps_playablelocations_v3_sample_resources_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
710 var file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
711 var file_google_maps_playablelocations_v3_sample_resources_proto_goTypes = []interface{}{
712 (SpacingOptions_PointType)(0),
713 (*PlayableLocation)(nil),
714 (*SpacingOptions)(nil),
715 (*Filter)(nil),
716 (*Criterion)(nil),
717 (*AreaFilter)(nil),
718 (*PlayableLocationList)(nil),
719 (*latlng.LatLng)(nil),
720 (*fieldmaskpb.FieldMask)(nil),
721 }
722 var file_google_maps_playablelocations_v3_sample_resources_proto_depIdxs = []int32{
723 7,
724 7,
725 0,
726 2,
727 3,
728 8,
729 1,
730 7,
731 7,
732 7,
733 7,
734 0,
735 }
736
737 func init() { file_google_maps_playablelocations_v3_sample_resources_proto_init() }
738 func file_google_maps_playablelocations_v3_sample_resources_proto_init() {
739 if File_google_maps_playablelocations_v3_sample_resources_proto != nil {
740 return
741 }
742 if !protoimpl.UnsafeEnabled {
743 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
744 switch v := v.(*PlayableLocation); i {
745 case 0:
746 return &v.state
747 case 1:
748 return &v.sizeCache
749 case 2:
750 return &v.unknownFields
751 default:
752 return nil
753 }
754 }
755 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
756 switch v := v.(*SpacingOptions); i {
757 case 0:
758 return &v.state
759 case 1:
760 return &v.sizeCache
761 case 2:
762 return &v.unknownFields
763 default:
764 return nil
765 }
766 }
767 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
768 switch v := v.(*Filter); i {
769 case 0:
770 return &v.state
771 case 1:
772 return &v.sizeCache
773 case 2:
774 return &v.unknownFields
775 default:
776 return nil
777 }
778 }
779 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
780 switch v := v.(*Criterion); i {
781 case 0:
782 return &v.state
783 case 1:
784 return &v.sizeCache
785 case 2:
786 return &v.unknownFields
787 default:
788 return nil
789 }
790 }
791 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
792 switch v := v.(*AreaFilter); i {
793 case 0:
794 return &v.state
795 case 1:
796 return &v.sizeCache
797 case 2:
798 return &v.unknownFields
799 default:
800 return nil
801 }
802 }
803 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
804 switch v := v.(*PlayableLocationList); i {
805 case 0:
806 return &v.state
807 case 1:
808 return &v.sizeCache
809 case 2:
810 return &v.unknownFields
811 default:
812 return nil
813 }
814 }
815 }
816 file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes[0].OneofWrappers = []interface{}{
817 (*PlayableLocation_PlaceId)(nil),
818 (*PlayableLocation_PlusCode)(nil),
819 }
820 type x struct{}
821 out := protoimpl.TypeBuilder{
822 File: protoimpl.DescBuilder{
823 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
824 RawDescriptor: file_google_maps_playablelocations_v3_sample_resources_proto_rawDesc,
825 NumEnums: 1,
826 NumMessages: 6,
827 NumExtensions: 0,
828 NumServices: 0,
829 },
830 GoTypes: file_google_maps_playablelocations_v3_sample_resources_proto_goTypes,
831 DependencyIndexes: file_google_maps_playablelocations_v3_sample_resources_proto_depIdxs,
832 EnumInfos: file_google_maps_playablelocations_v3_sample_resources_proto_enumTypes,
833 MessageInfos: file_google_maps_playablelocations_v3_sample_resources_proto_msgTypes,
834 }.Build()
835 File_google_maps_playablelocations_v3_sample_resources_proto = out.File
836 file_google_maps_playablelocations_v3_sample_resources_proto_rawDesc = nil
837 file_google_maps_playablelocations_v3_sample_resources_proto_goTypes = nil
838 file_google_maps_playablelocations_v3_sample_resources_proto_depIdxs = nil
839 }
840
View as plain text