Package com.google.maps.routing.v2
Interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteLegStep.RouteLegStepLocalizedValues,RouteLegStep.RouteLegStepLocalizedValues.Builder
- Enclosing class:
- RouteLegStep
public static interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionTravel distance represented in text form.Travel distance represented in text form.Duration without taking traffic conditions into consideration, represented in text form.Duration without taking traffic conditions into consideration, represented in text form.booleanTravel distance represented in text form.booleanDuration without taking traffic conditions into consideration, represented in text form.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasDistance
boolean hasDistance()Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Returns:
- Whether the distance field is set.
-
getDistance
LocalizedText getDistance()Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Returns:
- The distance.
-
getDistanceOrBuilder
LocalizedTextOrBuilder getDistanceOrBuilder()Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
hasStaticDuration
boolean hasStaticDuration()Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;- Returns:
- Whether the staticDuration field is set.
-
getStaticDuration
LocalizedText getStaticDuration()Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;- Returns:
- The staticDuration.
-
getStaticDurationOrBuilder
LocalizedTextOrBuilder getStaticDurationOrBuilder()Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;
-