public static enum AddressComponent.ConfirmationLevel extends Enum<AddressComponent.ConfirmationLevel> implements com.google.protobuf.ProtocolMessageEnum
The different possible values for confirmation levels.Protobuf enum
google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel| Enum Constant and Description |
|---|
CONFIRMATION_LEVEL_UNSPECIFIED
Default value.
|
CONFIRMED
We were able to verify that this component exists and makes sense in the
context of the rest of the address.
|
UNCONFIRMED_AND_SUSPICIOUS
This component was not confirmed and is likely to be wrong.
|
UNCONFIRMED_BUT_PLAUSIBLE
This component could not be confirmed, but it is plausible that it
exists.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONFIRMATION_LEVEL_UNSPECIFIED_VALUE
Default value.
|
static int |
CONFIRMED_VALUE
We were able to verify that this component exists and makes sense in the
context of the rest of the address.
|
static int |
UNCONFIRMED_AND_SUSPICIOUS_VALUE
This component was not confirmed and is likely to be wrong.
|
static int |
UNCONFIRMED_BUT_PLAUSIBLE_VALUE
This component could not be confirmed, but it is plausible that it
exists.
|
| Modifier and Type | Method and Description |
|---|---|
static AddressComponent.ConfirmationLevel |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<AddressComponent.ConfirmationLevel> |
internalGetValueMap() |
static AddressComponent.ConfirmationLevel |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static AddressComponent.ConfirmationLevel |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static AddressComponent.ConfirmationLevel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static AddressComponent.ConfirmationLevel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final AddressComponent.ConfirmationLevel CONFIRMATION_LEVEL_UNSPECIFIED
Default value. This value is unused.
CONFIRMATION_LEVEL_UNSPECIFIED = 0;public static final AddressComponent.ConfirmationLevel CONFIRMED
We were able to verify that this component exists and makes sense in the context of the rest of the address.
CONFIRMED = 1;public static final AddressComponent.ConfirmationLevel UNCONFIRMED_BUT_PLAUSIBLE
This component could not be confirmed, but it is plausible that it exists. For example, a street number within a known valid range of numbers on a street where specific house numbers are not known.
UNCONFIRMED_BUT_PLAUSIBLE = 2;public static final AddressComponent.ConfirmationLevel UNCONFIRMED_AND_SUSPICIOUS
This component was not confirmed and is likely to be wrong. For example, a neighborhood that does not fit the rest of the address.
UNCONFIRMED_AND_SUSPICIOUS = 3;public static final AddressComponent.ConfirmationLevel UNRECOGNIZED
public static final int CONFIRMATION_LEVEL_UNSPECIFIED_VALUE
Default value. This value is unused.
CONFIRMATION_LEVEL_UNSPECIFIED = 0;public static final int CONFIRMED_VALUE
We were able to verify that this component exists and makes sense in the context of the rest of the address.
CONFIRMED = 1;public static final int UNCONFIRMED_BUT_PLAUSIBLE_VALUE
This component could not be confirmed, but it is plausible that it exists. For example, a street number within a known valid range of numbers on a street where specific house numbers are not known.
UNCONFIRMED_BUT_PLAUSIBLE = 2;public static final int UNCONFIRMED_AND_SUSPICIOUS_VALUE
This component was not confirmed and is likely to be wrong. For example, a neighborhood that does not fit the rest of the address.
UNCONFIRMED_AND_SUSPICIOUS = 3;public static AddressComponent.ConfirmationLevel[] values()
for (AddressComponent.ConfirmationLevel c : AddressComponent.ConfirmationLevel.values()) System.out.println(c);
public static AddressComponent.ConfirmationLevel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static AddressComponent.ConfirmationLevel valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static AddressComponent.ConfirmationLevel forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<AddressComponent.ConfirmationLevel> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static AddressComponent.ConfirmationLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.