| 1 |
// Copyright 2023 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.26.0 |
| 18 |
// protoc v3.21.9 |
| 19 |
// source: google/maps/fleetengine/v1/trip_api.proto |
| 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 |
// Verify that this generated code is sufficiently up-to-date. |
| 42 |
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| 43 |
// Verify that runtime/protoimpl is sufficiently up-to-date. |
| 44 |
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| 45 |
) |
| 46 |
|
| 47 |
// Selector for different solution types of a reported trip. |
| 48 |
type ReportBillableTripRequest_SolutionType int32 |
| 49 |
|
| 50 |
const ( |
| 51 |
// The default value. For backwards-compatibility, the API will use |
| 52 |
// `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first |
| 53 |
// supported solution type. |
| 54 |
ReportBillableTripRequest_SOLUTION_TYPE_UNSPECIFIED ReportBillableTripRequest_SolutionType = 0 |
| 55 |
// The solution is an on-demand ridesharing and deliveries trip. |
| 56 |
ReportBillableTripRequest_ON_DEMAND_RIDESHARING_AND_DELIVERIES ReportBillableTripRequest_SolutionType = 1 |
| 57 |
) |
| 58 |
|
| 59 |
// Enum value maps for ReportBillableTripRequest_SolutionType. |
| 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 |
// Deprecated: Use ReportBillableTripRequest_SolutionType.Descriptor instead. |
| 94 |
func (ReportBillableTripRequest_SolutionType) EnumDescriptor() ([]byte, []int) { |
| 95 |
return file_google_maps_fleetengine_v1_trip_api_proto_rawDescGZIP(), []int{2, 0} |
| 96 |
} |
| 97 |
|
| 98 |
// CreateTrip request message. |
| 99 |
type CreateTripRequest struct { |
| 100 |
state protoimpl.MessageState |
| 101 |
sizeCache protoimpl.SizeCache |
| 102 |
unknownFields protoimpl.UnknownFields |
| 103 |
|
| 104 |
// The standard Fleet Engine request header. |
| 105 |
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 106 |
// Required. Must be in the format `providers/{provider}`. |
| 107 |
// The provider must be the Project ID (for example, `sample-cloud-project`) |
| 108 |
// of the Google Cloud Project of which the service account making |
| 109 |
// this call is a member. |
| 110 |
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` |
| 111 |
// Required. Unique Trip ID. |
| 112 |
// Subject to the following restrictions: |
| 113 |
// |
| 114 |
// * Must be a valid Unicode string. |
| 115 |
// * Limited to a maximum length of 64 characters. |
| 116 |
// * Normalized according to [Unicode Normalization Form C] |
| 117 |
// (http://www.unicode.org/reports/tr15/). |
| 118 |
// * May not contain any of the following ASCII characters: '/', ':', '?', |
| 119 |
// ',', or '#'. |
| 120 |
TripId string `protobuf:"bytes,5,opt,name=trip_id,json=tripId,proto3" json:"trip_id,omitempty"` |
| 121 |
// Required. Trip entity to create. |
| 122 |
// |
| 123 |
// When creating a Trip, the following fields are required: |
| 124 |
// |
| 125 |
// * `trip_type` |
| 126 |
// * `pickup_point` |
| 127 |
// |
| 128 |
// The following fields are used if you provide them: |
| 129 |
// |
| 130 |
// * `number_of_passengers` |
| 131 |
// * `vehicle_id` |
| 132 |
// * `dropoff_point` |
| 133 |
// * `intermediate_destinations` |
| 134 |
// |
| 135 |
// Only `EXCLUSIVE` trips support multiple destinations. |
| 136 |
// |
| 137 |
// When `vehicle_id` is set for a shared trip, you must supply |
| 138 |
// the list of `Trip.vehicle_waypoints` to specify the order of the remaining |
| 139 |
// waypoints for the vehicle, otherwise the waypoint order will be |
| 140 |
// undetermined. |
| 141 |
// |
| 142 |
// When you specify `Trip.vehicle_waypoints`, the list must contain all |
| 143 |
// the remaining waypoints of the vehicle's trips, with no extra waypoints. |
| 144 |
// You must order these waypoints such that for a given trip, the pickup |
| 145 |
// point is before intermediate destinations, and all intermediate |
| 146 |
// destinations come before the drop-off point. An `EXCLUSIVE` trip's |
| 147 |
// waypoints must not interleave with any other trips. |
| 148 |
// |
| 149 |
// The `trip_id`, `waypoint_type` and `location` fields are used, and all |
| 150 |
// other TripWaypoint fields in `vehicle_waypoints` are ignored. |
| 151 |
// |
| 152 |
// All other Trip fields are ignored. |
| 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 |
// Deprecated: Use CreateTripRequest.ProtoReflect.Descriptor instead. |
| 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 |
// GetTrip request message. |
| 217 |
type GetTripRequest struct { |
| 218 |
state protoimpl.MessageState |
| 219 |
sizeCache protoimpl.SizeCache |
| 220 |
unknownFields protoimpl.UnknownFields |
| 221 |
|
| 222 |
// The standard Fleet Engine request header. |
| 223 |
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 224 |
// Required. Must be in the format `providers/{provider}/trips/{trip}`. |
| 225 |
// The provider must be the Project ID (for example, `sample-cloud-project`) |
| 226 |
// of the Google Cloud Project of which the service account making |
| 227 |
// this call is a member. |
| 228 |
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` |
| 229 |
// The subset of Trip fields that should be returned and their interpretation. |
| 230 |
View TripView `protobuf:"varint,11,opt,name=view,proto3,enum=maps.fleetengine.v1.TripView" json:"view,omitempty"` |
| 231 |
// Indicates the minimum timestamp (exclusive) for which `Trip.route` or |
| 232 |
// `Trip.current_route_segment` data are retrieved. If route data are |
| 233 |
// unchanged since this timestamp, the route field is not set in the response. |
| 234 |
// If a minimum is unspecified, the route data are always retrieved. |
| 235 |
CurrentRouteSegmentVersion *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=current_route_segment_version,json=currentRouteSegmentVersion,proto3" json:"current_route_segment_version,omitempty"` |
| 236 |
// Indicates the minimum timestamp (exclusive) for which |
| 237 |
// `Trip.remaining_waypoints` are retrieved. If they are unchanged since this |
| 238 |
// timestamp, the `remaining_waypoints` are not set in the response. If this |
| 239 |
// field is unspecified, `remaining_waypoints` is always retrieved. |
| 240 |
RemainingWaypointsVersion *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=remaining_waypoints_version,json=remainingWaypointsVersion,proto3" json:"remaining_waypoints_version,omitempty"` |
| 241 |
// The returned current route format, `LAT_LNG_LIST_TYPE` (in `Trip.route`), |
| 242 |
// or `ENCODED_POLYLINE_TYPE` (in `Trip.current_route_segment`). The default |
| 243 |
// is `LAT_LNG_LIST_TYPE`. |
| 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 |
// Indicates the minimum timestamp (exclusive) for which |
| 246 |
// `Trip.current_route_segment_traffic` is retrieved. If traffic data are |
| 247 |
// unchanged since this timestamp, the `current_route_segment_traffic` field |
| 248 |
// is not set in the response. If a minimum is unspecified, the traffic data |
| 249 |
// are always retrieved. Note that traffic is only available for On-Demand |
| 250 |
// Rides and Deliveries Solution customers. |
| 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 |
// Indicates the minimum timestamp (exclusive) for which |
| 253 |
// `Trip.remaining_waypoints.traffic_to_waypoint` and |
| 254 |
// `Trip.remaining_waypoints.path_to_waypoint` data are retrieved. If data are |
| 255 |
// unchanged since this timestamp, the fields above are |
| 256 |
// not set in the response. If `remaining_waypoints_route_version` is |
| 257 |
// unspecified, traffic and path are always retrieved. |
| 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 |
// Deprecated: Use GetTripRequest.ProtoReflect.Descriptor instead. |
| 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 |
// ReportBillableTrip request message. |
| 350 |
type ReportBillableTripRequest struct { |
| 351 |
state protoimpl.MessageState |
| 352 |
sizeCache protoimpl.SizeCache |
| 353 |
unknownFields protoimpl.UnknownFields |
| 354 |
|
| 355 |
// Required. Must be in the format |
| 356 |
// `providers/{provider}/billableTrips/{billable_trip}`. The |
| 357 |
// provider must be the Project ID (for example, `sample-cloud-project`) of |
| 358 |
// the Google Cloud Project of which the service account making this call is a |
| 359 |
// member. |
| 360 |
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` |
| 361 |
// Required. Two letter country code of the country where the trip takes |
| 362 |
// place. Price is defined according to country code. |
| 363 |
CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"` |
| 364 |
// The platform upon which the request was issued. |
| 365 |
Platform BillingPlatformIdentifier `protobuf:"varint,5,opt,name=platform,proto3,enum=maps.fleetengine.v1.BillingPlatformIdentifier" json:"platform,omitempty"` |
| 366 |
// The identifiers that are directly related to the trip being reported. These |
| 367 |
// are usually IDs (for example, session IDs) of pre-booking operations done |
| 368 |
// before the trip ID is available. The number of `related_ids` is |
| 369 |
// limited to 50. |
| 370 |
RelatedIds []string `protobuf:"bytes,6,rep,name=related_ids,json=relatedIds,proto3" json:"related_ids,omitempty"` |
| 371 |
// The type of GMP product solution (for example, |
| 372 |
// `ON_DEMAND_RIDESHARING_AND_DELIVERIES`) used for the reported trip. |
| 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 |
// Deprecated: Use ReportBillableTripRequest.ProtoReflect.Descriptor instead. |
| 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 |
// UpdateTrip request message. |
| 444 |
type UpdateTripRequest struct { |
| 445 |
state protoimpl.MessageState |
| 446 |
sizeCache protoimpl.SizeCache |
| 447 |
unknownFields protoimpl.UnknownFields |
| 448 |
|
| 449 |
// The standard Fleet Engine request header. |
| 450 |
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 451 |
// Required. Must be in the format |
| 452 |
// `providers/{provider}/trips/{trip}`. The provider must |
| 453 |
// be the Project ID (for example, `sample-consumer-project`) of the Google |
| 454 |
// Cloud Project of which the service account making this call is a member. |
| 455 |
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` |
| 456 |
// Required. The Trip associated with the update. |
| 457 |
// |
| 458 |
// The following fields are maintained by the Fleet Engine. Do not update |
| 459 |
// them using Trip.update. |
| 460 |
// |
| 461 |
// * `current_route_segment` |
| 462 |
// * `current_route_segment_end_point` |
| 463 |
// * `current_route_segment_traffic` |
| 464 |
// * `current_route_segment_traffic_version` |
| 465 |
// * `current_route_segment_version` |
| 466 |
// * `dropoff_time` |
| 467 |
// * `eta_to_next_waypoint` |
| 468 |
// * `intermediate_destinations_version` |
| 469 |
// * `last_location` |
| 470 |
// * `name` |
| 471 |
// * `number_of_passengers` |
| 472 |
// * `pickup_time` |
| 473 |
// * `remaining_distance_meters` |
| 474 |
// * `remaining_time_to_first_waypoint` |
| 475 |
// * `remaining_waypoints` |
| 476 |
// * `remaining_waypoints_version` |
| 477 |
// * `route` |
| 478 |
// |
| 479 |
// When you update the `Trip.vehicle_id` for a shared trip, you must supply |
| 480 |
// the list of `Trip.vehicle_waypoints` to specify the order of the remaining |
| 481 |
// waypoints, otherwise the order will be undetermined. |
| 482 |
// |
| 483 |
// When you specify `Trip.vehicle_waypoints`, the list must contain all |
| 484 |
// the remaining waypoints of the vehicle's trips, with no extra waypoints. |
| 485 |
// You must order these waypoints such that for a given trip, the pickup |
| 486 |
// point is before intermediate destinations, and all intermediate |
| 487 |
// destinations come before the drop-off point. An `EXCLUSIVE` trip's |
| 488 |
// waypoints must not interleave with any other trips. |
| 489 |
// The `trip_id`, `waypoint_type` and `location` fields are used, and all |
| 490 |
// other TripWaypoint fields in `vehicle_waypoints` are ignored. |
| 491 |
// |
| 492 |
// To avoid a race condition for trips with multiple destinations, you |
| 493 |
// should provide `Trip.intermediate_destinations_version` when updating |
| 494 |
// the trip status to `ENROUTE_TO_INTERMEDIATE_DESTINATION`. The |
| 495 |
// `Trip.intermediate_destinations_version` passed must be consistent with |
| 496 |
// Fleet Engine's version. If it isn't, the request fails. |
| 497 |
Trip *Trip `protobuf:"bytes,4,opt,name=trip,proto3" json:"trip,omitempty"` |
| 498 |
// Required. The field mask indicating which fields in Trip to update. |
| 499 |
// The `update_mask` must contain at least one field. |
| 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 |
// Deprecated: Use UpdateTripRequest.ProtoReflect.Descriptor instead. |
| 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 |
// SearchTrips request message. |
| 564 |
type SearchTripsRequest struct { |
| 565 |
state protoimpl.MessageState |
| 566 |
sizeCache protoimpl.SizeCache |
| 567 |
unknownFields protoimpl.UnknownFields |
| 568 |
|
| 569 |
// The standard Fleet Engine request header. |
| 570 |
Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"` |
| 571 |
// Required. Must be in the format `providers/{provider}`. |
| 572 |
// The provider must be the Project ID (for example, `sample-cloud-project`) |
| 573 |
// of the Google Cloud Project of which the service account making |
| 574 |
// this call is a member. |
| 575 |
Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"` |
| 576 |
// The vehicle associated with the trips in the request. If unspecified, the |
| 577 |
// returned trips do not contain: |
| 578 |
// |
| 579 |
// * `current_route_segment` |
| 580 |
// * `remaining_waypoints` |
| 581 |
// * `remaining_distance_meters` |
| 582 |
// * `eta_to_first_waypoint` |
| 583 |
VehicleId string `protobuf:"bytes,4,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"` |
| 584 |
// If set to true, the response includes Trips that influence a driver's |
| 585 |
// route. |
| 586 |
ActiveTripsOnly bool `protobuf:"varint,5,opt,name=active_trips_only,json=activeTripsOnly,proto3" json:"active_trips_only,omitempty"` |
| 587 |
// If not set, the server decides the number of results to return. |
| 588 |
PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"` |
| 589 |
// Set this to a value previously returned in the `SearchTripsResponse` to |
| 590 |
// continue from previous results. |
| 591 |
PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"` |
| 592 |
// If specified, returns the trips that have not been updated after the time |
| 593 |
// `(current - minimum_staleness)`. |
| 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 |
// Deprecated: Use SearchTripsRequest.ProtoReflect.Descriptor instead. |
| 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 |
// SearchTrips response message. |
| 679 |
type SearchTripsResponse struct { |
| 680 |
state protoimpl.MessageState |
| 681 |
sizeCache protoimpl.SizeCache |
| 682 |
unknownFields protoimpl.UnknownFields |
| 683 |
|
| 684 |
// The list of trips for the requested vehicle. |
| 685 |
Trips []*Trip `protobuf:"bytes,1,rep,name=trips,proto3" json:"trips,omitempty"` |
| 686 |
// Pass this token in the SearchTripsRequest to continue to |
| 687 |
// list results. If all results have been returned, this field is an empty |
| 688 |
// string or not present in the response. |
| 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 |
// Deprecated: Use SearchTripsResponse.ProtoReflect.Descriptor instead. |
| 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), // 0: maps.fleetengine.v1.ReportBillableTripRequest.SolutionType |
| 976 |
(*CreateTripRequest)(nil), // 1: maps.fleetengine.v1.CreateTripRequest |
| 977 |
(*GetTripRequest)(nil), // 2: maps.fleetengine.v1.GetTripRequest |
| 978 |
(*ReportBillableTripRequest)(nil), // 3: maps.fleetengine.v1.ReportBillableTripRequest |
| 979 |
(*UpdateTripRequest)(nil), // 4: maps.fleetengine.v1.UpdateTripRequest |
| 980 |
(*SearchTripsRequest)(nil), // 5: maps.fleetengine.v1.SearchTripsRequest |
| 981 |
(*SearchTripsResponse)(nil), // 6: maps.fleetengine.v1.SearchTripsResponse |
| 982 |
(*RequestHeader)(nil), // 7: maps.fleetengine.v1.RequestHeader |
| 983 |
(*Trip)(nil), // 8: maps.fleetengine.v1.Trip |
| 984 |
(TripView)(0), // 9: maps.fleetengine.v1.TripView |
| 985 |
(*timestamppb.Timestamp)(nil), // 10: google.protobuf.Timestamp |
| 986 |
(PolylineFormatType)(0), // 11: maps.fleetengine.v1.PolylineFormatType |
| 987 |
(BillingPlatformIdentifier)(0), // 12: maps.fleetengine.v1.BillingPlatformIdentifier |
| 988 |
(*fieldmaskpb.FieldMask)(nil), // 13: google.protobuf.FieldMask |
| 989 |
(*durationpb.Duration)(nil), // 14: google.protobuf.Duration |
| 990 |
(*emptypb.Empty)(nil), // 15: google.protobuf.Empty |
| 991 |
} |
| 992 |
var file_google_maps_fleetengine_v1_trip_api_proto_depIdxs = []int32{ |
| 993 |
7, // 0: maps.fleetengine.v1.CreateTripRequest.header:type_name -> maps.fleetengine.v1.RequestHeader |
| 994 |
8, // 1: maps.fleetengine.v1.CreateTripRequest.trip:type_name -> maps.fleetengine.v1.Trip |
| 995 |
7, // 2: maps.fleetengine.v1.GetTripRequest.header:type_name -> maps.fleetengine.v1.RequestHeader |
| 996 |
9, // 3: maps.fleetengine.v1.GetTripRequest.view:type_name -> maps.fleetengine.v1.TripView |
| 997 |
10, // 4: maps.fleetengine.v1.GetTripRequest.current_route_segment_version:type_name -> google.protobuf.Timestamp |
| 998 |
10, // 5: maps.fleetengine.v1.GetTripRequest.remaining_waypoints_version:type_name -> google.protobuf.Timestamp |
| 999 |
11, // 6: maps.fleetengine.v1.GetTripRequest.route_format_type:type_name -> maps.fleetengine.v1.PolylineFormatType |
| 1000 |
10, // 7: maps.fleetengine.v1.GetTripRequest.current_route_segment_traffic_version:type_name -> google.protobuf.Timestamp |
| 1001 |
10, // 8: maps.fleetengine.v1.GetTripRequest.remaining_waypoints_route_version:type_name -> google.protobuf.Timestamp |
| 1002 |
12, // 9: maps.fleetengine.v1.ReportBillableTripRequest.platform:type_name -> maps.fleetengine.v1.BillingPlatformIdentifier |
| 1003 |
0, // 10: maps.fleetengine.v1.ReportBillableTripRequest.solution_type:type_name -> maps.fleetengine.v1.ReportBillableTripRequest.SolutionType |
| 1004 |
7, // 11: maps.fleetengine.v1.UpdateTripRequest.header:type_name -> maps.fleetengine.v1.RequestHeader |
| 1005 |
8, // 12: maps.fleetengine.v1.UpdateTripRequest.trip:type_name -> maps.fleetengine.v1.Trip |
| 1006 |
13, // 13: maps.fleetengine.v1.UpdateTripRequest.update_mask:type_name -> google.protobuf.FieldMask |
| 1007 |
7, // 14: maps.fleetengine.v1.SearchTripsRequest.header:type_name -> maps.fleetengine.v1.RequestHeader |
| 1008 |
14, // 15: maps.fleetengine.v1.SearchTripsRequest.minimum_staleness:type_name -> google.protobuf.Duration |
| 1009 |
8, // 16: maps.fleetengine.v1.SearchTripsResponse.trips:type_name -> maps.fleetengine.v1.Trip |
| 1010 |
1, // 17: maps.fleetengine.v1.TripService.CreateTrip:input_type -> maps.fleetengine.v1.CreateTripRequest |
| 1011 |
2, // 18: maps.fleetengine.v1.TripService.GetTrip:input_type -> maps.fleetengine.v1.GetTripRequest |
| 1012 |
3, // 19: maps.fleetengine.v1.TripService.ReportBillableTrip:input_type -> maps.fleetengine.v1.ReportBillableTripRequest |
| 1013 |
5, // 20: maps.fleetengine.v1.TripService.SearchTrips:input_type -> maps.fleetengine.v1.SearchTripsRequest |
| 1014 |
4, // 21: maps.fleetengine.v1.TripService.UpdateTrip:input_type -> maps.fleetengine.v1.UpdateTripRequest |
| 1015 |
8, // 22: maps.fleetengine.v1.TripService.CreateTrip:output_type -> maps.fleetengine.v1.Trip |
| 1016 |
8, // 23: maps.fleetengine.v1.TripService.GetTrip:output_type -> maps.fleetengine.v1.Trip |
| 1017 |
15, // 24: maps.fleetengine.v1.TripService.ReportBillableTrip:output_type -> google.protobuf.Empty |
| 1018 |
6, // 25: maps.fleetengine.v1.TripService.SearchTrips:output_type -> maps.fleetengine.v1.SearchTripsResponse |
| 1019 |
8, // 26: maps.fleetengine.v1.TripService.UpdateTrip:output_type -> maps.fleetengine.v1.Trip |
| 1020 |
22, // [22:27] is the sub-list for method output_type |
| 1021 |
17, // [17:22] is the sub-list for method input_type |
| 1022 |
17, // [17:17] is the sub-list for extension type_name |
| 1023 |
17, // [17:17] is the sub-list for extension extendee |
| 1024 |
0, // [0:17] is the sub-list for field type_name |
| 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 |
// Reference imports to suppress errors if they are not otherwise used. |
| 1131 |
var _ context.Context |
| 1132 |
var _ grpc.ClientConnInterface |
| 1133 |
|
| 1134 |
// This is a compile-time assertion to ensure that this generated file |
| 1135 |
// is compatible with the grpc package it is being compiled against. |
| 1136 |
const _ = grpc.SupportPackageIsVersion6 |
| 1137 |
|
| 1138 |
// TripServiceClient is the client API for TripService service. |
| 1139 |
// |
| 1140 |
// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. |
| 1141 |
type TripServiceClient interface { |
| 1142 |
// Creates a trip in the Fleet Engine and returns the new trip. |
| 1143 |
CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*Trip, error) |
| 1144 |
// Get information about a single trip. |
| 1145 |
GetTrip(ctx context.Context, in *GetTripRequest, opts ...grpc.CallOption) (*Trip, error) |
| 1146 |
// Report billable trip usage. |
| 1147 |
ReportBillableTrip(ctx context.Context, in *ReportBillableTripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error) |
| 1148 |
// Get all the trips for a specific vehicle. |
| 1149 |
SearchTrips(ctx context.Context, in *SearchTripsRequest, opts ...grpc.CallOption) (*SearchTripsResponse, error) |
| 1150 |
// Updates trip data. |
| 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 |
// TripServiceServer is the server API for TripService service. |
| 1208 |
type TripServiceServer interface { |
| 1209 |
// Creates a trip in the Fleet Engine and returns the new trip. |
| 1210 |
CreateTrip(context.Context, *CreateTripRequest) (*Trip, error) |
| 1211 |
// Get information about a single trip. |
| 1212 |
GetTrip(context.Context, *GetTripRequest) (*Trip, error) |
| 1213 |
// Report billable trip usage. |
| 1214 |
ReportBillableTrip(context.Context, *ReportBillableTripRequest) (*emptypb.Empty, error) |
| 1215 |
// Get all the trips for a specific vehicle. |
| 1216 |
SearchTrips(context.Context, *SearchTripsRequest) (*SearchTripsResponse, error) |
| 1217 |
// Updates trip data. |
| 1218 |
UpdateTrip(context.Context, *UpdateTripRequest) (*Trip, error) |
| 1219 |
} |
| 1220 |
|
| 1221 |
// UnimplementedTripServiceServer can be embedded to have forward compatible implementations. |
| 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 |
} |