public final class GeocodedWaypoint extends com.google.protobuf.GeneratedMessageV3 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 | Class and Description |
|---|---|
static class |
GeocodedWaypoint.Builder
Details about the locations used as waypoints.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
GEOCODER_STATUS_FIELD_NUMBER |
static int |
INTERMEDIATE_WAYPOINT_REQUEST_INDEX_FIELD_NUMBER |
static int |
PARTIAL_MATCH_FIELD_NUMBER |
static int |
PLACE_ID_FIELD_NUMBER |
static int |
TYPE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static GeocodedWaypoint |
getDefaultInstance() |
GeocodedWaypoint |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.rpc.Status |
getGeocoderStatus()
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.
|
com.google.protobuf.Parser<GeocodedWaypoint> |
getParserForType() |
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.
|
int |
getSerializedSize() |
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.
|
int |
hashCode() |
boolean |
hasIntermediateWaypointRequestIndex()
The index of the corresponding intermediate waypoint in the request.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GeocodedWaypoint.Builder |
newBuilder() |
static GeocodedWaypoint.Builder |
newBuilder(GeocodedWaypoint prototype) |
GeocodedWaypoint.Builder |
newBuilderForType() |
protected GeocodedWaypoint.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GeocodedWaypoint |
parseDelimitedFrom(InputStream input) |
static GeocodedWaypoint |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GeocodedWaypoint |
parseFrom(byte[] data) |
static GeocodedWaypoint |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GeocodedWaypoint |
parseFrom(ByteBuffer data) |
static GeocodedWaypoint |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GeocodedWaypoint |
parseFrom(com.google.protobuf.ByteString data) |
static GeocodedWaypoint |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GeocodedWaypoint |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GeocodedWaypoint |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GeocodedWaypoint |
parseFrom(InputStream input) |
static GeocodedWaypoint |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GeocodedWaypoint> |
parser() |
GeocodedWaypoint.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int GEOCODER_STATUS_FIELD_NUMBER
public static final int INTERMEDIATE_WAYPOINT_REQUEST_INDEX_FIELD_NUMBER
public static final int TYPE_FIELD_NUMBER
public static final int PARTIAL_MATCH_FIELD_NUMBER
public static final int PLACE_ID_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public 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 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 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 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 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 final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static GeocodedWaypoint parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GeocodedWaypoint parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GeocodedWaypoint parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GeocodedWaypoint parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GeocodedWaypoint parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GeocodedWaypoint parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GeocodedWaypoint parseFrom(InputStream input) throws IOException
IOExceptionpublic static GeocodedWaypoint parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GeocodedWaypoint parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GeocodedWaypoint parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GeocodedWaypoint parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GeocodedWaypoint parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GeocodedWaypoint.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static GeocodedWaypoint.Builder newBuilder()
public static GeocodedWaypoint.Builder newBuilder(GeocodedWaypoint prototype)
public GeocodedWaypoint.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected GeocodedWaypoint.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static GeocodedWaypoint getDefaultInstance()
public static com.google.protobuf.Parser<GeocodedWaypoint> parser()
public com.google.protobuf.Parser<GeocodedWaypoint> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public GeocodedWaypoint getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2025 Google LLC. All rights reserved.