Package com.google.maps.routing.v2
Class TransitLine.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
- com.google.maps.routing.v2.TransitLine.Builder
-
- All Implemented Interfaces:
TransitLineOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- TransitLine
public static final class TransitLine.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder> implements TransitLineOrBuilder
Contains information about the transit line used in this step.
Protobuf typegoogle.maps.routing.v2.TransitLine
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description TransitLine.Builder
addAgencies(int index, TransitAgency value)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
addAgencies(int index, TransitAgency.Builder builderForValue)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
addAgencies(TransitAgency value)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
addAgencies(TransitAgency.Builder builderForValue)
The transit agency (or agencies) that operates this transit line.TransitAgency.Builder
addAgenciesBuilder()
The transit agency (or agencies) that operates this transit line.TransitAgency.Builder
addAgenciesBuilder(int index)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
addAllAgencies(Iterable<? extends TransitAgency> values)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransitLine
build()
TransitLine
buildPartial()
TransitLine.Builder
clear()
TransitLine.Builder
clearAgencies()
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
clearColor()
The color commonly used in signage for this line.TransitLine.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
TransitLine.Builder
clearIconUri()
The URI for the icon associated with this line.TransitLine.Builder
clearName()
The full name of this transit line, For example, "8 Avenue Local".TransitLine.Builder
clearNameShort()
The short name of this transit line.TransitLine.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
TransitLine.Builder
clearTextColor()
The color commonly used in text on signage for this line.TransitLine.Builder
clearUri()
the URI for this transit line as provided by the transit agency.TransitLine.Builder
clearVehicle()
The type of vehicle that operates on this transit line.TransitLine.Builder
clone()
TransitAgency
getAgencies(int index)
The transit agency (or agencies) that operates this transit line.TransitAgency.Builder
getAgenciesBuilder(int index)
The transit agency (or agencies) that operates this transit line.List<TransitAgency.Builder>
getAgenciesBuilderList()
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.TransitLine
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.TransitVehicle.Builder
getVehicleBuilder()
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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
TransitLine.Builder
mergeFrom(TransitLine other)
TransitLine.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
TransitLine.Builder
mergeFrom(com.google.protobuf.Message other)
TransitLine.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransitLine.Builder
mergeVehicle(TransitVehicle value)
The type of vehicle that operates on this transit line.TransitLine.Builder
removeAgencies(int index)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
setAgencies(int index, TransitAgency value)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
setAgencies(int index, TransitAgency.Builder builderForValue)
The transit agency (or agencies) that operates this transit line.TransitLine.Builder
setColor(String value)
The color commonly used in signage for this line.TransitLine.Builder
setColorBytes(com.google.protobuf.ByteString value)
The color commonly used in signage for this line.TransitLine.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
TransitLine.Builder
setIconUri(String value)
The URI for the icon associated with this line.TransitLine.Builder
setIconUriBytes(com.google.protobuf.ByteString value)
The URI for the icon associated with this line.TransitLine.Builder
setName(String value)
The full name of this transit line, For example, "8 Avenue Local".TransitLine.Builder
setNameBytes(com.google.protobuf.ByteString value)
The full name of this transit line, For example, "8 Avenue Local".TransitLine.Builder
setNameShort(String value)
The short name of this transit line.TransitLine.Builder
setNameShortBytes(com.google.protobuf.ByteString value)
The short name of this transit line.TransitLine.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
TransitLine.Builder
setTextColor(String value)
The color commonly used in text on signage for this line.TransitLine.Builder
setTextColorBytes(com.google.protobuf.ByteString value)
The color commonly used in text on signage for this line.TransitLine.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
TransitLine.Builder
setUri(String value)
the URI for this transit line as provided by the transit agency.TransitLine.Builder
setUriBytes(com.google.protobuf.ByteString value)
the URI for this transit line as provided by the transit agency.TransitLine.Builder
setVehicle(TransitVehicle value)
The type of vehicle that operates on this transit line.TransitLine.Builder
setVehicle(TransitVehicle.Builder builderForValue)
The type of vehicle that operates on this transit line.-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
clear
public TransitLine.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
getDefaultInstanceForType
public TransitLine getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransitLine build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransitLine buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransitLine.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
setField
public TransitLine.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
clearField
public TransitLine.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
clearOneof
public TransitLine.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
setRepeatedField
public TransitLine.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
addRepeatedField
public TransitLine.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
mergeFrom
public TransitLine.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransitLine.Builder>
-
mergeFrom
public TransitLine.Builder mergeFrom(TransitLine other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
mergeFrom
public TransitLine.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<TransitLine.Builder>
- Throws:
IOException
-
getAgenciesList
public List<TransitAgency> getAgenciesList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
- Specified by:
getAgenciesList
in interfaceTransitLineOrBuilder
-
getAgenciesCount
public int getAgenciesCount()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
- Specified by:
getAgenciesCount
in interfaceTransitLineOrBuilder
-
getAgencies
public TransitAgency getAgencies(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
- Specified by:
getAgencies
in interfaceTransitLineOrBuilder
-
setAgencies
public TransitLine.Builder setAgencies(int index, TransitAgency value)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
setAgencies
public TransitLine.Builder setAgencies(int index, TransitAgency.Builder builderForValue)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
addAgencies
public TransitLine.Builder addAgencies(TransitAgency value)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
addAgencies
public TransitLine.Builder addAgencies(int index, TransitAgency value)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
addAgencies
public TransitLine.Builder addAgencies(TransitAgency.Builder builderForValue)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
addAgencies
public TransitLine.Builder addAgencies(int index, TransitAgency.Builder builderForValue)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
addAllAgencies
public TransitLine.Builder addAllAgencies(Iterable<? extends TransitAgency> values)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
clearAgencies
public TransitLine.Builder clearAgencies()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
removeAgencies
public TransitLine.Builder removeAgencies(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgenciesBuilder
public TransitAgency.Builder getAgenciesBuilder(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgenciesOrBuilder
public TransitAgencyOrBuilder getAgenciesOrBuilder(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
- Specified by:
getAgenciesOrBuilder
in interfaceTransitLineOrBuilder
-
getAgenciesOrBuilderList
public List<? extends TransitAgencyOrBuilder> getAgenciesOrBuilderList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
- Specified by:
getAgenciesOrBuilderList
in interfaceTransitLineOrBuilder
-
addAgenciesBuilder
public TransitAgency.Builder addAgenciesBuilder()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
addAgenciesBuilder
public TransitAgency.Builder addAgenciesBuilder(int index)
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getAgenciesBuilderList
public List<TransitAgency.Builder> getAgenciesBuilderList()
The transit agency (or agencies) that operates this transit line.
repeated .google.maps.routing.v2.TransitAgency agencies = 1;
-
getName
public String getName()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Specified by:
getName
in interfaceTransitLineOrBuilder
- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Specified by:
getNameBytes
in interfaceTransitLineOrBuilder
- Returns:
- The bytes for name.
-
setName
public TransitLine.Builder setName(String value)
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Parameters:
value
- The name to set.- Returns:
- This builder for chaining.
-
clearName
public TransitLine.Builder clearName()
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Returns:
- This builder for chaining.
-
setNameBytes
public TransitLine.Builder setNameBytes(com.google.protobuf.ByteString value)
The full name of this transit line, For example, "8 Avenue Local".
string name = 2;
- Parameters:
value
- The bytes for name to set.- Returns:
- This builder for chaining.
-
getUri
public String getUri()
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Specified by:
getUri
in interfaceTransitLineOrBuilder
- Returns:
- The uri.
-
getUriBytes
public com.google.protobuf.ByteString getUriBytes()
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Specified by:
getUriBytes
in interfaceTransitLineOrBuilder
- Returns:
- The bytes for uri.
-
setUri
public TransitLine.Builder setUri(String value)
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Parameters:
value
- The uri to set.- Returns:
- This builder for chaining.
-
clearUri
public TransitLine.Builder clearUri()
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Returns:
- This builder for chaining.
-
setUriBytes
public TransitLine.Builder setUriBytes(com.google.protobuf.ByteString value)
the URI for this transit line as provided by the transit agency.
string uri = 3;
- Parameters:
value
- The bytes for uri to set.- Returns:
- This builder for chaining.
-
getColor
public String getColor()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Specified by:
getColor
in interfaceTransitLineOrBuilder
- Returns:
- The color.
-
getColorBytes
public com.google.protobuf.ByteString getColorBytes()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Specified by:
getColorBytes
in interfaceTransitLineOrBuilder
- Returns:
- The bytes for color.
-
setColor
public TransitLine.Builder setColor(String value)
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Parameters:
value
- The color to set.- Returns:
- This builder for chaining.
-
clearColor
public TransitLine.Builder clearColor()
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Returns:
- This builder for chaining.
-
setColorBytes
public TransitLine.Builder setColorBytes(com.google.protobuf.ByteString value)
The color commonly used in signage for this line. Represented in hexadecimal.
string color = 4;
- Parameters:
value
- The bytes for color to set.- Returns:
- This builder for chaining.
-
getIconUri
public String getIconUri()
The URI for the icon associated with this line.
string icon_uri = 5;
- Specified by:
getIconUri
in interfaceTransitLineOrBuilder
- Returns:
- The iconUri.
-
getIconUriBytes
public com.google.protobuf.ByteString getIconUriBytes()
The URI for the icon associated with this line.
string icon_uri = 5;
- Specified by:
getIconUriBytes
in interfaceTransitLineOrBuilder
- Returns:
- The bytes for iconUri.
-
setIconUri
public TransitLine.Builder setIconUri(String value)
The URI for the icon associated with this line.
string icon_uri = 5;
- Parameters:
value
- The iconUri to set.- Returns:
- This builder for chaining.
-
clearIconUri
public TransitLine.Builder clearIconUri()
The URI for the icon associated with this line.
string icon_uri = 5;
- Returns:
- This builder for chaining.
-
setIconUriBytes
public TransitLine.Builder setIconUriBytes(com.google.protobuf.ByteString value)
The URI for the icon associated with this line.
string icon_uri = 5;
- Parameters:
value
- The bytes for iconUri to set.- Returns:
- This builder for chaining.
-
getNameShort
public 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;
- Specified by:
getNameShort
in interfaceTransitLineOrBuilder
- Returns:
- The nameShort.
-
getNameShortBytes
public 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;
- Specified by:
getNameShortBytes
in interfaceTransitLineOrBuilder
- Returns:
- The bytes for nameShort.
-
setNameShort
public TransitLine.Builder setNameShort(String value)
The short name of this transit line. This name will normally be a line number, such as "M7" or "355".
string name_short = 6;
- Parameters:
value
- The nameShort to set.- Returns:
- This builder for chaining.
-
clearNameShort
public TransitLine.Builder clearNameShort()
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:
- This builder for chaining.
-
setNameShortBytes
public TransitLine.Builder setNameShortBytes(com.google.protobuf.ByteString value)
The short name of this transit line. This name will normally be a line number, such as "M7" or "355".
string name_short = 6;
- Parameters:
value
- The bytes for nameShort to set.- Returns:
- This builder for chaining.
-
getTextColor
public String getTextColor()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Specified by:
getTextColor
in interfaceTransitLineOrBuilder
- Returns:
- The textColor.
-
getTextColorBytes
public com.google.protobuf.ByteString getTextColorBytes()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Specified by:
getTextColorBytes
in interfaceTransitLineOrBuilder
- Returns:
- The bytes for textColor.
-
setTextColor
public TransitLine.Builder setTextColor(String value)
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Parameters:
value
- The textColor to set.- Returns:
- This builder for chaining.
-
clearTextColor
public TransitLine.Builder clearTextColor()
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Returns:
- This builder for chaining.
-
setTextColorBytes
public TransitLine.Builder setTextColorBytes(com.google.protobuf.ByteString value)
The color commonly used in text on signage for this line. Represented in hexadecimal.
string text_color = 7;
- Parameters:
value
- The bytes for textColor to set.- Returns:
- This builder for chaining.
-
hasVehicle
public boolean hasVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
- Specified by:
hasVehicle
in interfaceTransitLineOrBuilder
- Returns:
- Whether the vehicle field is set.
-
getVehicle
public TransitVehicle getVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
- Specified by:
getVehicle
in interfaceTransitLineOrBuilder
- Returns:
- The vehicle.
-
setVehicle
public TransitLine.Builder setVehicle(TransitVehicle value)
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
-
setVehicle
public TransitLine.Builder setVehicle(TransitVehicle.Builder builderForValue)
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
-
mergeVehicle
public TransitLine.Builder mergeVehicle(TransitVehicle value)
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
-
clearVehicle
public TransitLine.Builder clearVehicle()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
-
getVehicleBuilder
public TransitVehicle.Builder getVehicleBuilder()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
-
getVehicleOrBuilder
public TransitVehicleOrBuilder getVehicleOrBuilder()
The type of vehicle that operates on this transit line.
.google.maps.routing.v2.TransitVehicle vehicle = 8;
- Specified by:
getVehicleOrBuilder
in interfaceTransitLineOrBuilder
-
setUnknownFields
public final TransitLine.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
mergeUnknownFields
public final TransitLine.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
-