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| Modifier and Type | Method and Description |
|---|---|
RouteLegStep.RouteLegStepLocalizedValues |
build() |
RouteLegStep.RouteLegStepLocalizedValues |
buildPartial() |
RouteLegStep.RouteLegStepLocalizedValues.Builder |
clear() |
RouteLegStep.RouteLegStepLocalizedValues.Builder |
clearDistance()
Travel distance represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
clearStaticDuration()
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.type.LocalizedText |
getDistance()
Travel distance represented in text form.
|
com.google.type.LocalizedText.Builder |
getDistanceBuilder()
Travel distance represented in text form.
|
com.google.type.LocalizedTextOrBuilder |
getDistanceOrBuilder()
Travel distance represented in text form.
|
com.google.type.LocalizedText |
getStaticDuration()
Duration without taking traffic conditions into
consideration, represented in text form.
|
com.google.type.LocalizedText.Builder |
getStaticDurationBuilder()
Duration without taking traffic conditions into
consideration, represented in text form.
|
com.google.type.LocalizedTextOrBuilder |
getStaticDurationOrBuilder()
Duration without taking traffic conditions into
consideration, represented in text form.
|
boolean |
hasDistance()
Travel distance represented in text form.
|
boolean |
hasStaticDuration()
Duration without taking traffic conditions into
consideration, represented in text form.
|
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteLegStep.RouteLegStepLocalizedValues.Builder |
mergeDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteLegStep.RouteLegStepLocalizedValues.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteLegStep.RouteLegStepLocalizedValues.Builder |
mergeFrom(RouteLegStep.RouteLegStepLocalizedValues other) |
RouteLegStep.RouteLegStepLocalizedValues.Builder |
mergeStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
setDistance(com.google.type.LocalizedText.Builder builderForValue)
Travel distance represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
setDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
setStaticDuration(com.google.type.LocalizedText.Builder builderForValue)
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLegStep.RouteLegStepLocalizedValues.Builder |
setStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into
consideration, represented in text form.
|
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, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>public RouteLegStep.RouteLegStepLocalizedValues.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>public RouteLegStep.RouteLegStepLocalizedValues getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteLegStep.RouteLegStepLocalizedValues build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteLegStep.RouteLegStepLocalizedValues buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(RouteLegStep.RouteLegStepLocalizedValues other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>IOExceptionpublic boolean hasDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;hasDistance in interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilderpublic com.google.type.LocalizedText getDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;getDistance in interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilderpublic RouteLegStep.RouteLegStepLocalizedValues.Builder setDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public RouteLegStep.RouteLegStepLocalizedValues.Builder setDistance(com.google.type.LocalizedText.Builder builderForValue)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public RouteLegStep.RouteLegStepLocalizedValues.Builder clearDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public com.google.type.LocalizedText.Builder getDistanceBuilder()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public com.google.type.LocalizedTextOrBuilder getDistanceOrBuilder()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;getDistanceOrBuilder in interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilderpublic boolean hasStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;hasStaticDuration in interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilderpublic com.google.type.LocalizedText getStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;getStaticDuration in interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilderpublic RouteLegStep.RouteLegStepLocalizedValues.Builder setStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;public RouteLegStep.RouteLegStepLocalizedValues.Builder setStaticDuration(com.google.type.LocalizedText.Builder builderForValue)
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;public RouteLegStep.RouteLegStepLocalizedValues.Builder clearStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;public com.google.type.LocalizedText.Builder getStaticDurationBuilder()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;public com.google.type.LocalizedTextOrBuilder getStaticDurationOrBuilder()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;getStaticDurationOrBuilder in interface RouteLegStep.RouteLegStepLocalizedValuesOrBuilderCopyright © 2026 Google LLC. All rights reserved.