public static final class RouteLegStep.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder> implements RouteLegStepOrBuilder
Contains a segment of a [`RouteLeg`][google.maps.routing.v2.RouteLeg]. A step corresponds to a single navigation instruction. Route legs are made up of steps.Protobuf type
google.maps.routing.v2.RouteLegStep| Modifier and Type | Method and Description |
|---|---|
RouteLegStep.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteLegStep |
build() |
RouteLegStep |
buildPartial() |
RouteLegStep.Builder |
clear() |
RouteLegStep.Builder |
clearDistanceMeters()
The travel distance of this step, in meters.
|
RouteLegStep.Builder |
clearEndLocation()
The end location of this step.
|
RouteLegStep.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteLegStep.Builder |
clearLocalizedValues()
Text representations of properties of the `RouteLegStep`.
|
RouteLegStep.Builder |
clearNavigationInstruction()
Navigation instructions.
|
RouteLegStep.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteLegStep.Builder |
clearPolyline()
The polyline associated with this step.
|
RouteLegStep.Builder |
clearStartLocation()
The start location of this step.
|
RouteLegStep.Builder |
clearStaticDuration()
The duration of travel through this step without taking traffic conditions
into consideration.
|
RouteLegStep.Builder |
clearTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStep.Builder |
clearTravelAdvisory()
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteLegStep.Builder |
clearTravelMode()
The travel mode used for this step.
|
RouteLegStep.Builder |
clone() |
RouteLegStep |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
int |
getDistanceMeters()
The travel distance of this step, in meters.
|
Location |
getEndLocation()
The end location of this step.
|
Location.Builder |
getEndLocationBuilder()
The end location of this step.
|
LocationOrBuilder |
getEndLocationOrBuilder()
The end location of this step.
|
RouteLegStep.RouteLegStepLocalizedValues |
getLocalizedValues()
Text representations of properties of the `RouteLegStep`.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
getLocalizedValuesBuilder()
Text representations of properties of the `RouteLegStep`.
|
RouteLegStep.RouteLegStepLocalizedValuesOrBuilder |
getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStep`.
|
NavigationInstruction |
getNavigationInstruction()
Navigation instructions.
|
NavigationInstruction.Builder |
getNavigationInstructionBuilder()
Navigation instructions.
|
NavigationInstructionOrBuilder |
getNavigationInstructionOrBuilder()
Navigation instructions.
|
Polyline |
getPolyline()
The polyline associated with this step.
|
Polyline.Builder |
getPolylineBuilder()
The polyline associated with this step.
|
PolylineOrBuilder |
getPolylineOrBuilder()
The polyline associated with this step.
|
Location |
getStartLocation()
The start location of this step.
|
Location.Builder |
getStartLocationBuilder()
The start location of this step.
|
LocationOrBuilder |
getStartLocationOrBuilder()
The start location of this step.
|
com.google.protobuf.Duration |
getStaticDuration()
The duration of travel through this step without taking traffic conditions
into consideration.
|
com.google.protobuf.Duration.Builder |
getStaticDurationBuilder()
The duration of travel through this step without taking traffic conditions
into consideration.
|
com.google.protobuf.DurationOrBuilder |
getStaticDurationOrBuilder()
The duration of travel through this step without taking traffic conditions
into consideration.
|
RouteLegStepTransitDetails |
getTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStepTransitDetails.Builder |
getTransitDetailsBuilder()
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStepTransitDetailsOrBuilder |
getTransitDetailsOrBuilder()
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStepTravelAdvisory |
getTravelAdvisory()
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteLegStepTravelAdvisory.Builder |
getTravelAdvisoryBuilder()
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteLegStepTravelAdvisoryOrBuilder |
getTravelAdvisoryOrBuilder()
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteTravelMode |
getTravelMode()
The travel mode used for this step.
|
int |
getTravelModeValue()
The travel mode used for this step.
|
boolean |
hasEndLocation()
The end location of this step.
|
boolean |
hasLocalizedValues()
Text representations of properties of the `RouteLegStep`.
|
boolean |
hasNavigationInstruction()
Navigation instructions.
|
boolean |
hasPolyline()
The polyline associated with this step.
|
boolean |
hasStartLocation()
The start location of this step.
|
boolean |
hasStaticDuration()
The duration of travel through this step without taking traffic conditions
into consideration.
|
boolean |
hasTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
|
boolean |
hasTravelAdvisory()
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteLegStep.Builder |
mergeEndLocation(Location value)
The end location of this step.
|
RouteLegStep.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteLegStep.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteLegStep.Builder |
mergeFrom(RouteLegStep other) |
RouteLegStep.Builder |
mergeLocalizedValues(RouteLegStep.RouteLegStepLocalizedValues value)
Text representations of properties of the `RouteLegStep`.
|
RouteLegStep.Builder |
mergeNavigationInstruction(NavigationInstruction value)
Navigation instructions.
|
RouteLegStep.Builder |
mergePolyline(Polyline value)
The polyline associated with this step.
|
RouteLegStep.Builder |
mergeStartLocation(Location value)
The start location of this step.
|
RouteLegStep.Builder |
mergeStaticDuration(com.google.protobuf.Duration value)
The duration of travel through this step without taking traffic conditions
into consideration.
|
RouteLegStep.Builder |
mergeTransitDetails(RouteLegStepTransitDetails value)
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStep.Builder |
mergeTravelAdvisory(RouteLegStepTravelAdvisory value)
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteLegStep.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteLegStep.Builder |
setDistanceMeters(int value)
The travel distance of this step, in meters.
|
RouteLegStep.Builder |
setEndLocation(Location.Builder builderForValue)
The end location of this step.
|
RouteLegStep.Builder |
setEndLocation(Location value)
The end location of this step.
|
RouteLegStep.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteLegStep.Builder |
setLocalizedValues(RouteLegStep.RouteLegStepLocalizedValues.Builder builderForValue)
Text representations of properties of the `RouteLegStep`.
|
RouteLegStep.Builder |
setLocalizedValues(RouteLegStep.RouteLegStepLocalizedValues value)
Text representations of properties of the `RouteLegStep`.
|
RouteLegStep.Builder |
setNavigationInstruction(NavigationInstruction.Builder builderForValue)
Navigation instructions.
|
RouteLegStep.Builder |
setNavigationInstruction(NavigationInstruction value)
Navigation instructions.
|
RouteLegStep.Builder |
setPolyline(Polyline.Builder builderForValue)
The polyline associated with this step.
|
RouteLegStep.Builder |
setPolyline(Polyline value)
The polyline associated with this step.
|
RouteLegStep.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteLegStep.Builder |
setStartLocation(Location.Builder builderForValue)
The start location of this step.
|
RouteLegStep.Builder |
setStartLocation(Location value)
The start location of this step.
|
RouteLegStep.Builder |
setStaticDuration(com.google.protobuf.Duration.Builder builderForValue)
The duration of travel through this step without taking traffic conditions
into consideration.
|
RouteLegStep.Builder |
setStaticDuration(com.google.protobuf.Duration value)
The duration of travel through this step without taking traffic conditions
into consideration.
|
RouteLegStep.Builder |
setTransitDetails(RouteLegStepTransitDetails.Builder builderForValue)
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStep.Builder |
setTransitDetails(RouteLegStepTransitDetails value)
Details pertaining to this step if the travel mode is `TRANSIT`.
|
RouteLegStep.Builder |
setTravelAdvisory(RouteLegStepTravelAdvisory.Builder builderForValue)
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteLegStep.Builder |
setTravelAdvisory(RouteLegStepTravelAdvisory value)
Contains the additional information that the user should be informed
about, such as possible traffic zone restrictions, on a leg step.
|
RouteLegStep.Builder |
setTravelMode(RouteTravelMode value)
The travel mode used for this step.
|
RouteLegStep.Builder |
setTravelModeValue(int value)
The travel mode used for this step.
|
RouteLegStep.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<RouteLegStep.Builder>public RouteLegStep.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.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<RouteLegStep.Builder>public RouteLegStep getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteLegStep build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteLegStep buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteLegStep.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder>public RouteLegStep.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<RouteLegStep.Builder>public RouteLegStep.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder>public RouteLegStep.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder>public RouteLegStep.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<RouteLegStep.Builder>public RouteLegStep.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<RouteLegStep.Builder>public RouteLegStep.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteLegStep.Builder>public RouteLegStep.Builder mergeFrom(RouteLegStep other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder>public RouteLegStep.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<RouteLegStep.Builder>IOExceptionpublic int getDistanceMeters()
The travel distance of this step, in meters. In some circumstances, this field might not have a value.
int32 distance_meters = 1;getDistanceMeters in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setDistanceMeters(int value)
The travel distance of this step, in meters. In some circumstances, this field might not have a value.
int32 distance_meters = 1;value - The distanceMeters to set.public RouteLegStep.Builder clearDistanceMeters()
The travel distance of this step, in meters. In some circumstances, this field might not have a value.
int32 distance_meters = 1;public boolean hasStaticDuration()
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;hasStaticDuration in interface RouteLegStepOrBuilderpublic com.google.protobuf.Duration getStaticDuration()
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;getStaticDuration in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setStaticDuration(com.google.protobuf.Duration value)
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;public RouteLegStep.Builder setStaticDuration(com.google.protobuf.Duration.Builder builderForValue)
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;public RouteLegStep.Builder mergeStaticDuration(com.google.protobuf.Duration value)
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;public RouteLegStep.Builder clearStaticDuration()
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;public com.google.protobuf.Duration.Builder getStaticDurationBuilder()
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;public com.google.protobuf.DurationOrBuilder getStaticDurationOrBuilder()
The duration of travel through this step without taking traffic conditions into consideration. In some circumstances, this field might not have a value.
.google.protobuf.Duration static_duration = 2;getStaticDurationOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasPolyline()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;hasPolyline in interface RouteLegStepOrBuilderpublic Polyline getPolyline()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;getPolyline in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setPolyline(Polyline value)
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;public RouteLegStep.Builder setPolyline(Polyline.Builder builderForValue)
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;public RouteLegStep.Builder mergePolyline(Polyline value)
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;public RouteLegStep.Builder clearPolyline()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;public Polyline.Builder getPolylineBuilder()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;public PolylineOrBuilder getPolylineOrBuilder()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;getPolylineOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasStartLocation()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;hasStartLocation in interface RouteLegStepOrBuilderpublic Location getStartLocation()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;getStartLocation in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setStartLocation(Location value)
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;public RouteLegStep.Builder setStartLocation(Location.Builder builderForValue)
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;public RouteLegStep.Builder mergeStartLocation(Location value)
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;public RouteLegStep.Builder clearStartLocation()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;public Location.Builder getStartLocationBuilder()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;public LocationOrBuilder getStartLocationOrBuilder()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;getStartLocationOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasEndLocation()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;hasEndLocation in interface RouteLegStepOrBuilderpublic Location getEndLocation()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;getEndLocation in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setEndLocation(Location value)
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;public RouteLegStep.Builder setEndLocation(Location.Builder builderForValue)
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;public RouteLegStep.Builder mergeEndLocation(Location value)
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;public RouteLegStep.Builder clearEndLocation()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;public Location.Builder getEndLocationBuilder()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;public LocationOrBuilder getEndLocationOrBuilder()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;getEndLocationOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasNavigationInstruction()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;hasNavigationInstruction in interface RouteLegStepOrBuilderpublic NavigationInstruction getNavigationInstruction()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;getNavigationInstruction in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setNavigationInstruction(NavigationInstruction value)
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;public RouteLegStep.Builder setNavigationInstruction(NavigationInstruction.Builder builderForValue)
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;public RouteLegStep.Builder mergeNavigationInstruction(NavigationInstruction value)
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;public RouteLegStep.Builder clearNavigationInstruction()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;public NavigationInstruction.Builder getNavigationInstructionBuilder()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;public NavigationInstructionOrBuilder getNavigationInstructionOrBuilder()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;getNavigationInstructionOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasTravelAdvisory()
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;hasTravelAdvisory in interface RouteLegStepOrBuilderpublic RouteLegStepTravelAdvisory getTravelAdvisory()
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;getTravelAdvisory in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setTravelAdvisory(RouteLegStepTravelAdvisory value)
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;public RouteLegStep.Builder setTravelAdvisory(RouteLegStepTravelAdvisory.Builder builderForValue)
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;public RouteLegStep.Builder mergeTravelAdvisory(RouteLegStepTravelAdvisory value)
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;public RouteLegStep.Builder clearTravelAdvisory()
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;public RouteLegStepTravelAdvisory.Builder getTravelAdvisoryBuilder()
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;public RouteLegStepTravelAdvisoryOrBuilder getTravelAdvisoryOrBuilder()
Contains the additional information that the user should be informed about, such as possible traffic zone restrictions, on a leg step.
.google.maps.routing.v2.RouteLegStepTravelAdvisory travel_advisory = 7;getTravelAdvisoryOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasLocalizedValues()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
hasLocalizedValues in interface RouteLegStepOrBuilderpublic RouteLegStep.RouteLegStepLocalizedValues getLocalizedValues()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
getLocalizedValues in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setLocalizedValues(RouteLegStep.RouteLegStepLocalizedValues value)
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
public RouteLegStep.Builder setLocalizedValues(RouteLegStep.RouteLegStepLocalizedValues.Builder builderForValue)
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
public RouteLegStep.Builder mergeLocalizedValues(RouteLegStep.RouteLegStepLocalizedValues value)
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
public RouteLegStep.Builder clearLocalizedValues()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
public RouteLegStep.RouteLegStepLocalizedValues.Builder getLocalizedValuesBuilder()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
public RouteLegStep.RouteLegStepLocalizedValuesOrBuilder getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
getLocalizedValuesOrBuilder in interface RouteLegStepOrBuilderpublic boolean hasTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;hasTransitDetails in interface RouteLegStepOrBuilderpublic RouteLegStepTransitDetails getTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;getTransitDetails in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setTransitDetails(RouteLegStepTransitDetails value)
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;public RouteLegStep.Builder setTransitDetails(RouteLegStepTransitDetails.Builder builderForValue)
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;public RouteLegStep.Builder mergeTransitDetails(RouteLegStepTransitDetails value)
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;public RouteLegStep.Builder clearTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;public RouteLegStepTransitDetails.Builder getTransitDetailsBuilder()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;public RouteLegStepTransitDetailsOrBuilder getTransitDetailsOrBuilder()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;getTransitDetailsOrBuilder in interface RouteLegStepOrBuilderpublic int getTravelModeValue()
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;getTravelModeValue in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setTravelModeValue(int value)
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;value - The enum numeric value on the wire for travelMode to set.public RouteTravelMode getTravelMode()
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;getTravelMode in interface RouteLegStepOrBuilderpublic RouteLegStep.Builder setTravelMode(RouteTravelMode value)
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;value - The travelMode to set.public RouteLegStep.Builder clearTravelMode()
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;public final RouteLegStep.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder>public final RouteLegStep.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.Builder>Copyright © 2025 Google LLC. All rights reserved.