public static final class GeocodedWaypoint.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder> implements GeocodedWaypointOrBuilder
Details about the locations used as waypoints. Only populated for address waypoints. Includes details about the geocoding results for the purposes of determining what the address was geocoded to.Protobuf type
google.maps.routing.v2.GeocodedWaypoint| Modifier and Type | Method and Description |
|---|---|
GeocodedWaypoint.Builder |
addAllType(Iterable<String> values)
The type(s) of the result, in the form of zero or more type tags.
|
GeocodedWaypoint.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GeocodedWaypoint.Builder |
addType(String value)
The type(s) of the result, in the form of zero or more type tags.
|
GeocodedWaypoint.Builder |
addTypeBytes(com.google.protobuf.ByteString value)
The type(s) of the result, in the form of zero or more type tags.
|
GeocodedWaypoint |
build() |
GeocodedWaypoint |
buildPartial() |
GeocodedWaypoint.Builder |
clear() |
GeocodedWaypoint.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
GeocodedWaypoint.Builder |
clearGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
|
GeocodedWaypoint.Builder |
clearIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request.
|
GeocodedWaypoint.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
GeocodedWaypoint.Builder |
clearPartialMatch()
Indicates that the geocoder did not return an exact match for the original
request, though it was able to match part of the requested address.
|
GeocodedWaypoint.Builder |
clearPlaceId()
The place ID for this result.
|
GeocodedWaypoint.Builder |
clearType()
The type(s) of the result, in the form of zero or more type tags.
|
GeocodedWaypoint.Builder |
clone() |
GeocodedWaypoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.rpc.Status |
getGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
|
com.google.rpc.Status.Builder |
getGeocoderStatusBuilder()
Indicates the status code resulting from the geocoding operation.
|
com.google.rpc.StatusOrBuilder |
getGeocoderStatusOrBuilder()
Indicates the status code resulting from the geocoding operation.
|
int |
getIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request.
|
boolean |
getPartialMatch()
Indicates that the geocoder did not return an exact match for the original
request, though it was able to match part of the requested address.
|
String |
getPlaceId()
The place ID for this result.
|
com.google.protobuf.ByteString |
getPlaceIdBytes()
The place ID for this result.
|
String |
getType(int index)
The type(s) of the result, in the form of zero or more type tags.
|
com.google.protobuf.ByteString |
getTypeBytes(int index)
The type(s) of the result, in the form of zero or more type tags.
|
int |
getTypeCount()
The type(s) of the result, in the form of zero or more type tags.
|
com.google.protobuf.ProtocolStringList |
getTypeList()
The type(s) of the result, in the form of zero or more type tags.
|
boolean |
hasGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
|
boolean |
hasIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
GeocodedWaypoint.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
GeocodedWaypoint.Builder |
mergeFrom(GeocodedWaypoint other) |
GeocodedWaypoint.Builder |
mergeFrom(com.google.protobuf.Message other) |
GeocodedWaypoint.Builder |
mergeGeocoderStatus(com.google.rpc.Status value)
Indicates the status code resulting from the geocoding operation.
|
GeocodedWaypoint.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
GeocodedWaypoint.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
GeocodedWaypoint.Builder |
setGeocoderStatus(com.google.rpc.Status.Builder builderForValue)
Indicates the status code resulting from the geocoding operation.
|
GeocodedWaypoint.Builder |
setGeocoderStatus(com.google.rpc.Status value)
Indicates the status code resulting from the geocoding operation.
|
GeocodedWaypoint.Builder |
setIntermediateWaypointRequestIndex(int value)
The index of the corresponding intermediate waypoint in the request.
|
GeocodedWaypoint.Builder |
setPartialMatch(boolean value)
Indicates that the geocoder did not return an exact match for the original
request, though it was able to match part of the requested address.
|
GeocodedWaypoint.Builder |
setPlaceId(String value)
The place ID for this result.
|
GeocodedWaypoint.Builder |
setPlaceIdBytes(com.google.protobuf.ByteString value)
The place ID for this result.
|
GeocodedWaypoint.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
GeocodedWaypoint.Builder |
setType(int index,
String value)
The type(s) of the result, in the form of zero or more type tags.
|
GeocodedWaypoint.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<GeocodedWaypoint.Builder>public GeocodedWaypoint.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.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<GeocodedWaypoint.Builder>public GeocodedWaypoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic GeocodedWaypoint build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic GeocodedWaypoint buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic GeocodedWaypoint.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder>public GeocodedWaypoint.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<GeocodedWaypoint.Builder>public GeocodedWaypoint.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder>public GeocodedWaypoint.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder>public GeocodedWaypoint.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<GeocodedWaypoint.Builder>public GeocodedWaypoint.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<GeocodedWaypoint.Builder>public GeocodedWaypoint.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<GeocodedWaypoint.Builder>public GeocodedWaypoint.Builder mergeFrom(GeocodedWaypoint other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder>public GeocodedWaypoint.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<GeocodedWaypoint.Builder>IOExceptionpublic boolean hasGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;hasGeocoderStatus in interface GeocodedWaypointOrBuilderpublic com.google.rpc.Status getGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;getGeocoderStatus in interface GeocodedWaypointOrBuilderpublic GeocodedWaypoint.Builder setGeocoderStatus(com.google.rpc.Status value)
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;public GeocodedWaypoint.Builder setGeocoderStatus(com.google.rpc.Status.Builder builderForValue)
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;public GeocodedWaypoint.Builder mergeGeocoderStatus(com.google.rpc.Status value)
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;public GeocodedWaypoint.Builder clearGeocoderStatus()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;public com.google.rpc.Status.Builder getGeocoderStatusBuilder()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;public com.google.rpc.StatusOrBuilder getGeocoderStatusOrBuilder()
Indicates the status code resulting from the geocoding operation.
.google.rpc.Status geocoder_status = 1;getGeocoderStatusOrBuilder in interface GeocodedWaypointOrBuilderpublic boolean hasIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request. Only populated if the corresponding waypoint is an intermediate waypoint.
optional int32 intermediate_waypoint_request_index = 2;hasIntermediateWaypointRequestIndex in interface GeocodedWaypointOrBuilderpublic int getIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request. Only populated if the corresponding waypoint is an intermediate waypoint.
optional int32 intermediate_waypoint_request_index = 2;getIntermediateWaypointRequestIndex in interface GeocodedWaypointOrBuilderpublic GeocodedWaypoint.Builder setIntermediateWaypointRequestIndex(int value)
The index of the corresponding intermediate waypoint in the request. Only populated if the corresponding waypoint is an intermediate waypoint.
optional int32 intermediate_waypoint_request_index = 2;value - The intermediateWaypointRequestIndex to set.public GeocodedWaypoint.Builder clearIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request. Only populated if the corresponding waypoint is an intermediate waypoint.
optional int32 intermediate_waypoint_request_index = 2;public com.google.protobuf.ProtocolStringList getTypeList()
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;getTypeList in interface GeocodedWaypointOrBuilderpublic int getTypeCount()
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;getTypeCount in interface GeocodedWaypointOrBuilderpublic String getType(int index)
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;getType in interface GeocodedWaypointOrBuilderindex - The index of the element to return.public com.google.protobuf.ByteString getTypeBytes(int index)
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;getTypeBytes in interface GeocodedWaypointOrBuilderindex - The index of the value to return.public GeocodedWaypoint.Builder setType(int index, String value)
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;index - The index to set the value at.value - The type to set.public GeocodedWaypoint.Builder addType(String value)
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;value - The type to add.public GeocodedWaypoint.Builder addAllType(Iterable<String> values)
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;values - The type to add.public GeocodedWaypoint.Builder clearType()
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;public GeocodedWaypoint.Builder addTypeBytes(com.google.protobuf.ByteString value)
The type(s) of the result, in the form of zero or more type tags. Supported types: [Address types and address component types](https://developers.google.com/maps/documentation/geocoding/requests-geocoding#Types).
repeated string type = 3;value - The bytes of the type to add.public boolean getPartialMatch()
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address.
bool partial_match = 4;getPartialMatch in interface GeocodedWaypointOrBuilderpublic GeocodedWaypoint.Builder setPartialMatch(boolean value)
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address.
bool partial_match = 4;value - The partialMatch to set.public GeocodedWaypoint.Builder clearPartialMatch()
Indicates that the geocoder did not return an exact match for the original request, though it was able to match part of the requested address. You may wish to examine the original request for misspellings and/or an incomplete address.
bool partial_match = 4;public String getPlaceId()
The place ID for this result.
string place_id = 5;getPlaceId in interface GeocodedWaypointOrBuilderpublic com.google.protobuf.ByteString getPlaceIdBytes()
The place ID for this result.
string place_id = 5;getPlaceIdBytes in interface GeocodedWaypointOrBuilderpublic GeocodedWaypoint.Builder setPlaceId(String value)
The place ID for this result.
string place_id = 5;value - The placeId to set.public GeocodedWaypoint.Builder clearPlaceId()
The place ID for this result.
string place_id = 5;public GeocodedWaypoint.Builder setPlaceIdBytes(com.google.protobuf.ByteString value)
The place ID for this result.
string place_id = 5;value - The bytes for placeId to set.public final GeocodedWaypoint.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder>public final GeocodedWaypoint.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<GeocodedWaypoint.Builder>Copyright © 2025 Google LLC. All rights reserved.