public static final class RouteLeg.RouteLegLocalizedValues.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder> implements RouteLeg.RouteLegLocalizedValuesOrBuilder
Text representations of certain properties.Protobuf type
google.maps.routing.v2.RouteLeg.RouteLegLocalizedValues| Modifier and Type | Method and Description |
|---|---|
RouteLeg.RouteLegLocalizedValues.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteLeg.RouteLegLocalizedValues |
build() |
RouteLeg.RouteLegLocalizedValues |
buildPartial() |
RouteLeg.RouteLegLocalizedValues.Builder |
clear() |
RouteLeg.RouteLegLocalizedValues.Builder |
clearDistance()
Travel distance represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
clearDuration()
Duration, represented in text form and localized to the region of the
query.
|
RouteLeg.RouteLegLocalizedValues.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
RouteLeg.RouteLegLocalizedValues.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
RouteLeg.RouteLegLocalizedValues.Builder |
clearStaticDuration()
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
clone() |
RouteLeg.RouteLegLocalizedValues |
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 |
getDuration()
Duration, represented in text form and localized to the region of the
query.
|
com.google.type.LocalizedText.Builder |
getDurationBuilder()
Duration, represented in text form and localized to the region of the
query.
|
com.google.type.LocalizedTextOrBuilder |
getDurationOrBuilder()
Duration, represented in text form and localized to the region of the
query.
|
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 |
hasDuration()
Duration, represented in text form and localized to the region of the
query.
|
boolean |
hasStaticDuration()
Duration without taking traffic conditions into
consideration, represented in text form.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
RouteLeg.RouteLegLocalizedValues.Builder |
mergeDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
mergeDuration(com.google.type.LocalizedText value)
Duration, represented in text form and localized to the region of the
query.
|
RouteLeg.RouteLegLocalizedValues.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
RouteLeg.RouteLegLocalizedValues.Builder |
mergeFrom(com.google.protobuf.Message other) |
RouteLeg.RouteLegLocalizedValues.Builder |
mergeFrom(RouteLeg.RouteLegLocalizedValues other) |
RouteLeg.RouteLegLocalizedValues.Builder |
mergeStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
RouteLeg.RouteLegLocalizedValues.Builder |
setDistance(com.google.type.LocalizedText.Builder builderForValue)
Travel distance represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
setDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
setDuration(com.google.type.LocalizedText.Builder builderForValue)
Duration, represented in text form and localized to the region of the
query.
|
RouteLeg.RouteLegLocalizedValues.Builder |
setDuration(com.google.type.LocalizedText value)
Duration, represented in text form and localized to the region of the
query.
|
RouteLeg.RouteLegLocalizedValues.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
RouteLeg.RouteLegLocalizedValues.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
RouteLeg.RouteLegLocalizedValues.Builder |
setStaticDuration(com.google.type.LocalizedText.Builder builderForValue)
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
setStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into
consideration, represented in text form.
|
RouteLeg.RouteLegLocalizedValues.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.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.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic RouteLeg.RouteLegLocalizedValues build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic RouteLeg.RouteLegLocalizedValues buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic RouteLeg.RouteLegLocalizedValues.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.Builder mergeFrom(RouteLeg.RouteLegLocalizedValues other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public RouteLeg.RouteLegLocalizedValues.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<RouteLeg.RouteLegLocalizedValues.Builder>IOExceptionpublic boolean hasDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;hasDistance in interface RouteLeg.RouteLegLocalizedValuesOrBuilderpublic com.google.type.LocalizedText getDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;getDistance in interface RouteLeg.RouteLegLocalizedValuesOrBuilderpublic RouteLeg.RouteLegLocalizedValues.Builder setDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public RouteLeg.RouteLegLocalizedValues.Builder setDistance(com.google.type.LocalizedText.Builder builderForValue)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public RouteLeg.RouteLegLocalizedValues.Builder mergeDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;public RouteLeg.RouteLegLocalizedValues.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 RouteLeg.RouteLegLocalizedValuesOrBuilderpublic boolean hasDuration()
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;hasDuration in interface RouteLeg.RouteLegLocalizedValuesOrBuilderpublic com.google.type.LocalizedText getDuration()
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;getDuration in interface RouteLeg.RouteLegLocalizedValuesOrBuilderpublic RouteLeg.RouteLegLocalizedValues.Builder setDuration(com.google.type.LocalizedText value)
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;public RouteLeg.RouteLegLocalizedValues.Builder setDuration(com.google.type.LocalizedText.Builder builderForValue)
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;public RouteLeg.RouteLegLocalizedValues.Builder mergeDuration(com.google.type.LocalizedText value)
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;public RouteLeg.RouteLegLocalizedValues.Builder clearDuration()
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;public com.google.type.LocalizedText.Builder getDurationBuilder()
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;public com.google.type.LocalizedTextOrBuilder getDurationOrBuilder()
Duration, represented in text form and localized to the region of the query. Takes traffic conditions into consideration. Note: If you did not request traffic information, this value is the same value as static_duration.
.google.type.LocalizedText duration = 2;getDurationOrBuilder in interface RouteLeg.RouteLegLocalizedValuesOrBuilderpublic boolean hasStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;hasStaticDuration in interface RouteLeg.RouteLegLocalizedValuesOrBuilderpublic 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 RouteLeg.RouteLegLocalizedValuesOrBuilderpublic RouteLeg.RouteLegLocalizedValues.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 RouteLeg.RouteLegLocalizedValues.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 RouteLeg.RouteLegLocalizedValues.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 RouteLeg.RouteLegLocalizedValues.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 RouteLeg.RouteLegLocalizedValuesOrBuilderpublic final RouteLeg.RouteLegLocalizedValues.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>public final RouteLeg.RouteLegLocalizedValues.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<RouteLeg.RouteLegLocalizedValues.Builder>Copyright © 2025 Google LLC. All rights reserved.