Package com.google.maps.routing.v2
Interface RouteMatrixElement.LocalizedValuesOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RouteMatrixElement.LocalizedValues,RouteMatrixElement.LocalizedValues.Builder
- Enclosing class:
- RouteMatrixElement
public static interface RouteMatrixElement.LocalizedValuesOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.type.LocalizedTextgetDistance()Travel distance represented in text form.com.google.type.LocalizedTextOrBuildergetDistanceOrBuilder()Travel distance represented in text form.com.google.type.LocalizedTextgetDuration()Duration represented in text form taking traffic conditions into consideration.com.google.type.LocalizedTextOrBuildergetDurationOrBuilder()Duration represented in text form taking traffic conditions into consideration.com.google.type.LocalizedTextgetStaticDuration()Duration represented in text form without taking traffic conditions into consideration.com.google.type.LocalizedTextOrBuildergetStaticDurationOrBuilder()Duration represented in text form without taking traffic conditions into consideration.com.google.type.LocalizedTextgetTransitFare()Transit fare represented in text form.com.google.type.LocalizedTextOrBuildergetTransitFareOrBuilder()Transit fare represented in text form.booleanhasDistance()Travel distance represented in text form.booleanhasDuration()Duration represented in text form taking traffic conditions into consideration.booleanhasStaticDuration()Duration represented in text form without taking traffic conditions into consideration.booleanhasTransitFare()Transit fare represented in text form.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasDistance
boolean hasDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Returns:
- Whether the distance field is set.
-
getDistance
com.google.type.LocalizedText getDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Returns:
- The distance.
-
getDistanceOrBuilder
com.google.type.LocalizedTextOrBuilder getDistanceOrBuilder()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
-
hasDuration
boolean hasDuration()
Duration represented in text form taking traffic conditions into consideration. Note: If traffic information was not requested, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;- Returns:
- Whether the duration field is set.
-
getDuration
com.google.type.LocalizedText getDuration()
Duration represented in text form taking traffic conditions into consideration. Note: If traffic information was not requested, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;- Returns:
- The duration.
-
getDurationOrBuilder
com.google.type.LocalizedTextOrBuilder getDurationOrBuilder()
Duration represented in text form taking traffic conditions into consideration. Note: If traffic information was not requested, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;
-
hasStaticDuration
boolean hasStaticDuration()
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3;- Returns:
- Whether the staticDuration field is set.
-
getStaticDuration
com.google.type.LocalizedText getStaticDuration()
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3;- Returns:
- The staticDuration.
-
getStaticDurationOrBuilder
com.google.type.LocalizedTextOrBuilder getStaticDurationOrBuilder()
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3;
-
hasTransitFare
boolean hasTransitFare()
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4;- Returns:
- Whether the transitFare field is set.
-
getTransitFare
com.google.type.LocalizedText getTransitFare()
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4;- Returns:
- The transitFare.
-
getTransitFareOrBuilder
com.google.type.LocalizedTextOrBuilder getTransitFareOrBuilder()
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4;
-
-