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
@Generated
public interface TransitVehicleOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe URI for an icon associated with this vehicle type.com.google.protobuf.ByteStringThe URI for an icon associated with this vehicle type.The URI for the icon associated with this vehicle type, based on the local transport signage.com.google.protobuf.ByteStringThe URI for the icon associated with this vehicle type, based on the local transport signage.getName()The name of this vehicle, capitalized.The name of this vehicle, capitalized.getType()The type of vehicle used.intThe type of vehicle used.booleanhasName()The name of this vehicle, capitalized.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
-
hasName
boolean hasName()The name of this vehicle, capitalized.
.google.type.LocalizedText name = 1;- Returns:
- Whether the name field is set.
-
getName
LocalizedText getName()The name of this vehicle, capitalized.
.google.type.LocalizedText name = 1;- Returns:
- The name.
-
getNameOrBuilder
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.
-