Package com.google.maps.routing.v2
Interface TransitLineOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
TransitLine
,TransitLine.Builder
public interface TransitLineOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description TransitAgency
getAgencies(int index)
The transit agency (or agencies) that operates this transit line.int
getAgenciesCount()
The transit agency (or agencies) that operates this transit line.List<TransitAgency>
getAgenciesList()
The transit agency (or agencies) that operates this transit line.TransitAgencyOrBuilder
getAgenciesOrBuilder(int index)
The transit agency (or agencies) that operates this transit line.List<? extends TransitAgencyOrBuilder>
getAgenciesOrBuilderList()
The transit agency (or agencies) that operates this transit line.String
getColor()
The color commonly used in signage for this line.com.google.protobuf.ByteString
getColorBytes()
The color commonly used in signage for this line.String
getIconUri()
The URI for the icon associated with this line.com.google.protobuf.ByteString
getIconUriBytes()
The URI for the icon associated with this line.String
getName()
The full name of this transit line, For example, "8 Avenue Local".com.google.protobuf.ByteString
getNameBytes()
The full name of this transit line, For example, "8 Avenue Local".String
getNameShort()
The short name of this transit line.com.google.protobuf.ByteString
getNameShortBytes()
The short name of this transit line.String
getTextColor()
The color commonly used in text on signage for this line.com.google.protobuf.ByteString
getTextColorBytes()
The color commonly used in text on signage for this line.String
getUri()
the URI for this transit line as provided by the transit agency.com.google.protobuf.ByteString
getUriBytes()
the URI for this transit line as provided by the transit agency.TransitVehicle
getVehicle()
The type of vehicle that operates on this transit line.TransitVehicleOrBuilder
getVehicleOrBuilder()
The type of vehicle that operates on this transit line.boolean
hasVehicle()
The type of vehicle that operates on this transit line.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getAgenciesList
List<TransitAgency> getAgenciesList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgencies
TransitAgency getAgencies(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgenciesCount
int getAgenciesCount()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgenciesOrBuilderList
List<? extends TransitAgencyOrBuilder> getAgenciesOrBuilderList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgenciesOrBuilder
TransitAgencyOrBuilder getAgenciesOrBuilder(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getName
String getName()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Returns:
- The bytes for name.
-
getUri
String getUri()
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Returns:
- The uri.
-
getUriBytes
com.google.protobuf.ByteString getUriBytes()
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Returns:
- The bytes for uri.
-
getColor
String getColor()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Returns:
- The color.
-
getColorBytes
com.google.protobuf.ByteString getColorBytes()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Returns:
- The bytes for color.
-
getIconUri
String getIconUri()
The URI for the icon associated with this line.
string icon_uri = 5;
- Returns:
- The iconUri.
-
getIconUriBytes
com.google.protobuf.ByteString getIconUriBytes()
The URI for the icon associated with this line.
string icon_uri = 5;
- Returns:
- The bytes for iconUri.
-
getNameShort
String getNameShort()
The short name of this transit line. This name will normally be a line number, such as "M7" or "355".
string name_short = 6;
- Returns:
- The nameShort.
-
getNameShortBytes
com.google.protobuf.ByteString getNameShortBytes()
The short name of this transit line. This name will normally be a line number, such as "M7" or "355".
string name_short = 6;
- Returns:
- The bytes for nameShort.
-
getTextColor
String getTextColor()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Returns:
- The textColor.
-
getTextColorBytes
com.google.protobuf.ByteString getTextColorBytes()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Returns:
- The bytes for textColor.
-
hasVehicle
boolean hasVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
- Returns:
- Whether the vehicle field is set.
-
getVehicle
TransitVehicle getVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
- Returns:
- The vehicle.
-
getVehicleOrBuilder
TransitVehicleOrBuilder getVehicleOrBuilder()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
-
-