Package com.google.maps.routing.v2
Class RouteMatrixElement.LocalizedValues.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouteMatrixElement.LocalizedValues.Builder>
com.google.maps.routing.v2.RouteMatrixElement.LocalizedValues.Builder
- All Implemented Interfaces:
RouteMatrixElement.LocalizedValuesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouteMatrixElement.LocalizedValues
public static final class RouteMatrixElement.LocalizedValues.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouteMatrixElement.LocalizedValues.Builder>
implements RouteMatrixElement.LocalizedValuesOrBuilder
Text representations of certain properties.Protobuf type
google.maps.routing.v2.RouteMatrixElement.LocalizedValues-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Travel distance represented in text form.Duration represented in text form taking traffic conditions into consideration.Duration represented in text form without taking traffic conditions into consideration.Transit fare represented in text form.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorTravel distance represented in text form.Travel distance represented in text form.Travel distance represented in text form.Duration represented in text form taking traffic conditions into consideration.Duration represented in text form taking traffic conditions into consideration.Duration represented in text form taking traffic conditions into consideration.Duration represented in text form without taking traffic conditions into consideration.Duration represented in text form without taking traffic conditions into consideration.Duration represented in text form without taking traffic conditions into consideration.Transit fare represented in text form.Transit fare represented in text form.Transit fare represented in text form.booleanTravel distance represented in text form.booleanDuration represented in text form taking traffic conditions into consideration.booleanDuration represented in text form without taking traffic conditions into consideration.booleanTransit fare represented in text form.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDistance(LocalizedText value) Travel distance represented in text form.mergeDuration(LocalizedText value) Duration represented in text form taking traffic conditions into consideration.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStaticDuration(LocalizedText value) Duration represented in text form without taking traffic conditions into consideration.mergeTransitFare(LocalizedText value) Transit fare represented in text form.setDistance(LocalizedText value) Travel distance represented in text form.setDistance(LocalizedText.Builder builderForValue) Travel distance represented in text form.setDuration(LocalizedText value) Duration represented in text form taking traffic conditions into consideration.setDuration(LocalizedText.Builder builderForValue) Duration represented in text form taking traffic conditions into consideration.setStaticDuration(LocalizedText value) Duration represented in text form without taking traffic conditions into consideration.setStaticDuration(LocalizedText.Builder builderForValue) Duration represented in text form without taking traffic conditions into consideration.setTransitFare(LocalizedText value) Transit fare represented in text form.setTransitFare(LocalizedText.Builder builderForValue) Transit fare represented in text form.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<RouteMatrixElement.LocalizedValues.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<RouteMatrixElement.LocalizedValues.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<RouteMatrixElement.LocalizedValues.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
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteMatrixElement.LocalizedValues.Builder>
-
mergeFrom
public RouteMatrixElement.LocalizedValues.Builder mergeFrom(RouteMatrixElement.LocalizedValues other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteMatrixElement.LocalizedValues.Builder>
-
mergeFrom
public RouteMatrixElement.LocalizedValues.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<RouteMatrixElement.LocalizedValues.Builder>- Throws:
IOException
-
hasDistance
public boolean hasDistance()Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Specified by:
hasDistancein interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- Whether the distance field is set.
-
getDistance
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Specified by:
getDistancein interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- The distance.
-
setDistance
Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
setDistance
public RouteMatrixElement.LocalizedValues.Builder setDistance(LocalizedText.Builder builderForValue) Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
mergeDistance
Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
clearDistance
Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
getDistanceBuilder
Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
getDistanceOrBuilder
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Specified by:
getDistanceOrBuilderin interfaceRouteMatrixElement.LocalizedValuesOrBuilder
-
hasDuration
public 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;- Specified by:
hasDurationin interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- Whether the duration field is set.
-
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;- Specified by:
getDurationin interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- The duration.
-
setDuration
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; -
setDuration
public RouteMatrixElement.LocalizedValues.Builder setDuration(LocalizedText.Builder builderForValue) 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; -
mergeDuration
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; -
clearDuration
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; -
getDurationBuilder
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; -
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;- Specified by:
getDurationOrBuilderin interfaceRouteMatrixElement.LocalizedValuesOrBuilder
-
hasStaticDuration
public boolean hasStaticDuration()Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3;- Specified by:
hasStaticDurationin interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- Whether the staticDuration field is set.
-
getStaticDuration
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3;- Specified by:
getStaticDurationin interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- The staticDuration.
-
setStaticDuration
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3; -
setStaticDuration
public RouteMatrixElement.LocalizedValues.Builder setStaticDuration(LocalizedText.Builder builderForValue) Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3; -
mergeStaticDuration
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3; -
clearStaticDuration
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3; -
getStaticDurationBuilder
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3; -
getStaticDurationOrBuilder
Duration represented in text form without taking traffic conditions into consideration.
.google.type.LocalizedText static_duration = 3;- Specified by:
getStaticDurationOrBuilderin interfaceRouteMatrixElement.LocalizedValuesOrBuilder
-
hasTransitFare
public boolean hasTransitFare()Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4;- Specified by:
hasTransitFarein interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- Whether the transitFare field is set.
-
getTransitFare
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4;- Specified by:
getTransitFarein interfaceRouteMatrixElement.LocalizedValuesOrBuilder- Returns:
- The transitFare.
-
setTransitFare
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4; -
setTransitFare
public RouteMatrixElement.LocalizedValues.Builder setTransitFare(LocalizedText.Builder builderForValue) Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4; -
mergeTransitFare
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4; -
clearTransitFare
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4; -
getTransitFareBuilder
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4; -
getTransitFareOrBuilder
Transit fare represented in text form.
.google.type.LocalizedText transit_fare = 4;- Specified by:
getTransitFareOrBuilderin interfaceRouteMatrixElement.LocalizedValuesOrBuilder
-