public static final class TransitStop.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder> implements TransitStopOrBuilder
Information about a transit stop.Protobuf type
google.maps.routing.v2.TransitStop| Modifier and Type | Method and Description |
|---|---|
TransitStop.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransitStop |
build() |
TransitStop |
buildPartial() |
TransitStop.Builder |
clear() |
TransitStop.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransitStop.Builder |
clearLocation()
The location of the stop expressed in latitude/longitude coordinates.
|
TransitStop.Builder |
clearName()
The name of the transit stop.
|
TransitStop.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransitStop.Builder |
clone() |
TransitStop |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Location |
getLocation()
The location of the stop expressed in latitude/longitude coordinates.
|
Location.Builder |
getLocationBuilder()
The location of the stop expressed in latitude/longitude coordinates.
|
LocationOrBuilder |
getLocationOrBuilder()
The location of the stop expressed in latitude/longitude coordinates.
|
String |
getName()
The name of the transit stop.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of the transit stop.
|
boolean |
hasLocation()
The location of the stop expressed in latitude/longitude coordinates.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransitStop.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransitStop.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransitStop.Builder |
mergeFrom(TransitStop other) |
TransitStop.Builder |
mergeLocation(Location value)
The location of the stop expressed in latitude/longitude coordinates.
|
TransitStop.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransitStop.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransitStop.Builder |
setLocation(Location.Builder builderForValue)
The location of the stop expressed in latitude/longitude coordinates.
|
TransitStop.Builder |
setLocation(Location value)
The location of the stop expressed in latitude/longitude coordinates.
|
TransitStop.Builder |
setName(String value)
The name of the transit stop.
|
TransitStop.Builder |
setNameBytes(com.google.protobuf.ByteString value)
The name of the transit stop.
|
TransitStop.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransitStop.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic TransitStop build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic TransitStop buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic TransitStop.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransitStop.Builder>public TransitStop.Builder mergeFrom(TransitStop other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public TransitStop.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<TransitStop.Builder>IOExceptionpublic String getName()
The name of the transit stop.
string name = 1;getName in interface TransitStopOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
The name of the transit stop.
string name = 1;getNameBytes in interface TransitStopOrBuilderpublic TransitStop.Builder setName(String value)
The name of the transit stop.
string name = 1;value - The name to set.public TransitStop.Builder clearName()
The name of the transit stop.
string name = 1;public TransitStop.Builder setNameBytes(com.google.protobuf.ByteString value)
The name of the transit stop.
string name = 1;value - The bytes for name to set.public boolean hasLocation()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;hasLocation in interface TransitStopOrBuilderpublic Location getLocation()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;getLocation in interface TransitStopOrBuilderpublic TransitStop.Builder setLocation(Location value)
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;public TransitStop.Builder setLocation(Location.Builder builderForValue)
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;public TransitStop.Builder mergeLocation(Location value)
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;public TransitStop.Builder clearLocation()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;public Location.Builder getLocationBuilder()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;public LocationOrBuilder getLocationOrBuilder()
The location of the stop expressed in latitude/longitude coordinates.
.google.maps.routing.v2.Location location = 2;getLocationOrBuilder in interface TransitStopOrBuilderpublic final TransitStop.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>public final TransitStop.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<TransitStop.Builder>Copyright © 2025 Google LLC. All rights reserved.