Package cloud.google.com/go/maps/fleetengine/apiv1/fleetenginepb (v1.14.1)

Variables

TripType_name, TripType_value

var (
	TripType_name = map[int32]string{
		0: "UNKNOWN_TRIP_TYPE",
		1: "SHARED",
		2: "EXCLUSIVE",
	}
	TripType_value = map[string]int32{
		"UNKNOWN_TRIP_TYPE": 0,
		"SHARED":            1,
		"EXCLUSIVE":         2,
	}
)

Enum value maps for TripType.

WaypointType_name, WaypointType_value

var (
	WaypointType_name = map[int32]string{
		0: "UNKNOWN_WAYPOINT_TYPE",
		1: "PICKUP_WAYPOINT_TYPE",
		2: "DROP_OFF_WAYPOINT_TYPE",
		3: "INTERMEDIATE_DESTINATION_WAYPOINT_TYPE",
	}
	WaypointType_value = map[string]int32{
		"UNKNOWN_WAYPOINT_TYPE":                  0,
		"PICKUP_WAYPOINT_TYPE":                   1,
		"DROP_OFF_WAYPOINT_TYPE":                 2,
		"INTERMEDIATE_DESTINATION_WAYPOINT_TYPE": 3,
	}
)

Enum value maps for WaypointType.

PolylineFormatType_name, PolylineFormatType_value

var (
	PolylineFormatType_name = map[int32]string{
		0: "UNKNOWN_FORMAT_TYPE",
		1: "LAT_LNG_LIST_TYPE",
		2: "ENCODED_POLYLINE_TYPE",
	}
	PolylineFormatType_value = map[string]int32{
		"UNKNOWN_FORMAT_TYPE":   0,
		"LAT_LNG_LIST_TYPE":     1,
		"ENCODED_POLYLINE_TYPE": 2,
	}
)

Enum value maps for PolylineFormatType.

NavigationStatus_name, NavigationStatus_value

var (
	NavigationStatus_name = map[int32]string{
		0: "UNKNOWN_NAVIGATION_STATUS",
		1: "NO_GUIDANCE",
		2: "ENROUTE_TO_DESTINATION",
		3: "OFF_ROUTE",
		4: "ARRIVED_AT_DESTINATION",
	}
	NavigationStatus_value = map[string]int32{
		"UNKNOWN_NAVIGATION_STATUS": 0,
		"NO_GUIDANCE":               1,
		"ENROUTE_TO_DESTINATION":    2,
		"OFF_ROUTE":                 3,
		"ARRIVED_AT_DESTINATION":    4,
	}
)

Enum value maps for NavigationStatus.

LocationSensor_name, LocationSensor_value

var (
	LocationSensor_name = map[int32]string{
		0:   "UNKNOWN_SENSOR",
		1:   "GPS",
		2:   "NETWORK",
		3:   "PASSIVE",
		4:   "ROAD_SNAPPED_LOCATION_PROVIDER",
		5:   "CUSTOMER_SUPPLIED_LOCATION",
		6:   "FLEET_ENGINE_LOCATION",
		100: "FUSED_LOCATION_PROVIDER",
		200: "CORE_LOCATION",
	}
	LocationSensor_value = map[string]int32{
		"UNKNOWN_SENSOR":                 0,
		"GPS":                            1,
		"NETWORK":                        2,
		"PASSIVE":                        3,
		"ROAD_SNAPPED_LOCATION_PROVIDER": 4,
		"CUSTOMER_SUPPLIED_LOCATION":     5,
		"FLEET_ENGINE_LOCATION":          6,
		"FUSED_LOCATION_PROVIDER":        100,
		"CORE_LOCATION":                  200,
	}
)

Enum value maps for LocationSensor.

RequestHeader_SdkType_name, RequestHeader_SdkType_value

var (
	RequestHeader_SdkType_name = map[int32]string{
		0: "SDK_TYPE_UNSPECIFIED",
		1: "CONSUMER",
		2: "DRIVER",
		3: "JAVASCRIPT",
	}
	RequestHeader_SdkType_value = map[string]int32{
		"SDK_TYPE_UNSPECIFIED": 0,
		"CONSUMER":             1,
		"DRIVER":               2,
		"JAVASCRIPT":           3,
	}
)

Enum value maps for RequestHeader_SdkType.

RequestHeader_Platform_name, RequestHeader_Platform_value

var (
	RequestHeader_Platform_name = map[int32]string{
		0: "PLATFORM_UNSPECIFIED",
		1: "ANDROID",
		2: "IOS",
		3: "WEB",
	}
	RequestHeader_Platform_value = map[string]int32{
		"PLATFORM_UNSPECIFIED": 0,
		"ANDROID":              1,
		"IOS":                  2,
		"WEB":                  3,
	}
)

Enum value maps for RequestHeader_Platform.

SpeedReadingInterval_Speed_name, SpeedReadingInterval_Speed_value

var (
	SpeedReadingInterval_Speed_name = map[int32]string{
		0: "SPEED_UNSPECIFIED",
		1: "NORMAL",
		2: "SLOW",
		3: "TRAFFIC_JAM",
	}
	SpeedReadingInterval_Speed_value = map[string]int32{
		"SPEED_UNSPECIFIED": 0,
		"NORMAL":            1,
		"SLOW":              2,
		"TRAFFIC_JAM":       3,
	}
)

Enum value maps for SpeedReadingInterval_Speed.

ReportBillableTripRequest_SolutionType_name, ReportBillableTripRequest_SolutionType_value

var (
	ReportBillableTripRequest_SolutionType_name = map[int32]string{
		0: "SOLUTION_TYPE_UNSPECIFIED",
		1: "ON_DEMAND_RIDESHARING_AND_DELIVERIES",
	}
	ReportBillableTripRequest_SolutionType_value = map[string]int32{
		"SOLUTION_TYPE_UNSPECIFIED":            0,
		"ON_DEMAND_RIDESHARING_AND_DELIVERIES": 1,
	}
)

Enum value maps for ReportBillableTripRequest_SolutionType.

TripStatus_name, TripStatus_value

var (
	TripStatus_name = map[int32]string{
		0: "UNKNOWN_TRIP_STATUS",
		1: "NEW",
		2: "ENROUTE_TO_PICKUP",
		3: "ARRIVED_AT_PICKUP",
		7: "ARRIVED_AT_INTERMEDIATE_DESTINATION",
		8: "ENROUTE_TO_INTERMEDIATE_DESTINATION",
		4: "ENROUTE_TO_DROPOFF",
		5: "COMPLETE",
		6: "CANCELED",
	}
	TripStatus_value = map[string]int32{
		"UNKNOWN_TRIP_STATUS":                 0,
		"NEW":                                 1,
		"ENROUTE_TO_PICKUP":                   2,
		"ARRIVED_AT_PICKUP":                   3,
		"ARRIVED_AT_INTERMEDIATE_DESTINATION": 7,
		"ENROUTE_TO_INTERMEDIATE_DESTINATION": 8,
		"ENROUTE_TO_DROPOFF":                  4,
		"COMPLETE":                            5,
		"CANCELED":                            6,
	}
)

Enum value maps for TripStatus.

BillingPlatformIdentifier_name, BillingPlatformIdentifier_value

var (
	BillingPlatformIdentifier_name = map[int32]string{
		0: "BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED",
		1: "SERVER",
		2: "WEB",
		3: "ANDROID",
		4: "IOS",
		5: "OTHERS",
	}
	BillingPlatformIdentifier_value = map[string]int32{
		"BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED": 0,
		"SERVER":  1,
		"WEB":     2,
		"ANDROID": 3,
		"IOS":     4,
		"OTHERS":  5,
	}
)

Enum value maps for BillingPlatformIdentifier.

TripView_name, TripView_value

var (
	TripView_name = map[int32]string{
		0: "TRIP_VIEW_UNSPECIFIED",
		1: "SDK",
		2: "JOURNEY_SHARING_V1S",
	}
	TripView_value = map[string]int32{
		"TRIP_VIEW_UNSPECIFIED": 0,
		"SDK":                   1,
		"JOURNEY_SHARING_V1S":   2,
	}
)

Enum value maps for TripView.

SearchVehiclesRequest_VehicleMatchOrder_name, SearchVehiclesRequest_VehicleMatchOrder_value

var (
	SearchVehiclesRequest_VehicleMatchOrder_name = map[int32]string{
		0: "UNKNOWN_VEHICLE_MATCH_ORDER",
		1: "PICKUP_POINT_ETA",
		2: "PICKUP_POINT_DISTANCE",
		3: "DROPOFF_POINT_ETA",
		4: "PICKUP_POINT_STRAIGHT_DISTANCE",
		5: "COST",
	}
	SearchVehiclesRequest_VehicleMatchOrder_value = map[string]int32{
		"UNKNOWN_VEHICLE_MATCH_ORDER":    0,
		"PICKUP_POINT_ETA":               1,
		"PICKUP_POINT_DISTANCE":          2,
		"DROPOFF_POINT_ETA":              3,
		"PICKUP_POINT_STRAIGHT_DISTANCE": 4,
		"COST":                           5,
	}
)

Enum value maps for SearchVehiclesRequest_VehicleMatchOrder.

SearchVehiclesRequest_CurrentTripsPresent_name, SearchVehiclesRequest_CurrentTripsPresent_value

var (
	SearchVehiclesRequest_CurrentTripsPresent_name = map[int32]string{
		0: "CURRENT_TRIPS_PRESENT_UNSPECIFIED",
		1: "NONE",
		2: "ANY",
	}
	SearchVehiclesRequest_CurrentTripsPresent_value = map[string]int32{
		"CURRENT_TRIPS_PRESENT_UNSPECIFIED": 0,
		"NONE":                              1,
		"ANY":                               2,
	}
)

Enum value maps for SearchVehiclesRequest_CurrentTripsPresent.

VehicleMatch_VehicleMatchType_name, VehicleMatch_VehicleMatchType_value

var (
	VehicleMatch_VehicleMatchType_name = map[int32]string{
		0: "UNKNOWN",
		1: "EXCLUSIVE",
		2: "BACK_TO_BACK",
		3: "CARPOOL",
		4: "CARPOOL_BACK_TO_BACK",
	}
	VehicleMatch_VehicleMatchType_value = map[string]int32{
		"UNKNOWN":              0,
		"EXCLUSIVE":            1,
		"BACK_TO_BACK":         2,
		"CARPOOL":              3,
		"CARPOOL_BACK_TO_BACK": 4,
	}
)

Enum value maps for VehicleMatch_VehicleMatchType.

VehicleState_name, VehicleState_value

var (
	VehicleState_name = map[int32]string{
		0: "UNKNOWN_VEHICLE_STATE",
		1: "OFFLINE",
		2: "ONLINE",
	}
	VehicleState_value = map[string]int32{
		"UNKNOWN_VEHICLE_STATE": 0,
		"OFFLINE":               1,
		"ONLINE":                2,
	}
)

Enum value maps for VehicleState.

LocationPowerSaveMode_name, LocationPowerSaveMode_value

var (
	LocationPowerSaveMode_name = map[int32]string{
		0: "UNKNOWN_LOCATION_POWER_SAVE_MODE",
		1: "LOCATION_MODE_NO_CHANGE",
		2: "LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF",
		3: "LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF",
		4: "LOCATION_MODE_FOREGROUND_ONLY",
		5: "LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF",
	}
	LocationPowerSaveMode_value = map[string]int32{
		"UNKNOWN_LOCATION_POWER_SAVE_MODE":                0,
		"LOCATION_MODE_NO_CHANGE":                         1,
		"LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF":      2,
		"LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF":      3,
		"LOCATION_MODE_FOREGROUND_ONLY":                   4,
		"LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF": 5,
	}
)

Enum value maps for LocationPowerSaveMode.

BatteryStatus_name, BatteryStatus_value

var (
	BatteryStatus_name = map[int32]string{
		0: "UNKNOWN_BATTERY_STATUS",
		1: "BATTERY_STATUS_CHARGING",
		2: "BATTERY_STATUS_DISCHARGING",
		3: "BATTERY_STATUS_FULL",
		4: "BATTERY_STATUS_NOT_CHARGING",
		5: "BATTERY_STATUS_POWER_LOW",
	}
	BatteryStatus_value = map[string]int32{
		"UNKNOWN_BATTERY_STATUS":      0,
		"BATTERY_STATUS_CHARGING":     1,
		"BATTERY_STATUS_DISCHARGING":  2,
		"BATTERY_STATUS_FULL":         3,
		"BATTERY_STATUS_NOT_CHARGING": 4,
		"BATTERY_STATUS_POWER_LOW":    5,
	}
)

Enum value maps for BatteryStatus.

PowerSource_name, PowerSource_value

var (
	PowerSource_name = map[int32]string{
		0: "UNKNOWN_POWER_SOURCE",
		1: "POWER_SOURCE_AC",
		2: "POWER_SOURCE_USB",
		3: "POWER_SOURCE_WIRELESS",
		4: "POWER_SOURCE_UNPLUGGED",
	}
	PowerSource_value = map[string]int32{
		"UNKNOWN_POWER_SOURCE":   0,
		"POWER_SOURCE_AC":        1,
		"POWER_SOURCE_USB":       2,
		"POWER_SOURCE_WIRELESS":  3,
		"POWER_SOURCE_UNPLUGGED": 4,
	}
)

Enum value maps for PowerSource.

Vehicle_VehicleType_Category_name, Vehicle_VehicleType_Category_value

var (
	Vehicle_VehicleType_Category_name = map[int32]string{
		0: "UNKNOWN",
		1: "AUTO",
		2: "TAXI",
		3: "TRUCK",
		4: "TWO_WHEELER",
		5: "BICYCLE",
		6: "PEDESTRIAN",
	}
	Vehicle_VehicleType_Category_value = map[string]int32{
		"UNKNOWN":     0,
		"AUTO":        1,
		"TAXI":        2,
		"TRUCK":       3,
		"TWO_WHEELER": 4,
		"BICYCLE":     5,
		"PEDESTRIAN":  6,
	}
)

Enum value maps for Vehicle_VehicleType_Category.

VisualTrafficReportPolylineRendering_RoadStretch_Style_name, VisualTrafficReportPolylineRendering_RoadStretch_Style_value

var (
	VisualTrafficReportPolylineRendering_RoadStretch_Style_name = map[int32]string{
		0: "STYLE_UNSPECIFIED",
		1: "SLOWER_TRAFFIC",
		2: "TRAFFIC_JAM",
	}
	VisualTrafficReportPolylineRendering_RoadStretch_Style_value = map[string]int32{
		"STYLE_UNSPECIFIED": 0,
		"SLOWER_TRAFFIC":    1,
		"TRAFFIC_JAM":       2,
	}
)

Enum value maps for VisualTrafficReportPolylineRendering_RoadStretch_Style.

File_google_maps_fleetengine_v1_fleetengine_proto

var File_google_maps_fleetengine_v1_fleetengine_proto protoreflect.FileDescriptor

File_google_maps_fleetengine_v1_header_proto

var File_google_maps_fleetengine_v1_header_proto protoreflect.FileDescriptor

File_google_maps_fleetengine_v1_traffic_proto

var File_google_maps_fleetengine_v1_traffic_proto protoreflect.FileDescriptor

File_google_maps_fleetengine_v1_trip_api_proto

var File_google_maps_fleetengine_v1_trip_api_proto protoreflect.FileDescriptor

File_google_maps_fleetengine_v1_trips_proto

var File_google_maps_fleetengine_v1_trips_proto protoreflect.FileDescriptor

File_google_maps_fleetengine_v1_vehicle_api_proto

var File_google_maps_fleetengine_v1_vehicle_api_proto protoreflect.FileDescriptor

File_google_maps_fleetengine_v1_vehicles_proto

var File_google_maps_fleetengine_v1_vehicles_proto protoreflect.FileDescriptor

Functions

func RegisterTripServiceServer

func RegisterTripServiceServer(s *grpc.Server, srv TripServiceServer)

func RegisterVehicleServiceServer

func RegisterVehicleServiceServer(s *grpc.Server, srv VehicleServiceServer)

BatteryInfo

type BatteryInfo struct {
	BatteryStatus BatteryStatus "" /* 140 byte string literal not displayed */

	PowerSource PowerSource "" /* 132 byte string literal not displayed */

	BatteryPercentage float32 `protobuf:"fixed32,3,opt,name=battery_percentage,json=batteryPercentage,proto3" json:"battery_percentage,omitempty"`

}

Information about the device's battery.

func (*BatteryInfo) Descriptor

func (*BatteryInfo) Descriptor() ([]byte, []int)

Deprecated: Use BatteryInfo.ProtoReflect.Descriptor instead.

func (*BatteryInfo) GetBatteryPercentage

func (x *BatteryInfo) GetBatteryPercentage() float32

func (*BatteryInfo) GetBatteryStatus

func (x *BatteryInfo) GetBatteryStatus() BatteryStatus

func (*BatteryInfo) GetPowerSource

func (x *BatteryInfo) GetPowerSource() PowerSource

func (*BatteryInfo) ProtoMessage

func (*BatteryInfo) ProtoMessage()

func (*BatteryInfo) ProtoReflect

func (x *BatteryInfo) ProtoReflect() protoreflect.Message

func (*BatteryInfo) Reset

func (x *BatteryInfo) Reset()

func (*BatteryInfo) String

func (x *BatteryInfo) String() string

BatteryStatus

type BatteryStatus int32

Status of the battery, whether full or charging etc.

BatteryStatus_UNKNOWN_BATTERY_STATUS, BatteryStatus_BATTERY_STATUS_CHARGING, BatteryStatus_BATTERY_STATUS_DISCHARGING, BatteryStatus_BATTERY_STATUS_FULL, BatteryStatus_BATTERY_STATUS_NOT_CHARGING, BatteryStatus_BATTERY_STATUS_POWER_LOW

const (
	// Battery status unknown.
	BatteryStatus_UNKNOWN_BATTERY_STATUS BatteryStatus = 0
	// Battery is being charged.
	BatteryStatus_BATTERY_STATUS_CHARGING BatteryStatus = 1
	// Battery is discharging.
	BatteryStatus_BATTERY_STATUS_DISCHARGING BatteryStatus = 2
	// Battery is full.
	BatteryStatus_BATTERY_STATUS_FULL BatteryStatus = 3
	// Battery is not charging.
	BatteryStatus_BATTERY_STATUS_NOT_CHARGING BatteryStatus = 4
	// Battery is low on power.
	BatteryStatus_BATTERY_STATUS_POWER_LOW BatteryStatus = 5
)

func (BatteryStatus) Descriptor

func (BatteryStatus) Enum

func (x BatteryStatus) Enum() *BatteryStatus

func (BatteryStatus) EnumDescriptor

func (BatteryStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use BatteryStatus.Descriptor instead.

func (BatteryStatus) Number

func (BatteryStatus) String

func (x BatteryStatus) String() string

func (BatteryStatus) Type

BillingPlatformIdentifier

type BillingPlatformIdentifier int32

A set of values that indicate upon which platform the request was issued.

BillingPlatformIdentifier_BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED, BillingPlatformIdentifier_SERVER, BillingPlatformIdentifier_WEB, BillingPlatformIdentifier_ANDROID, BillingPlatformIdentifier_IOS, BillingPlatformIdentifier_OTHERS

const (
	// Default. Used for unspecified platforms.
	BillingPlatformIdentifier_BILLING_PLATFORM_IDENTIFIER_UNSPECIFIED BillingPlatformIdentifier = 0
	// The platform is a client server.
	BillingPlatformIdentifier_SERVER BillingPlatformIdentifier = 1
	// The platform is a web browser.
	BillingPlatformIdentifier_WEB BillingPlatformIdentifier = 2
	// The platform is an Android mobile device.
	BillingPlatformIdentifier_ANDROID BillingPlatformIdentifier = 3
	// The platform is an IOS mobile device.
	BillingPlatformIdentifier_IOS BillingPlatformIdentifier = 4
	// Other platforms that are not listed in this enumeration.
	BillingPlatformIdentifier_OTHERS BillingPlatformIdentifier = 5
)

func (BillingPlatformIdentifier) Descriptor

func (BillingPlatformIdentifier) Enum

func (BillingPlatformIdentifier) EnumDescriptor

func (BillingPlatformIdentifier) EnumDescriptor() ([]byte, []int)

Deprecated: Use BillingPlatformIdentifier.Descriptor instead.

func (BillingPlatformIdentifier) Number

func (BillingPlatformIdentifier) String

func (x BillingPlatformIdentifier) String() string

func (BillingPlatformIdentifier) Type

ConsumableTrafficPolyline

type ConsumableTrafficPolyline struct {
	SpeedReadingInterval []*SpeedReadingInterval `protobuf:"bytes,1,rep,name=speed_reading_interval,json=speedReadingInterval,proto3" json:"speed_reading_interval,omitempty"`

	EncodedPathToWaypoint string "" /* 128 byte string literal not displayed */

}

Traffic density along a Vehicle's path.

func (*ConsumableTrafficPolyline) Descriptor

func (*ConsumableTrafficPolyline) Descriptor() ([]byte, []int)

Deprecated: Use ConsumableTrafficPolyline.ProtoReflect.Descriptor instead.

func (*ConsumableTrafficPolyline) GetEncodedPathToWaypoint

func (x *ConsumableTrafficPolyline) GetEncodedPathToWaypoint() string

func (*ConsumableTrafficPolyline) GetSpeedReadingInterval

func (x *ConsumableTrafficPolyline) GetSpeedReadingInterval() []*SpeedReadingInterval

func (*ConsumableTrafficPolyline) ProtoMessage

func (*ConsumableTrafficPolyline) ProtoMessage()

func (*ConsumableTrafficPolyline) ProtoReflect

func (*ConsumableTrafficPolyline) Reset

func (x *ConsumableTrafficPolyline) Reset()

func (*ConsumableTrafficPolyline) String

func (x *ConsumableTrafficPolyline) String() string

CreateTripRequest

type CreateTripRequest struct {

	// The standard Fleet Engine request header.
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Required. Must be in the format `providers/{provider}`.
	// The provider must be the Project ID (for example, `sample-cloud-project`)
	// of the Google Cloud Project of which the service account making
	// this call is a member.
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique Trip ID.
	// Subject to the following restrictions:
	//
	// * Must be a valid Unicode string.
	// * Limited to a maximum length of 64 characters.
	// * Normalized according to [Unicode Normalization Form C]
	// (http://www.unicode.org/reports/tr15/).
	// * May not contain any of the following ASCII characters: '/', ':', '?',
	// ',', or '#'.
	TripId string `protobuf:"bytes,5,opt,name=trip_id,json=tripId,proto3" json:"trip_id,omitempty"`
	// Required. Trip entity to create.
	//
	// When creating a Trip, the following fields are required:
	//
	// * `trip_type`
	// * `pickup_point`
	//
	// The following fields are used if you provide them:
	//
	// * `number_of_passengers`
	// * `vehicle_id`
	// * `dropoff_point`
	// * `intermediate_destinations`
	// * `vehicle_waypoints`
	//
	// All other Trip fields are ignored. For example, all trips start with a
	// `trip_status` of `NEW` even if you pass in a `trip_status` of `CANCELED` in
	// the creation request.
	//
	// Only `EXCLUSIVE` trips support `intermediate_destinations`.
	//
	// When `vehicle_id` is set for a shared trip, you must supply
	// the list of `Trip.vehicle_waypoints` to specify the order of the remaining
	// waypoints for the vehicle, otherwise the waypoint order will be
	// undetermined.
	//
	// When you specify `Trip.vehicle_waypoints`, the list must contain all
	// the remaining waypoints of the vehicle's trips, with no extra waypoints.
	// You must order these waypoints such that for a given trip, the pickup
	// point is before intermediate destinations, and all intermediate
	// destinations come before the drop-off point. An `EXCLUSIVE` trip's
	// waypoints must not interleave with any other trips.
	//
	// The `trip_id`, `waypoint_type` and `location` fields are used, and all
	// other TripWaypoint fields in `vehicle_waypoints` are ignored.
	Trip *Trip `protobuf:"bytes,4,opt,name=trip,proto3" json:"trip,omitempty"`
	// contains filtered or unexported fields
}

CreateTrip request message.

func (*CreateTripRequest) Descriptor

func (*CreateTripRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateTripRequest.ProtoReflect.Descriptor instead.

func (*CreateTripRequest) GetHeader

func (x *CreateTripRequest) GetHeader() *RequestHeader

func (*CreateTripRequest) GetParent

func (x *CreateTripRequest) GetParent() string

func (*CreateTripRequest) GetTrip

func (x *CreateTripRequest) GetTrip() *Trip

func (*CreateTripRequest) GetTripId

func (x *CreateTripRequest) GetTripId() string

func (*CreateTripRequest) ProtoMessage

func (*CreateTripRequest) ProtoMessage()

func (*CreateTripRequest) ProtoReflect

func (x *CreateTripRequest) ProtoReflect() protoreflect.Message

func (*CreateTripRequest) Reset

func (x *CreateTripRequest) Reset()

func (*CreateTripRequest) String

func (x *CreateTripRequest) String() string

CreateVehicleRequest

type CreateVehicleRequest struct {

	// The standard Fleet Engine request header.
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Required. Must be in the format `providers/{provider}`.
	// The provider must be the Project ID (for example, `sample-cloud-project`)
	// of the Google Cloud Project of which the service account making
	// this call is a member.
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// Required. Unique Vehicle ID.
	// Subject to the following restrictions:
	//
	// * Must be a valid Unicode string.
	// * Limited to a maximum length of 64 characters.
	// * Normalized according to [Unicode Normalization Form C]
	// (http://www.unicode.org/reports/tr15/).
	// * May not contain any of the following ASCII characters: '/', ':', '?',
	// ',', or '#'.
	VehicleId string `protobuf:"bytes,4,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"`
	// Required. The Vehicle entity to create. When creating a Vehicle, the
	// following fields are required:
	//
	// * `vehicleState`
	// * `supportedTripTypes`
	// * `maximumCapacity`
	// * `vehicleType`
	//
	// When creating a Vehicle, the following fields are ignored:
	//
	// * `name`
	// * `currentTrips`
	// * `availableCapacity`
	// * `current_route_segment`
	// * `current_route_segment_end_point`
	// * `current_route_segment_version`
	// * `current_route_segment_traffic`
	// * `route`
	// * `waypoints`
	// * `waypoints_version`
	// * `remaining_distance_meters`
	// * `remaining_time_seconds`
	// * `eta_to_next_waypoint`
	// * `navigation_status`
	//
	// All other fields are optional and used if provided.
	Vehicle *Vehicle `protobuf:"bytes,5,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
	// contains filtered or unexported fields
}

CreateVehicle request message.

func (*CreateVehicleRequest) Descriptor

func (*CreateVehicleRequest) Descriptor() ([]byte, []int)

Deprecated: Use CreateVehicleRequest.ProtoReflect.Descriptor instead.

func (*CreateVehicleRequest) GetHeader

func (x *CreateVehicleRequest) GetHeader() *RequestHeader

func (*CreateVehicleRequest) GetParent

func (x *CreateVehicleRequest) GetParent() string

func (*CreateVehicleRequest) GetVehicle

func (x *CreateVehicleRequest) GetVehicle() *Vehicle

func (*CreateVehicleRequest) GetVehicleId

func (x *CreateVehicleRequest) GetVehicleId() string

func (*CreateVehicleRequest) ProtoMessage

func (*CreateVehicleRequest) ProtoMessage()

func (*CreateVehicleRequest) ProtoReflect

func (x *CreateVehicleRequest) ProtoReflect() protoreflect.Message

func (*CreateVehicleRequest) Reset

func (x *CreateVehicleRequest) Reset()

func (*CreateVehicleRequest) String

func (x *CreateVehicleRequest) String() string

DeviceSettings

type DeviceSettings struct {
	LocationPowerSaveMode LocationPowerSaveMode "" /* 176 byte string literal not displayed */

	IsPowerSaveMode bool `protobuf:"varint,2,opt,name=is_power_save_mode,json=isPowerSaveMode,proto3" json:"is_power_save_mode,omitempty"`

	IsInteractive bool `protobuf:"varint,3,opt,name=is_interactive,json=isInteractive,proto3" json:"is_interactive,omitempty"`

	BatteryInfo *BatteryInfo `protobuf:"bytes,4,opt,name=battery_info,json=batteryInfo,proto3" json:"battery_info,omitempty"`

}

Information about various settings on the mobile device.

func (*DeviceSettings) Descriptor

func (*DeviceSettings) Descriptor() ([]byte, []int)

Deprecated: Use DeviceSettings.ProtoReflect.Descriptor instead.

func (*DeviceSettings) GetBatteryInfo

func (x *DeviceSettings) GetBatteryInfo() *BatteryInfo

func (*DeviceSettings) GetIsInteractive

func (x *DeviceSettings) GetIsInteractive() bool

func (*DeviceSettings) GetIsPowerSaveMode

func (x *DeviceSettings) GetIsPowerSaveMode() bool

func (*DeviceSettings) GetLocationPowerSaveMode

func (x *DeviceSettings) GetLocationPowerSaveMode() LocationPowerSaveMode

func (*DeviceSettings) ProtoMessage

func (*DeviceSettings) ProtoMessage()

func (*DeviceSettings) ProtoReflect

func (x *DeviceSettings) ProtoReflect() protoreflect.Message

func (*DeviceSettings) Reset

func (x *DeviceSettings) Reset()

func (*DeviceSettings) String

func (x *DeviceSettings) String() string

GetTripRequest

type GetTripRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`

	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`

	View TripView `protobuf:"varint,11,opt,name=view,proto3,enum=maps.fleetengine.v1.TripView" json:"view,omitempty"`

	CurrentRouteSegmentVersion *timestamppb.Timestamp "" /* 143 byte string literal not displayed */

	RemainingWaypointsVersion *timestamppb.Timestamp "" /* 138 byte string literal not displayed */

	RouteFormatType PolylineFormatType "" /* 153 byte string literal not displayed */

	CurrentRouteSegmentTrafficVersion *timestamppb.Timestamp "" /* 166 byte string literal not displayed */

	RemainingWaypointsRouteVersion *timestamppb.Timestamp "" /* 156 byte string literal not displayed */

}

GetTrip request message.

func (*GetTripRequest) Descriptor

func (*GetTripRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetTripRequest.ProtoReflect.Descriptor instead.

func (*GetTripRequest) GetCurrentRouteSegmentTrafficVersion

func (x *GetTripRequest) GetCurrentRouteSegmentTrafficVersion() *timestamppb.Timestamp

func (*GetTripRequest) GetCurrentRouteSegmentVersion

func (x *GetTripRequest) GetCurrentRouteSegmentVersion() *timestamppb.Timestamp

func (*GetTripRequest) GetHeader

func (x *GetTripRequest) GetHeader() *RequestHeader

func (*GetTripRequest) GetName

func (x *GetTripRequest) GetName() string

func (*GetTripRequest) GetRemainingWaypointsRouteVersion

func (x *GetTripRequest) GetRemainingWaypointsRouteVersion() *timestamppb.Timestamp

func (*GetTripRequest) GetRemainingWaypointsVersion

func (x *GetTripRequest) GetRemainingWaypointsVersion() *timestamppb.Timestamp

func (*GetTripRequest) GetRouteFormatType

func (x *GetTripRequest) GetRouteFormatType() PolylineFormatType

func (*GetTripRequest) GetView

func (x *GetTripRequest) GetView() TripView

func (*GetTripRequest) ProtoMessage

func (*GetTripRequest) ProtoMessage()

func (*GetTripRequest) ProtoReflect

func (x *GetTripRequest) ProtoReflect() protoreflect.Message

func (*GetTripRequest) Reset

func (x *GetTripRequest) Reset()

func (*GetTripRequest) String

func (x *GetTripRequest) String() string

GetVehicleRequest

type GetVehicleRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`

	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`

	CurrentRouteSegmentVersion *timestamppb.Timestamp "" /* 143 byte string literal not displayed */

	WaypointsVersion *timestamppb.Timestamp `protobuf:"bytes,5,opt,name=waypoints_version,json=waypointsVersion,proto3" json:"waypoints_version,omitempty"`

}

GetVehicle request message.

func (*GetVehicleRequest) Descriptor

func (*GetVehicleRequest) Descriptor() ([]byte, []int)

Deprecated: Use GetVehicleRequest.ProtoReflect.Descriptor instead.

func (*GetVehicleRequest) GetCurrentRouteSegmentVersion

func (x *GetVehicleRequest) GetCurrentRouteSegmentVersion() *timestamppb.Timestamp

func (*GetVehicleRequest) GetHeader

func (x *GetVehicleRequest) GetHeader() *RequestHeader

func (*GetVehicleRequest) GetName

func (x *GetVehicleRequest) GetName() string

func (*GetVehicleRequest) GetWaypointsVersion

func (x *GetVehicleRequest) GetWaypointsVersion() *timestamppb.Timestamp

func (*GetVehicleRequest) ProtoMessage

func (*GetVehicleRequest) ProtoMessage()

func (*GetVehicleRequest) ProtoReflect

func (x *GetVehicleRequest) ProtoReflect() protoreflect.Message

func (*GetVehicleRequest) Reset

func (x *GetVehicleRequest) Reset()

func (*GetVehicleRequest) String

func (x *GetVehicleRequest) String() string

LicensePlate

type LicensePlate struct {

	// Required. CLDR Country/Region Code.  For example, `US` for United States,
	// or `IN` for India.
	CountryCode string `protobuf:"bytes,1,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`
	// The last digit of the license plate or "-1" to denote no numeric value
	// is present in the license plate.
	//
	// * "ABC 1234" -> "4"
	// * "AB 123 CD" -> "3"
	// * "ABCDEF" -> "-1"
	LastCharacter string `protobuf:"bytes,2,opt,name=last_character,json=lastCharacter,proto3" json:"last_character,omitempty"`
	// contains filtered or unexported fields
}

The license plate information of the Vehicle. To avoid storing personally-identifiable information, only the minimum information about the license plate is stored as part of the entity.

func (*LicensePlate) Descriptor

func (*LicensePlate) Descriptor() ([]byte, []int)

Deprecated: Use LicensePlate.ProtoReflect.Descriptor instead.

func (*LicensePlate) GetCountryCode

func (x *LicensePlate) GetCountryCode() string

func (*LicensePlate) GetLastCharacter

func (x *LicensePlate) GetLastCharacter() string

func (*LicensePlate) ProtoMessage

func (*LicensePlate) ProtoMessage()

func (*LicensePlate) ProtoReflect

func (x *LicensePlate) ProtoReflect() protoreflect.Message

func (*LicensePlate) Reset

func (x *LicensePlate) Reset()

func (*LicensePlate) String

func (x *LicensePlate) String() string

ListVehiclesRequest

type ListVehiclesRequest struct {
	Header *RequestHeader `protobuf:"bytes,12,opt,name=header,proto3" json:"header,omitempty"`

	Parent string `protobuf:"bytes,1,opt,name=parent,proto3" json:"parent,omitempty"`

	PageSize int32 `protobuf:"varint,3,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`

	PageToken string `protobuf:"bytes,4,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`

	MinimumCapacity *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=minimum_capacity,json=minimumCapacity,proto3" json:"minimum_capacity,omitempty"`

	TripTypes []TripType "" /* 130 byte string literal not displayed */

	MaximumStaleness *durationpb.Duration `protobuf:"bytes,8,opt,name=maximum_staleness,json=maximumStaleness,proto3" json:"maximum_staleness,omitempty"`

	VehicleTypeCategories []Vehicle_VehicleType_Category "" /* 188 byte string literal not displayed */

	RequiredAttributes []string `protobuf:"bytes,10,rep,name=required_attributes,json=requiredAttributes,proto3" json:"required_attributes,omitempty"`

	RequiredOneOfAttributes []string "" /* 135 byte string literal not displayed */

	RequiredOneOfAttributeSets []string "" /* 146 byte string literal not displayed */

	VehicleState VehicleState "" /* 137 byte string literal not displayed */

	OnTripOnly bool `protobuf:"varint,14,opt,name=on_trip_only,json=onTripOnly,proto3" json:"on_trip_only,omitempty"`

	Filter string `protobuf:"bytes,16,opt,name=filter,proto3" json:"filter,omitempty"`

	Viewport *viewport.Viewport `protobuf:"bytes,17,opt,name=viewport,proto3" json:"viewport,omitempty"`

}

ListVehicles request message.

func (*ListVehiclesRequest) Descriptor

func (*ListVehiclesRequest) Descriptor() ([]byte, []int)

Deprecated: Use ListVehiclesRequest.ProtoReflect.Descriptor instead.

func (*ListVehiclesRequest) GetFilter

func (x *ListVehiclesRequest) GetFilter() string

func (*ListVehiclesRequest) GetHeader

func (x *ListVehiclesRequest) GetHeader() *RequestHeader

func (*ListVehiclesRequest) GetMaximumStaleness

func (x *ListVehiclesRequest) GetMaximumStaleness() *durationpb.Duration

func (*ListVehiclesRequest) GetMinimumCapacity

func (x *ListVehiclesRequest) GetMinimumCapacity() *wrapperspb.Int32Value

func (*ListVehiclesRequest) GetOnTripOnly

func (x *ListVehiclesRequest) GetOnTripOnly() bool

func (*ListVehiclesRequest) GetPageSize

func (x *ListVehiclesRequest) GetPageSize() int32

func (*ListVehiclesRequest) GetPageToken

func (x *ListVehiclesRequest) GetPageToken() string

func (*ListVehiclesRequest) GetParent

func (x *ListVehiclesRequest) GetParent() string

func (*ListVehiclesRequest) GetRequiredAttributes

func (x *ListVehiclesRequest) GetRequiredAttributes() []string

func (*ListVehiclesRequest) GetRequiredOneOfAttributeSets

func (x *ListVehiclesRequest) GetRequiredOneOfAttributeSets() []string

func (*ListVehiclesRequest) GetRequiredOneOfAttributes

func (x *ListVehiclesRequest) GetRequiredOneOfAttributes() []string

func (*ListVehiclesRequest) GetTripTypes

func (x *ListVehiclesRequest) GetTripTypes() []TripType

func (*ListVehiclesRequest) GetVehicleState

func (x *ListVehiclesRequest) GetVehicleState() VehicleState

func (*ListVehiclesRequest) GetVehicleTypeCategories

func (x *ListVehiclesRequest) GetVehicleTypeCategories() []Vehicle_VehicleType_Category

func (*ListVehiclesRequest) GetViewport

func (x *ListVehiclesRequest) GetViewport() *viewport.Viewport

func (*ListVehiclesRequest) ProtoMessage

func (*ListVehiclesRequest) ProtoMessage()

func (*ListVehiclesRequest) ProtoReflect

func (x *ListVehiclesRequest) ProtoReflect() protoreflect.Message

func (*ListVehiclesRequest) Reset

func (x *ListVehiclesRequest) Reset()

func (*ListVehiclesRequest) String

func (x *ListVehiclesRequest) String() string

ListVehiclesResponse

type ListVehiclesResponse struct {

	// Vehicles matching the criteria in the request.
	// The maximum number of vehicles returned is determined by the `page_size`
	// field in the request.
	Vehicles []*Vehicle `protobuf:"bytes,1,rep,name=vehicles,proto3" json:"vehicles,omitempty"`
	// Token to retrieve the next page of vehicles, or empty if there are no
	// more vehicles that meet the request criteria.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// Required. Total number of vehicles matching the request criteria across all
	// pages.
	TotalSize int64 `protobuf:"varint,3,opt,name=total_size,json=totalSize,proto3" json:"total_size,omitempty"`
	// contains filtered or unexported fields
}

ListVehicles response message.

func (*ListVehiclesResponse) Descriptor

func (*ListVehiclesResponse) Descriptor() ([]byte, []int)

Deprecated: Use ListVehiclesResponse.ProtoReflect.Descriptor instead.

func (*ListVehiclesResponse) GetNextPageToken

func (x *ListVehiclesResponse) GetNextPageToken() string

func (*ListVehiclesResponse) GetTotalSize

func (x *ListVehiclesResponse) GetTotalSize() int64

func (*ListVehiclesResponse) GetVehicles

func (x *ListVehiclesResponse) GetVehicles() []*Vehicle

func (*ListVehiclesResponse) ProtoMessage

func (*ListVehiclesResponse) ProtoMessage()

func (*ListVehiclesResponse) ProtoReflect

func (x *ListVehiclesResponse) ProtoReflect() protoreflect.Message

func (*ListVehiclesResponse) Reset

func (x *ListVehiclesResponse) Reset()

func (*ListVehiclesResponse) String

func (x *ListVehiclesResponse) String() string

LocationPowerSaveMode

type LocationPowerSaveMode int32

How location features are configured to behave on the mobile device when the devices "battery saver" feature is on. (https://developer.android.com/reference/android/os/PowerManager#getLocationPowerSaveMode())

LocationPowerSaveMode_UNKNOWN_LOCATION_POWER_SAVE_MODE, LocationPowerSaveMode_LOCATION_MODE_NO_CHANGE, LocationPowerSaveMode_LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF, LocationPowerSaveMode_LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF, LocationPowerSaveMode_LOCATION_MODE_FOREGROUND_ONLY, LocationPowerSaveMode_LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF

const (
	// Undefined LocationPowerSaveMode
	LocationPowerSaveMode_UNKNOWN_LOCATION_POWER_SAVE_MODE LocationPowerSaveMode = 0
	// Either the location providers shouldn't be affected by battery saver, or
	// battery saver is off.
	LocationPowerSaveMode_LOCATION_MODE_NO_CHANGE LocationPowerSaveMode = 1
	// The GPS based location provider should be disabled when battery saver is on
	// and the device is non-interactive.
	LocationPowerSaveMode_LOCATION_MODE_GPS_DISABLED_WHEN_SCREEN_OFF LocationPowerSaveMode = 2
	// All location providers should be disabled when battery saver is on and the
	// device is non-interactive.
	LocationPowerSaveMode_LOCATION_MODE_ALL_DISABLED_WHEN_SCREEN_OFF LocationPowerSaveMode = 3
	// All the location providers will be kept available, but location fixes
	// should only be provided to foreground apps.
	LocationPowerSaveMode_LOCATION_MODE_FOREGROUND_ONLY LocationPowerSaveMode = 4
	// Location will not be turned off, but LocationManager will throttle all
	// requests to providers when the device is non-interactive.
	LocationPowerSaveMode_LOCATION_MODE_THROTTLE_REQUESTS_WHEN_SCREEN_OFF LocationPowerSaveMode = 5
)

func (LocationPowerSaveMode) Descriptor

func (LocationPowerSaveMode) Enum

func (LocationPowerSaveMode) EnumDescriptor

func (LocationPowerSaveMode) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocationPowerSaveMode.Descriptor instead.

func (LocationPowerSaveMode) Number

func (LocationPowerSaveMode) String

func (x LocationPowerSaveMode) String() string

func (LocationPowerSaveMode) Type

LocationSensor

type LocationSensor int32

The sensor or methodology used to determine the location.

LocationSensor_UNKNOWN_SENSOR, LocationSensor_GPS, LocationSensor_NETWORK, LocationSensor_PASSIVE, LocationSensor_ROAD_SNAPPED_LOCATION_PROVIDER, LocationSensor_CUSTOMER_SUPPLIED_LOCATION, LocationSensor_FLEET_ENGINE_LOCATION, LocationSensor_FUSED_LOCATION_PROVIDER, LocationSensor_CORE_LOCATION

const (
	// The sensor is unspecified or unknown.
	LocationSensor_UNKNOWN_SENSOR LocationSensor = 0
	// GPS or Assisted GPS.
	LocationSensor_GPS LocationSensor = 1
	// Assisted GPS, cell tower ID, or WiFi access point.
	LocationSensor_NETWORK LocationSensor = 2
	// Cell tower ID or WiFi access point.
	LocationSensor_PASSIVE LocationSensor = 3
	// A location determined by the mobile device to be the most likely
	// road position.
	LocationSensor_ROAD_SNAPPED_LOCATION_PROVIDER LocationSensor = 4
	// A customer-supplied location from an independent source.  Typically, this
	// value is used for a location provided from sources other than the mobile
	// device running Driver SDK.  If the original source is described by one of
	// the other enum values, use that value. Locations marked
	// CUSTOMER_SUPPLIED_LOCATION are typically provided via a Vehicle's
	// `last_location.supplemental_location_sensor`.
	LocationSensor_CUSTOMER_SUPPLIED_LOCATION LocationSensor = 5
	// A location calculated by Fleet Engine based on the signals available to it.
	// Output only. This value will be rejected if it is received in a request.
	LocationSensor_FLEET_ENGINE_LOCATION LocationSensor = 6
	// Android's Fused Location Provider.
	LocationSensor_FUSED_LOCATION_PROVIDER LocationSensor = 100
	// The location provider on Apple operating systems.
	LocationSensor_CORE_LOCATION LocationSensor = 200
)

func (LocationSensor) Descriptor

func (LocationSensor) Enum

func (x LocationSensor) Enum() *LocationSensor

func (LocationSensor) EnumDescriptor

func (LocationSensor) EnumDescriptor() ([]byte, []int)

Deprecated: Use LocationSensor.Descriptor instead.

func (LocationSensor) Number

func (LocationSensor) String

func (x LocationSensor) String() string

func (LocationSensor) Type

NavigationStatus

type NavigationStatus int32

The vehicle's navigation status.

NavigationStatus_UNKNOWN_NAVIGATION_STATUS, NavigationStatus_NO_GUIDANCE, NavigationStatus_ENROUTE_TO_DESTINATION, NavigationStatus_OFF_ROUTE, NavigationStatus_ARRIVED_AT_DESTINATION

const (
	// Unspecified navigation status.
	NavigationStatus_UNKNOWN_NAVIGATION_STATUS NavigationStatus = 0
	// The Driver app's navigation is in `FREE_NAV` mode.
	NavigationStatus_NO_GUIDANCE NavigationStatus = 1
	// Turn-by-turn navigation is available and the Driver app navigation has
	// entered `GUIDED_NAV` mode.
	NavigationStatus_ENROUTE_TO_DESTINATION NavigationStatus = 2
	// The vehicle has gone off the suggested route.
	NavigationStatus_OFF_ROUTE NavigationStatus = 3
	// The vehicle is within approximately 50m of the destination.
	NavigationStatus_ARRIVED_AT_DESTINATION NavigationStatus = 4
)

func (NavigationStatus) Descriptor

func (NavigationStatus) Enum

func (NavigationStatus) EnumDescriptor

func (NavigationStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use NavigationStatus.Descriptor instead.

func (NavigationStatus) Number

func (NavigationStatus) String

func (x NavigationStatus) String() string

func (NavigationStatus) Type

PolylineFormatType

type PolylineFormatType int32

The type of polyline format.

PolylineFormatType_UNKNOWN_FORMAT_TYPE, PolylineFormatType_LAT_LNG_LIST_TYPE, PolylineFormatType_ENCODED_POLYLINE_TYPE

const (
	// The format is unspecified or unknown.
	PolylineFormatType_UNKNOWN_FORMAT_TYPE PolylineFormatType = 0
	// A list of `google.type.LatLng`.
	PolylineFormatType_LAT_LNG_LIST_TYPE PolylineFormatType = 1
	// A polyline encoded with a polyline compression algorithm. Decoding is not
	// yet supported.
	PolylineFormatType_ENCODED_POLYLINE_TYPE PolylineFormatType = 2
)

func (PolylineFormatType) Descriptor

func (PolylineFormatType) Enum

func (PolylineFormatType) EnumDescriptor

func (PolylineFormatType) EnumDescriptor() ([]byte, []int)

Deprecated: Use PolylineFormatType.Descriptor instead.

func (PolylineFormatType) Number

func (PolylineFormatType) String

func (x PolylineFormatType) String() string

func (PolylineFormatType) Type

PowerSource

type PowerSource int32

Type of the charger being used to charge the battery.

PowerSource_UNKNOWN_POWER_SOURCE, PowerSource_POWER_SOURCE_AC, PowerSource_POWER_SOURCE_USB, PowerSource_POWER_SOURCE_WIRELESS, PowerSource_POWER_SOURCE_UNPLUGGED

const (
	// Power source unknown.
	PowerSource_UNKNOWN_POWER_SOURCE PowerSource = 0
	// Power source is an AC charger.
	PowerSource_POWER_SOURCE_AC PowerSource = 1
	// Power source is a USB port.
	PowerSource_POWER_SOURCE_USB PowerSource = 2
	// Power source is wireless.
	PowerSource_POWER_SOURCE_WIRELESS PowerSource = 3
	// Battery is unplugged.
	PowerSource_POWER_SOURCE_UNPLUGGED PowerSource = 4
)

func (PowerSource) Descriptor

func (PowerSource) Enum

func (x PowerSource) Enum() *PowerSource

func (PowerSource) EnumDescriptor

func (PowerSource) EnumDescriptor() ([]byte, []int)

Deprecated: Use PowerSource.Descriptor instead.

func (PowerSource) Number

func (x PowerSource) Number() protoreflect.EnumNumber

func (PowerSource) String

func (x PowerSource) String() string

func (PowerSource) Type

ReportBillableTripRequest

type ReportBillableTripRequest struct {
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`

	CountryCode string `protobuf:"bytes,3,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty"`

	Platform BillingPlatformIdentifier `protobuf:"varint,5,opt,name=platform,proto3,enum=maps.fleetengine.v1.BillingPlatformIdentifier" json:"platform,omitempty"`

	RelatedIds []string `protobuf:"bytes,6,rep,name=related_ids,json=relatedIds,proto3" json:"related_ids,omitempty"`

	SolutionType ReportBillableTripRequest_SolutionType "" /* 162 byte string literal not displayed */

}

ReportBillableTrip request message.

func (*ReportBillableTripRequest) Descriptor

func (*ReportBillableTripRequest) Descriptor() ([]byte, []int)

Deprecated: Use ReportBillableTripRequest.ProtoReflect.Descriptor instead.

func (*ReportBillableTripRequest) GetCountryCode

func (x *ReportBillableTripRequest) GetCountryCode() string

func (*ReportBillableTripRequest) GetName

func (x *ReportBillableTripRequest) GetName() string

func (*ReportBillableTripRequest) GetPlatform

func (*ReportBillableTripRequest) GetRelatedIds

func (x *ReportBillableTripRequest) GetRelatedIds() []string

func (*ReportBillableTripRequest) GetSolutionType

func (*ReportBillableTripRequest) ProtoMessage

func (*ReportBillableTripRequest) ProtoMessage()

func (*ReportBillableTripRequest) ProtoReflect

func (*ReportBillableTripRequest) Reset

func (x *ReportBillableTripRequest) Reset()

func (*ReportBillableTripRequest) String

func (x *ReportBillableTripRequest) String() string

ReportBillableTripRequest_SolutionType

type ReportBillableTripRequest_SolutionType int32

Selector for different solution types of a reported trip.

ReportBillableTripRequest_SOLUTION_TYPE_UNSPECIFIED, ReportBillableTripRequest_ON_DEMAND_RIDESHARING_AND_DELIVERIES

const (
	// The default value. For backwards-compatibility, the API will use
	// `ON_DEMAND_RIDESHARING_AND_DELIVERIES` by default which is the first
	// supported solution type.
	ReportBillableTripRequest_SOLUTION_TYPE_UNSPECIFIED ReportBillableTripRequest_SolutionType = 0
	// The solution is an on-demand ridesharing and deliveries trip.
	ReportBillableTripRequest_ON_DEMAND_RIDESHARING_AND_DELIVERIES ReportBillableTripRequest_SolutionType = 1
)

func (ReportBillableTripRequest_SolutionType) Descriptor

func (ReportBillableTripRequest_SolutionType) Enum

func (ReportBillableTripRequest_SolutionType) EnumDescriptor

func (ReportBillableTripRequest_SolutionType) EnumDescriptor() ([]byte, []int)

Deprecated: Use ReportBillableTripRequest_SolutionType.Descriptor instead.

func (ReportBillableTripRequest_SolutionType) Number

func (ReportBillableTripRequest_SolutionType) String

func (ReportBillableTripRequest_SolutionType) Type

RequestHeader

type RequestHeader struct {
	LanguageCode string `protobuf:"bytes,1,opt,name=language_code,json=languageCode,proto3" json:"language_code,omitempty"`

	RegionCode string `protobuf:"bytes,2,opt,name=region_code,json=regionCode,proto3" json:"region_code,omitempty"`

	SdkVersion string `protobuf:"bytes,3,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"`

	OsVersion string `protobuf:"bytes,4,opt,name=os_version,json=osVersion,proto3" json:"os_version,omitempty"`

	DeviceModel string `protobuf:"bytes,5,opt,name=device_model,json=deviceModel,proto3" json:"device_model,omitempty"`

	SdkType RequestHeader_SdkType "" /* 130 byte string literal not displayed */

	MapsSdkVersion string `protobuf:"bytes,7,opt,name=maps_sdk_version,json=mapsSdkVersion,proto3" json:"maps_sdk_version,omitempty"`

	NavSdkVersion string `protobuf:"bytes,8,opt,name=nav_sdk_version,json=navSdkVersion,proto3" json:"nav_sdk_version,omitempty"`

	Platform RequestHeader_Platform `protobuf:"varint,9,opt,name=platform,proto3,enum=maps.fleetengine.v1.RequestHeader_Platform" json:"platform,omitempty"`

	Manufacturer string `protobuf:"bytes,10,opt,name=manufacturer,proto3" json:"manufacturer,omitempty"`

	AndroidApiLevel int32 `protobuf:"varint,11,opt,name=android_api_level,json=androidApiLevel,proto3" json:"android_api_level,omitempty"`

	TraceId string `protobuf:"bytes,12,opt,name=trace_id,json=traceId,proto3" json:"trace_id,omitempty"`

}

A RequestHeader contains fields common to all Fleet Engine RPC requests.

func (*RequestHeader) Descriptor

func (*RequestHeader) Descriptor() ([]byte, []int)

Deprecated: Use RequestHeader.ProtoReflect.Descriptor instead.

func (*RequestHeader) GetAndroidApiLevel

func (x *RequestHeader) GetAndroidApiLevel() int32

func (*RequestHeader) GetDeviceModel

func (x *RequestHeader) GetDeviceModel() string

func (*RequestHeader) GetLanguageCode

func (x *RequestHeader) GetLanguageCode() string

func (*RequestHeader) GetManufacturer

func (x *RequestHeader) GetManufacturer() string

func (*RequestHeader) GetMapsSdkVersion

func (x *RequestHeader) GetMapsSdkVersion() string

func (*RequestHeader) GetNavSdkVersion

func (x *RequestHeader) GetNavSdkVersion() string

func (*RequestHeader) GetOsVersion

func (x *RequestHeader) GetOsVersion() string

func (*RequestHeader) GetPlatform

func (x *RequestHeader) GetPlatform() RequestHeader_Platform

func (*RequestHeader) GetRegionCode

func (x *RequestHeader) GetRegionCode() string

func (*RequestHeader) GetSdkType

func (x *RequestHeader) GetSdkType() RequestHeader_SdkType

func (*RequestHeader) GetSdkVersion

func (x *RequestHeader) GetSdkVersion() string

func (*RequestHeader) GetTraceId

func (x *RequestHeader) GetTraceId() string

func (*RequestHeader) ProtoMessage

func (*RequestHeader) ProtoMessage()

func (*RequestHeader) ProtoReflect

func (x *RequestHeader) ProtoReflect() protoreflect.Message

func (*RequestHeader) Reset

func (x *RequestHeader) Reset()

func (*RequestHeader) String

func (x *RequestHeader) String() string

RequestHeader_Platform

type RequestHeader_Platform int32

The platform of the calling SDK.

RequestHeader_PLATFORM_UNSPECIFIED, RequestHeader_ANDROID, RequestHeader_IOS, RequestHeader_WEB

const (
	// The default value. This value is used if the platform is omitted.
	RequestHeader_PLATFORM_UNSPECIFIED RequestHeader_Platform = 0
	// The request is coming from Android.
	RequestHeader_ANDROID RequestHeader_Platform = 1
	// The request is coming from iOS.
	RequestHeader_IOS RequestHeader_Platform = 2
	// The request is coming from the web.
	RequestHeader_WEB RequestHeader_Platform = 3
)

func (RequestHeader_Platform) Descriptor

func (RequestHeader_Platform) Enum

func (RequestHeader_Platform) EnumDescriptor

func (RequestHeader_Platform) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequestHeader_Platform.Descriptor instead.

func (RequestHeader_Platform) Number

func (RequestHeader_Platform) String

func (x RequestHeader_Platform) String() string

func (RequestHeader_Platform) Type

RequestHeader_SdkType

type RequestHeader_SdkType int32

Possible types of SDK.

RequestHeader_SDK_TYPE_UNSPECIFIED, RequestHeader_CONSUMER, RequestHeader_DRIVER, RequestHeader_JAVASCRIPT

const (
	// The default value. This value is used if the `sdk_type` is omitted.
	RequestHeader_SDK_TYPE_UNSPECIFIED RequestHeader_SdkType = 0
	// The calling SDK is Consumer.
	RequestHeader_CONSUMER RequestHeader_SdkType = 1
	// The calling SDK is Driver.
	RequestHeader_DRIVER RequestHeader_SdkType = 2
	// The calling SDK is JavaScript.
	RequestHeader_JAVASCRIPT RequestHeader_SdkType = 3
)

func (RequestHeader_SdkType) Descriptor

func (RequestHeader_SdkType) Enum

func (RequestHeader_SdkType) EnumDescriptor

func (RequestHeader_SdkType) EnumDescriptor() ([]byte, []int)

Deprecated: Use RequestHeader_SdkType.Descriptor instead.

func (RequestHeader_SdkType) Number

func (RequestHeader_SdkType) String

func (x RequestHeader_SdkType) String() string

func (RequestHeader_SdkType) Type

SearchTripsRequest

type SearchTripsRequest struct {

	// The standard Fleet Engine request header.
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Required. Must be in the format `providers/{provider}`.
	// The provider must be the Project ID (for example, `sample-cloud-project`)
	// of the Google Cloud Project of which the service account making
	// this call is a member.
	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`
	// The vehicle associated with the trips in the request. If unspecified, the
	// returned trips do not contain:
	//
	// * `current_route_segment`
	// * `remaining_waypoints`
	// * `remaining_distance_meters`
	// * `eta_to_first_waypoint`
	VehicleId string `protobuf:"bytes,4,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"`
	// If set to true, the response includes Trips that influence a driver's
	// route.
	ActiveTripsOnly bool `protobuf:"varint,5,opt,name=active_trips_only,json=activeTripsOnly,proto3" json:"active_trips_only,omitempty"`
	// If not set, the server decides the number of results to return.
	PageSize int32 `protobuf:"varint,6,opt,name=page_size,json=pageSize,proto3" json:"page_size,omitempty"`
	// Set this to a value previously returned in the `SearchTripsResponse` to
	// continue from previous results.
	PageToken string `protobuf:"bytes,7,opt,name=page_token,json=pageToken,proto3" json:"page_token,omitempty"`
	// If specified, returns the trips that have not been updated after the time
	// `(current - minimum_staleness)`.
	MinimumStaleness *durationpb.Duration `protobuf:"bytes,8,opt,name=minimum_staleness,json=minimumStaleness,proto3" json:"minimum_staleness,omitempty"`
	// contains filtered or unexported fields
}

SearchTrips request message.

func (*SearchTripsRequest) Descriptor

func (*SearchTripsRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchTripsRequest.ProtoReflect.Descriptor instead.

func (*SearchTripsRequest) GetActiveTripsOnly

func (x *SearchTripsRequest) GetActiveTripsOnly() bool

func (*SearchTripsRequest) GetHeader

func (x *SearchTripsRequest) GetHeader() *RequestHeader

func (*SearchTripsRequest) GetMinimumStaleness

func (x *SearchTripsRequest) GetMinimumStaleness() *durationpb.Duration

func (*SearchTripsRequest) GetPageSize

func (x *SearchTripsRequest) GetPageSize() int32

func (*SearchTripsRequest) GetPageToken

func (x *SearchTripsRequest) GetPageToken() string

func (*SearchTripsRequest) GetParent

func (x *SearchTripsRequest) GetParent() string

func (*SearchTripsRequest) GetVehicleId

func (x *SearchTripsRequest) GetVehicleId() string

func (*SearchTripsRequest) ProtoMessage

func (*SearchTripsRequest) ProtoMessage()

func (*SearchTripsRequest) ProtoReflect

func (x *SearchTripsRequest) ProtoReflect() protoreflect.Message

func (*SearchTripsRequest) Reset

func (x *SearchTripsRequest) Reset()

func (*SearchTripsRequest) String

func (x *SearchTripsRequest) String() string

SearchTripsResponse

type SearchTripsResponse struct {

	// The list of trips for the requested vehicle.
	Trips []*Trip `protobuf:"bytes,1,rep,name=trips,proto3" json:"trips,omitempty"`
	// Pass this token in the SearchTripsRequest to page through list results. The
	// API returns a trip list on each call, and when no more results remain the
	// trip list is empty.
	NextPageToken string `protobuf:"bytes,2,opt,name=next_page_token,json=nextPageToken,proto3" json:"next_page_token,omitempty"`
	// contains filtered or unexported fields
}

SearchTrips response message.

func (*SearchTripsResponse) Descriptor

func (*SearchTripsResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchTripsResponse.ProtoReflect.Descriptor instead.

func (*SearchTripsResponse) GetNextPageToken

func (x *SearchTripsResponse) GetNextPageToken() string

func (*SearchTripsResponse) GetTrips

func (x *SearchTripsResponse) GetTrips() []*Trip

func (*SearchTripsResponse) ProtoMessage

func (*SearchTripsResponse) ProtoMessage()

func (*SearchTripsResponse) ProtoReflect

func (x *SearchTripsResponse) ProtoReflect() protoreflect.Message

func (*SearchTripsResponse) Reset

func (x *SearchTripsResponse) Reset()

func (*SearchTripsResponse) String

func (x *SearchTripsResponse) String() string

SearchVehiclesRequest

type SearchVehiclesRequest struct {
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`

	Parent string `protobuf:"bytes,3,opt,name=parent,proto3" json:"parent,omitempty"`

	PickupPoint *TerminalLocation `protobuf:"bytes,4,opt,name=pickup_point,json=pickupPoint,proto3" json:"pickup_point,omitempty"`

	DropoffPoint *TerminalLocation `protobuf:"bytes,5,opt,name=dropoff_point,json=dropoffPoint,proto3" json:"dropoff_point,omitempty"`

	PickupRadiusMeters int32 `protobuf:"varint,6,opt,name=pickup_radius_meters,json=pickupRadiusMeters,proto3" json:"pickup_radius_meters,omitempty"`

	Count int32 `protobuf:"varint,7,opt,name=count,proto3" json:"count,omitempty"`

	MinimumCapacity int32 `protobuf:"varint,8,opt,name=minimum_capacity,json=minimumCapacity,proto3" json:"minimum_capacity,omitempty"`

	TripTypes []TripType "" /* 130 byte string literal not displayed */

	MaximumStaleness *durationpb.Duration `protobuf:"bytes,10,opt,name=maximum_staleness,json=maximumStaleness,proto3" json:"maximum_staleness,omitempty"`

	VehicleTypes []*Vehicle_VehicleType `protobuf:"bytes,14,rep,name=vehicle_types,json=vehicleTypes,proto3" json:"vehicle_types,omitempty"`

	RequiredAttributes []*VehicleAttribute `protobuf:"bytes,12,rep,name=required_attributes,json=requiredAttributes,proto3" json:"required_attributes,omitempty"`

	RequiredOneOfAttributes []*VehicleAttributeList "" /* 135 byte string literal not displayed */

	RequiredOneOfAttributeSets []*VehicleAttributeList "" /* 146 byte string literal not displayed */

	OrderBy SearchVehiclesRequest_VehicleMatchOrder "" /* 149 byte string literal not displayed */

	IncludeBackToBack bool `protobuf:"varint,18,opt,name=include_back_to_back,json=includeBackToBack,proto3" json:"include_back_to_back,omitempty"`

	TripId string `protobuf:"bytes,19,opt,name=trip_id,json=tripId,proto3" json:"trip_id,omitempty"`

	CurrentTripsPresent SearchVehiclesRequest_CurrentTripsPresent "" /* 189 byte string literal not displayed */

	Filter string `protobuf:"bytes,22,opt,name=filter,proto3" json:"filter,omitempty"`

}

SearchVehicles request message.

func (*SearchVehiclesRequest) Descriptor

func (*SearchVehiclesRequest) Descriptor() ([]byte, []int)

Deprecated: Use SearchVehiclesRequest.ProtoReflect.Descriptor instead.

func (*SearchVehiclesRequest) GetCount

func (x *SearchVehiclesRequest) GetCount() int32

func (*SearchVehiclesRequest) GetCurrentTripsPresent

func (*SearchVehiclesRequest) GetDropoffPoint

func (x *SearchVehiclesRequest) GetDropoffPoint() *TerminalLocation

func (*SearchVehiclesRequest) GetFilter

func (x *SearchVehiclesRequest) GetFilter() string

func (*SearchVehiclesRequest) GetHeader

func (x *SearchVehiclesRequest) GetHeader() *RequestHeader

func (*SearchVehiclesRequest) GetIncludeBackToBack

func (x *SearchVehiclesRequest) GetIncludeBackToBack() bool

func (*SearchVehiclesRequest) GetMaximumStaleness

func (x *SearchVehiclesRequest) GetMaximumStaleness() *durationpb.Duration

func (*SearchVehiclesRequest) GetMinimumCapacity

func (x *SearchVehiclesRequest) GetMinimumCapacity() int32

func (*SearchVehiclesRequest) GetOrderBy

func (*SearchVehiclesRequest) GetParent

func (x *SearchVehiclesRequest) GetParent() string

func (*SearchVehiclesRequest) GetPickupPoint

func (x *SearchVehiclesRequest) GetPickupPoint() *TerminalLocation

func (*SearchVehiclesRequest) GetPickupRadiusMeters

func (x *SearchVehiclesRequest) GetPickupRadiusMeters() int32

func (*SearchVehiclesRequest) GetRequiredAttributes

func (x *SearchVehiclesRequest) GetRequiredAttributes() []*VehicleAttribute

func (*SearchVehiclesRequest) GetRequiredOneOfAttributeSets

func (x *SearchVehiclesRequest) GetRequiredOneOfAttributeSets() []*VehicleAttributeList

func (*SearchVehiclesRequest) GetRequiredOneOfAttributes

func (x *SearchVehiclesRequest) GetRequiredOneOfAttributes() []*VehicleAttributeList

func (*SearchVehiclesRequest) GetTripId

func (x *SearchVehiclesRequest) GetTripId() string

func (*SearchVehiclesRequest) GetTripTypes

func (x *SearchVehiclesRequest) GetTripTypes() []TripType

func (*SearchVehiclesRequest) GetVehicleTypes

func (x *SearchVehiclesRequest) GetVehicleTypes() []*Vehicle_VehicleType

func (*SearchVehiclesRequest) ProtoMessage

func (*SearchVehiclesRequest) ProtoMessage()

func (*SearchVehiclesRequest) ProtoReflect

func (x *SearchVehiclesRequest) ProtoReflect() protoreflect.Message

func (*SearchVehiclesRequest) Reset

func (x *SearchVehiclesRequest) Reset()

func (*SearchVehiclesRequest) String

func (x *SearchVehiclesRequest) String() string

SearchVehiclesRequest_CurrentTripsPresent

type SearchVehiclesRequest_CurrentTripsPresent int32

Specifies the types of restrictions on a vehicle's current trips.

SearchVehiclesRequest_CURRENT_TRIPS_PRESENT_UNSPECIFIED, SearchVehiclesRequest_NONE, SearchVehiclesRequest_ANY

const (
	// The availability of vehicles with trips present is governed by the
	// `include_back_to_back` field.
	SearchVehiclesRequest_CURRENT_TRIPS_PRESENT_UNSPECIFIED SearchVehiclesRequest_CurrentTripsPresent = 0
	// Vehicles without trips can appear in search results. When this value is
	// used, `include_back_to_back` cannot be `true`.
	SearchVehiclesRequest_NONE SearchVehiclesRequest_CurrentTripsPresent = 1
	// Vehicles with at most 5 current trips and 10 waypoints are included
	// in the search results. When this value is used, `include_back_to_back`
	// cannot be `true`.
	SearchVehiclesRequest_ANY SearchVehiclesRequest_CurrentTripsPresent = 2
)

func (SearchVehiclesRequest_CurrentTripsPresent) Descriptor

func (SearchVehiclesRequest_CurrentTripsPresent) Enum

func (SearchVehiclesRequest_CurrentTripsPresent) EnumDescriptor

func (SearchVehiclesRequest_CurrentTripsPresent) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchVehiclesRequest_CurrentTripsPresent.Descriptor instead.

func (SearchVehiclesRequest_CurrentTripsPresent) Number

func (SearchVehiclesRequest_CurrentTripsPresent) String

func (SearchVehiclesRequest_CurrentTripsPresent) Type

SearchVehiclesRequest_VehicleMatchOrder

type SearchVehiclesRequest_VehicleMatchOrder int32

Specifies the order of the vehicle matches in the response.

SearchVehiclesRequest_UNKNOWN_VEHICLE_MATCH_ORDER, SearchVehiclesRequest_PICKUP_POINT_ETA, SearchVehiclesRequest_PICKUP_POINT_DISTANCE, SearchVehiclesRequest_DROPOFF_POINT_ETA, SearchVehiclesRequest_PICKUP_POINT_STRAIGHT_DISTANCE, SearchVehiclesRequest_COST

const (
	// Default, used for unspecified or unrecognized vehicle matches order.
	SearchVehiclesRequest_UNKNOWN_VEHICLE_MATCH_ORDER SearchVehiclesRequest_VehicleMatchOrder = 0
	// Ascending order by vehicle driving time to the pickup point.
	SearchVehiclesRequest_PICKUP_POINT_ETA SearchVehiclesRequest_VehicleMatchOrder = 1
	// Ascending order by vehicle driving distance to the pickup point.
	SearchVehiclesRequest_PICKUP_POINT_DISTANCE SearchVehiclesRequest_VehicleMatchOrder = 2
	// Ascending order by vehicle driving time to the dropoff point. This order
	// can only be used if the dropoff point is specified in the request.
	SearchVehiclesRequest_DROPOFF_POINT_ETA SearchVehiclesRequest_VehicleMatchOrder = 3
	// Ascending order by straight-line distance from the vehicle's last
	// reported location to the pickup point.
	SearchVehiclesRequest_PICKUP_POINT_STRAIGHT_DISTANCE SearchVehiclesRequest_VehicleMatchOrder = 4
	// Ascending order by the configured match cost. Match cost is defined as a
	// weighted calculation between straight-line distance and ETA. Weights are
	// set with default values and can be modified per customer. Please contact
	// Google support if these weights need to be modified for your project.
	SearchVehiclesRequest_COST SearchVehiclesRequest_VehicleMatchOrder = 5
)

func (SearchVehiclesRequest_VehicleMatchOrder) Descriptor

func (SearchVehiclesRequest_VehicleMatchOrder) Enum

func (SearchVehiclesRequest_VehicleMatchOrder) EnumDescriptor

func (SearchVehiclesRequest_VehicleMatchOrder) EnumDescriptor() ([]byte, []int)

Deprecated: Use SearchVehiclesRequest_VehicleMatchOrder.Descriptor instead.

func (SearchVehiclesRequest_VehicleMatchOrder) Number

func (SearchVehiclesRequest_VehicleMatchOrder) String

func (SearchVehiclesRequest_VehicleMatchOrder) Type

SearchVehiclesResponse

type SearchVehiclesResponse struct {

	// List of vehicles that match the `SearchVehiclesRequest` criteria, ordered
	// according to `SearchVehiclesRequest.order_by` field.
	Matches []*VehicleMatch `protobuf:"bytes,1,rep,name=matches,proto3" json:"matches,omitempty"`
	// contains filtered or unexported fields
}

SearchVehicles response message.

func (*SearchVehiclesResponse) Descriptor

func (*SearchVehiclesResponse) Descriptor() ([]byte, []int)

Deprecated: Use SearchVehiclesResponse.ProtoReflect.Descriptor instead.

func (*SearchVehiclesResponse) GetMatches

func (x *SearchVehiclesResponse) GetMatches() []*VehicleMatch

func (*SearchVehiclesResponse) ProtoMessage

func (*SearchVehiclesResponse) ProtoMessage()

func (*SearchVehiclesResponse) ProtoReflect

func (x *SearchVehiclesResponse) ProtoReflect() protoreflect.Message

func (*SearchVehiclesResponse) Reset

func (x *SearchVehiclesResponse) Reset()

func (*SearchVehiclesResponse) String

func (x *SearchVehiclesResponse) String() string

SpeedReadingInterval

type SpeedReadingInterval struct {
	StartPolylinePointIndex int32 "" /* 135 byte string literal not displayed */

	EndPolylinePointIndex int32 "" /* 129 byte string literal not displayed */

	Speed SpeedReadingInterval_Speed `protobuf:"varint,3,opt,name=speed,proto3,enum=maps.fleetengine.v1.SpeedReadingInterval_Speed" json:"speed,omitempty"`

}

Traffic density indicator on a contiguous segment of a path. Given a path with points P_0, P_1, ... , P_N (zero-based index), the SpeedReadingInterval defines an interval and describes its traffic using the following categories.

func (*SpeedReadingInterval) Descriptor

func (*SpeedReadingInterval) Descriptor() ([]byte, []int)

Deprecated: Use SpeedReadingInterval.ProtoReflect.Descriptor instead.

func (*SpeedReadingInterval) GetEndPolylinePointIndex

func (x *SpeedReadingInterval) GetEndPolylinePointIndex() int32

func (*SpeedReadingInterval) GetSpeed

func (*SpeedReadingInterval) GetStartPolylinePointIndex

func (x *SpeedReadingInterval) GetStartPolylinePointIndex() int32

func (*SpeedReadingInterval) ProtoMessage

func (*SpeedReadingInterval) ProtoMessage()

func (*SpeedReadingInterval) ProtoReflect

func (x *SpeedReadingInterval) ProtoReflect() protoreflect.Message

func (*SpeedReadingInterval) Reset

func (x *SpeedReadingInterval) Reset()

func (*SpeedReadingInterval) String

func (x *SpeedReadingInterval) String() string

SpeedReadingInterval_Speed

type SpeedReadingInterval_Speed int32

The classification of polyline speed based on traffic data.

SpeedReadingInterval_SPEED_UNSPECIFIED, SpeedReadingInterval_NORMAL, SpeedReadingInterval_SLOW, SpeedReadingInterval_TRAFFIC_JAM

const (
	// Default value. This value is unused.
	SpeedReadingInterval_SPEED_UNSPECIFIED SpeedReadingInterval_Speed = 0
	// Normal speed, no slowdown is detected.
	SpeedReadingInterval_NORMAL SpeedReadingInterval_Speed = 1
	// Slowdown detected, but no traffic jam formed.
	SpeedReadingInterval_SLOW SpeedReadingInterval_Speed = 2
	// Traffic jam detected.
	SpeedReadingInterval_TRAFFIC_JAM SpeedReadingInterval_Speed = 3
)

func (SpeedReadingInterval_Speed) Descriptor

func (SpeedReadingInterval_Speed) Enum

func (SpeedReadingInterval_Speed) EnumDescriptor

func (SpeedReadingInterval_Speed) EnumDescriptor() ([]byte, []int)

Deprecated: Use SpeedReadingInterval_Speed.Descriptor instead.

func (SpeedReadingInterval_Speed) Number

func (SpeedReadingInterval_Speed) String

func (SpeedReadingInterval_Speed) Type

StopLocation

type StopLocation struct {

	// Required. Denotes the actual location.
	Point *latlng.LatLng `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`
	// Indicates when the stop happened.
	Timestamp *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	// Input only. Deprecated.  Use the timestamp field.
	//
	// Deprecated: Marked as deprecated in google/maps/fleetengine/v1/trips.proto.
	StopTime *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=stop_time,json=stopTime,proto3" json:"stop_time,omitempty"`
	// contains filtered or unexported fields
}

The actual location where a stop (pickup/dropoff) happened.

func (*StopLocation) Descriptor

func (*StopLocation) Descriptor() ([]byte, []int)

Deprecated: Use StopLocation.ProtoReflect.Descriptor instead.

func (*StopLocation) GetPoint

func (x *StopLocation) GetPoint() *latlng.LatLng

func (*StopLocation) GetStopTime

func (x *StopLocation) GetStopTime() *timestamppb.Timestamp

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/trips.proto.

func (*StopLocation) GetTimestamp

func (x *StopLocation) GetTimestamp() *timestamppb.Timestamp

func (*StopLocation) ProtoMessage

func (*StopLocation) ProtoMessage()

func (*StopLocation) ProtoReflect

func (x *StopLocation) ProtoReflect() protoreflect.Message

func (*StopLocation) Reset

func (x *StopLocation) Reset()

func (*StopLocation) String

func (x *StopLocation) String() string

TerminalLocation

type TerminalLocation struct {
	Point *latlng.LatLng `protobuf:"bytes,1,opt,name=point,proto3" json:"point,omitempty"`

	TerminalPointId *TerminalPointId `protobuf:"bytes,2,opt,name=terminal_point_id,json=terminalPointId,proto3" json:"terminal_point_id,omitempty"`

	AccessPointId string `protobuf:"bytes,3,opt,name=access_point_id,json=accessPointId,proto3" json:"access_point_id,omitempty"`

	TripId string `protobuf:"bytes,4,opt,name=trip_id,json=tripId,proto3" json:"trip_id,omitempty"`

	TerminalLocationType WaypointType "" /* 162 byte string literal not displayed */

}

Describes the location of a waypoint.

func (*TerminalLocation) Descriptor

func (*TerminalLocation) Descriptor() ([]byte, []int)

Deprecated: Use TerminalLocation.ProtoReflect.Descriptor instead.

func (*TerminalLocation) GetAccessPointId

func (x *TerminalLocation) GetAccessPointId() string

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalLocation) GetPoint

func (x *TerminalLocation) GetPoint() *latlng.LatLng

func (*TerminalLocation) GetTerminalLocationType

func (x *TerminalLocation) GetTerminalLocationType() WaypointType

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalLocation) GetTerminalPointId

func (x *TerminalLocation) GetTerminalPointId() *TerminalPointId

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalLocation) GetTripId

func (x *TerminalLocation) GetTripId() string

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalLocation) ProtoMessage

func (*TerminalLocation) ProtoMessage()

func (*TerminalLocation) ProtoReflect

func (x *TerminalLocation) ProtoReflect() protoreflect.Message

func (*TerminalLocation) Reset

func (x *TerminalLocation) Reset()

func (*TerminalLocation) String

func (x *TerminalLocation) String() string

TerminalPointId (deprecated)

type TerminalPointId struct {

	// Deprecated.
	//
	// Types that are assignable to Id:
	//
	//	*TerminalPointId_PlaceId
	//	*TerminalPointId_GeneratedId
	Id isTerminalPointId_Id `protobuf_oneof:"Id"`
	// Deprecated.
	//
	// Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.
	Value string `protobuf:"bytes,4,opt,name=value,proto3" json:"value,omitempty"`
	// contains filtered or unexported fields
}

Deprecated: TerminalPoints are no longer supported in Fleet Engine. Use TerminalLocation.point instead.

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalPointId) Descriptor (deprecated)

func (*TerminalPointId) Descriptor() ([]byte, []int)

Deprecated: Use TerminalPointId.ProtoReflect.Descriptor instead.

func (*TerminalPointId) GetGeneratedId (deprecated)

func (x *TerminalPointId) GetGeneratedId() string

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalPointId) GetId (deprecated)

func (m *TerminalPointId) GetId() isTerminalPointId_Id

func (*TerminalPointId) GetPlaceId (deprecated)

func (x *TerminalPointId) GetPlaceId() string

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalPointId) GetValue (deprecated)

func (x *TerminalPointId) GetValue() string

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*TerminalPointId) ProtoMessage (deprecated)

func (*TerminalPointId) ProtoMessage()

func (*TerminalPointId) ProtoReflect (deprecated)

func (x *TerminalPointId) ProtoReflect() protoreflect.Message

func (*TerminalPointId) Reset (deprecated)

func (x *TerminalPointId) Reset()

func (*TerminalPointId) String (deprecated)

func (x *TerminalPointId) String() string

TerminalPointId_GeneratedId

type TerminalPointId_GeneratedId struct {
	// Deprecated.
	//
	// Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.
	GeneratedId string `protobuf:"bytes,3,opt,name=generated_id,json=generatedId,proto3,oneof"`
}

TerminalPointId_PlaceId

type TerminalPointId_PlaceId struct {
	// Deprecated.
	//
	// Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.
	PlaceId string `protobuf:"bytes,2,opt,name=place_id,json=placeId,proto3,oneof"`
}

TrafficPolylineData

type TrafficPolylineData struct {

	// A polyline rendering of how fast traffic is for all regions along
	// one stretch of a customer ride.
	TrafficRendering *VisualTrafficReportPolylineRendering `protobuf:"bytes,1,opt,name=traffic_rendering,json=trafficRendering,proto3" json:"traffic_rendering,omitempty"`
	// contains filtered or unexported fields
}

Traffic conditions along the expected vehicle route.

func (*TrafficPolylineData) Descriptor

func (*TrafficPolylineData) Descriptor() ([]byte, []int)

Deprecated: Use TrafficPolylineData.ProtoReflect.Descriptor instead.

func (*TrafficPolylineData) GetTrafficRendering

func (*TrafficPolylineData) ProtoMessage

func (*TrafficPolylineData) ProtoMessage()

func (*TrafficPolylineData) ProtoReflect

func (x *TrafficPolylineData) ProtoReflect() protoreflect.Message

func (*TrafficPolylineData) Reset

func (x *TrafficPolylineData) Reset()

func (*TrafficPolylineData) String

func (x *TrafficPolylineData) String() string

Trip

type Trip struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	VehicleId string `protobuf:"bytes,2,opt,name=vehicle_id,json=vehicleId,proto3" json:"vehicle_id,omitempty"`

	TripStatus TripStatus "" /* 128 byte string literal not displayed */

	TripType TripType `protobuf:"varint,4,opt,name=trip_type,json=tripType,proto3,enum=maps.fleetengine.v1.TripType" json:"trip_type,omitempty"`

	PickupPoint *TerminalLocation `protobuf:"bytes,5,opt,name=pickup_point,json=pickupPoint,proto3" json:"pickup_point,omitempty"`

	ActualPickupPoint *StopLocation `protobuf:"bytes,22,opt,name=actual_pickup_point,json=actualPickupPoint,proto3" json:"actual_pickup_point,omitempty"`

	ActualPickupArrivalPoint *StopLocation "" /* 138 byte string literal not displayed */

	PickupTime *timestamppb.Timestamp `protobuf:"bytes,6,opt,name=pickup_time,json=pickupTime,proto3" json:"pickup_time,omitempty"`

	IntermediateDestinations []*TerminalLocation "" /* 134 byte string literal not displayed */

	IntermediateDestinationsVersion *timestamppb.Timestamp "" /* 157 byte string literal not displayed */

	IntermediateDestinationIndex int32 "" /* 149 byte string literal not displayed */

	ActualIntermediateDestinationArrivalPoints []*StopLocation "" /* 194 byte string literal not displayed */

	ActualIntermediateDestinations []*StopLocation "" /* 154 byte string literal not displayed */

	DropoffPoint *TerminalLocation `protobuf:"bytes,7,opt,name=dropoff_point,json=dropoffPoint,proto3" json:"dropoff_point,omitempty"`

	ActualDropoffPoint *StopLocation `protobuf:"bytes,23,opt,name=actual_dropoff_point,json=actualDropoffPoint,proto3" json:"actual_dropoff_point,omitempty"`

	DropoffTime *timestamppb.Timestamp `protobuf:"bytes,8,opt,name=dropoff_time,json=dropoffTime,proto3" json:"dropoff_time,omitempty"`

	RemainingWaypoints []*TripWaypoint `protobuf:"bytes,16,rep,name=remaining_waypoints,json=remainingWaypoints,proto3" json:"remaining_waypoints,omitempty"`

	VehicleWaypoints []*TripWaypoint `protobuf:"bytes,20,rep,name=vehicle_waypoints,json=vehicleWaypoints,proto3" json:"vehicle_waypoints,omitempty"`

	Route []*latlng.LatLng `protobuf:"bytes,9,rep,name=route,proto3" json:"route,omitempty"`

	CurrentRouteSegment string `protobuf:"bytes,21,opt,name=current_route_segment,json=currentRouteSegment,proto3" json:"current_route_segment,omitempty"`

	CurrentRouteSegmentVersion *timestamppb.Timestamp "" /* 144 byte string literal not displayed */

	CurrentRouteSegmentTraffic *ConsumableTrafficPolyline "" /* 144 byte string literal not displayed */

	CurrentRouteSegmentTrafficVersion *timestamppb.Timestamp "" /* 167 byte string literal not displayed */

	CurrentRouteSegmentEndPoint *TripWaypoint "" /* 149 byte string literal not displayed */

	RemainingDistanceMeters *wrapperspb.Int32Value "" /* 133 byte string literal not displayed */

	EtaToFirstWaypoint *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=eta_to_first_waypoint,json=etaToFirstWaypoint,proto3" json:"eta_to_first_waypoint,omitempty"`

	RemainingTimeToFirstWaypoint *durationpb.Duration "" /* 152 byte string literal not displayed */

	RemainingWaypointsVersion *timestamppb.Timestamp "" /* 139 byte string literal not displayed */

	RemainingWaypointsRouteVersion *timestamppb.Timestamp "" /* 156 byte string literal not displayed */

	NumberOfPassengers int32 `protobuf:"varint,10,opt,name=number_of_passengers,json=numberOfPassengers,proto3" json:"number_of_passengers,omitempty"`

	LastLocation *VehicleLocation `protobuf:"bytes,11,opt,name=last_location,json=lastLocation,proto3" json:"last_location,omitempty"`

	LastLocationSnappable bool "" /* 128 byte string literal not displayed */

	View TripView `protobuf:"varint,31,opt,name=view,proto3,enum=maps.fleetengine.v1.TripView" json:"view,omitempty"`

}

Trip metadata.

func (*Trip) Descriptor

func (*Trip) Descriptor() ([]byte, []int)

Deprecated: Use Trip.ProtoReflect.Descriptor instead.

func (*Trip) GetActualDropoffPoint

func (x *Trip) GetActualDropoffPoint() *StopLocation

func (*Trip) GetActualIntermediateDestinationArrivalPoints

func (x *Trip) GetActualIntermediateDestinationArrivalPoints() []*StopLocation

func (*Trip) GetActualIntermediateDestinations

func (x *Trip) GetActualIntermediateDestinations() []*StopLocation

func (*Trip) GetActualPickupArrivalPoint

func (x *Trip) GetActualPickupArrivalPoint() *StopLocation

func (*Trip) GetActualPickupPoint

func (x *Trip) GetActualPickupPoint() *StopLocation

func (*Trip) GetCurrentRouteSegment

func (x *Trip) GetCurrentRouteSegment() string

func (*Trip) GetCurrentRouteSegmentEndPoint

func (x *Trip) GetCurrentRouteSegmentEndPoint() *TripWaypoint

func (*Trip) GetCurrentRouteSegmentTraffic

func (x *Trip) GetCurrentRouteSegmentTraffic() *ConsumableTrafficPolyline

func (*Trip) GetCurrentRouteSegmentTrafficVersion

func (x *Trip) GetCurrentRouteSegmentTrafficVersion() *timestamppb.Timestamp

func (*Trip) GetCurrentRouteSegmentVersion

func (x *Trip) GetCurrentRouteSegmentVersion() *timestamppb.Timestamp

func (*Trip) GetDropoffPoint

func (x *Trip) GetDropoffPoint() *TerminalLocation

func (*Trip) GetDropoffTime

func (x *Trip) GetDropoffTime() *timestamppb.Timestamp

func (*Trip) GetEtaToFirstWaypoint

func (x *Trip) GetEtaToFirstWaypoint() *timestamppb.Timestamp

func (*Trip) GetIntermediateDestinationIndex

func (x *Trip) GetIntermediateDestinationIndex() int32

func (*Trip) GetIntermediateDestinations

func (x *Trip) GetIntermediateDestinations() []*TerminalLocation

func (*Trip) GetIntermediateDestinationsVersion

func (x *Trip) GetIntermediateDestinationsVersion() *timestamppb.Timestamp

func (*Trip) GetLastLocation

func (x *Trip) GetLastLocation() *VehicleLocation

func (*Trip) GetLastLocationSnappable

func (x *Trip) GetLastLocationSnappable() bool

func (*Trip) GetName

func (x *Trip) GetName() string

func (*Trip) GetNumberOfPassengers

func (x *Trip) GetNumberOfPassengers() int32

func (*Trip) GetPickupPoint

func (x *Trip) GetPickupPoint() *TerminalLocation

func (*Trip) GetPickupTime

func (x *Trip) GetPickupTime() *timestamppb.Timestamp

func (*Trip) GetRemainingDistanceMeters

func (x *Trip) GetRemainingDistanceMeters() *wrapperspb.Int32Value

func (*Trip) GetRemainingTimeToFirstWaypoint

func (x *Trip) GetRemainingTimeToFirstWaypoint() *durationpb.Duration

func (*Trip) GetRemainingWaypoints

func (x *Trip) GetRemainingWaypoints() []*TripWaypoint

func (*Trip) GetRemainingWaypointsRouteVersion

func (x *Trip) GetRemainingWaypointsRouteVersion() *timestamppb.Timestamp

func (*Trip) GetRemainingWaypointsVersion

func (x *Trip) GetRemainingWaypointsVersion() *timestamppb.Timestamp

func (*Trip) GetRoute

func (x *Trip) GetRoute() []*latlng.LatLng

func (*Trip) GetTripStatus

func (x *Trip) GetTripStatus() TripStatus

func (*Trip) GetTripType

func (x *Trip) GetTripType() TripType

func (*Trip) GetVehicleId

func (x *Trip) GetVehicleId() string

func (*Trip) GetVehicleWaypoints

func (x *Trip) GetVehicleWaypoints() []*TripWaypoint

func (*Trip) GetView

func (x *Trip) GetView() TripView

func (*Trip) ProtoMessage

func (*Trip) ProtoMessage()

func (*Trip) ProtoReflect

func (x *Trip) ProtoReflect() protoreflect.Message

func (*Trip) Reset

func (x *Trip) Reset()

func (*Trip) String

func (x *Trip) String() string

TripServiceClient

type TripServiceClient interface {
	// Creates a trip in the Fleet Engine and returns the new trip.
	CreateTrip(ctx context.Context, in *CreateTripRequest, opts ...grpc.CallOption) (*Trip, error)
	// Get information about a single trip.
	GetTrip(ctx context.Context, in *GetTripRequest, opts ...grpc.CallOption) (*Trip, error)
	// Report billable trip usage.
	ReportBillableTrip(ctx context.Context, in *ReportBillableTripRequest, opts ...grpc.CallOption) (*emptypb.Empty, error)
	// Get all the trips for a specific vehicle.
	SearchTrips(ctx context.Context, in *SearchTripsRequest, opts ...grpc.CallOption) (*SearchTripsResponse, error)
	// Updates trip data.
	UpdateTrip(ctx context.Context, in *UpdateTripRequest, opts ...grpc.CallOption) (*Trip, error)
}

TripServiceClient is the client API for TripService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewTripServiceClient

func NewTripServiceClient(cc grpc.ClientConnInterface) TripServiceClient

TripServiceServer

type TripServiceServer interface {
	// Creates a trip in the Fleet Engine and returns the new trip.
	CreateTrip(context.Context, *CreateTripRequest) (*Trip, error)
	// Get information about a single trip.
	GetTrip(context.Context, *GetTripRequest) (*Trip, error)
	// Report billable trip usage.
	ReportBillableTrip(context.Context, *ReportBillableTripRequest) (*emptypb.Empty, error)
	// Get all the trips for a specific vehicle.
	SearchTrips(context.Context, *SearchTripsRequest) (*SearchTripsResponse, error)
	// Updates trip data.
	UpdateTrip(context.Context, *UpdateTripRequest) (*Trip, error)
}

TripServiceServer is the server API for TripService service.

TripStatus

type TripStatus int32

The status of a trip indicating its progression.

TripStatus_UNKNOWN_TRIP_STATUS, TripStatus_NEW, TripStatus_ENROUTE_TO_PICKUP, TripStatus_ARRIVED_AT_PICKUP, TripStatus_ARRIVED_AT_INTERMEDIATE_DESTINATION, TripStatus_ENROUTE_TO_INTERMEDIATE_DESTINATION, TripStatus_ENROUTE_TO_DROPOFF, TripStatus_COMPLETE, TripStatus_CANCELED

const (
	// Default, used for unspecified or unrecognized trip status.
	TripStatus_UNKNOWN_TRIP_STATUS TripStatus = 0
	// Newly created trip.
	TripStatus_NEW TripStatus = 1
	// The driver is on their way to the pickup point.
	TripStatus_ENROUTE_TO_PICKUP TripStatus = 2
	// The driver has arrived at the pickup point.
	TripStatus_ARRIVED_AT_PICKUP TripStatus = 3
	// The driver has arrived at an intermediate destination and is waiting for
	// the rider.
	TripStatus_ARRIVED_AT_INTERMEDIATE_DESTINATION TripStatus = 7
	// The driver is on their way to an intermediate destination
	// (not the dropoff point).
	TripStatus_ENROUTE_TO_INTERMEDIATE_DESTINATION TripStatus = 8
	// The driver has picked up the rider and is on their way to the
	// next destination.
	TripStatus_ENROUTE_TO_DROPOFF TripStatus = 4
	// The rider has been dropped off and the trip is complete.
	TripStatus_COMPLETE TripStatus = 5
	// The trip was canceled prior to pickup by the driver, rider, or
	// rideshare provider.
	TripStatus_CANCELED TripStatus = 6
)

func (TripStatus) Descriptor

func (TripStatus) Descriptor() protoreflect.EnumDescriptor

func (TripStatus) Enum

func (x TripStatus) Enum() *TripStatus

func (TripStatus) EnumDescriptor

func (TripStatus) EnumDescriptor() ([]byte, []int)

Deprecated: Use TripStatus.Descriptor instead.

func (TripStatus) Number

func (x TripStatus) Number() protoreflect.EnumNumber

func (TripStatus) String

func (x TripStatus) String() string

func (TripStatus) Type

TripType

type TripType int32

The type of a trip.

TripType_UNKNOWN_TRIP_TYPE, TripType_SHARED, TripType_EXCLUSIVE

const (
	// Default, used for unspecified or unrecognized trip types.
	TripType_UNKNOWN_TRIP_TYPE TripType = 0
	// The trip may share a vehicle with other trips.
	TripType_SHARED TripType = 1
	// The trip is exclusive to a vehicle.
	TripType_EXCLUSIVE TripType = 2
)

func (TripType) Descriptor

func (TripType) Descriptor() protoreflect.EnumDescriptor

func (TripType) Enum

func (x TripType) Enum() *TripType

func (TripType) EnumDescriptor

func (TripType) EnumDescriptor() ([]byte, []int)

Deprecated: Use TripType.Descriptor instead.

func (TripType) Number

func (x TripType) Number() protoreflect.EnumNumber

func (TripType) String

func (x TripType) String() string

func (TripType) Type

TripView

type TripView int32

Selector for different sets of Trip fields in a GetTrip response. See AIP-157 for context. Additional views are likely to be added.

TripView_TRIP_VIEW_UNSPECIFIED, TripView_SDK, TripView_JOURNEY_SHARING_V1S

const (
	// The default value. For backwards-compatibility, the API will default to an
	// SDK view. To ensure stability and support, customers are
	// advised to select a `TripView` other than `SDK`.
	TripView_TRIP_VIEW_UNSPECIFIED TripView = 0
	// Includes fields that may not be interpretable or supportable using
	// publicly available libraries.
	TripView_SDK TripView = 1
	// Trip fields are populated for the Journey Sharing use case. This view is
	// intended for server-to-server communications.
	TripView_JOURNEY_SHARING_V1S TripView = 2
)

func (TripView) Descriptor

func (TripView) Descriptor() protoreflect.EnumDescriptor

func (TripView) Enum

func (x TripView) Enum() *TripView

func (TripView) EnumDescriptor

func (TripView) EnumDescriptor() ([]byte, []int)

Deprecated: Use TripView.Descriptor instead.

func (TripView) Number

func (x TripView) Number() protoreflect.EnumNumber

func (TripView) String

func (x TripView) String() string

func (TripView) Type

TripWaypoint

type TripWaypoint struct {
	Location *TerminalLocation `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`

	TripId string `protobuf:"bytes,2,opt,name=trip_id,json=tripId,proto3" json:"trip_id,omitempty"`

	WaypointType WaypointType "" /* 136 byte string literal not displayed */

	PathToWaypoint []*latlng.LatLng `protobuf:"bytes,4,rep,name=path_to_waypoint,json=pathToWaypoint,proto3" json:"path_to_waypoint,omitempty"`

	EncodedPathToWaypoint string "" /* 128 byte string literal not displayed */

	TrafficToWaypoint *ConsumableTrafficPolyline `protobuf:"bytes,10,opt,name=traffic_to_waypoint,json=trafficToWaypoint,proto3" json:"traffic_to_waypoint,omitempty"`

	DistanceMeters *wrapperspb.Int32Value `protobuf:"bytes,6,opt,name=distance_meters,json=distanceMeters,proto3" json:"distance_meters,omitempty"`

	Eta *timestamppb.Timestamp `protobuf:"bytes,7,opt,name=eta,proto3" json:"eta,omitempty"`

	Duration *durationpb.Duration `protobuf:"bytes,8,opt,name=duration,proto3" json:"duration,omitempty"`

}

Describes a stopping point on a vehicle's route or an ending point on a vehicle's trip.

func (*TripWaypoint) Descriptor

func (*TripWaypoint) Descriptor() ([]byte, []int)

Deprecated: Use TripWaypoint.ProtoReflect.Descriptor instead.

func (*TripWaypoint) GetDistanceMeters

func (x *TripWaypoint) GetDistanceMeters() *wrapperspb.Int32Value

func (*TripWaypoint) GetDuration

func (x *TripWaypoint) GetDuration() *durationpb.Duration

func (*TripWaypoint) GetEncodedPathToWaypoint

func (x *TripWaypoint) GetEncodedPathToWaypoint() string

func (*TripWaypoint) GetEta

func (x *TripWaypoint) GetEta() *timestamppb.Timestamp

func (*TripWaypoint) GetLocation

func (x *TripWaypoint) GetLocation() *TerminalLocation

func (*TripWaypoint) GetPathToWaypoint

func (x *TripWaypoint) GetPathToWaypoint() []*latlng.LatLng

func (*TripWaypoint) GetTrafficToWaypoint

func (x *TripWaypoint) GetTrafficToWaypoint() *ConsumableTrafficPolyline

func (*TripWaypoint) GetTripId

func (x *TripWaypoint) GetTripId() string

func (*TripWaypoint) GetWaypointType

func (x *TripWaypoint) GetWaypointType() WaypointType

func (*TripWaypoint) ProtoMessage

func (*TripWaypoint) ProtoMessage()

func (*TripWaypoint) ProtoReflect

func (x *TripWaypoint) ProtoReflect() protoreflect.Message

func (*TripWaypoint) Reset

func (x *TripWaypoint) Reset()

func (*TripWaypoint) String

func (x *TripWaypoint) String() string

UnimplementedTripServiceServer

type UnimplementedTripServiceServer struct {
}

UnimplementedTripServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedTripServiceServer) CreateTrip

func (*UnimplementedTripServiceServer) GetTrip

func (*UnimplementedTripServiceServer) ReportBillableTrip

func (*UnimplementedTripServiceServer) SearchTrips

func (*UnimplementedTripServiceServer) UpdateTrip

UnimplementedVehicleServiceServer

type UnimplementedVehicleServiceServer struct {
}

UnimplementedVehicleServiceServer can be embedded to have forward compatible implementations.

func (*UnimplementedVehicleServiceServer) CreateVehicle

func (*UnimplementedVehicleServiceServer) GetVehicle

func (*UnimplementedVehicleServiceServer) ListVehicles

func (*UnimplementedVehicleServiceServer) SearchVehicles

func (*UnimplementedVehicleServiceServer) UpdateVehicle

func (*UnimplementedVehicleServiceServer) UpdateVehicleAttributes

UpdateTripRequest

type UpdateTripRequest struct {

	// The standard Fleet Engine request header.
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Required. Must be in the format
	// `providers/{provider}/trips/{trip}`. The provider must
	// be the Project ID (for example, `sample-consumer-project`) of the Google
	// Cloud Project of which the service account making this call is a member.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The Trip associated with the update.
	//
	// The following fields are maintained by the Fleet Engine. Do not update
	// them using Trip.update.
	//
	// * `current_route_segment`
	// * `current_route_segment_end_point`
	// * `current_route_segment_traffic`
	// * `current_route_segment_traffic_version`
	// * `current_route_segment_version`
	// * `dropoff_time`
	// * `eta_to_next_waypoint`
	// * `intermediate_destinations_version`
	// * `last_location`
	// * `name`
	// * `number_of_passengers`
	// * `pickup_time`
	// * `remaining_distance_meters`
	// * `remaining_time_to_first_waypoint`
	// * `remaining_waypoints`
	// * `remaining_waypoints_version`
	// * `route`
	//
	// When you update the `Trip.vehicle_id` for a shared trip, you must supply
	// the list of `Trip.vehicle_waypoints` to specify the order of the remaining
	// waypoints, otherwise the order will be undetermined.
	//
	// When you specify `Trip.vehicle_waypoints`, the list must contain all
	// the remaining waypoints of the vehicle's trips, with no extra waypoints.
	// You must order these waypoints such that for a given trip, the pickup
	// point is before intermediate destinations, and all intermediate
	// destinations come before the drop-off point. An `EXCLUSIVE` trip's
	// waypoints must not interleave with any other trips.
	// The `trip_id`, `waypoint_type` and `location` fields are used, and all
	// other TripWaypoint fields in `vehicle_waypoints` are ignored.
	//
	// To avoid a race condition for trips with multiple destinations, you
	// should provide `Trip.intermediate_destinations_version` when updating
	// the trip status to `ENROUTE_TO_INTERMEDIATE_DESTINATION`. The
	// `Trip.intermediate_destinations_version` passed must be consistent with
	// Fleet Engine's version. If it isn't, the request fails.
	Trip *Trip `protobuf:"bytes,4,opt,name=trip,proto3" json:"trip,omitempty"`
	// Required. The field mask indicating which fields in Trip to update.
	// The `update_mask` must contain at least one field.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

UpdateTrip request message.

func (*UpdateTripRequest) Descriptor

func (*UpdateTripRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateTripRequest.ProtoReflect.Descriptor instead.

func (*UpdateTripRequest) GetHeader

func (x *UpdateTripRequest) GetHeader() *RequestHeader

func (*UpdateTripRequest) GetName

func (x *UpdateTripRequest) GetName() string

func (*UpdateTripRequest) GetTrip

func (x *UpdateTripRequest) GetTrip() *Trip

func (*UpdateTripRequest) GetUpdateMask

func (x *UpdateTripRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateTripRequest) ProtoMessage

func (*UpdateTripRequest) ProtoMessage()

func (*UpdateTripRequest) ProtoReflect

func (x *UpdateTripRequest) ProtoReflect() protoreflect.Message

func (*UpdateTripRequest) Reset

func (x *UpdateTripRequest) Reset()

func (*UpdateTripRequest) String

func (x *UpdateTripRequest) String() string

UpdateVehicleAttributesRequest

type UpdateVehicleAttributesRequest struct {

	// The standard Fleet Engine request header.
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Required. Must be in the format `providers/{provider}/vehicles/{vehicle}`.
	// The provider must be the Project ID (for example, `sample-cloud-project`)
	// of the Google Cloud Project of which the service account making
	// this call is a member.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The vehicle attributes to update. Unmentioned attributes are not
	// altered or removed.
	Attributes []*VehicleAttribute `protobuf:"bytes,4,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

UpdateVehicleAttributes request message.

func (*UpdateVehicleAttributesRequest) Descriptor

func (*UpdateVehicleAttributesRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVehicleAttributesRequest.ProtoReflect.Descriptor instead.

func (*UpdateVehicleAttributesRequest) GetAttributes

func (x *UpdateVehicleAttributesRequest) GetAttributes() []*VehicleAttribute

func (*UpdateVehicleAttributesRequest) GetHeader

func (*UpdateVehicleAttributesRequest) GetName

func (*UpdateVehicleAttributesRequest) ProtoMessage

func (*UpdateVehicleAttributesRequest) ProtoMessage()

func (*UpdateVehicleAttributesRequest) ProtoReflect

func (*UpdateVehicleAttributesRequest) Reset

func (x *UpdateVehicleAttributesRequest) Reset()

func (*UpdateVehicleAttributesRequest) String

UpdateVehicleAttributesResponse

type UpdateVehicleAttributesResponse struct {

	// Required. The updated full list of vehicle attributes, including new,
	// altered, and untouched attributes.
	Attributes []*VehicleAttribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

UpdateVehicleAttributes response message.

func (*UpdateVehicleAttributesResponse) Descriptor

func (*UpdateVehicleAttributesResponse) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVehicleAttributesResponse.ProtoReflect.Descriptor instead.

func (*UpdateVehicleAttributesResponse) GetAttributes

func (x *UpdateVehicleAttributesResponse) GetAttributes() []*VehicleAttribute

func (*UpdateVehicleAttributesResponse) ProtoMessage

func (*UpdateVehicleAttributesResponse) ProtoMessage()

func (*UpdateVehicleAttributesResponse) ProtoReflect

func (*UpdateVehicleAttributesResponse) Reset

func (*UpdateVehicleAttributesResponse) String

UpdateVehicleRequest

type UpdateVehicleRequest struct {

	// The standard Fleet Engine request header.
	Header *RequestHeader `protobuf:"bytes,1,opt,name=header,proto3" json:"header,omitempty"`
	// Required. Must be in the format
	// `providers/{provider}/vehicles/{vehicle}`.
	// The {provider} must be the Project ID (for example, `sample-cloud-project`)
	// of the Google Cloud Project of which the service account making
	// this call is a member.
	Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
	// Required. The `Vehicle` entity values to apply.  When updating a `Vehicle`,
	// the following fields may not be updated as they are managed by the
	// server.
	//
	// * `available_capacity`
	// * `current_route_segment_version`
	// * `current_trips`
	// * `name`
	// * `waypoints_version`
	//
	// If the `attributes` field is updated, **all** the vehicle's attributes are
	// replaced with the attributes provided in the request. If you want to update
	// only some attributes, see the `UpdateVehicleAttributes` method.
	//
	// Likewise, the `waypoints` field can be updated, but must contain all the
	// waypoints currently on the vehicle, and no other waypoints.
	Vehicle *Vehicle `protobuf:"bytes,4,opt,name=vehicle,proto3" json:"vehicle,omitempty"`
	// Required. A field mask indicating which fields of the `Vehicle` to update.
	// At least one field name must be provided.
	UpdateMask *fieldmaskpb.FieldMask `protobuf:"bytes,5,opt,name=update_mask,json=updateMask,proto3" json:"update_mask,omitempty"`
	// contains filtered or unexported fields
}

`UpdateVehicle request message.

func (*UpdateVehicleRequest) Descriptor

func (*UpdateVehicleRequest) Descriptor() ([]byte, []int)

Deprecated: Use UpdateVehicleRequest.ProtoReflect.Descriptor instead.

func (*UpdateVehicleRequest) GetHeader

func (x *UpdateVehicleRequest) GetHeader() *RequestHeader

func (*UpdateVehicleRequest) GetName

func (x *UpdateVehicleRequest) GetName() string

func (*UpdateVehicleRequest) GetUpdateMask

func (x *UpdateVehicleRequest) GetUpdateMask() *fieldmaskpb.FieldMask

func (*UpdateVehicleRequest) GetVehicle

func (x *UpdateVehicleRequest) GetVehicle() *Vehicle

func (*UpdateVehicleRequest) ProtoMessage

func (*UpdateVehicleRequest) ProtoMessage()

func (*UpdateVehicleRequest) ProtoReflect

func (x *UpdateVehicleRequest) ProtoReflect() protoreflect.Message

func (*UpdateVehicleRequest) Reset

func (x *UpdateVehicleRequest) Reset()

func (*UpdateVehicleRequest) String

func (x *UpdateVehicleRequest) String() string

Vehicle

type Vehicle struct {
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`

	VehicleState VehicleState "" /* 136 byte string literal not displayed */

	SupportedTripTypes []TripType "" /* 159 byte string literal not displayed */

	CurrentTrips []string `protobuf:"bytes,4,rep,name=current_trips,json=currentTrips,proto3" json:"current_trips,omitempty"`

	LastLocation *VehicleLocation `protobuf:"bytes,5,opt,name=last_location,json=lastLocation,proto3" json:"last_location,omitempty"`

	MaximumCapacity int32 `protobuf:"varint,6,opt,name=maximum_capacity,json=maximumCapacity,proto3" json:"maximum_capacity,omitempty"`

	Attributes []*VehicleAttribute `protobuf:"bytes,8,rep,name=attributes,proto3" json:"attributes,omitempty"`

	VehicleType *Vehicle_VehicleType `protobuf:"bytes,9,opt,name=vehicle_type,json=vehicleType,proto3" json:"vehicle_type,omitempty"`

	LicensePlate *LicensePlate `protobuf:"bytes,10,opt,name=license_plate,json=licensePlate,proto3" json:"license_plate,omitempty"`

	Route []*TerminalLocation `protobuf:"bytes,12,rep,name=route,proto3" json:"route,omitempty"`

	CurrentRouteSegment string `protobuf:"bytes,20,opt,name=current_route_segment,json=currentRouteSegment,proto3" json:"current_route_segment,omitempty"`

	CurrentRouteSegmentTraffic *TrafficPolylineData "" /* 144 byte string literal not displayed */

	CurrentRouteSegmentVersion *timestamppb.Timestamp "" /* 144 byte string literal not displayed */

	CurrentRouteSegmentEndPoint *TripWaypoint "" /* 149 byte string literal not displayed */

	RemainingDistanceMeters *wrapperspb.Int32Value "" /* 133 byte string literal not displayed */

	EtaToFirstWaypoint *timestamppb.Timestamp `protobuf:"bytes,19,opt,name=eta_to_first_waypoint,json=etaToFirstWaypoint,proto3" json:"eta_to_first_waypoint,omitempty"`

	RemainingTimeSeconds *wrapperspb.Int32Value `protobuf:"bytes,25,opt,name=remaining_time_seconds,json=remainingTimeSeconds,proto3" json:"remaining_time_seconds,omitempty"`

	Waypoints []*TripWaypoint `protobuf:"bytes,22,rep,name=waypoints,proto3" json:"waypoints,omitempty"`

	WaypointsVersion *timestamppb.Timestamp `protobuf:"bytes,16,opt,name=waypoints_version,json=waypointsVersion,proto3" json:"waypoints_version,omitempty"`

	BackToBackEnabled bool `protobuf:"varint,23,opt,name=back_to_back_enabled,json=backToBackEnabled,proto3" json:"back_to_back_enabled,omitempty"`

	NavigationStatus NavigationStatus "" /* 153 byte string literal not displayed */

	DeviceSettings *DeviceSettings `protobuf:"bytes,27,opt,name=device_settings,json=deviceSettings,proto3" json:"device_settings,omitempty"`

}

Vehicle metadata.

func (*Vehicle) Descriptor

func (*Vehicle) Descriptor() ([]byte, []int)

Deprecated: Use Vehicle.ProtoReflect.Descriptor instead.

func (*Vehicle) GetAttributes

func (x *Vehicle) GetAttributes() []*VehicleAttribute

func (*Vehicle) GetBackToBackEnabled

func (x *Vehicle) GetBackToBackEnabled() bool

func (*Vehicle) GetCurrentRouteSegment

func (x *Vehicle) GetCurrentRouteSegment() string

func (*Vehicle) GetCurrentRouteSegmentEndPoint

func (x *Vehicle) GetCurrentRouteSegmentEndPoint() *TripWaypoint

func (*Vehicle) GetCurrentRouteSegmentTraffic

func (x *Vehicle) GetCurrentRouteSegmentTraffic() *TrafficPolylineData

func (*Vehicle) GetCurrentRouteSegmentVersion

func (x *Vehicle) GetCurrentRouteSegmentVersion() *timestamppb.Timestamp

func (*Vehicle) GetCurrentTrips

func (x *Vehicle) GetCurrentTrips() []string

func (*Vehicle) GetDeviceSettings

func (x *Vehicle) GetDeviceSettings() *DeviceSettings

func (*Vehicle) GetEtaToFirstWaypoint

func (x *Vehicle) GetEtaToFirstWaypoint() *timestamppb.Timestamp

func (*Vehicle) GetLastLocation

func (x *Vehicle) GetLastLocation() *VehicleLocation

func (*Vehicle) GetLicensePlate

func (x *Vehicle) GetLicensePlate() *LicensePlate

func (*Vehicle) GetMaximumCapacity

func (x *Vehicle) GetMaximumCapacity() int32

func (*Vehicle) GetName

func (x *Vehicle) GetName() string

func (*Vehicle) GetNavigationStatus

func (x *Vehicle) GetNavigationStatus() NavigationStatus

func (*Vehicle) GetRemainingDistanceMeters

func (x *Vehicle) GetRemainingDistanceMeters() *wrapperspb.Int32Value

func (*Vehicle) GetRemainingTimeSeconds

func (x *Vehicle) GetRemainingTimeSeconds() *wrapperspb.Int32Value

func (*Vehicle) GetRoute

func (x *Vehicle) GetRoute() []*TerminalLocation

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/vehicles.proto.

func (*Vehicle) GetSupportedTripTypes

func (x *Vehicle) GetSupportedTripTypes() []TripType

func (*Vehicle) GetVehicleState

func (x *Vehicle) GetVehicleState() VehicleState

func (*Vehicle) GetVehicleType

func (x *Vehicle) GetVehicleType() *Vehicle_VehicleType

func (*Vehicle) GetWaypoints

func (x *Vehicle) GetWaypoints() []*TripWaypoint

func (*Vehicle) GetWaypointsVersion

func (x *Vehicle) GetWaypointsVersion() *timestamppb.Timestamp

func (*Vehicle) ProtoMessage

func (*Vehicle) ProtoMessage()

func (*Vehicle) ProtoReflect

func (x *Vehicle) ProtoReflect() protoreflect.Message

func (*Vehicle) Reset

func (x *Vehicle) Reset()

func (*Vehicle) String

func (x *Vehicle) String() string

VehicleAttribute

type VehicleAttribute struct {

	// The attribute's key. Keys may not contain the colon character (:).
	Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
	// The attribute's value.
	Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
	// The attribute's value, can be in string, bool, or double type.
	//
	// Types that are assignable to VehicleAttributeValue:
	//
	//	*VehicleAttribute_StringValue
	//	*VehicleAttribute_BoolValue
	//	*VehicleAttribute_NumberValue
	VehicleAttributeValue isVehicleAttribute_VehicleAttributeValue `protobuf_oneof:"vehicle_attribute_value"`
	// contains filtered or unexported fields
}

Describes a vehicle attribute as a key-value pair. The "key:value" string length cannot exceed 256 characters.

func (*VehicleAttribute) Descriptor

func (*VehicleAttribute) Descriptor() ([]byte, []int)

Deprecated: Use VehicleAttribute.ProtoReflect.Descriptor instead.

func (*VehicleAttribute) GetBoolValue

func (x *VehicleAttribute) GetBoolValue() bool

func (*VehicleAttribute) GetKey

func (x *VehicleAttribute) GetKey() string

func (*VehicleAttribute) GetNumberValue

func (x *VehicleAttribute) GetNumberValue() float64

func (*VehicleAttribute) GetStringValue

func (x *VehicleAttribute) GetStringValue() string

func (*VehicleAttribute) GetValue

func (x *VehicleAttribute) GetValue() string

func (*VehicleAttribute) GetVehicleAttributeValue

func (m *VehicleAttribute) GetVehicleAttributeValue() isVehicleAttribute_VehicleAttributeValue

func (*VehicleAttribute) ProtoMessage

func (*VehicleAttribute) ProtoMessage()

func (*VehicleAttribute) ProtoReflect

func (x *VehicleAttribute) ProtoReflect() protoreflect.Message

func (*VehicleAttribute) Reset

func (x *VehicleAttribute) Reset()

func (*VehicleAttribute) String

func (x *VehicleAttribute) String() string

VehicleAttributeList

type VehicleAttributeList struct {

	// A list of attributes in this collection.
	Attributes []*VehicleAttribute `protobuf:"bytes,1,rep,name=attributes,proto3" json:"attributes,omitempty"`
	// contains filtered or unexported fields
}

A list-of-lists datatype for vehicle attributes.

func (*VehicleAttributeList) Descriptor

func (*VehicleAttributeList) Descriptor() ([]byte, []int)

Deprecated: Use VehicleAttributeList.ProtoReflect.Descriptor instead.

func (*VehicleAttributeList) GetAttributes

func (x *VehicleAttributeList) GetAttributes() []*VehicleAttribute

func (*VehicleAttributeList) ProtoMessage

func (*VehicleAttributeList) ProtoMessage()

func (*VehicleAttributeList) ProtoReflect

func (x *VehicleAttributeList) ProtoReflect() protoreflect.Message

func (*VehicleAttributeList) Reset

func (x *VehicleAttributeList) Reset()

func (*VehicleAttributeList) String

func (x *VehicleAttributeList) String() string

VehicleAttribute_BoolValue

type VehicleAttribute_BoolValue struct {
	// Boolean typed attribute value.
	BoolValue bool `protobuf:"varint,4,opt,name=bool_value,json=boolValue,proto3,oneof"`
}

VehicleAttribute_NumberValue

type VehicleAttribute_NumberValue struct {
	// Double typed attribute value.
	NumberValue float64 `protobuf:"fixed64,5,opt,name=number_value,json=numberValue,proto3,oneof"`
}

VehicleAttribute_StringValue

type VehicleAttribute_StringValue struct {
	// String typed attribute value.
	//
	// Note: This is identical to the `value` field which will eventually be
	// deprecated. For create or update methods, either field can be used, but
	// it's strongly recommended to use `string_value`. If both `string_value`
	// and `value` are set, they must be identical or an error will be thrown.
	// Both fields are populated in responses.
	StringValue string `protobuf:"bytes,3,opt,name=string_value,json=stringValue,proto3,oneof"`
}

VehicleLocation

type VehicleLocation struct {
	Location *latlng.LatLng `protobuf:"bytes,1,opt,name=location,proto3" json:"location,omitempty"`

	HorizontalAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,8,opt,name=horizontal_accuracy,json=horizontalAccuracy,proto3" json:"horizontal_accuracy,omitempty"`

	LatlngAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,22,opt,name=latlng_accuracy,json=latlngAccuracy,proto3" json:"latlng_accuracy,omitempty"`

	Heading *wrapperspb.Int32Value `protobuf:"bytes,2,opt,name=heading,proto3" json:"heading,omitempty"`

	BearingAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,10,opt,name=bearing_accuracy,json=bearingAccuracy,proto3" json:"bearing_accuracy,omitempty"`

	HeadingAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,23,opt,name=heading_accuracy,json=headingAccuracy,proto3" json:"heading_accuracy,omitempty"`

	Altitude *wrapperspb.DoubleValue `protobuf:"bytes,5,opt,name=altitude,proto3" json:"altitude,omitempty"`

	VerticalAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,9,opt,name=vertical_accuracy,json=verticalAccuracy,proto3" json:"vertical_accuracy,omitempty"`

	AltitudeAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,24,opt,name=altitude_accuracy,json=altitudeAccuracy,proto3" json:"altitude_accuracy,omitempty"`

	SpeedKmph *wrapperspb.Int32Value `protobuf:"bytes,3,opt,name=speed_kmph,json=speedKmph,proto3" json:"speed_kmph,omitempty"`

	Speed *wrapperspb.DoubleValue `protobuf:"bytes,6,opt,name=speed,proto3" json:"speed,omitempty"`

	SpeedAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,7,opt,name=speed_accuracy,json=speedAccuracy,proto3" json:"speed_accuracy,omitempty"`

	UpdateTime *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=update_time,json=updateTime,proto3" json:"update_time,omitempty"`

	ServerTime *timestamppb.Timestamp `protobuf:"bytes,13,opt,name=server_time,json=serverTime,proto3" json:"server_time,omitempty"`

	LocationSensor LocationSensor "" /* 145 byte string literal not displayed */

	IsRoadSnapped *wrapperspb.BoolValue `protobuf:"bytes,27,opt,name=is_road_snapped,json=isRoadSnapped,proto3" json:"is_road_snapped,omitempty"`

	IsGpsSensorEnabled *wrapperspb.BoolValue `protobuf:"bytes,12,opt,name=is_gps_sensor_enabled,json=isGpsSensorEnabled,proto3" json:"is_gps_sensor_enabled,omitempty"`

	TimeSinceUpdate *wrapperspb.Int32Value `protobuf:"bytes,14,opt,name=time_since_update,json=timeSinceUpdate,proto3" json:"time_since_update,omitempty"`

	NumStaleUpdates *wrapperspb.Int32Value `protobuf:"bytes,15,opt,name=num_stale_updates,json=numStaleUpdates,proto3" json:"num_stale_updates,omitempty"`

	RawLocation *latlng.LatLng `protobuf:"bytes,16,opt,name=raw_location,json=rawLocation,proto3" json:"raw_location,omitempty"`

	RawLocationTime *timestamppb.Timestamp `protobuf:"bytes,17,opt,name=raw_location_time,json=rawLocationTime,proto3" json:"raw_location_time,omitempty"`

	RawLocationSensor LocationSensor "" /* 156 byte string literal not displayed */

	RawLocationAccuracy *wrapperspb.DoubleValue `protobuf:"bytes,25,opt,name=raw_location_accuracy,json=rawLocationAccuracy,proto3" json:"raw_location_accuracy,omitempty"`

	SupplementalLocation *latlng.LatLng `protobuf:"bytes,18,opt,name=supplemental_location,json=supplementalLocation,proto3" json:"supplemental_location,omitempty"`

	SupplementalLocationTime *timestamppb.Timestamp "" /* 136 byte string literal not displayed */

	SupplementalLocationSensor LocationSensor "" /* 183 byte string literal not displayed */

	SupplementalLocationAccuracy *wrapperspb.DoubleValue "" /* 148 byte string literal not displayed */

	RoadSnapped bool `protobuf:"varint,26,opt,name=road_snapped,json=roadSnapped,proto3" json:"road_snapped,omitempty"`

}

The location, speed, and heading of a vehicle at a point in time.

func (*VehicleLocation) Descriptor

func (*VehicleLocation) Descriptor() ([]byte, []int)

Deprecated: Use VehicleLocation.ProtoReflect.Descriptor instead.

func (*VehicleLocation) GetAltitude

func (x *VehicleLocation) GetAltitude() *wrapperspb.DoubleValue

func (*VehicleLocation) GetAltitudeAccuracy

func (x *VehicleLocation) GetAltitudeAccuracy() *wrapperspb.DoubleValue

func (*VehicleLocation) GetBearingAccuracy

func (x *VehicleLocation) GetBearingAccuracy() *wrapperspb.DoubleValue

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*VehicleLocation) GetHeading

func (x *VehicleLocation) GetHeading() *wrapperspb.Int32Value

func (*VehicleLocation) GetHeadingAccuracy

func (x *VehicleLocation) GetHeadingAccuracy() *wrapperspb.DoubleValue

func (*VehicleLocation) GetHorizontalAccuracy

func (x *VehicleLocation) GetHorizontalAccuracy() *wrapperspb.DoubleValue

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*VehicleLocation) GetIsGpsSensorEnabled

func (x *VehicleLocation) GetIsGpsSensorEnabled() *wrapperspb.BoolValue

func (*VehicleLocation) GetIsRoadSnapped

func (x *VehicleLocation) GetIsRoadSnapped() *wrapperspb.BoolValue

func (*VehicleLocation) GetLatlngAccuracy

func (x *VehicleLocation) GetLatlngAccuracy() *wrapperspb.DoubleValue

func (*VehicleLocation) GetLocation

func (x *VehicleLocation) GetLocation() *latlng.LatLng

func (*VehicleLocation) GetLocationSensor

func (x *VehicleLocation) GetLocationSensor() LocationSensor

func (*VehicleLocation) GetNumStaleUpdates

func (x *VehicleLocation) GetNumStaleUpdates() *wrapperspb.Int32Value

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*VehicleLocation) GetRawLocation

func (x *VehicleLocation) GetRawLocation() *latlng.LatLng

func (*VehicleLocation) GetRawLocationAccuracy

func (x *VehicleLocation) GetRawLocationAccuracy() *wrapperspb.DoubleValue

func (*VehicleLocation) GetRawLocationSensor

func (x *VehicleLocation) GetRawLocationSensor() LocationSensor

func (*VehicleLocation) GetRawLocationTime

func (x *VehicleLocation) GetRawLocationTime() *timestamppb.Timestamp

func (*VehicleLocation) GetRoadSnapped

func (x *VehicleLocation) GetRoadSnapped() bool

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*VehicleLocation) GetServerTime

func (x *VehicleLocation) GetServerTime() *timestamppb.Timestamp

func (*VehicleLocation) GetSpeed

func (x *VehicleLocation) GetSpeed() *wrapperspb.DoubleValue

func (*VehicleLocation) GetSpeedAccuracy

func (x *VehicleLocation) GetSpeedAccuracy() *wrapperspb.DoubleValue

func (*VehicleLocation) GetSpeedKmph

func (x *VehicleLocation) GetSpeedKmph() *wrapperspb.Int32Value

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*VehicleLocation) GetSupplementalLocation

func (x *VehicleLocation) GetSupplementalLocation() *latlng.LatLng

func (*VehicleLocation) GetSupplementalLocationAccuracy

func (x *VehicleLocation) GetSupplementalLocationAccuracy() *wrapperspb.DoubleValue

func (*VehicleLocation) GetSupplementalLocationSensor

func (x *VehicleLocation) GetSupplementalLocationSensor() LocationSensor

func (*VehicleLocation) GetSupplementalLocationTime

func (x *VehicleLocation) GetSupplementalLocationTime() *timestamppb.Timestamp

func (*VehicleLocation) GetTimeSinceUpdate

func (x *VehicleLocation) GetTimeSinceUpdate() *wrapperspb.Int32Value

func (*VehicleLocation) GetUpdateTime

func (x *VehicleLocation) GetUpdateTime() *timestamppb.Timestamp

func (*VehicleLocation) GetVerticalAccuracy

func (x *VehicleLocation) GetVerticalAccuracy() *wrapperspb.DoubleValue

Deprecated: Marked as deprecated in google/maps/fleetengine/v1/fleetengine.proto.

func (*VehicleLocation) ProtoMessage

func (*VehicleLocation) ProtoMessage()

func (*VehicleLocation) ProtoReflect

func (x *VehicleLocation) ProtoReflect() protoreflect.Message

func (*VehicleLocation) Reset

func (x *VehicleLocation) Reset()

func (*VehicleLocation) String

func (x *VehicleLocation) String() string

VehicleMatch

type VehicleMatch struct {
	Vehicle *Vehicle `protobuf:"bytes,1,opt,name=vehicle,proto3" json:"vehicle,omitempty"`

	VehiclePickupEta *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=vehicle_pickup_eta,json=vehiclePickupEta,proto3" json:"vehicle_pickup_eta,omitempty"`

	VehiclePickupDistanceMeters *wrapperspb.Int32Value "" /* 146 byte string literal not displayed */

	VehiclePickupStraightLineDistanceMeters *wrapperspb.Int32Value "" /* 187 byte string literal not displayed */

	VehicleDropoffEta *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=vehicle_dropoff_eta,json=vehicleDropoffEta,proto3" json:"vehicle_dropoff_eta,omitempty"`

	VehiclePickupToDropoffDistanceMeters *wrapperspb.Int32Value "" /* 177 byte string literal not displayed */

	TripType TripType `protobuf:"varint,6,opt,name=trip_type,json=tripType,proto3,enum=maps.fleetengine.v1.TripType" json:"trip_type,omitempty"`

	VehicleTripsWaypoints []*Waypoint `protobuf:"bytes,7,rep,name=vehicle_trips_waypoints,json=vehicleTripsWaypoints,proto3" json:"vehicle_trips_waypoints,omitempty"`

	VehicleMatchType VehicleMatch_VehicleMatchType "" /* 167 byte string literal not displayed */

	RequestedOrderedBy SearchVehiclesRequest_VehicleMatchOrder "" /* 183 byte string literal not displayed */

	OrderedBy SearchVehiclesRequest_VehicleMatchOrder "" /* 155 byte string literal not displayed */

}

Contains the vehicle and related estimates for a vehicle that match the points of active trips for the vehicle SearchVehiclesRequest.

func (*VehicleMatch) Descriptor

func (*VehicleMatch) Descriptor() ([]byte, []int)

Deprecated: Use VehicleMatch.ProtoReflect.Descriptor instead.

func (*VehicleMatch) GetOrderedBy

func (*VehicleMatch) GetRequestedOrderedBy

func (x *VehicleMatch) GetRequestedOrderedBy() SearchVehiclesRequest_VehicleMatchOrder

func (*VehicleMatch) GetTripType

func (x *VehicleMatch) GetTripType() TripType

func (*VehicleMatch) GetVehicle

func (x *VehicleMatch) GetVehicle() *Vehicle

func (*VehicleMatch) GetVehicleDropoffEta

func (x *VehicleMatch) GetVehicleDropoffEta() *timestamppb.Timestamp

func (*VehicleMatch) GetVehicleMatchType

func (x *VehicleMatch) GetVehicleMatchType() VehicleMatch_VehicleMatchType

func (*VehicleMatch) GetVehiclePickupDistanceMeters

func (x *VehicleMatch) GetVehiclePickupDistanceMeters() *wrapperspb.Int32Value

func (*VehicleMatch) GetVehiclePickupEta

func (x *VehicleMatch) GetVehiclePickupEta() *timestamppb.Timestamp

func (*VehicleMatch) GetVehiclePickupStraightLineDistanceMeters

func (x *VehicleMatch) GetVehiclePickupStraightLineDistanceMeters() *wrapperspb.Int32Value

func (*VehicleMatch) GetVehiclePickupToDropoffDistanceMeters

func (x *VehicleMatch) GetVehiclePickupToDropoffDistanceMeters() *wrapperspb.Int32Value

func (*VehicleMatch) GetVehicleTripsWaypoints

func (x *VehicleMatch) GetVehicleTripsWaypoints() []*Waypoint

func (*VehicleMatch) ProtoMessage

func (*VehicleMatch) ProtoMessage()

func (*VehicleMatch) ProtoReflect

func (x *VehicleMatch) ProtoReflect() protoreflect.Message

func (*VehicleMatch) Reset

func (x *VehicleMatch) Reset()

func (*VehicleMatch) String

func (x *VehicleMatch) String() string

VehicleMatch_VehicleMatchType

type VehicleMatch_VehicleMatchType int32

Type of vehicle match.

VehicleMatch_UNKNOWN, VehicleMatch_EXCLUSIVE, VehicleMatch_BACK_TO_BACK, VehicleMatch_CARPOOL, VehicleMatch_CARPOOL_BACK_TO_BACK

const (
	// Unknown vehicle match type
	VehicleMatch_UNKNOWN VehicleMatch_VehicleMatchType = 0
	// The vehicle currently has no trip assigned to it and can proceed to the
	// pickup point.
	VehicleMatch_EXCLUSIVE VehicleMatch_VehicleMatchType = 1
	// The vehicle is currently assigned to a trip, but can proceed to the
	// pickup point after completing the in-progress trip.  ETA and distance
	// calculations take the existing trip into account.
	VehicleMatch_BACK_TO_BACK VehicleMatch_VehicleMatchType = 2
	// The vehicle has sufficient capacity for a shared ride.
	VehicleMatch_CARPOOL VehicleMatch_VehicleMatchType = 3
	// The vehicle will finish its current, active trip before proceeding to the
	// pickup point.  ETA and distance calculations take the existing trip into
	// account.
	VehicleMatch_CARPOOL_BACK_TO_BACK VehicleMatch_VehicleMatchType = 4
)

func (VehicleMatch_VehicleMatchType) Descriptor

func (VehicleMatch_VehicleMatchType) Enum

func (VehicleMatch_VehicleMatchType) EnumDescriptor

func (VehicleMatch_VehicleMatchType) EnumDescriptor() ([]byte, []int)

Deprecated: Use VehicleMatch_VehicleMatchType.Descriptor instead.

func (VehicleMatch_VehicleMatchType) Number

func (VehicleMatch_VehicleMatchType) String

func (VehicleMatch_VehicleMatchType) Type

VehicleServiceClient

type VehicleServiceClient interface {
	// Instantiates a new vehicle associated with an on-demand rideshare or
	// deliveries provider. Each `Vehicle` must have a unique vehicle ID.
	//
	// The following `Vehicle` fields are required when creating a `Vehicle`:
	//
	// * `vehicleState`
	// * `supportedTripTypes`
	// * `maximumCapacity`
	// * `vehicleType`
	//
	// The following `Vehicle` fields are ignored when creating a `Vehicle`:
	//
	// * `name`
	// * `currentTrips`
	// * `availableCapacity`
	// * `current_route_segment`
	// * `current_route_segment_end_point`
	// * `current_route_segment_version`
	// * `current_route_segment_traffic`
	// * `route`
	// * `waypoints`
	// * `waypoints_version`
	// * `remaining_distance_meters`
	// * `remaining_time_seconds`
	// * `eta_to_next_waypoint`
	// * `navigation_status`
	//
	// All other fields are optional and used if provided.
	CreateVehicle(ctx context.Context, in *CreateVehicleRequest, opts ...grpc.CallOption) (*Vehicle, error)
	// Returns a vehicle from the Fleet Engine.
	GetVehicle(ctx context.Context, in *GetVehicleRequest, opts ...grpc.CallOption) (*Vehicle, error)
	// Writes updated vehicle data to the Fleet Engine.
	//
	// When updating a `Vehicle`, the following fields cannot be updated since
	// they are managed by the server:
	//
	// * `currentTrips`
	// * `availableCapacity`
	// * `current_route_segment_version`
	// * `waypoints_version`
	//
	// The vehicle `name` also cannot be updated.
	//
	// If the `attributes` field is updated, **all** the vehicle's attributes are
	// replaced with the attributes provided in the request. If you want to update
	// only some attributes, see the `UpdateVehicleAttributes` method. Likewise,
	// the `waypoints` field can be updated, but must contain all the waypoints
	// currently on the vehicle, and no other waypoints.
	UpdateVehicle(ctx context.Context, in *UpdateVehicleRequest, opts ...grpc.CallOption) (*Vehicle, error)
	// Partially updates a vehicle's attributes.
	// Only the attributes mentioned in the request will be updated, other
	// attributes will NOT be altered. Note: this is different in `UpdateVehicle`,
	// where the whole `attributes` field will be replaced by the one in
	// `UpdateVehicleRequest`, attributes not in the request would be removed.
	UpdateVehicleAttributes(ctx context.Context, in *UpdateVehicleAttributesRequest, opts ...grpc.CallOption) (*UpdateVehicleAttributesResponse, error)
	// Returns a paginated list of vehicles associated with
	// a provider that match the request options.
	ListVehicles(ctx context.Context, in *ListVehiclesRequest, opts ...grpc.CallOption) (*ListVehiclesResponse, error)
	// Returns a list of vehicles that match the request options.
	SearchVehicles(ctx context.Context, in *SearchVehiclesRequest, opts ...grpc.CallOption) (*SearchVehiclesResponse, error)
}

VehicleServiceClient is the client API for VehicleService service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewVehicleServiceClient

func NewVehicleServiceClient(cc grpc.ClientConnInterface) VehicleServiceClient

VehicleServiceServer

type VehicleServiceServer interface {
	// Instantiates a new vehicle associated with an on-demand rideshare or
	// deliveries provider. Each `Vehicle` must have a unique vehicle ID.
	//
	// The following `Vehicle` fields are required when creating a `Vehicle`:
	//
	// * `vehicleState`
	// * `supportedTripTypes`
	// * `maximumCapacity`
	// * `vehicleType`
	//
	// The following `Vehicle` fields are ignored when creating a `Vehicle`:
	//
	// * `name`
	// * `currentTrips`
	// * `availableCapacity`
	// * `current_route_segment`
	// * `current_route_segment_end_point`
	// * `current_route_segment_version`
	// * `current_route_segment_traffic`
	// * `route`
	// * `waypoints`
	// * `waypoints_version`
	// * `remaining_distance_meters`
	// * `remaining_time_seconds`
	// * `eta_to_next_waypoint`
	// * `navigation_status`
	//
	// All other fields are optional and used if provided.
	CreateVehicle(context.Context, *CreateVehicleRequest) (*Vehicle, error)
	// Returns a vehicle from the Fleet Engine.
	GetVehicle(context.Context, *GetVehicleRequest) (*Vehicle, error)
	// Writes updated vehicle data to the Fleet Engine.
	//
	// When updating a `Vehicle`, the following fields cannot be updated since
	// they are managed by the server:
	//
	// * `currentTrips`
	// * `availableCapacity`
	// * `current_route_segment_version`
	// * `waypoints_version`
	//
	// The vehicle `name` also cannot be updated.
	//
	// If the `attributes` field is updated, **all** the vehicle's attributes are
	// replaced with the attributes provided in the request. If you want to update
	// only some attributes, see the `UpdateVehicleAttributes` method. Likewise,
	// the `waypoints` field can be updated, but must contain all the waypoints
	// currently on the vehicle, and no other waypoints.
	UpdateVehicle(context.Context, *UpdateVehicleRequest) (*Vehicle, error)
	// Partially updates a vehicle's attributes.
	// Only the attributes mentioned in the request will be updated, other
	// attributes will NOT be altered. Note: this is different in `UpdateVehicle`,
	// where the whole `attributes` field will be replaced by the one in
	// `UpdateVehicleRequest`, attributes not in the request would be removed.
	UpdateVehicleAttributes(context.Context, *UpdateVehicleAttributesRequest) (*UpdateVehicleAttributesResponse, error)
	// Returns a paginated list of vehicles associated with
	// a provider that match the request options.
	ListVehicles(context.Context, *ListVehiclesRequest) (*ListVehiclesResponse, error)
	// Returns a list of vehicles that match the request options.
	SearchVehicles(context.Context, *SearchVehiclesRequest) (*SearchVehiclesResponse, error)
}

VehicleServiceServer is the server API for VehicleService service.

VehicleState

type VehicleState int32

The state of a Vehicle.

VehicleState_UNKNOWN_VEHICLE_STATE, VehicleState_OFFLINE, VehicleState_ONLINE

const (
	// Default, used for unspecified or unrecognized vehicle states.
	VehicleState_UNKNOWN_VEHICLE_STATE VehicleState = 0
	// The vehicle is not accepting new trips. Note: the vehicle may continue to
	// operate in this state while completing a trip assigned to it.
	VehicleState_OFFLINE VehicleState = 1
	// The vehicle is accepting new trips.
	VehicleState_ONLINE VehicleState = 2
)

func (VehicleState) Descriptor

func (VehicleState) Enum

func (x VehicleState) Enum() *VehicleState

func (VehicleState) EnumDescriptor

func (VehicleState) EnumDescriptor() ([]byte, []int)

Deprecated: Use VehicleState.Descriptor instead.

func (VehicleState) Number

func (VehicleState) String

func (x VehicleState) String() string

func (VehicleState) Type

Vehicle_VehicleType

type Vehicle_VehicleType struct {

	// Vehicle type category
	Category Vehicle_VehicleType_Category `protobuf:"varint,1,opt,name=category,proto3,enum=maps.fleetengine.v1.Vehicle_VehicleType_Category" json:"category,omitempty"`
	// contains filtered or unexported fields
}

The type of vehicle.

func (*Vehicle_VehicleType) Descriptor

func (*Vehicle_VehicleType) Descriptor() ([]byte, []int)

Deprecated: Use Vehicle_VehicleType.ProtoReflect.Descriptor instead.

func (*Vehicle_VehicleType) GetCategory

func (*Vehicle_VehicleType) ProtoMessage

func (*Vehicle_VehicleType) ProtoMessage()

func (*Vehicle_VehicleType) ProtoReflect

func (x *Vehicle_VehicleType) ProtoReflect() protoreflect.Message

func (*Vehicle_VehicleType) Reset

func (x *Vehicle_VehicleType) Reset()

func (*Vehicle_VehicleType) String

func (x *Vehicle_VehicleType) String() string

Vehicle_VehicleType_Category

type Vehicle_VehicleType_Category int32

Vehicle type categories

Vehicle_VehicleType_UNKNOWN, Vehicle_VehicleType_AUTO, Vehicle_VehicleType_TAXI, Vehicle_VehicleType_TRUCK, Vehicle_VehicleType_TWO_WHEELER, Vehicle_VehicleType_BICYCLE, Vehicle_VehicleType_PEDESTRIAN

const (
	// Default, used for unspecified or unrecognized vehicle categories.
	Vehicle_VehicleType_UNKNOWN Vehicle_VehicleType_Category = 0
	// An automobile.
	Vehicle_VehicleType_AUTO Vehicle_VehicleType_Category = 1
	// Any vehicle that acts as a taxi (typically licensed or regulated).
	Vehicle_VehicleType_TAXI Vehicle_VehicleType_Category = 2
	// Generally, a vehicle with a large storage capacity.
	Vehicle_VehicleType_TRUCK Vehicle_VehicleType_Category = 3
	// A motorcycle, moped, or other two-wheeled vehicle
	Vehicle_VehicleType_TWO_WHEELER Vehicle_VehicleType_Category = 4
	// Human-powered transport.
	Vehicle_VehicleType_BICYCLE Vehicle_VehicleType_Category = 5
	// A human transporter, typically walking or running, traveling along
	// pedestrian pathways.
	Vehicle_VehicleType_PEDESTRIAN Vehicle_VehicleType_Category = 6
)

func (Vehicle_VehicleType_Category) Descriptor

func (Vehicle_VehicleType_Category) Enum

func (Vehicle_VehicleType_Category) EnumDescriptor

func (Vehicle_VehicleType_Category) EnumDescriptor() ([]byte, []int)

Deprecated: Use Vehicle_VehicleType_Category.Descriptor instead.

func (Vehicle_VehicleType_Category) Number

func (Vehicle_VehicleType_Category) String

func (Vehicle_VehicleType_Category) Type

VisualTrafficReportPolylineRendering

type VisualTrafficReportPolylineRendering struct {

	// Optional. Road stretches that should be rendered along the polyline.
	// Stretches are guaranteed to not overlap, and do not necessarily span the
	// full route.
	//
	// In the absence of a road stretch to style, the client should apply the
	// default for the route.
	RoadStretch []*VisualTrafficReportPolylineRendering_RoadStretch `protobuf:"bytes,1,rep,name=road_stretch,json=roadStretch,proto3" json:"road_stretch,omitempty"`
	// contains filtered or unexported fields
}

Describes how clients should color one portion of the polyline along the route.

func (*VisualTrafficReportPolylineRendering) Descriptor

func (*VisualTrafficReportPolylineRendering) Descriptor() ([]byte, []int)

Deprecated: Use VisualTrafficReportPolylineRendering.ProtoReflect.Descriptor instead.

func (*VisualTrafficReportPolylineRendering) GetRoadStretch

func (*VisualTrafficReportPolylineRendering) ProtoMessage

func (*VisualTrafficReportPolylineRendering) ProtoMessage()

func (*VisualTrafficReportPolylineRendering) ProtoReflect

func (*VisualTrafficReportPolylineRendering) Reset

func (*VisualTrafficReportPolylineRendering) String

VisualTrafficReportPolylineRendering_RoadStretch

type VisualTrafficReportPolylineRendering_RoadStretch struct {
	Style VisualTrafficReportPolylineRendering_RoadStretch_Style "" /* 144 byte string literal not displayed */

	OffsetMeters int32 `protobuf:"varint,2,opt,name=offset_meters,json=offsetMeters,proto3" json:"offset_meters,omitempty"`

	LengthMeters int32 `protobuf:"varint,3,opt,name=length_meters,json=lengthMeters,proto3" json:"length_meters,omitempty"`

}

One road stretch that should be rendered.

func (*VisualTrafficReportPolylineRendering_RoadStretch) Descriptor

Deprecated: Use VisualTrafficReportPolylineRendering_RoadStretch.ProtoReflect.Descriptor instead.

func (*VisualTrafficReportPolylineRendering_RoadStretch) GetLengthMeters

func (*VisualTrafficReportPolylineRendering_RoadStretch) GetOffsetMeters

func (*VisualTrafficReportPolylineRendering_RoadStretch) GetStyle

func (*VisualTrafficReportPolylineRendering_RoadStretch) ProtoMessage

func (*VisualTrafficReportPolylineRendering_RoadStretch) ProtoReflect

func (*VisualTrafficReportPolylineRendering_RoadStretch) Reset

func (*VisualTrafficReportPolylineRendering_RoadStretch) String

VisualTrafficReportPolylineRendering_RoadStretch_Style

type VisualTrafficReportPolylineRendering_RoadStretch_Style int32

The traffic style, indicating traffic speed.

VisualTrafficReportPolylineRendering_RoadStretch_STYLE_UNSPECIFIED, VisualTrafficReportPolylineRendering_RoadStretch_SLOWER_TRAFFIC, VisualTrafficReportPolylineRendering_RoadStretch_TRAFFIC_JAM

const (
	// No style selected.
	VisualTrafficReportPolylineRendering_RoadStretch_STYLE_UNSPECIFIED VisualTrafficReportPolylineRendering_RoadStretch_Style = 0
	// Traffic is slowing down.
	VisualTrafficReportPolylineRendering_RoadStretch_SLOWER_TRAFFIC VisualTrafficReportPolylineRendering_RoadStretch_Style = 1
	// There is a traffic jam.
	VisualTrafficReportPolylineRendering_RoadStretch_TRAFFIC_JAM VisualTrafficReportPolylineRendering_RoadStretch_Style = 2
)

func (VisualTrafficReportPolylineRendering_RoadStretch_Style) Descriptor

func (VisualTrafficReportPolylineRendering_RoadStretch_Style) Enum

func (VisualTrafficReportPolylineRendering_RoadStretch_Style) EnumDescriptor

Deprecated: Use VisualTrafficReportPolylineRendering_RoadStretch_Style.Descriptor instead.

func (VisualTrafficReportPolylineRendering_RoadStretch_Style) Number

func (VisualTrafficReportPolylineRendering_RoadStretch_Style) String

func (VisualTrafficReportPolylineRendering_RoadStretch_Style) Type

Waypoint

type Waypoint struct {

	// The location of this waypoint.
	LatLng *latlng.LatLng `protobuf:"bytes,1,opt,name=lat_lng,json=latLng,proto3" json:"lat_lng,omitempty"`
	// The estimated time that the vehicle will arrive at this waypoint.
	Eta *timestamppb.Timestamp `protobuf:"bytes,2,opt,name=eta,proto3" json:"eta,omitempty"`
	// contains filtered or unexported fields
}

Describes intermediate points along a route for a VehicleMatch in a SearchVehiclesResponse. This concept is represented as a TripWaypoint in all other endpoints.

func (*Waypoint) Descriptor

func (*Waypoint) Descriptor() ([]byte, []int)

Deprecated: Use Waypoint.ProtoReflect.Descriptor instead.

func (*Waypoint) GetEta

func (x *Waypoint) GetEta() *timestamppb.Timestamp

func (*Waypoint) GetLatLng

func (x *Waypoint) GetLatLng() *latlng.LatLng

func (*Waypoint) ProtoMessage

func (*Waypoint) ProtoMessage()

func (*Waypoint) ProtoReflect

func (x *Waypoint) ProtoReflect() protoreflect.Message

func (*Waypoint) Reset

func (x *Waypoint) Reset()

func (*Waypoint) String

func (x *Waypoint) String() string

WaypointType

type WaypointType int32

The type of waypoint.

WaypointType_UNKNOWN_WAYPOINT_TYPE, WaypointType_PICKUP_WAYPOINT_TYPE, WaypointType_DROP_OFF_WAYPOINT_TYPE, WaypointType_INTERMEDIATE_DESTINATION_WAYPOINT_TYPE

const (
	// Unknown or unspecified waypoint type.
	WaypointType_UNKNOWN_WAYPOINT_TYPE WaypointType = 0
	// Waypoints for picking up riders or items.
	WaypointType_PICKUP_WAYPOINT_TYPE WaypointType = 1
	// Waypoints for dropping off riders or items.
	WaypointType_DROP_OFF_WAYPOINT_TYPE WaypointType = 2
	// Waypoints for intermediate destinations in a multi-destination trip.
	WaypointType_INTERMEDIATE_DESTINATION_WAYPOINT_TYPE WaypointType = 3
)

func (WaypointType) Descriptor

func (WaypointType) Enum

func (x WaypointType) Enum() *WaypointType

func (WaypointType) EnumDescriptor

func (WaypointType) EnumDescriptor() ([]byte, []int)

Deprecated: Use WaypointType.Descriptor instead.

func (WaypointType) Number

func (WaypointType) String

func (x WaypointType) String() string

func (WaypointType) Type