public static final class Verdict.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder> implements VerdictOrBuilder
High level overview of the address validation result and geocode.Protobuf type
google.maps.addressvalidation.v1.Verdict| Modifier and Type | Method and Description |
|---|---|
Verdict.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Verdict |
build() |
Verdict |
buildPartial() |
Verdict.Builder |
clear() |
Verdict.Builder |
clearAddressComplete()
The address is considered complete if there are no unresolved tokens, no
unexpected or missing address components.
|
Verdict.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
Verdict.Builder |
clearGeocodeGranularity()
Information about the granularity of the
[`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
|
Verdict.Builder |
clearHasInferredComponents()
At least one address component was inferred (added) that wasn't in the
input, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Builder |
clearHasReplacedComponents()
At least one address component was replaced, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Builder |
clearHasUnconfirmedComponents()
At least one address component cannot be categorized or validated, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Builder |
clearInputGranularity()
The granularity of the **input** address.
|
Verdict.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
Verdict.Builder |
clearValidationGranularity()
The granularity level that the API can fully **validate** the address to.
|
Verdict.Builder |
clone() |
boolean |
getAddressComplete()
The address is considered complete if there are no unresolved tokens, no
unexpected or missing address components.
|
Verdict |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
Verdict.Granularity |
getGeocodeGranularity()
Information about the granularity of the
[`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
|
int |
getGeocodeGranularityValue()
Information about the granularity of the
[`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
|
boolean |
getHasInferredComponents()
At least one address component was inferred (added) that wasn't in the
input, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
boolean |
getHasReplacedComponents()
At least one address component was replaced, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
boolean |
getHasUnconfirmedComponents()
At least one address component cannot be categorized or validated, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Granularity |
getInputGranularity()
The granularity of the **input** address.
|
int |
getInputGranularityValue()
The granularity of the **input** address.
|
Verdict.Granularity |
getValidationGranularity()
The granularity level that the API can fully **validate** the address to.
|
int |
getValidationGranularityValue()
The granularity level that the API can fully **validate** the address to.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
Verdict.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
Verdict.Builder |
mergeFrom(com.google.protobuf.Message other) |
Verdict.Builder |
mergeFrom(Verdict other) |
Verdict.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Verdict.Builder |
setAddressComplete(boolean value)
The address is considered complete if there are no unresolved tokens, no
unexpected or missing address components.
|
Verdict.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
Verdict.Builder |
setGeocodeGranularity(Verdict.Granularity value)
Information about the granularity of the
[`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
|
Verdict.Builder |
setGeocodeGranularityValue(int value)
Information about the granularity of the
[`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode].
|
Verdict.Builder |
setHasInferredComponents(boolean value)
At least one address component was inferred (added) that wasn't in the
input, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Builder |
setHasReplacedComponents(boolean value)
At least one address component was replaced, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Builder |
setHasUnconfirmedComponents(boolean value)
At least one address component cannot be categorized or validated, see
[google.maps.addressvalidation.v1.Address.address_components] for
details.
|
Verdict.Builder |
setInputGranularity(Verdict.Granularity value)
The granularity of the **input** address.
|
Verdict.Builder |
setInputGranularityValue(int value)
The granularity of the **input** address.
|
Verdict.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
Verdict.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
Verdict.Builder |
setValidationGranularity(Verdict.Granularity value)
The granularity level that the API can fully **validate** the address to.
|
Verdict.Builder |
setValidationGranularityValue(int value)
The granularity level that the API can fully **validate** the address to.
|
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<Verdict.Builder>public Verdict.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.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<Verdict.Builder>public Verdict getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic Verdict build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic Verdict buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic Verdict.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder>public Verdict.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<Verdict.Builder>public Verdict.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder>public Verdict.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder>public Verdict.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<Verdict.Builder>public Verdict.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<Verdict.Builder>public Verdict.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<Verdict.Builder>public Verdict.Builder mergeFrom(Verdict other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder>public Verdict.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<Verdict.Builder>IOExceptionpublic int getInputGranularityValue()
The granularity of the **input** address. This is the result of parsing the input address and does not give any validation signals. For validation signals, refer to `validation_granularity` below. For example, if the input address includes a specific apartment number, then the `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the databases or the apartment number is invalid, the `validation_granularity` will likely be `PREMISE` or below.
.google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1;getInputGranularityValue in interface VerdictOrBuilderpublic Verdict.Builder setInputGranularityValue(int value)
The granularity of the **input** address. This is the result of parsing the input address and does not give any validation signals. For validation signals, refer to `validation_granularity` below. For example, if the input address includes a specific apartment number, then the `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the databases or the apartment number is invalid, the `validation_granularity` will likely be `PREMISE` or below.
.google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1;value - The enum numeric value on the wire for inputGranularity to set.public Verdict.Granularity getInputGranularity()
The granularity of the **input** address. This is the result of parsing the input address and does not give any validation signals. For validation signals, refer to `validation_granularity` below. For example, if the input address includes a specific apartment number, then the `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the databases or the apartment number is invalid, the `validation_granularity` will likely be `PREMISE` or below.
.google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1;getInputGranularity in interface VerdictOrBuilderpublic Verdict.Builder setInputGranularity(Verdict.Granularity value)
The granularity of the **input** address. This is the result of parsing the input address and does not give any validation signals. For validation signals, refer to `validation_granularity` below. For example, if the input address includes a specific apartment number, then the `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the databases or the apartment number is invalid, the `validation_granularity` will likely be `PREMISE` or below.
.google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1;value - The inputGranularity to set.public Verdict.Builder clearInputGranularity()
The granularity of the **input** address. This is the result of parsing the input address and does not give any validation signals. For validation signals, refer to `validation_granularity` below. For example, if the input address includes a specific apartment number, then the `input_granularity` here will be `SUB_PREMISE`. If we cannot match the apartment number in the databases or the apartment number is invalid, the `validation_granularity` will likely be `PREMISE` or below.
.google.maps.addressvalidation.v1.Verdict.Granularity input_granularity = 1;public int getValidationGranularityValue()
The granularity level that the API can fully **validate** the address to. For example, an `validation_granularity` of `PREMISE` indicates all address components at the level of `PREMISE` or more coarse can be validated. Per address component validation result can be found in [google.maps.addressvalidation.v1.Address.address_components].
.google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2;
getValidationGranularityValue in interface VerdictOrBuilderpublic Verdict.Builder setValidationGranularityValue(int value)
The granularity level that the API can fully **validate** the address to. For example, an `validation_granularity` of `PREMISE` indicates all address components at the level of `PREMISE` or more coarse can be validated. Per address component validation result can be found in [google.maps.addressvalidation.v1.Address.address_components].
.google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2;
value - The enum numeric value on the wire for validationGranularity to set.public Verdict.Granularity getValidationGranularity()
The granularity level that the API can fully **validate** the address to. For example, an `validation_granularity` of `PREMISE` indicates all address components at the level of `PREMISE` or more coarse can be validated. Per address component validation result can be found in [google.maps.addressvalidation.v1.Address.address_components].
.google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2;
getValidationGranularity in interface VerdictOrBuilderpublic Verdict.Builder setValidationGranularity(Verdict.Granularity value)
The granularity level that the API can fully **validate** the address to. For example, an `validation_granularity` of `PREMISE` indicates all address components at the level of `PREMISE` or more coarse can be validated. Per address component validation result can be found in [google.maps.addressvalidation.v1.Address.address_components].
.google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2;
value - The validationGranularity to set.public Verdict.Builder clearValidationGranularity()
The granularity level that the API can fully **validate** the address to. For example, an `validation_granularity` of `PREMISE` indicates all address components at the level of `PREMISE` or more coarse can be validated. Per address component validation result can be found in [google.maps.addressvalidation.v1.Address.address_components].
.google.maps.addressvalidation.v1.Verdict.Granularity validation_granularity = 2;
public int getGeocodeGranularityValue()
Information about the granularity of the [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode]. This can be understood as the semantic meaning of how coarse or fine the geocoded location is. This can differ from the `validation_granularity` above occasionally. For example, our database might record the existence of an apartment number but do not have a precise location for the apartment within a big apartment complex. In that case, the `validation_granularity` will be `SUB_PREMISE` but the `geocode_granularity` will be `PREMISE`.
.google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3;getGeocodeGranularityValue in interface VerdictOrBuilderpublic Verdict.Builder setGeocodeGranularityValue(int value)
Information about the granularity of the [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode]. This can be understood as the semantic meaning of how coarse or fine the geocoded location is. This can differ from the `validation_granularity` above occasionally. For example, our database might record the existence of an apartment number but do not have a precise location for the apartment within a big apartment complex. In that case, the `validation_granularity` will be `SUB_PREMISE` but the `geocode_granularity` will be `PREMISE`.
.google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3;value - The enum numeric value on the wire for geocodeGranularity to set.public Verdict.Granularity getGeocodeGranularity()
Information about the granularity of the [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode]. This can be understood as the semantic meaning of how coarse or fine the geocoded location is. This can differ from the `validation_granularity` above occasionally. For example, our database might record the existence of an apartment number but do not have a precise location for the apartment within a big apartment complex. In that case, the `validation_granularity` will be `SUB_PREMISE` but the `geocode_granularity` will be `PREMISE`.
.google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3;getGeocodeGranularity in interface VerdictOrBuilderpublic Verdict.Builder setGeocodeGranularity(Verdict.Granularity value)
Information about the granularity of the [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode]. This can be understood as the semantic meaning of how coarse or fine the geocoded location is. This can differ from the `validation_granularity` above occasionally. For example, our database might record the existence of an apartment number but do not have a precise location for the apartment within a big apartment complex. In that case, the `validation_granularity` will be `SUB_PREMISE` but the `geocode_granularity` will be `PREMISE`.
.google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3;value - The geocodeGranularity to set.public Verdict.Builder clearGeocodeGranularity()
Information about the granularity of the [`geocode`][google.maps.addressvalidation.v1.ValidationResult.geocode]. This can be understood as the semantic meaning of how coarse or fine the geocoded location is. This can differ from the `validation_granularity` above occasionally. For example, our database might record the existence of an apartment number but do not have a precise location for the apartment within a big apartment complex. In that case, the `validation_granularity` will be `SUB_PREMISE` but the `geocode_granularity` will be `PREMISE`.
.google.maps.addressvalidation.v1.Verdict.Granularity geocode_granularity = 3;public boolean getAddressComplete()
The address is considered complete if there are no unresolved tokens, no unexpected or missing address components. See [`missing_component_types`][google.maps.addressvalidation.v1.Address.missing_component_types], [`unresolved_tokens`][google.maps.addressvalidation.v1.Address.unresolved_tokens] or [`unexpected`][google.maps.addressvalidation.v1.AddressComponent.unexpected] fields for more details.
bool address_complete = 4;getAddressComplete in interface VerdictOrBuilderpublic Verdict.Builder setAddressComplete(boolean value)
The address is considered complete if there are no unresolved tokens, no unexpected or missing address components. See [`missing_component_types`][google.maps.addressvalidation.v1.Address.missing_component_types], [`unresolved_tokens`][google.maps.addressvalidation.v1.Address.unresolved_tokens] or [`unexpected`][google.maps.addressvalidation.v1.AddressComponent.unexpected] fields for more details.
bool address_complete = 4;value - The addressComplete to set.public Verdict.Builder clearAddressComplete()
The address is considered complete if there are no unresolved tokens, no unexpected or missing address components. See [`missing_component_types`][google.maps.addressvalidation.v1.Address.missing_component_types], [`unresolved_tokens`][google.maps.addressvalidation.v1.Address.unresolved_tokens] or [`unexpected`][google.maps.addressvalidation.v1.AddressComponent.unexpected] fields for more details.
bool address_complete = 4;public boolean getHasUnconfirmedComponents()
At least one address component cannot be categorized or validated, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_unconfirmed_components = 5;getHasUnconfirmedComponents in interface VerdictOrBuilderpublic Verdict.Builder setHasUnconfirmedComponents(boolean value)
At least one address component cannot be categorized or validated, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_unconfirmed_components = 5;value - The hasUnconfirmedComponents to set.public Verdict.Builder clearHasUnconfirmedComponents()
At least one address component cannot be categorized or validated, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_unconfirmed_components = 5;public boolean getHasInferredComponents()
At least one address component was inferred (added) that wasn't in the input, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_inferred_components = 6;getHasInferredComponents in interface VerdictOrBuilderpublic Verdict.Builder setHasInferredComponents(boolean value)
At least one address component was inferred (added) that wasn't in the input, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_inferred_components = 6;value - The hasInferredComponents to set.public Verdict.Builder clearHasInferredComponents()
At least one address component was inferred (added) that wasn't in the input, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_inferred_components = 6;public boolean getHasReplacedComponents()
At least one address component was replaced, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_replaced_components = 7;getHasReplacedComponents in interface VerdictOrBuilderpublic Verdict.Builder setHasReplacedComponents(boolean value)
At least one address component was replaced, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_replaced_components = 7;value - The hasReplacedComponents to set.public Verdict.Builder clearHasReplacedComponents()
At least one address component was replaced, see [google.maps.addressvalidation.v1.Address.address_components] for details.
bool has_replaced_components = 7;public final Verdict.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder>public final Verdict.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<Verdict.Builder>Copyright © 2024 Google LLC. All rights reserved.