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
@Generated
public interface VehicleInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionDescribes the vehicle's emission type.intDescribes the vehicle's emission type.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-