public interface RouteLegStepOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getDistanceMeters()
The travel distance of this step, in meters.
|
Location |
getEndLocation()
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.RouteLegStepLocalizedValuesOrBuilder |
getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStep`.
|
NavigationInstruction |
getNavigationInstruction()
Navigation instructions.
|
NavigationInstructionOrBuilder |
getNavigationInstructionOrBuilder()
Navigation instructions.
|
Polyline |
getPolyline()
The polyline associated with this step.
|
PolylineOrBuilder |
getPolylineOrBuilder()
The polyline associated with this step.
|
Location |
getStartLocation()
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.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`.
|
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.
|
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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getDistanceMeters()
The travel distance of this step, in meters. In some circumstances, this field might not have a value.
int32 distance_meters = 1;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;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;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;boolean hasPolyline()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;Polyline getPolyline()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;PolylineOrBuilder getPolylineOrBuilder()
The polyline associated with this step.
.google.maps.routing.v2.Polyline polyline = 3;boolean hasStartLocation()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;Location getStartLocation()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;LocationOrBuilder getStartLocationOrBuilder()
The start location of this step.
.google.maps.routing.v2.Location start_location = 4;boolean hasEndLocation()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;Location getEndLocation()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;LocationOrBuilder getEndLocationOrBuilder()
The end location of this step.
.google.maps.routing.v2.Location end_location = 5;boolean hasNavigationInstruction()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;NavigationInstruction getNavigationInstruction()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;NavigationInstructionOrBuilder getNavigationInstructionOrBuilder()
Navigation instructions.
.google.maps.routing.v2.NavigationInstruction navigation_instruction = 6;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;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;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;boolean hasLocalizedValues()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
RouteLegStep.RouteLegStepLocalizedValues getLocalizedValues()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
RouteLegStep.RouteLegStepLocalizedValuesOrBuilder getLocalizedValuesOrBuilder()
Text representations of properties of the `RouteLegStep`.
.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues localized_values = 8;
boolean hasTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;RouteLegStepTransitDetails getTransitDetails()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;RouteLegStepTransitDetailsOrBuilder getTransitDetailsOrBuilder()
Details pertaining to this step if the travel mode is `TRANSIT`.
.google.maps.routing.v2.RouteLegStepTransitDetails transit_details = 9;int getTravelModeValue()
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;RouteTravelMode getTravelMode()
The travel mode used for this step.
.google.maps.routing.v2.RouteTravelMode travel_mode = 10;Copyright © 2025 Google LLC. All rights reserved.