public static final class GeocodingResults.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder> implements GeocodingResultsOrBuilder
Contains [`GeocodedWaypoints`][google.maps.routing.v2.GeocodedWaypoint] for origin, destination and intermediate waypoints. Only populated for address waypoints.Protobuf type
google.maps.routing.v2.GeocodingResults| Modifier and Type | Method and Description |
|---|---|
GeocodingResults.Builder |
addAllIntermediates(Iterable<? extends GeocodedWaypoint> values)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
addIntermediates(GeocodedWaypoint.Builder builderForValue)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
addIntermediates(GeocodedWaypoint value)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
addIntermediates(int index,
GeocodedWaypoint.Builder builderForValue)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
addIntermediates(int index,
GeocodedWaypoint value)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodedWaypoint.Builder |
addIntermediatesBuilder()
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodedWaypoint.Builder |
addIntermediatesBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GeocodingResults |
build() |
GeocodingResults |
buildPartial() |
GeocodingResults.Builder |
clear() |
GeocodingResults.Builder |
clearDestination()
Destination geocoded waypoint.
|
GeocodingResults.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GeocodingResults.Builder |
clearIntermediates()
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GeocodingResults.Builder |
clearOrigin()
Origin geocoded waypoint.
|
GeocodingResults.Builder |
clone() |
GeocodingResults |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
GeocodedWaypoint |
getDestination()
Destination geocoded waypoint.
|
GeocodedWaypoint.Builder |
getDestinationBuilder()
Destination geocoded waypoint.
|
GeocodedWaypointOrBuilder |
getDestinationOrBuilder()
Destination geocoded waypoint.
|
GeocodedWaypoint |
getIntermediates(int index)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodedWaypoint.Builder |
getIntermediatesBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
List<GeocodedWaypoint.Builder> |
getIntermediatesBuilderList()
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
int |
getIntermediatesCount()
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
List<GeocodedWaypoint> |
getIntermediatesList()
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodedWaypointOrBuilder |
getIntermediatesOrBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
List<? extends GeocodedWaypointOrBuilder> |
getIntermediatesOrBuilderList()
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodedWaypoint |
getOrigin()
Origin geocoded waypoint.
|
GeocodedWaypoint.Builder |
getOriginBuilder()
Origin geocoded waypoint.
|
GeocodedWaypointOrBuilder |
getOriginOrBuilder()
Origin geocoded waypoint.
|
boolean |
hasDestination()
Destination geocoded waypoint.
|
boolean |
hasOrigin()
Origin geocoded waypoint.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GeocodingResults.Builder |
mergeDestination(GeocodedWaypoint value)
Destination geocoded waypoint.
|
GeocodingResults.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GeocodingResults.Builder |
mergeFrom(GeocodingResults other) |
GeocodingResults.Builder |
mergeFrom(com.google.protobuf.Message other) |
GeocodingResults.Builder |
mergeOrigin(GeocodedWaypoint value)
Origin geocoded waypoint.
|
GeocodingResults.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GeocodingResults.Builder |
removeIntermediates(int index)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
setDestination(GeocodedWaypoint.Builder builderForValue)
Destination geocoded waypoint.
|
GeocodingResults.Builder |
setDestination(GeocodedWaypoint value)
Destination geocoded waypoint.
|
GeocodingResults.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GeocodingResults.Builder |
setIntermediates(int index,
GeocodedWaypoint.Builder builderForValue)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
setIntermediates(int index,
GeocodedWaypoint value)
A list of intermediate geocoded waypoints each containing an index field
that corresponds to the zero-based position of the waypoint in the order
they were specified in the request.
|
GeocodingResults.Builder |
setOrigin(GeocodedWaypoint.Builder builderForValue)
Origin geocoded waypoint.
|
GeocodingResults.Builder |
setOrigin(GeocodedWaypoint value)
Origin geocoded waypoint.
|
GeocodingResults.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GeocodingResults.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<GeocodingResults.Builder>public GeocodingResults.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.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<GeocodingResults.Builder>public GeocodingResults getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GeocodingResults build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GeocodingResults buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GeocodingResults.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder>public GeocodingResults.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<GeocodingResults.Builder>public GeocodingResults.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder>public GeocodingResults.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder>public GeocodingResults.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<GeocodingResults.Builder>public GeocodingResults.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<GeocodingResults.Builder>public GeocodingResults.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GeocodingResults.Builder>public GeocodingResults.Builder mergeFrom(GeocodingResults other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder>public GeocodingResults.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<GeocodingResults.Builder>IOExceptionpublic boolean hasOrigin()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;hasOrigin in interface GeocodingResultsOrBuilderpublic GeocodedWaypoint getOrigin()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;getOrigin in interface GeocodingResultsOrBuilderpublic GeocodingResults.Builder setOrigin(GeocodedWaypoint value)
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;public GeocodingResults.Builder setOrigin(GeocodedWaypoint.Builder builderForValue)
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;public GeocodingResults.Builder mergeOrigin(GeocodedWaypoint value)
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;public GeocodingResults.Builder clearOrigin()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;public GeocodedWaypoint.Builder getOriginBuilder()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;public GeocodedWaypointOrBuilder getOriginOrBuilder()
Origin geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint origin = 1;getOriginOrBuilder in interface GeocodingResultsOrBuilderpublic boolean hasDestination()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;hasDestination in interface GeocodingResultsOrBuilderpublic GeocodedWaypoint getDestination()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;getDestination in interface GeocodingResultsOrBuilderpublic GeocodingResults.Builder setDestination(GeocodedWaypoint value)
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;public GeocodingResults.Builder setDestination(GeocodedWaypoint.Builder builderForValue)
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;public GeocodingResults.Builder mergeDestination(GeocodedWaypoint value)
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;public GeocodingResults.Builder clearDestination()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;public GeocodedWaypoint.Builder getDestinationBuilder()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;public GeocodedWaypointOrBuilder getDestinationOrBuilder()
Destination geocoded waypoint.
.google.maps.routing.v2.GeocodedWaypoint destination = 2;getDestinationOrBuilder in interface GeocodingResultsOrBuilderpublic List<GeocodedWaypoint> getIntermediatesList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;getIntermediatesList in interface GeocodingResultsOrBuilderpublic int getIntermediatesCount()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;getIntermediatesCount in interface GeocodingResultsOrBuilderpublic GeocodedWaypoint getIntermediates(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;getIntermediates in interface GeocodingResultsOrBuilderpublic GeocodingResults.Builder setIntermediates(int index, GeocodedWaypoint value)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder setIntermediates(int index, GeocodedWaypoint.Builder builderForValue)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder addIntermediates(GeocodedWaypoint value)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder addIntermediates(int index, GeocodedWaypoint value)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder addIntermediates(GeocodedWaypoint.Builder builderForValue)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder addIntermediates(int index, GeocodedWaypoint.Builder builderForValue)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder addAllIntermediates(Iterable<? extends GeocodedWaypoint> values)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder clearIntermediates()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodingResults.Builder removeIntermediates(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodedWaypoint.Builder getIntermediatesBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodedWaypointOrBuilder getIntermediatesOrBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;getIntermediatesOrBuilder in interface GeocodingResultsOrBuilderpublic List<? extends GeocodedWaypointOrBuilder> getIntermediatesOrBuilderList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;getIntermediatesOrBuilderList in interface GeocodingResultsOrBuilderpublic GeocodedWaypoint.Builder addIntermediatesBuilder()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public GeocodedWaypoint.Builder addIntermediatesBuilder(int index)
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public List<GeocodedWaypoint.Builder> getIntermediatesBuilderList()
A list of intermediate geocoded waypoints each containing an index field that corresponds to the zero-based position of the waypoint in the order they were specified in the request.
repeated .google.maps.routing.v2.GeocodedWaypoint intermediates = 3;public final GeocodingResults.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder>public final GeocodingResults.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodingResults.Builder>Copyright © 2025 Google LLC. All rights reserved.