Package com.google.maps.routing.v2
Interface TransitVehicleOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransitVehicle,TransitVehicle.Builder
public interface TransitVehicleOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetIconUri()The URI for an icon associated with this vehicle type.com.google.protobuf.ByteStringgetIconUriBytes()The URI for an icon associated with this vehicle type.StringgetLocalIconUri()The URI for the icon associated with this vehicle type, based on the local transport signage.com.google.protobuf.ByteStringgetLocalIconUriBytes()The URI for the icon associated with this vehicle type, based on the local transport signage.com.google.type.LocalizedTextgetName()The name of this vehicle, capitalized.com.google.type.LocalizedTextOrBuildergetNameOrBuilder()The name of this vehicle, capitalized.TransitVehicle.TransitVehicleTypegetType()The type of vehicle used.intgetTypeValue()The type of vehicle used.booleanhasName()The name of this vehicle, capitalized.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasName
boolean hasName()
The name of this vehicle, capitalized.
.google.type.LocalizedText name = 1;- Returns:
- Whether the name field is set.
-
getName
com.google.type.LocalizedText getName()
The name of this vehicle, capitalized.
.google.type.LocalizedText name = 1;- Returns:
- The name.
-
getNameOrBuilder
com.google.type.LocalizedTextOrBuilder getNameOrBuilder()
The name of this vehicle, capitalized.
.google.type.LocalizedText name = 1;
-
getTypeValue
int getTypeValue()
The type of vehicle used.
.google.maps.routing.v2.TransitVehicle.TransitVehicleType type = 2;- Returns:
- The enum numeric value on the wire for type.
-
getType
TransitVehicle.TransitVehicleType getType()
The type of vehicle used.
.google.maps.routing.v2.TransitVehicle.TransitVehicleType type = 2;- Returns:
- The type.
-
getIconUri
String getIconUri()
The URI for an icon associated with this vehicle type.
string icon_uri = 3;- Returns:
- The iconUri.
-
getIconUriBytes
com.google.protobuf.ByteString getIconUriBytes()
The URI for an icon associated with this vehicle type.
string icon_uri = 3;- Returns:
- The bytes for iconUri.
-
getLocalIconUri
String getLocalIconUri()
The URI for the icon associated with this vehicle type, based on the local transport signage.
string local_icon_uri = 4;- Returns:
- The localIconUri.
-
getLocalIconUriBytes
com.google.protobuf.ByteString getLocalIconUriBytes()
The URI for the icon associated with this vehicle type, based on the local transport signage.
string local_icon_uri = 4;- Returns:
- The bytes for localIconUri.
-
-