public interface TransitLineOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofList<TransitAgency> getAgenciesList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;TransitAgency getAgencies(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;int getAgenciesCount()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;List<? extends TransitAgencyOrBuilder> getAgenciesOrBuilderList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;TransitAgencyOrBuilder getAgenciesOrBuilder(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;String getName()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;com.google.protobuf.ByteString getNameBytes()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;String getUri()
the URI for this transit line as provided by the transit agency.
string uri = 3;com.google.protobuf.ByteString getUriBytes()
the URI for this transit line as provided by the transit agency.
string uri = 3;String getColor()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;com.google.protobuf.ByteString getColorBytes()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;String getIconUri()
The URI for the icon associated with this line.
string icon_uri = 5;com.google.protobuf.ByteString getIconUriBytes()
The URI for the icon associated with this line.
string icon_uri = 5;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;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;String getTextColor()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;com.google.protobuf.ByteString getTextColorBytes()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;boolean hasVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;TransitVehicle getVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;TransitVehicleOrBuilder getVehicleOrBuilder()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;Copyright © 2025 Google LLC. All rights reserved.