Package com.google.maps.routing.v2
Class RouteLegStep.RouteLegStepLocalizedValues.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
com.google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues.Builder
- All Implemented Interfaces:
RouteLegStep.RouteLegStepLocalizedValuesOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- RouteLegStep.RouteLegStepLocalizedValues
public static final class RouteLegStep.RouteLegStepLocalizedValues.Builder
extends com.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
implements RouteLegStep.RouteLegStepLocalizedValuesOrBuilder
Text representations of certain properties.Protobuf type
google.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues-
Method Summary
Modifier and TypeMethodDescriptionbuild()clear()Travel distance represented in text form.Duration without taking traffic conditions into consideration, 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 without taking traffic conditions into consideration, 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.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeDistance(LocalizedText value) Travel distance represented in text form.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeStaticDuration(LocalizedText value) Duration without taking traffic conditions into consideration, represented in text form.setDistance(LocalizedText value) Travel distance represented in text form.setDistance(LocalizedText.Builder builderForValue) Travel distance represented in text form.setStaticDuration(LocalizedText value) Duration without taking traffic conditions into consideration, represented in text form.setStaticDuration(LocalizedText.Builder builderForValue) Duration without taking traffic conditions into consideration, 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<RouteLegStep.RouteLegStepLocalizedValues.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<RouteLegStep.RouteLegStepLocalizedValues.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<RouteLegStep.RouteLegStepLocalizedValues.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
public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(com.google.protobuf.Message other) - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
mergeFrom
public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(RouteLegStep.RouteLegStepLocalizedValues other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
mergeFrom
public RouteLegStep.RouteLegStepLocalizedValues.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<RouteLegStep.RouteLegStepLocalizedValues.Builder>- Throws:
IOException
-
hasDistance
public boolean hasDistance()Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Specified by:
hasDistancein interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder- Returns:
- Whether the distance field is set.
-
getDistance
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;- Specified by:
getDistancein interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder- Returns:
- The distance.
-
setDistance
Travel distance represented in text form.
.google.type.LocalizedText distance = 1; -
setDistance
public RouteLegStep.RouteLegStepLocalizedValues.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 interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
-
hasStaticDuration
public boolean hasStaticDuration()Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;- Specified by:
hasStaticDurationin interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder- Returns:
- Whether the staticDuration field is set.
-
getStaticDuration
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;- Specified by:
getStaticDurationin interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder- Returns:
- The staticDuration.
-
setStaticDuration
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3; -
setStaticDuration
public RouteLegStep.RouteLegStepLocalizedValues.Builder setStaticDuration(LocalizedText.Builder builderForValue) Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3; -
mergeStaticDuration
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3; -
clearStaticDuration
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3; -
getStaticDurationBuilder
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3; -
getStaticDurationOrBuilder
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;- Specified by:
getStaticDurationOrBuilderin interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
-