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 Type
    Method
    Description
    Describes the vehicle's emission type.
    int
    Describes the vehicle's emission type.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.