Package com.google.maps.routing.v2
Interface VehicleInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
VehicleInfo
,VehicleInfo.Builder
public interface VehicleInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description VehicleEmissionType
getEmissionType()
Describes the vehicle's emission type.int
getEmissionTypeValue()
Describes the vehicle's emission type.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getEmissionTypeValue
int getEmissionTypeValue()
Describes the vehicle's emission type. Applies only to the `DRIVE` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
.google.maps.routing.v2.VehicleEmissionType emission_type = 2;
- Returns:
- The enum numeric value on the wire for emissionType.
-
getEmissionType
VehicleEmissionType getEmissionType()
Describes the vehicle's emission type. Applies only to the `DRIVE` [RouteTravelMode][google.maps.routing.v2.RouteTravelMode].
.google.maps.routing.v2.VehicleEmissionType emission_type = 2;
- Returns:
- The emissionType.
-
-