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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder> implements RouteLegStep.RouteLegStepLocalizedValuesOrBuilder
Text representations of certain properties.
Protobuf typegoogle.maps.routing.v2.RouteLegStep.RouteLegStepLocalizedValues
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description RouteLegStep.RouteLegStepLocalizedValues.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouteLegStep.RouteLegStepLocalizedValues
build()
RouteLegStep.RouteLegStepLocalizedValues
buildPartial()
RouteLegStep.RouteLegStepLocalizedValues.Builder
clear()
RouteLegStep.RouteLegStepLocalizedValues.Builder
clearDistance()
Travel distance represented in text form.RouteLegStep.RouteLegStepLocalizedValues.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
RouteLegStep.RouteLegStepLocalizedValues.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
RouteLegStep.RouteLegStepLocalizedValues.Builder
clearStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.RouteLegStep.RouteLegStepLocalizedValues.Builder
clone()
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.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
RouteLegStep.RouteLegStepLocalizedValues.Builder
mergeDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.RouteLegStep.RouteLegStepLocalizedValues.Builder
mergeFrom(RouteLegStep.RouteLegStepLocalizedValues other)
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
mergeStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into consideration, represented in text form.RouteLegStep.RouteLegStepLocalizedValues.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
RouteLegStep.RouteLegStepLocalizedValues.Builder
setDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.RouteLegStep.RouteLegStepLocalizedValues.Builder
setDistance(com.google.type.LocalizedText.Builder builderForValue)
Travel distance represented in text form.RouteLegStep.RouteLegStepLocalizedValues.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
RouteLegStep.RouteLegStepLocalizedValues.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
RouteLegStep.RouteLegStepLocalizedValues.Builder
setStaticDuration(com.google.type.LocalizedText value)
Duration without taking traffic conditions into consideration, 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
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
clear
public RouteLegStep.RouteLegStepLocalizedValues.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
getDefaultInstanceForType
public RouteLegStep.RouteLegStepLocalizedValues getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public RouteLegStep.RouteLegStepLocalizedValues build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public RouteLegStep.RouteLegStepLocalizedValues buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public RouteLegStep.RouteLegStepLocalizedValues.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
setField
public RouteLegStep.RouteLegStepLocalizedValues.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
clearField
public RouteLegStep.RouteLegStepLocalizedValues.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
clearOneof
public RouteLegStep.RouteLegStepLocalizedValues.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
setRepeatedField
public RouteLegStep.RouteLegStepLocalizedValues.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
addRepeatedField
public RouteLegStep.RouteLegStepLocalizedValues.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
mergeFrom
public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
mergeFrom
public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(RouteLegStep.RouteLegStepLocalizedValues other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
mergeFrom
public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasDistance
in interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
- Returns:
- Whether the distance field is set.
-
getDistance
public com.google.type.LocalizedText getDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
- Specified by:
getDistance
in interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
- Returns:
- The distance.
-
setDistance
public RouteLegStep.RouteLegStepLocalizedValues.Builder setDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
-
setDistance
public RouteLegStep.RouteLegStepLocalizedValues.Builder setDistance(com.google.type.LocalizedText.Builder builderForValue)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
-
mergeDistance
public RouteLegStep.RouteLegStepLocalizedValues.Builder mergeDistance(com.google.type.LocalizedText value)
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
-
clearDistance
public RouteLegStep.RouteLegStepLocalizedValues.Builder clearDistance()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
-
getDistanceBuilder
public com.google.type.LocalizedText.Builder getDistanceBuilder()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
-
getDistanceOrBuilder
public com.google.type.LocalizedTextOrBuilder getDistanceOrBuilder()
Travel distance represented in text form.
.google.type.LocalizedText distance = 1;
- Specified by:
getDistanceOrBuilder
in 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:
hasStaticDuration
in interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
- Returns:
- Whether the staticDuration field is set.
-
getStaticDuration
public com.google.type.LocalizedText getStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;
- Specified by:
getStaticDuration
in interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
- Returns:
- The staticDuration.
-
setStaticDuration
public 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;
-
setStaticDuration
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;
-
mergeStaticDuration
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;
-
clearStaticDuration
public RouteLegStep.RouteLegStepLocalizedValues.Builder clearStaticDuration()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;
-
getStaticDurationBuilder
public com.google.type.LocalizedText.Builder getStaticDurationBuilder()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;
-
getStaticDurationOrBuilder
public com.google.type.LocalizedTextOrBuilder getStaticDurationOrBuilder()
Duration without taking traffic conditions into consideration, represented in text form.
.google.type.LocalizedText static_duration = 3;
- Specified by:
getStaticDurationOrBuilder
in interfaceRouteLegStep.RouteLegStepLocalizedValuesOrBuilder
-
setUnknownFields
public final RouteLegStep.RouteLegStepLocalizedValues.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
mergeUnknownFields
public final RouteLegStep.RouteLegStepLocalizedValues.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<RouteLegStep.RouteLegStepLocalizedValues.Builder>
-
-