1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21 package fleetengine
22
23 import (
24 context "context"
25 reflect "reflect"
26 sync "sync"
27
28 _ "google.golang.org/genproto/googleapis/api/annotations"
29 grpc "google.golang.org/grpc"
30 codes "google.golang.org/grpc/codes"
31 status "google.golang.org/grpc/status"
32 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
33 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
34 durationpb "google.golang.org/protobuf/types/known/durationpb"
35 emptypb "google.golang.org/protobuf/types/known/emptypb"
36 fieldmaskpb "google.golang.org/protobuf/types/known/fieldmaskpb"
37 timestamppb "google.golang.org/protobuf/types/known/timestamppb"
38 )
39
40 const (
41
42 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
43
44 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
45 )
46
47
48 type ReportBillableTripRequest_SolutionType int32
49
50 const (
51
52
53
54 ReportBillableTripRequest_SOLUTION_TYPE_UNSPECIFIED ReportBillableTripRequest_SolutionType = 0
55
56 ReportBillableTripRequest_ON_DEMAND_RIDESHARING_AND_DELIVERIES ReportBillableTripRequest_SolutionType = 1
57 )
58
59
60 var (
61 ReportBillableTripRequest_SolutionType_name = map[int32]string{
62 0: "SOLUTION_TYPE_UNSPECIFIED",
63 1: "ON_DEMAND_RIDESHARING_AND_DELIVERIES",
64 }
65 ReportBillableTripRequest_SolutionType_value = map[string]int32{
66 "SOLUTION_TYPE_UNSPECIFIED": 0,
67 "ON_DEMAND_RIDESHARING_AND_DELIVERIES": 1,
68 }
69 )
70
71 func (x ReportBillableTripRequest_SolutionType) Enum() *ReportBillableTripRequest_SolutionType {
72 p := new(ReportBillableTripRequest_SolutionType)
73 *p = x
74 return p
75 }
76
77 func (x ReportBillableTripRequest_SolutionType) String() string {
78 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
79 }
80
81 func (ReportBillableTripRequest_SolutionType) Descriptor() protoreflect.EnumDescriptor {
82 return file_google_maps_fleetengine_v1_trip_api_proto_enumTypes[0].Descriptor()
83 }
84
85 func (ReportBillableTripRequest_SolutionType) Type() protoreflect.EnumType {
86 return &file_google_maps_fleetengine_v1_trip_api_proto_enumTypes[0]
87 }
88
89 func (x ReportBillableTripRequest_SolutionType) Number() protoreflect.EnumNumber {
90 return protoreflect.EnumNumber(x)
91 }
92
93
94 func (ReportBillableTripRequest_SolutionType) EnumDescriptor() ([]byte, []int) {
95 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{2, 0}
96 }
97
98
99 type CreateTripRequest struct {
100 state protoimpl.MessageState
101 sizeCache protoimpl.SizeCache
102 unknownFields protoimpl.UnknownFields
103
104
105 Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
106
107
108
109
110 Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
111
112
113
114
115
116
117
118
119
120 TripId string `protobuf:"bytes,5,opt,name=trip_id,json=tripId,proto3" json:"trip_id,omitempty"`
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153 Trip *Trip `protobuf:"bytes,4,opt,name=trip,proto3" json:"trip,omitempty"`
154 }
155
156 func (x *CreateTripRequest) Reset() {
157 *x = CreateTripRequest{}
158 if protoimpl.UnsafeEnabled {
159 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[0]
160 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
161 ms.StoreMessageInfo(mi)
162 }
163 }
164
165 func (x *CreateTripRequest) String() string {
166 return protoimpl.X.MessageStringOf(x)
167 }
168
169 func (*CreateTripRequest) ProtoMessage() {}
170
171 func (x *CreateTripRequest) ProtoReflect() protoreflect.Message {
172 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[0]
173 if protoimpl.UnsafeEnabled && x != nil {
174 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
175 if ms.LoadMessageInfo() == nil {
176 ms.StoreMessageInfo(mi)
177 }
178 return ms
179 }
180 return mi.MessageOf(x)
181 }
182
183
184 func (*CreateTripRequest) Descriptor() ([]byte, []int) {
185 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{0}
186 }
187
188 func (x *CreateTripRequest) GetHeader() *RequestHeader {
189 if x != nil {
190 return x.Header
191 }
192 return nil
193 }
194
195 func (x *CreateTripRequest) GetParent() string {
196 if x != nil {
197 return x.Parent
198 }
199 return ""
200 }
201
202 func (x *CreateTripRequest) GetTripId() string {
203 if x != nil {
204 return x.TripId
205 }
206 return ""
207 }
208
209 func (x *CreateTripRequest) GetTrip() *Trip {
210 if x != nil {
211 return x.Trip
212 }
213 return nil
214 }
215
216
217 type GetTripRequest struct {
218 state protoimpl.MessageState
219 sizeCache protoimpl.SizeCache
220 unknownFields protoimpl.UnknownFields
221
222
223 Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
224
225
226
227
228 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
229
230 View TripView `protobuf:"varint,11,opt,name=view,proto3,enum=maps.fleetengine.v1.TripView" json:"view,omitempty"`
231
232
233
234
235 CurrentRouteSegmentVersion *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=current_route_segment_version,json=currentRouteSegmentVersion,proto3" json:"current_route_segment_version,omitempty"`
236
237
238
239
240 RemainingWaypointsVersion *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=remaining_waypoints_version,json=remainingWaypointsVersion,proto3" json:"remaining_waypoints_version,omitempty"`
241
242
243
244 RouteFormatType PolylineFormatType `protobuf:"varint,8,opt,name=route_format_type,json=routeFormatType,proto3,enum=maps.fleetengine.v1.PolylineFormatType" json:"route_format_type,omitempty"`
245
246
247
248
249
250
251 CurrentRouteSegmentTrafficVersion *timestamppb.Timestamp `protobuf:"bytes,9,opt,name=current_route_segment_traffic_version,json=currentRouteSegmentTrafficVersion,proto3" json:"current_route_segment_traffic_version,omitempty"`
252
253
254
255
256
257
258 RemainingWaypointsRouteVersion *timestamppb.Timestamp `protobuf:"bytes,10,opt,name=remaining_waypoints_route_version,json=remainingWaypointsRouteVersion,proto3" json:"remaining_waypoints_route_version,omitempty"`
259 }
260
261 func (x *GetTripRequest) Reset() {
262 *x = GetTripRequest{}
263 if protoimpl.UnsafeEnabled {
264 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[1]
265 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
266 ms.StoreMessageInfo(mi)
267 }
268 }
269
270 func (x *GetTripRequest) String() string {
271 return protoimpl.X.MessageStringOf(x)
272 }
273
274 func (*GetTripRequest) ProtoMessage() {}
275
276 func (x *GetTripRequest) ProtoReflect() protoreflect.Message {
277 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[1]
278 if protoimpl.UnsafeEnabled && x != nil {
279 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
280 if ms.LoadMessageInfo() == nil {
281 ms.StoreMessageInfo(mi)
282 }
283 return ms
284 }
285 return mi.MessageOf(x)
286 }
287
288
289 func (*GetTripRequest) Descriptor() ([]byte, []int) {
290 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{1}
291 }
292
293 func (x *GetTripRequest) GetHeader() *RequestHeader {
294 if x != nil {
295 return x.Header
296 }
297 return nil
298 }
299
300 func (x *GetTripRequest) GetName() string {
301 if x != nil {
302 return x.Name
303 }
304 return ""
305 }
306
307 func (x *GetTripRequest) GetView() TripView {
308 if x != nil {
309 return x.View
310 }
311 return TripView_TRIP_VIEW_UNSPECIFIED
312 }
313
314 func (x *GetTripRequest) GetCurrentRouteSegmentVersion() *timestamppb.Timestamp {
315 if x != nil {
316 return x.CurrentRouteSegmentVersion
317 }
318 return nil
319 }
320
321 func (x *GetTripRequest) GetRemainingWaypointsVersion() *timestamppb.Timestamp {
322 if x != nil {
323 return x.RemainingWaypointsVersion
324 }
325 return nil
326 }
327
328 func (x *GetTripRequest) GetRouteFormatType() PolylineFormatType {
329 if x != nil {
330 return x.RouteFormatType
331 }
332 return PolylineFormatType_UNKNOWN_FORMAT_TYPE
333 }
334
335 func (x *GetTripRequest) GetCurrentRouteSegmentTrafficVersion() *timestamppb.Timestamp {
336 if x != nil {
337 return x.CurrentRouteSegmentTrafficVersion
338 }
339 return nil
340 }
341
342 func (x *GetTripRequest) GetRemainingWaypointsRouteVersion() *timestamppb.Timestamp {
343 if x != nil {
344 return x.RemainingWaypointsRouteVersion
345 }
346 return nil
347 }
348
349
350 type ReportBillableTripRequest struct {
351 state protoimpl.MessageState
352 sizeCache protoimpl.SizeCache
353 unknownFields protoimpl.UnknownFields
354
355
356
357
358
359
360 Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
361
362
363 CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
364
365 Platform BillingPlatformIdentifier `protobuf:"varint,5,opt,name=platform,proto3,enum=maps.fleetengine.v1.BillingPlatformIdentifier" json:"platform,omitempty"`
366
367
368
369
370 RelatedIds []string `protobuf:"bytes,6,rep,name=related_ids,json=relatedIds,proto3" json:"related_ids,omitempty"`
371
372
373 SolutionType ReportBillableTripRequest_SolutionType `protobuf:"varint,7,opt,name=solution_type,json=solutionType,proto3,enum=maps.fleetengine.v1.ReportBillableTripRequest_SolutionType" json:"solution_type,omitempty"`
374 }
375
376 func (x *ReportBillableTripRequest) Reset() {
377 *x = ReportBillableTripRequest{}
378 if protoimpl.UnsafeEnabled {
379 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[2]
380 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
381 ms.StoreMessageInfo(mi)
382 }
383 }
384
385 func (x *ReportBillableTripRequest) String() string {
386 return protoimpl.X.MessageStringOf(x)
387 }
388
389 func (*ReportBillableTripRequest) ProtoMessage() {}
390
391 func (x *ReportBillableTripRequest) ProtoReflect() protoreflect.Message {
392 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[2]
393 if protoimpl.UnsafeEnabled && x != nil {
394 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
395 if ms.LoadMessageInfo() == nil {
396 ms.StoreMessageInfo(mi)
397 }
398 return ms
399 }
400 return mi.MessageOf(x)
401 }
402
403
404 func (*ReportBillableTripRequest) Descriptor() ([]byte, []int) {
405 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{2}
406 }
407
408 func (x *ReportBillableTripRequest) GetName() string {
409 if x != nil {
410 return x.Name
411 }
412 return ""
413 }
414
415 func (x *ReportBillableTripRequest) GetCountryCode() string {
416 if x != nil {
417 return x.CountryCode
418 }
419 return ""
420 }
421
422 func (x *ReportBillableTripRequest) GetPlatform() BillingPlatformIdentifier {
423 if x != nil {
424 return x.Platform
425 }
426 return BillingPlatformIdentifier_BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED
427 }
428
429 func (x *ReportBillableTripRequest) GetRelatedIds() []string {
430 if x != nil {
431 return x.RelatedIds
432 }
433 return nil
434 }
435
436 func (x *ReportBillableTripRequest) GetSolutionType() ReportBillableTripRequest_SolutionType {
437 if x != nil {
438 return x.SolutionType
439 }
440 return ReportBillableTripRequest_SOLUTION_TYPE_UNSPECIFIED
441 }
442
443
444 type UpdateTripRequest struct {
445 state protoimpl.MessageState
446 sizeCache protoimpl.SizeCache
447 unknownFields protoimpl.UnknownFields
448
449
450 Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
451
452
453
454
455 Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497 Trip *Trip `protobuf:"bytes,4,opt,name=trip,proto3" json:"trip,omitempty"`
498
499
500 UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
501 }
502
503 func (x *UpdateTripRequest) Reset() {
504 *x = UpdateTripRequest{}
505 if protoimpl.UnsafeEnabled {
506 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[3]
507 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
508 ms.StoreMessageInfo(mi)
509 }
510 }
511
512 func (x *UpdateTripRequest) String() string {
513 return protoimpl.X.MessageStringOf(x)
514 }
515
516 func (*UpdateTripRequest) ProtoMessage() {}
517
518 func (x *UpdateTripRequest) ProtoReflect() protoreflect.Message {
519 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[3]
520 if protoimpl.UnsafeEnabled && x != nil {
521 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
522 if ms.LoadMessageInfo() == nil {
523 ms.StoreMessageInfo(mi)
524 }
525 return ms
526 }
527 return mi.MessageOf(x)
528 }
529
530
531 func (*UpdateTripRequest) Descriptor() ([]byte, []int) {
532 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{3}
533 }
534
535 func (x *UpdateTripRequest) GetHeader() *RequestHeader {
536 if x != nil {
537 return x.Header
538 }
539 return nil
540 }
541
542 func (x *UpdateTripRequest) GetName() string {
543 if x != nil {
544 return x.Name
545 }
546 return ""
547 }
548
549 func (x *UpdateTripRequest) GetTrip() *Trip {
550 if x != nil {
551 return x.Trip
552 }
553 return nil
554 }
555
556 func (x *UpdateTripRequest) GetUpdateMask() *fieldmaskpb.FieldMask {
557 if x != nil {
558 return x.UpdateMask
559 }
560 return nil
561 }
562
563
564 type SearchTripsRequest struct {
565 state protoimpl.MessageState
566 sizeCache protoimpl.SizeCache
567 unknownFields protoimpl.UnknownFields
568
569
570 Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
571
572
573
574
575 Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
576
577
578
579
580
581
582
583 VehicleId string `protobuf:"bytes,4,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"`
584
585
586 ActiveTripsOnly bool `protobuf:"varint,5,opt,name=active_trips_only,json=activeTripsOnly,proto3" json:"active_trips_only,omitempty"`
587
588 PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
589
590
591 PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
592
593
594 MinimumStaleness *durationpb.Duration `protobuf:"bytes,8,opt,name=minimum_staleness,json=minimumStaleness,proto3" json:"minimum_staleness,omitempty"`
595 }
596
597 func (x *SearchTripsRequest) Reset() {
598 *x = SearchTripsRequest{}
599 if protoimpl.UnsafeEnabled {
600 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[4]
601 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
602 ms.StoreMessageInfo(mi)
603 }
604 }
605
606 func (x *SearchTripsRequest) String() string {
607 return protoimpl.X.MessageStringOf(x)
608 }
609
610 func (*SearchTripsRequest) ProtoMessage() {}
611
612 func (x *SearchTripsRequest) ProtoReflect() protoreflect.Message {
613 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[4]
614 if protoimpl.UnsafeEnabled && x != nil {
615 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
616 if ms.LoadMessageInfo() == nil {
617 ms.StoreMessageInfo(mi)
618 }
619 return ms
620 }
621 return mi.MessageOf(x)
622 }
623
624
625 func (*SearchTripsRequest) Descriptor() ([]byte, []int) {
626 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{4}
627 }
628
629 func (x *SearchTripsRequest) GetHeader() *RequestHeader {
630 if x != nil {
631 return x.Header
632 }
633 return nil
634 }
635
636 func (x *SearchTripsRequest) GetParent() string {
637 if x != nil {
638 return x.Parent
639 }
640 return ""
641 }
642
643 func (x *SearchTripsRequest) GetVehicleId() string {
644 if x != nil {
645 return x.VehicleId
646 }
647 return ""
648 }
649
650 func (x *SearchTripsRequest) GetActiveTripsOnly() bool {
651 if x != nil {
652 return x.ActiveTripsOnly
653 }
654 return false
655 }
656
657 func (x *SearchTripsRequest) GetPageSize() int32 {
658 if x != nil {
659 return x.PageSize
660 }
661 return 0
662 }
663
664 func (x *SearchTripsRequest) GetPageToken() string {
665 if x != nil {
666 return x.PageToken
667 }
668 return ""
669 }
670
671 func (x *SearchTripsRequest) GetMinimumStaleness() *durationpb.Duration {
672 if x != nil {
673 return x.MinimumStaleness
674 }
675 return nil
676 }
677
678
679 type SearchTripsResponse struct {
680 state protoimpl.MessageState
681 sizeCache protoimpl.SizeCache
682 unknownFields protoimpl.UnknownFields
683
684
685 Trips []*Trip `protobuf:"bytes,1,rep,name=trips,proto3" json:"trips,omitempty"`
686
687
688
689 NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
690 }
691
692 func (x *SearchTripsResponse) Reset() {
693 *x = SearchTripsResponse{}
694 if protoimpl.UnsafeEnabled {
695 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[5]
696 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
697 ms.StoreMessageInfo(mi)
698 }
699 }
700
701 func (x *SearchTripsResponse) String() string {
702 return protoimpl.X.MessageStringOf(x)
703 }
704
705 func (*SearchTripsResponse) ProtoMessage() {}
706
707 func (x *SearchTripsResponse) ProtoReflect() protoreflect.Message {
708 mi := &file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[5]
709 if protoimpl.UnsafeEnabled && x != nil {
710 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
711 if ms.LoadMessageInfo() == nil {
712 ms.StoreMessageInfo(mi)
713 }
714 return ms
715 }
716 return mi.MessageOf(x)
717 }
718
719
720 func (*SearchTripsResponse) Descriptor() ([]byte, []int) {
721 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{5}
722 }
723
724 func (x *SearchTripsResponse) GetTrips() []*Trip {
725 if x != nil {
726 return x.Trips
727 }
728 return nil
729 }
730
731 func (x *SearchTripsResponse) GetNextPageToken() string {
732 if x != nil {
733 return x.NextPageToken
734 }
735 return ""
736 }
737
738 var File_google_maps_fleetengine_v1_trip_api_proto protoreflect.FileDescriptor
739
740 var file_google_maps_fleetengine_v1_trip_api_proto_rawDesc = []byte{
741 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c,
742 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x74, 0x72, 0x69,
743 0x70, 0x5f, 0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x13, 0x6d, 0x61, 0x70,
744 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31,
745 0x1a, 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x61, 0x6e, 0x6e,
746 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x17,
747 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
748 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
749 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69,
750 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
751 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72,
752 0x6f, 0x74, 0x6f, 0x1a, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f,
753 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x2c, 0x67,
754 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74,
755 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
756 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x27, 0x67, 0x6f, 0x6f,
757 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e,
758 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e, 0x70,
759 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x61, 0x70,
760 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f, 0x76, 0x31,
761 0x2f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e, 0x67, 0x6f,
762 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x64, 0x75,
763 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1b, 0x67, 0x6f,
764 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x65, 0x6d,
765 0x70, 0x74, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
766 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
767 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x6f,
768 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69, 0x6d,
769 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe2, 0x01, 0x0a,
770 0x11, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
771 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
772 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
773 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
774 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x3f,
775 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27,
776 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67,
777 0x69, 0x6e, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
778 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x69, 0x70, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12,
779 0x1c, 0x0a, 0x07, 0x74, 0x72, 0x69, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09,
780 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x74, 0x72, 0x69, 0x70, 0x49, 0x64, 0x12, 0x32, 0x0a,
781 0x04, 0x74, 0x72, 0x69, 0x70, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61,
782 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76,
783 0x31, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x72, 0x69,
784 0x70, 0x22, 0xa1, 0x05, 0x0a, 0x0e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71,
785 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
786 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65,
787 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
788 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
789 0x12, 0x3b, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x27,
790 0xe0, 0x41, 0x02, 0xfa, 0x41, 0x21, 0x0a, 0x1f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67,
791 0x69, 0x6e, 0x65, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63,
792 0x6f, 0x6d, 0x2f, 0x54, 0x72, 0x69, 0x70, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a,
793 0x04, 0x76, 0x69, 0x65, 0x77, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x6d, 0x61,
794 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76,
795 0x31, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x56, 0x69, 0x65, 0x77, 0x52, 0x04, 0x76, 0x69, 0x65, 0x77,
796 0x12, 0x5d, 0x0a, 0x1d, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74,
797 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f,
798 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
799 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74,
800 0x61, 0x6d, 0x70, 0x52, 0x1a, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x75, 0x74,
801 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12,
802 0x5a, 0x0a, 0x1b, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x61, 0x79,
803 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x07,
804 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72,
805 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70,
806 0x52, 0x19, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x57, 0x61, 0x79, 0x70, 0x6f,
807 0x69, 0x6e, 0x74, 0x73, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x53, 0x0a, 0x11, 0x72,
808 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x5f, 0x74, 0x79, 0x70, 0x65,
809 0x18, 0x08, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x27, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c,
810 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x6f, 0x6c,
811 0x79, 0x6c, 0x69, 0x6e, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
812 0x0f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x54, 0x79, 0x70, 0x65,
813 0x12, 0x6c, 0x0a, 0x25, 0x63, 0x75, 0x72, 0x72, 0x65, 0x6e, 0x74, 0x5f, 0x72, 0x6f, 0x75, 0x74,
814 0x65, 0x5f, 0x73, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69,
815 0x63, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32,
816 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
817 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x21, 0x63, 0x75, 0x72,
818 0x72, 0x65, 0x6e, 0x74, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x53, 0x65, 0x67, 0x6d, 0x65, 0x6e, 0x74,
819 0x54, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x65,
820 0x0a, 0x21, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67, 0x5f, 0x77, 0x61, 0x79, 0x70,
821 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x5f, 0x72, 0x6f, 0x75, 0x74, 0x65, 0x5f, 0x76, 0x65, 0x72, 0x73,
822 0x69, 0x6f, 0x6e, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
823 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65,
824 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52, 0x1e, 0x72, 0x65, 0x6d, 0x61, 0x69, 0x6e, 0x69, 0x6e, 0x67,
825 0x57, 0x61, 0x79, 0x70, 0x6f, 0x69, 0x6e, 0x74, 0x73, 0x52, 0x6f, 0x75, 0x74, 0x65, 0x56, 0x65,
826 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x84, 0x03, 0x0a, 0x19, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74,
827 0x42, 0x69, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75,
828 0x65, 0x73, 0x74, 0x12, 0x17, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28,
829 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x26, 0x0a, 0x0c,
830 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01,
831 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0b, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x72, 0x79,
832 0x43, 0x6f, 0x64, 0x65, 0x12, 0x4a, 0x0a, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
833 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2e, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c,
834 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x42, 0x69, 0x6c,
835 0x6c, 0x69, 0x6e, 0x67, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x64, 0x65, 0x6e,
836 0x74, 0x69, 0x66, 0x69, 0x65, 0x72, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d,
837 0x12, 0x1f, 0x0a, 0x0b, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x5f, 0x69, 0x64, 0x73, 0x18,
838 0x06, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x72, 0x65, 0x6c, 0x61, 0x74, 0x65, 0x64, 0x49, 0x64,
839 0x73, 0x12, 0x60, 0x0a, 0x0d, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79,
840 0x70, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x3b, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
841 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52,
842 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x69,
843 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f,
844 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0c, 0x73, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54,
845 0x79, 0x70, 0x65, 0x22, 0x57, 0x0a, 0x0c, 0x53, 0x6f, 0x6c, 0x75, 0x74, 0x69, 0x6f, 0x6e, 0x54,
846 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x53, 0x4f, 0x4c, 0x55, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
847 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
848 0x10, 0x00, 0x12, 0x28, 0x0a, 0x24, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4d, 0x41, 0x4e, 0x44, 0x5f,
849 0x52, 0x49, 0x44, 0x45, 0x53, 0x48, 0x41, 0x52, 0x49, 0x4e, 0x47, 0x5f, 0x41, 0x4e, 0x44, 0x5f,
850 0x44, 0x45, 0x4c, 0x49, 0x56, 0x45, 0x52, 0x49, 0x45, 0x53, 0x10, 0x01, 0x22, 0xde, 0x01, 0x0a,
851 0x11, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65,
852 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01,
853 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
854 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
855 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x17,
856 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
857 0x02, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x32, 0x0a, 0x04, 0x74, 0x72, 0x69, 0x70, 0x18,
858 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65,
859 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x70,
860 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x72, 0x69, 0x70, 0x12, 0x40, 0x0a, 0x0b, 0x75,
861 0x70, 0x64, 0x61, 0x74, 0x65, 0x5f, 0x6d, 0x61, 0x73, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b,
862 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62,
863 0x75, 0x66, 0x2e, 0x46, 0x69, 0x65, 0x6c, 0x64, 0x4d, 0x61, 0x73, 0x6b, 0x42, 0x03, 0xe0, 0x41,
864 0x02, 0x52, 0x0a, 0x75, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4d, 0x61, 0x73, 0x6b, 0x22, 0xbc, 0x02,
865 0x0a, 0x12, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71,
866 0x75, 0x65, 0x73, 0x74, 0x12, 0x3a, 0x0a, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x18, 0x01,
867 0x20, 0x01, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65,
868 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65,
869 0x73, 0x74, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x52, 0x06, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72,
870 0x12, 0x1b, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
871 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x1d, 0x0a,
872 0x0a, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x5f, 0x69, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28,
873 0x09, 0x52, 0x09, 0x76, 0x65, 0x68, 0x69, 0x63, 0x6c, 0x65, 0x49, 0x64, 0x12, 0x2a, 0x0a, 0x11,
874 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x5f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x5f, 0x6f, 0x6e, 0x6c,
875 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0f, 0x61, 0x63, 0x74, 0x69, 0x76, 0x65, 0x54,
876 0x72, 0x69, 0x70, 0x73, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1b, 0x0a, 0x09, 0x70, 0x61, 0x67, 0x65,
877 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x52, 0x08, 0x70, 0x61, 0x67,
878 0x65, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x70, 0x61, 0x67, 0x65, 0x5f, 0x74, 0x6f,
879 0x6b, 0x65, 0x6e, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, 0x67, 0x65, 0x54,
880 0x6f, 0x6b, 0x65, 0x6e, 0x12, 0x46, 0x0a, 0x11, 0x6d, 0x69, 0x6e, 0x69, 0x6d, 0x75, 0x6d, 0x5f,
881 0x73, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32,
882 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75,
883 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x10, 0x6d, 0x69, 0x6e, 0x69,
884 0x6d, 0x75, 0x6d, 0x53, 0x74, 0x61, 0x6c, 0x65, 0x6e, 0x65, 0x73, 0x73, 0x22, 0x6e, 0x0a, 0x13,
885 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f,
886 0x6e, 0x73, 0x65, 0x12, 0x2f, 0x0a, 0x05, 0x74, 0x72, 0x69, 0x70, 0x73, 0x18, 0x01, 0x20, 0x03,
887 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65,
888 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x52, 0x05, 0x74,
889 0x72, 0x69, 0x70, 0x73, 0x12, 0x26, 0x0a, 0x0f, 0x6e, 0x65, 0x78, 0x74, 0x5f, 0x70, 0x61, 0x67,
890 0x65, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x6e,
891 0x65, 0x78, 0x74, 0x50, 0x61, 0x67, 0x65, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x32, 0x9f, 0x07, 0x0a,
892 0x0b, 0x54, 0x72, 0x69, 0x70, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0xa8, 0x01, 0x0a,
893 0x0a, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x70, 0x12, 0x26, 0x2e, 0x6d, 0x61,
894 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76,
895 0x31, 0x2e, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75,
896 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74,
897 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x22, 0x57,
898 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26, 0x22, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72,
899 0x65, 0x6e, 0x74, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d,
900 0x2f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x3a, 0x04, 0x74, 0x72, 0x69, 0x70, 0x8a, 0xd3, 0xe4, 0x93,
901 0x02, 0x25, 0x12, 0x23, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x7b, 0x70,
902 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69,
903 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0x9a, 0x01, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x54,
904 0x72, 0x69, 0x70, 0x12, 0x23, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74,
905 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x47, 0x65, 0x74, 0x54, 0x72, 0x69,
906 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e,
907 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x54,
908 0x72, 0x69, 0x70, 0x22, 0x4f, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x20, 0x12, 0x1e, 0x2f, 0x76, 0x31,
909 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73,
910 0x2f, 0x2a, 0x2f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x2f, 0x2a, 0x7d, 0x8a, 0xd3, 0xe4, 0x93, 0x02,
911 0x23, 0x12, 0x21, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x7b, 0x70, 0x72, 0x6f, 0x76,
912 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72,
913 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbf, 0x01, 0x0a, 0x12, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42,
914 0x69, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x70, 0x12, 0x2e, 0x2e, 0x6d, 0x61,
915 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76,
916 0x31, 0x2e, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x42, 0x69, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65,
917 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x67, 0x6f,
918 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x45, 0x6d,
919 0x70, 0x74, 0x79, 0x22, 0x61, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x32, 0x22, 0x2d, 0x2f, 0x76, 0x31,
920 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73,
921 0x2f, 0x2a, 0x2f, 0x62, 0x69, 0x6c, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x54, 0x72, 0x69, 0x70, 0x73,
922 0x2f, 0x2a, 0x7d, 0x3a, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x3a, 0x01, 0x2a, 0x8a, 0xd3, 0xe4,
923 0x93, 0x02, 0x23, 0x12, 0x21, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x7b, 0x70, 0x72,
924 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
925 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xbd, 0x01, 0x0a, 0x0b, 0x53, 0x65, 0x61, 0x72, 0x63,
926 0x68, 0x54, 0x72, 0x69, 0x70, 0x73, 0x12, 0x27, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c,
927 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61,
928 0x72, 0x63, 0x68, 0x54, 0x72, 0x69, 0x70, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
929 0x28, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69,
930 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x54, 0x72, 0x69, 0x70,
931 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x5b, 0x82, 0xd3, 0xe4, 0x93, 0x02,
932 0x2a, 0x22, 0x25, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x3d, 0x70,
933 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x2f, 0x74, 0x72, 0x69, 0x70,
934 0x73, 0x3a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x3a, 0x01, 0x2a, 0x8a, 0xd3, 0xe4, 0x93, 0x02,
935 0x25, 0x12, 0x23, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x65, 0x6e, 0x74, 0x12, 0x19, 0x7b, 0x70, 0x72,
936 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x69, 0x64, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64,
937 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x12, 0xa6, 0x01, 0x0a, 0x0a, 0x55, 0x70, 0x64, 0x61, 0x74,
938 0x65, 0x54, 0x72, 0x69, 0x70, 0x12, 0x26, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65,
939 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x55, 0x70, 0x64, 0x61,
940 0x74, 0x65, 0x54, 0x72, 0x69, 0x70, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e,
941 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65,
942 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x72, 0x69, 0x70, 0x22, 0x55, 0x82, 0xd3, 0xe4, 0x93, 0x02, 0x26,
943 0x1a, 0x1e, 0x2f, 0x76, 0x31, 0x2f, 0x7b, 0x6e, 0x61, 0x6d, 0x65, 0x3d, 0x70, 0x72, 0x6f, 0x76,
944 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x2f, 0x74, 0x72, 0x69, 0x70, 0x73, 0x2f, 0x2a, 0x7d,
945 0x3a, 0x04, 0x74, 0x72, 0x69, 0x70, 0x8a, 0xd3, 0xe4, 0x93, 0x02, 0x23, 0x12, 0x21, 0x0a, 0x04,
946 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x7b, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f,
947 0x69, 0x64, 0x3d, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x72, 0x73, 0x2f, 0x2a, 0x7d, 0x1a,
948 0x1d, 0xca, 0x41, 0x1a, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e,
949 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x42, 0x74,
950 0x0a, 0x1a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x61, 0x70, 0x73, 0x2e, 0x66, 0x6c,
951 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2e, 0x76, 0x31, 0x42, 0x07, 0x54, 0x72,
952 0x69, 0x70, 0x41, 0x70, 0x69, 0x50, 0x01, 0x5a, 0x45, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
953 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72,
954 0x6f, 0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x6d,
955 0x61, 0x70, 0x73, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0x2f,
956 0x76, 0x31, 0x3b, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x65, 0x6e, 0x67, 0x69, 0x6e, 0x65, 0xa2, 0x02,
957 0x03, 0x43, 0x46, 0x45, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
958 }
959
960 var (
961 file_google_maps_fleetengine_v1_trip_api_proto_rawDescOnce sync.Once
962 file_google_maps_fleetengine_v1_trip_api_proto_rawDescData = file_google_maps_fleetengine_v1_trip_api_proto_rawDesc
963 )
964
965 func file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP() []byte {
966 file_google_maps_fleetengine_v1_trip_api_proto_rawDescOnce.Do(func() {
967 file_google_maps_fleetengine_v1_trip_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_maps_fleetengine_v1_trip_api_proto_rawDescData)
968 })
969 return file_google_maps_fleetengine_v1_trip_api_proto_rawDescData
970 }
971
972 var file_google_maps_fleetengine_v1_trip_api_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
973 var file_google_maps_fleetengine_v1_trip_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
974 var file_google_maps_fleetengine_v1_trip_api_proto_goTypes = []interface{}{
975 (ReportBillableTripRequest_SolutionType)(0),
976 (*CreateTripRequest)(nil),
977 (*GetTripRequest)(nil),
978 (*ReportBillableTripRequest)(nil),
979 (*UpdateTripRequest)(nil),
980 (*SearchTripsRequest)(nil),
981 (*SearchTripsResponse)(nil),
982 (*RequestHeader)(nil),
983 (*Trip)(nil),
984 (TripView)(0),
985 (*timestamppb.Timestamp)(nil),
986 (PolylineFormatType)(0),
987 (BillingPlatformIdentifier)(0),
988 (*fieldmaskpb.FieldMask)(nil),
989 (*durationpb.Duration)(nil),
990 (*emptypb.Empty)(nil),
991 }
992 var file_google_maps_fleetengine_v1_trip_api_proto_depIdxs = []int32{
993 7,
994 8,
995 7,
996 9,
997 10,
998 10,
999 11,
1000 10,
1001 10,
1002 12,
1003 0,
1004 7,
1005 8,
1006 13,
1007 7,
1008 14,
1009 8,
1010 1,
1011 2,
1012 3,
1013 5,
1014 4,
1015 8,
1016 8,
1017 15,
1018 6,
1019 8,
1020 22,
1021 17,
1022 17,
1023 17,
1024 0,
1025 }
1026
1027 func init() { file_google_maps_fleetengine_v1_trip_api_proto_init() }
1028 func file_google_maps_fleetengine_v1_trip_api_proto_init() {
1029 if File_google_maps_fleetengine_v1_trip_api_proto != nil {
1030 return
1031 }
1032 file_google_maps_fleetengine_v1_fleetengine_proto_init()
1033 file_google_maps_fleetengine_v1_header_proto_init()
1034 file_google_maps_fleetengine_v1_trips_proto_init()
1035 if !protoimpl.UnsafeEnabled {
1036 file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
1037 switch v := v.(*CreateTripRequest); i {
1038 case 0:
1039 return &v.state
1040 case 1:
1041 return &v.sizeCache
1042 case 2:
1043 return &v.unknownFields
1044 default:
1045 return nil
1046 }
1047 }
1048 file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
1049 switch v := v.(*GetTripRequest); i {
1050 case 0:
1051 return &v.state
1052 case 1:
1053 return &v.sizeCache
1054 case 2:
1055 return &v.unknownFields
1056 default:
1057 return nil
1058 }
1059 }
1060 file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
1061 switch v := v.(*ReportBillableTripRequest); i {
1062 case 0:
1063 return &v.state
1064 case 1:
1065 return &v.sizeCache
1066 case 2:
1067 return &v.unknownFields
1068 default:
1069 return nil
1070 }
1071 }
1072 file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
1073 switch v := v.(*UpdateTripRequest); i {
1074 case 0:
1075 return &v.state
1076 case 1:
1077 return &v.sizeCache
1078 case 2:
1079 return &v.unknownFields
1080 default:
1081 return nil
1082 }
1083 }
1084 file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
1085 switch v := v.(*SearchTripsRequest); i {
1086 case 0:
1087 return &v.state
1088 case 1:
1089 return &v.sizeCache
1090 case 2:
1091 return &v.unknownFields
1092 default:
1093 return nil
1094 }
1095 }
1096 file_google_maps_fleetengine_v1_trip_api_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
1097 switch v := v.(*SearchTripsResponse); i {
1098 case 0:
1099 return &v.state
1100 case 1:
1101 return &v.sizeCache
1102 case 2:
1103 return &v.unknownFields
1104 default:
1105 return nil
1106 }
1107 }
1108 }
1109 type x struct{}
1110 out := protoimpl.TypeBuilder{
1111 File: protoimpl.DescBuilder{
1112 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
1113 RawDescriptor: file_google_maps_fleetengine_v1_trip_api_proto_rawDesc,
1114 NumEnums: 1,
1115 NumMessages: 6,
1116 NumExtensions: 0,
1117 NumServices: 1,
1118 },
1119 GoTypes: file_google_maps_fleetengine_v1_trip_api_proto_goTypes,
1120 DependencyIndexes: file_google_maps_fleetengine_v1_trip_api_proto_depIdxs,
1121 EnumInfos: file_google_maps_fleetengine_v1_trip_api_proto_enumTypes,
1122 MessageInfos: file_google_maps_fleetengine_v1_trip_api_proto_msgTypes,
1123 }.Build()
1124 File_google_maps_fleetengine_v1_trip_api_proto = out.File
1125 file_google_maps_fleetengine_v1_trip_api_proto_rawDesc = nil
1126 file_google_maps_fleetengine_v1_trip_api_proto_goTypes = nil
1127 file_google_maps_fleetengine_v1_trip_api_proto_depIdxs = nil
1128 }
1129
1130
1131 var _ context.Context
1132 var _ grpc.ClientConnInterface
1133
1134
1135
1136 const _ = grpc.SupportPackageIsVersion6
1137
1138
1139
1140
1141 type TripServiceClient interface {
1142
1143 CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*Trip, error)
1144
1145 GetTrip(ctx context.Context, in *GetTripRequest, opts ...grpc.CallOption) (*Trip, error)
1146
1147 ReportBillableTrip(ctx context.Context, in *ReportBillableTripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
1148
1149 SearchTrips(ctx context.Context, in *SearchTripsRequest, opts ...grpc.CallOption) (*SearchTripsResponse, error)
1150
1151 UpdateTrip(ctx context.Context, in *UpdateTripRequest, opts ...grpc.CallOption) (*Trip, error)
1152 }
1153
1154 type tripServiceClient struct {
1155 cc grpc.ClientConnInterface
1156 }
1157
1158 func NewTripServiceClient(cc grpc.ClientConnInterface) TripServiceClient {
1159 return &tripServiceClient{cc}
1160 }
1161
1162 func (c *tripServiceClient) CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*Trip, error) {
1163 out := new(Trip)
1164 err := c.cc.Invoke(ctx, "/maps.fleetengine.v1.TripService/CreateTrip", in, out, opts...)
1165 if err != nil {
1166 return nil, err
1167 }
1168 return out, nil
1169 }
1170
1171 func (c *tripServiceClient) GetTrip(ctx context.Context, in *GetTripRequest, opts ...grpc.CallOption) (*Trip, error) {
1172 out := new(Trip)
1173 err := c.cc.Invoke(ctx, "/maps.fleetengine.v1.TripService/GetTrip", in, out, opts...)
1174 if err != nil {
1175 return nil, err
1176 }
1177 return out, nil
1178 }
1179
1180 func (c *tripServiceClient) ReportBillableTrip(ctx context.Context, in *ReportBillableTripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) {
1181 out := new(emptypb.Empty)
1182 err := c.cc.Invoke(ctx, "/maps.fleetengine.v1.TripService/ReportBillableTrip", in, out, opts...)
1183 if err != nil {
1184 return nil, err
1185 }
1186 return out, nil
1187 }
1188
1189 func (c *tripServiceClient) SearchTrips(ctx context.Context, in *SearchTripsRequest, opts ...grpc.CallOption) (*SearchTripsResponse, error) {
1190 out := new(SearchTripsResponse)
1191 err := c.cc.Invoke(ctx, "/maps.fleetengine.v1.TripService/SearchTrips", in, out, opts...)
1192 if err != nil {
1193 return nil, err
1194 }
1195 return out, nil
1196 }
1197
1198 func (c *tripServiceClient) UpdateTrip(ctx context.Context, in *UpdateTripRequest, opts ...grpc.CallOption) (*Trip, error) {
1199 out := new(Trip)
1200 err := c.cc.Invoke(ctx, "/maps.fleetengine.v1.TripService/UpdateTrip", in, out, opts...)
1201 if err != nil {
1202 return nil, err
1203 }
1204 return out, nil
1205 }
1206
1207
1208 type TripServiceServer interface {
1209
1210 CreateTrip(context.Context, *CreateTripRequest) (*Trip, error)
1211
1212 GetTrip(context.Context, *GetTripRequest) (*Trip, error)
1213
1214 ReportBillableTrip(context.Context, *ReportBillableTripRequest) (*emptypb.Empty, error)
1215
1216 SearchTrips(context.Context, *SearchTripsRequest) (*SearchTripsResponse, error)
1217
1218 UpdateTrip(context.Context, *UpdateTripRequest) (*Trip, error)
1219 }
1220
1221
1222 type UnimplementedTripServiceServer struct {
1223 }
1224
1225 func (*UnimplementedTripServiceServer) CreateTrip(context.Context, *CreateTripRequest) (*Trip, error) {
1226 return nil, status.Errorf(codes.Unimplemented, "method CreateTrip not implemented")
1227 }
1228 func (*UnimplementedTripServiceServer) GetTrip(context.Context, *GetTripRequest) (*Trip, error) {
1229 return nil, status.Errorf(codes.Unimplemented, "method GetTrip not implemented")
1230 }
1231 func (*UnimplementedTripServiceServer) ReportBillableTrip(context.Context, *ReportBillableTripRequest) (*emptypb.Empty, error) {
1232 return nil, status.Errorf(codes.Unimplemented, "method ReportBillableTrip not implemented")
1233 }
1234 func (*UnimplementedTripServiceServer) SearchTrips(context.Context, *SearchTripsRequest) (*SearchTripsResponse, error) {
1235 return nil, status.Errorf(codes.Unimplemented, "method SearchTrips not implemented")
1236 }
1237 func (*UnimplementedTripServiceServer) UpdateTrip(context.Context, *UpdateTripRequest) (*Trip, error) {
1238 return nil, status.Errorf(codes.Unimplemented, "method UpdateTrip not implemented")
1239 }
1240
1241 func RegisterTripServiceServer(s *grpc.Server, srv TripServiceServer) {
1242 s.RegisterService(&_TripService_serviceDesc, srv)
1243 }
1244
1245 func _TripService_CreateTrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1246 in := new(CreateTripRequest)
1247 if err := dec(in); err != nil {
1248 return nil, err
1249 }
1250 if interceptor == nil {
1251 return srv.(TripServiceServer).CreateTrip(ctx, in)
1252 }
1253 info := &grpc.UnaryServerInfo{
1254 Server: srv,
1255 FullMethod: "/maps.fleetengine.v1.TripService/CreateTrip",
1256 }
1257 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1258 return srv.(TripServiceServer).CreateTrip(ctx, req.(*CreateTripRequest))
1259 }
1260 return interceptor(ctx, in, info, handler)
1261 }
1262
1263 func _TripService_GetTrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1264 in := new(GetTripRequest)
1265 if err := dec(in); err != nil {
1266 return nil, err
1267 }
1268 if interceptor == nil {
1269 return srv.(TripServiceServer).GetTrip(ctx, in)
1270 }
1271 info := &grpc.UnaryServerInfo{
1272 Server: srv,
1273 FullMethod: "/maps.fleetengine.v1.TripService/GetTrip",
1274 }
1275 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1276 return srv.(TripServiceServer).GetTrip(ctx, req.(*GetTripRequest))
1277 }
1278 return interceptor(ctx, in, info, handler)
1279 }
1280
1281 func _TripService_ReportBillableTrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1282 in := new(ReportBillableTripRequest)
1283 if err := dec(in); err != nil {
1284 return nil, err
1285 }
1286 if interceptor == nil {
1287 return srv.(TripServiceServer).ReportBillableTrip(ctx, in)
1288 }
1289 info := &grpc.UnaryServerInfo{
1290 Server: srv,
1291 FullMethod: "/maps.fleetengine.v1.TripService/ReportBillableTrip",
1292 }
1293 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1294 return srv.(TripServiceServer).ReportBillableTrip(ctx, req.(*ReportBillableTripRequest))
1295 }
1296 return interceptor(ctx, in, info, handler)
1297 }
1298
1299 func _TripService_SearchTrips_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1300 in := new(SearchTripsRequest)
1301 if err := dec(in); err != nil {
1302 return nil, err
1303 }
1304 if interceptor == nil {
1305 return srv.(TripServiceServer).SearchTrips(ctx, in)
1306 }
1307 info := &grpc.UnaryServerInfo{
1308 Server: srv,
1309 FullMethod: "/maps.fleetengine.v1.TripService/SearchTrips",
1310 }
1311 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1312 return srv.(TripServiceServer).SearchTrips(ctx, req.(*SearchTripsRequest))
1313 }
1314 return interceptor(ctx, in, info, handler)
1315 }
1316
1317 func _TripService_UpdateTrip_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) {
1318 in := new(UpdateTripRequest)
1319 if err := dec(in); err != nil {
1320 return nil, err
1321 }
1322 if interceptor == nil {
1323 return srv.(TripServiceServer).UpdateTrip(ctx, in)
1324 }
1325 info := &grpc.UnaryServerInfo{
1326 Server: srv,
1327 FullMethod: "/maps.fleetengine.v1.TripService/UpdateTrip",
1328 }
1329 handler := func(ctx context.Context, req interface{}) (interface{}, error) {
1330 return srv.(TripServiceServer).UpdateTrip(ctx, req.(*UpdateTripRequest))
1331 }
1332 return interceptor(ctx, in, info, handler)
1333 }
1334
1335 var _TripService_serviceDesc = grpc.ServiceDesc{
1336 ServiceName: "maps.fleetengine.v1.TripService",
1337 HandlerType: (*TripServiceServer)(nil),
1338 Methods: []grpc.MethodDesc{
1339 {
1340 MethodName: "CreateTrip",
1341 Handler: _TripService_CreateTrip_Handler,
1342 },
1343 {
1344 MethodName: "GetTrip",
1345 Handler: _TripService_GetTrip_Handler,
1346 },
1347 {
1348 MethodName: "ReportBillableTrip",
1349 Handler: _TripService_ReportBillableTrip_Handler,
1350 },
1351 {
1352 MethodName: "SearchTrips",
1353 Handler: _TripService_SearchTrips_Handler,
1354 },
1355 {
1356 MethodName: "UpdateTrip",
1357 Handler: _TripService_UpdateTrip_Handler,
1358 },
1359 },
1360 Streams: []grpc.StreamDesc{},
1361 Metadata: "google/maps/fleetengine/v1/trip_api.proto",
1362 }
1363
View as plain text