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 TransitAgencygetAgencies(int index)The transit agency (or agencies) that operates this transit line.intgetAgenciesCount()The transit agency (or agencies) that operates this transit line.List<TransitAgency>getAgenciesList()The transit agency (or agencies) that operates this transit line.TransitAgencyOrBuildergetAgenciesOrBuilder(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.StringgetColor()The color commonly used in signage for this line.com.google.protobuf.ByteStringgetColorBytes()The color commonly used in signage for this line.StringgetIconUri()The URI for the icon associated with this line.com.google.protobuf.ByteStringgetIconUriBytes()The URI for the icon associated with this line.StringgetName()The full name of this transit line, For example, "8 Avenue Local".com.google.protobuf.ByteStringgetNameBytes()The full name of this transit line, For example, "8 Avenue Local".StringgetNameShort()The short name of this transit line.com.google.protobuf.ByteStringgetNameShortBytes()The short name of this transit line.StringgetTextColor()The color commonly used in text on signage for this line.com.google.protobuf.ByteStringgetTextColorBytes()The color commonly used in text on signage for this line.StringgetUri()the URI for this transit line as provided by the transit agency.com.google.protobuf.ByteStringgetUriBytes()the URI for this transit line as provided by the transit agency.TransitVehiclegetVehicle()The type of vehicle that operates on this transit line.TransitVehicleOrBuildergetVehicleOrBuilder()The type of vehicle that operates on this transit line.booleanhasVehicle()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;
-
-