Package com.google.maps.routing.v2
Class RouteLegStepTransitDetails.TransitStopDetails.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.Builder>
com.google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails.Builder
- All Implemented Interfaces:
RouteLegStepTransitDetails.TransitStopDetailsOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouteLegStepTransitDetails.TransitStopDetails
public static final class RouteLegStepTransitDetails.TransitStopDetails.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.Builder>
implements RouteLegStepTransitDetails.TransitStopDetailsOrBuilder
Details about the transit stops for the `RouteLegStep`.Protobuf type
google.maps.routing.v2.RouteLegStepTransitDetails.TransitStopDetails-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Information about the arrival stop for the step.The estimated time of arrival for the step.Information about the departure stop for the step.The estimated time of departure for the step.Information about the arrival stop for the step.Information about the arrival stop for the step.Information about the arrival stop for the step.com.google.protobuf.TimestampThe estimated time of arrival for the step.com.google.protobuf.Timestamp.BuilderThe estimated time of arrival for the step.com.google.protobuf.TimestampOrBuilderThe estimated time of arrival for the step.Information about the departure stop for the step.Information about the departure stop for the step.Information about the departure stop for the step.com.google.protobuf.TimestampThe estimated time of departure for the step.com.google.protobuf.Timestamp.BuilderThe estimated time of departure for the step.com.google.protobuf.TimestampOrBuilderThe estimated time of departure for the step.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorbooleanInformation about the arrival stop for the step.booleanThe estimated time of arrival for the step.booleanInformation about the departure stop for the step.booleanThe estimated time of departure for the step.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeArrivalStop(TransitStop value) Information about the arrival stop for the step.mergeArrivalTime(com.google.protobuf.Timestamp value) The estimated time of arrival for the step.mergeDepartureStop(TransitStop value) Information about the departure stop for the step.mergeDepartureTime(com.google.protobuf.Timestamp value) The estimated time of departure for the step.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) setArrivalStop(TransitStop value) Information about the arrival stop for the step.setArrivalStop(TransitStop.Builder builderForValue) Information about the arrival stop for the step.setArrivalTime(com.google.protobuf.Timestamp value) The estimated time of arrival for the step.setArrivalTime(com.google.protobuf.Timestamp.Builder builderForValue) The estimated time of arrival for the step.setDepartureStop(TransitStop value) Information about the departure stop for the step.setDepartureStop(TransitStop.Builder builderForValue) Information about the departure stop for the step.setDepartureTime(com.google.protobuf.Timestamp value) The estimated time of departure for the step.setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) The estimated time of departure for the step.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.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.GeneratedMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
public RouteLegStepTransitDetails.TransitStopDetails.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.Builder>
-
mergeFrom
public RouteLegStepTransitDetails.TransitStopDetails.Builder mergeFrom(RouteLegStepTransitDetails.TransitStopDetails other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteLegStepTransitDetails.TransitStopDetails.Builder>
-
mergeFrom
public RouteLegStepTransitDetails.TransitStopDetails.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<RouteLegStepTransitDetails.TransitStopDetails.Builder>- Throws:
IOException
-
hasArrivalStop
public boolean hasArrivalStop()Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1;- Specified by:
hasArrivalStopin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- Whether the arrivalStop field is set.
-
getArrivalStop
Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1;- Specified by:
getArrivalStopin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- The arrivalStop.
-
setArrivalStop
Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1; -
setArrivalStop
public RouteLegStepTransitDetails.TransitStopDetails.Builder setArrivalStop(TransitStop.Builder builderForValue) Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1; -
mergeArrivalStop
Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1; -
clearArrivalStop
Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1; -
getArrivalStopBuilder
Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1; -
getArrivalStopOrBuilder
Information about the arrival stop for the step.
.google.maps.routing.v2.TransitStop arrival_stop = 1;- Specified by:
getArrivalStopOrBuilderin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder
-
hasArrivalTime
public boolean hasArrivalTime()The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2;- Specified by:
hasArrivalTimein interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- Whether the arrivalTime field is set.
-
getArrivalTime
public com.google.protobuf.Timestamp getArrivalTime()The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2;- Specified by:
getArrivalTimein interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- The arrivalTime.
-
setArrivalTime
public RouteLegStepTransitDetails.TransitStopDetails.Builder setArrivalTime(com.google.protobuf.Timestamp value) The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2; -
setArrivalTime
public RouteLegStepTransitDetails.TransitStopDetails.Builder setArrivalTime(com.google.protobuf.Timestamp.Builder builderForValue) The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2; -
mergeArrivalTime
public RouteLegStepTransitDetails.TransitStopDetails.Builder mergeArrivalTime(com.google.protobuf.Timestamp value) The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2; -
clearArrivalTime
The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2; -
getArrivalTimeBuilder
public com.google.protobuf.Timestamp.Builder getArrivalTimeBuilder()The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2; -
getArrivalTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getArrivalTimeOrBuilder()The estimated time of arrival for the step.
.google.protobuf.Timestamp arrival_time = 2;- Specified by:
getArrivalTimeOrBuilderin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder
-
hasDepartureStop
public boolean hasDepartureStop()Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3;- Specified by:
hasDepartureStopin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- Whether the departureStop field is set.
-
getDepartureStop
Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3;- Specified by:
getDepartureStopin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- The departureStop.
-
setDepartureStop
Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3; -
setDepartureStop
public RouteLegStepTransitDetails.TransitStopDetails.Builder setDepartureStop(TransitStop.Builder builderForValue) Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3; -
mergeDepartureStop
Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3; -
clearDepartureStop
Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3; -
getDepartureStopBuilder
Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3; -
getDepartureStopOrBuilder
Information about the departure stop for the step.
.google.maps.routing.v2.TransitStop departure_stop = 3;- Specified by:
getDepartureStopOrBuilderin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder
-
hasDepartureTime
public boolean hasDepartureTime()The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4;- Specified by:
hasDepartureTimein interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- Whether the departureTime field is set.
-
getDepartureTime
public com.google.protobuf.Timestamp getDepartureTime()The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4;- Specified by:
getDepartureTimein interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder- Returns:
- The departureTime.
-
setDepartureTime
public RouteLegStepTransitDetails.TransitStopDetails.Builder setDepartureTime(com.google.protobuf.Timestamp value) The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4; -
setDepartureTime
public RouteLegStepTransitDetails.TransitStopDetails.Builder setDepartureTime(com.google.protobuf.Timestamp.Builder builderForValue) The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4; -
mergeDepartureTime
public RouteLegStepTransitDetails.TransitStopDetails.Builder mergeDepartureTime(com.google.protobuf.Timestamp value) The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4; -
clearDepartureTime
The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4; -
getDepartureTimeBuilder
public com.google.protobuf.Timestamp.Builder getDepartureTimeBuilder()The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4; -
getDepartureTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getDepartureTimeOrBuilder()The estimated time of departure for the step.
.google.protobuf.Timestamp departure_time = 4;- Specified by:
getDepartureTimeOrBuilderin interfaceRouteLegStepTransitDetails.TransitStopDetailsOrBuilder
-