Enum Vehicle.TravelMode (1.10.0)

public enum Vehicle.TravelMode extends Enum<Vehicle.TravelMode> implements ProtocolMessageEnum

Travel modes which can be used by vehicles. These should be a subset of the Google Maps Platform Routes Preferred API travel modes, see: https://developers.google.com/maps/documentation/routes_preferred/reference/rest/Shared.Types/RouteTravelMode.

Protobuf enum google.cloud.optimization.v1.Vehicle.TravelMode

Implements

ProtocolMessageEnum

Static Fields

NameDescription
DRIVING

Travel mode corresponding to driving directions (car, ...).

DRIVING = 1;

DRIVING_VALUE

Travel mode corresponding to driving directions (car, ...).

DRIVING = 1;

TRAVEL_MODE_UNSPECIFIED

Unspecified travel mode, equivalent to DRIVING.

TRAVEL_MODE_UNSPECIFIED = 0;

TRAVEL_MODE_UNSPECIFIED_VALUE

Unspecified travel mode, equivalent to DRIVING.

TRAVEL_MODE_UNSPECIFIED = 0;

UNRECOGNIZED

Static Methods

NameDescription
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

NameDescription
getDescriptorForType()
getNumber()
getValueDescriptor()