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.BuilderaddAgencies(int index, TransitAgency value)The transit agency (or agencies) that operates this transit line.TransitLine.BuilderaddAgencies(int index, TransitAgency.Builder builderForValue)The transit agency (or agencies) that operates this transit line.TransitLine.BuilderaddAgencies(TransitAgency value)The transit agency (or agencies) that operates this transit line.TransitLine.BuilderaddAgencies(TransitAgency.Builder builderForValue)The transit agency (or agencies) that operates this transit line.TransitAgency.BuilderaddAgenciesBuilder()The transit agency (or agencies) that operates this transit line.TransitAgency.BuilderaddAgenciesBuilder(int index)The transit agency (or agencies) that operates this transit line.TransitLine.BuilderaddAllAgencies(Iterable<? extends TransitAgency> values)The transit agency (or agencies) that operates this transit line.TransitLine.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransitLinebuild()TransitLinebuildPartial()TransitLine.Builderclear()TransitLine.BuilderclearAgencies()The transit agency (or agencies) that operates this transit line.TransitLine.BuilderclearColor()The color commonly used in signage for this line.TransitLine.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)TransitLine.BuilderclearIconUri()The URI for the icon associated with this line.TransitLine.BuilderclearName()The full name of this transit line, For example, "8 Avenue Local".TransitLine.BuilderclearNameShort()The short name of this transit line.TransitLine.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)TransitLine.BuilderclearTextColor()The color commonly used in text on signage for this line.TransitLine.BuilderclearUri()the URI for this transit line as provided by the transit agency.TransitLine.BuilderclearVehicle()The type of vehicle that operates on this transit line.TransitLine.Builderclone()TransitAgencygetAgencies(int index)The transit agency (or agencies) that operates this transit line.TransitAgency.BuildergetAgenciesBuilder(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.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.TransitLinegetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()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.TransitVehicle.BuildergetVehicleBuilder()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.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()TransitLine.BuildermergeFrom(TransitLine other)TransitLine.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)TransitLine.BuildermergeFrom(com.google.protobuf.Message other)TransitLine.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransitLine.BuildermergeVehicle(TransitVehicle value)The type of vehicle that operates on this transit line.TransitLine.BuilderremoveAgencies(int index)The transit agency (or agencies) that operates this transit line.TransitLine.BuildersetAgencies(int index, TransitAgency value)The transit agency (or agencies) that operates this transit line.TransitLine.BuildersetAgencies(int index, TransitAgency.Builder builderForValue)The transit agency (or agencies) that operates this transit line.TransitLine.BuildersetColor(String value)The color commonly used in signage for this line.TransitLine.BuildersetColorBytes(com.google.protobuf.ByteString value)The color commonly used in signage for this line.TransitLine.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)TransitLine.BuildersetIconUri(String value)The URI for the icon associated with this line.TransitLine.BuildersetIconUriBytes(com.google.protobuf.ByteString value)The URI for the icon associated with this line.TransitLine.BuildersetName(String value)The full name of this transit line, For example, "8 Avenue Local".TransitLine.BuildersetNameBytes(com.google.protobuf.ByteString value)The full name of this transit line, For example, "8 Avenue Local".TransitLine.BuildersetNameShort(String value)The short name of this transit line.TransitLine.BuildersetNameShortBytes(com.google.protobuf.ByteString value)The short name of this transit line.TransitLine.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)TransitLine.BuildersetTextColor(String value)The color commonly used in text on signage for this line.TransitLine.BuildersetTextColorBytes(com.google.protobuf.ByteString value)The color commonly used in text on signage for this line.TransitLine.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)TransitLine.BuildersetUri(String value)the URI for this transit line as provided by the transit agency.TransitLine.BuildersetUriBytes(com.google.protobuf.ByteString value)the URI for this transit line as provided by the transit agency.TransitLine.BuildersetVehicle(TransitVehicle value)The type of vehicle that operates on this transit line.TransitLine.BuildersetVehicle(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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
clear
public TransitLine.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
getDefaultInstanceForType
public TransitLine getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public TransitLine build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public TransitLine buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public TransitLine.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
setField
public TransitLine.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
clearField
public TransitLine.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
clearOneof
public TransitLine.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
setRepeatedField
public TransitLine.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
addRepeatedField
public TransitLine.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
mergeFrom
public TransitLine.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<TransitLine.Builder>
-
mergeFrom
public TransitLine.Builder mergeFrom(TransitLine other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getAgenciesListin 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:
getAgenciesCountin 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:
getAgenciesin 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:
getAgenciesOrBuilderin 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:
getAgenciesOrBuilderListin 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:
getNamein 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:
getNameBytesin 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:
getUriin 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:
getUriBytesin 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:
getColorin 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:
getColorBytesin 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:
getIconUriin 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:
getIconUriBytesin 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:
getNameShortin 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:
getNameShortBytesin 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:
getTextColorin 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:
getTextColorBytesin 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:
hasVehiclein 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:
getVehiclein 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:
getVehicleOrBuilderin interfaceTransitLineOrBuilder
-
setUnknownFields
public final TransitLine.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
mergeUnknownFields
public final TransitLine.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<TransitLine.Builder>
-
-