public final class ValidationResult extends com.google.protobuf.GeneratedMessageV3 implements ValidationResultOrBuilder
The result of validating an address.Protobuf type
google.maps.addressvalidation.v1.ValidationResult| Modifier and Type | Class and Description |
|---|---|
static class |
ValidationResult.Builder
The result of validating an address.
|
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 |
ADDRESS_FIELD_NUMBER |
static int |
GEOCODE_FIELD_NUMBER |
static int |
METADATA_FIELD_NUMBER |
static int |
USPS_DATA_FIELD_NUMBER |
static int |
VERDICT_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Address |
getAddress()
Information about the address itself as opposed to the geocode.
|
AddressOrBuilder |
getAddressOrBuilder()
Information about the address itself as opposed to the geocode.
|
static ValidationResult |
getDefaultInstance() |
ValidationResult |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Geocode |
getGeocode()
Information about the location and place that the address geocoded to.
|
GeocodeOrBuilder |
getGeocodeOrBuilder()
Information about the location and place that the address geocoded to.
|
AddressMetadata |
getMetadata()
Other information relevant to deliverability.
|
AddressMetadataOrBuilder |
getMetadataOrBuilder()
Other information relevant to deliverability.
|
com.google.protobuf.Parser<ValidationResult> |
getParserForType() |
int |
getSerializedSize() |
UspsData |
getUspsData()
Extra deliverability flags provided by USPS.
|
UspsDataOrBuilder |
getUspsDataOrBuilder()
Extra deliverability flags provided by USPS.
|
Verdict |
getVerdict()
Overall verdict flags
|
VerdictOrBuilder |
getVerdictOrBuilder()
Overall verdict flags
|
boolean |
hasAddress()
Information about the address itself as opposed to the geocode.
|
boolean |
hasGeocode()
Information about the location and place that the address geocoded to.
|
int |
hashCode() |
boolean |
hasMetadata()
Other information relevant to deliverability.
|
boolean |
hasUspsData()
Extra deliverability flags provided by USPS.
|
boolean |
hasVerdict()
Overall verdict flags
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ValidationResult.Builder |
newBuilder() |
static ValidationResult.Builder |
newBuilder(ValidationResult prototype) |
ValidationResult.Builder |
newBuilderForType() |
protected ValidationResult.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ValidationResult |
parseDelimitedFrom(InputStream input) |
static ValidationResult |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationResult |
parseFrom(byte[] data) |
static ValidationResult |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationResult |
parseFrom(ByteBuffer data) |
static ValidationResult |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationResult |
parseFrom(com.google.protobuf.ByteString data) |
static ValidationResult |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationResult |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ValidationResult |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ValidationResult |
parseFrom(InputStream input) |
static ValidationResult |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ValidationResult> |
parser() |
ValidationResult.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 VERDICT_FIELD_NUMBER
public static final int ADDRESS_FIELD_NUMBER
public static final int GEOCODE_FIELD_NUMBER
public static final int METADATA_FIELD_NUMBER
public static final int USPS_DATA_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 hasVerdict()
Overall verdict flags
.google.maps.addressvalidation.v1.Verdict verdict = 1;hasVerdict in interface ValidationResultOrBuilderpublic Verdict getVerdict()
Overall verdict flags
.google.maps.addressvalidation.v1.Verdict verdict = 1;getVerdict in interface ValidationResultOrBuilderpublic VerdictOrBuilder getVerdictOrBuilder()
Overall verdict flags
.google.maps.addressvalidation.v1.Verdict verdict = 1;getVerdictOrBuilder in interface ValidationResultOrBuilderpublic boolean hasAddress()
Information about the address itself as opposed to the geocode.
.google.maps.addressvalidation.v1.Address address = 2;hasAddress in interface ValidationResultOrBuilderpublic Address getAddress()
Information about the address itself as opposed to the geocode.
.google.maps.addressvalidation.v1.Address address = 2;getAddress in interface ValidationResultOrBuilderpublic AddressOrBuilder getAddressOrBuilder()
Information about the address itself as opposed to the geocode.
.google.maps.addressvalidation.v1.Address address = 2;getAddressOrBuilder in interface ValidationResultOrBuilderpublic boolean hasGeocode()
Information about the location and place that the address geocoded to.
.google.maps.addressvalidation.v1.Geocode geocode = 3;hasGeocode in interface ValidationResultOrBuilderpublic Geocode getGeocode()
Information about the location and place that the address geocoded to.
.google.maps.addressvalidation.v1.Geocode geocode = 3;getGeocode in interface ValidationResultOrBuilderpublic GeocodeOrBuilder getGeocodeOrBuilder()
Information about the location and place that the address geocoded to.
.google.maps.addressvalidation.v1.Geocode geocode = 3;getGeocodeOrBuilder in interface ValidationResultOrBuilderpublic boolean hasMetadata()
Other information relevant to deliverability. `metadata` is not guaranteed to be fully populated for every address sent to the Address Validation API.
.google.maps.addressvalidation.v1.AddressMetadata metadata = 4;hasMetadata in interface ValidationResultOrBuilderpublic AddressMetadata getMetadata()
Other information relevant to deliverability. `metadata` is not guaranteed to be fully populated for every address sent to the Address Validation API.
.google.maps.addressvalidation.v1.AddressMetadata metadata = 4;getMetadata in interface ValidationResultOrBuilderpublic AddressMetadataOrBuilder getMetadataOrBuilder()
Other information relevant to deliverability. `metadata` is not guaranteed to be fully populated for every address sent to the Address Validation API.
.google.maps.addressvalidation.v1.AddressMetadata metadata = 4;getMetadataOrBuilder in interface ValidationResultOrBuilderpublic boolean hasUspsData()
Extra deliverability flags provided by USPS. Only provided in region `US` and `PR`.
.google.maps.addressvalidation.v1.UspsData usps_data = 5;hasUspsData in interface ValidationResultOrBuilderpublic UspsData getUspsData()
Extra deliverability flags provided by USPS. Only provided in region `US` and `PR`.
.google.maps.addressvalidation.v1.UspsData usps_data = 5;getUspsData in interface ValidationResultOrBuilderpublic UspsDataOrBuilder getUspsDataOrBuilder()
Extra deliverability flags provided by USPS. Only provided in region `US` and `PR`.
.google.maps.addressvalidation.v1.UspsData usps_data = 5;getUspsDataOrBuilder in interface ValidationResultOrBuilderpublic 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 ValidationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationResult parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationResult parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationResult parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationResult parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ValidationResult parseFrom(InputStream input) throws IOException
IOExceptionpublic static ValidationResult parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValidationResult parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ValidationResult parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ValidationResult parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ValidationResult parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ValidationResult.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ValidationResult.Builder newBuilder()
public static ValidationResult.Builder newBuilder(ValidationResult prototype)
public ValidationResult.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ValidationResult.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ValidationResult getDefaultInstance()
public static com.google.protobuf.Parser<ValidationResult> parser()
public com.google.protobuf.Parser<ValidationResult> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ValidationResult getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.