Enum AddressComponent.ConfirmationLevel
- java.lang.Object
-
- java.lang.Enum<AddressComponent.ConfirmationLevel>
-
- com.google.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<AddressComponent.ConfirmationLevel>
- Enclosing class:
- AddressComponent
public static enum AddressComponent.ConfirmationLevel extends Enum<AddressComponent.ConfirmationLevel> implements com.google.protobuf.ProtocolMessageEnum
The different possible values for confirmation levels.
Protobuf enumgoogle.maps.addressvalidation.v1.AddressComponent.ConfirmationLevel
-
-
Enum Constant Summary
Enum Constants Enum Constant 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
-
Field Summary
Fields Modifier and Type Field 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.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method 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(int value)
Deprecated.static AddressComponent.ConfirmationLevel
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.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.
-
-
-
Enum Constant Detail
-
CONFIRMATION_LEVEL_UNSPECIFIED
public static final AddressComponent.ConfirmationLevel CONFIRMATION_LEVEL_UNSPECIFIED
Default value. This value is unused.
CONFIRMATION_LEVEL_UNSPECIFIED = 0;
-
CONFIRMED
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;
-
UNCONFIRMED_BUT_PLAUSIBLE
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;
-
UNCONFIRMED_AND_SUSPICIOUS
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;
-
UNRECOGNIZED
public static final AddressComponent.ConfirmationLevel UNRECOGNIZED
-
-
Field Detail
-
CONFIRMATION_LEVEL_UNSPECIFIED_VALUE
public static final int CONFIRMATION_LEVEL_UNSPECIFIED_VALUE
Default value. This value is unused.
CONFIRMATION_LEVEL_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
CONFIRMED_VALUE
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;
- See Also:
- Constant Field Values
-
UNCONFIRMED_BUT_PLAUSIBLE_VALUE
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;
- See Also:
- Constant Field Values
-
UNCONFIRMED_AND_SUSPICIOUS_VALUE
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;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AddressComponent.ConfirmationLevel[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (AddressComponent.ConfirmationLevel c : AddressComponent.ConfirmationLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AddressComponent.ConfirmationLevel valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AddressComponent.ConfirmationLevel valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static AddressComponent.ConfirmationLevel forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AddressComponent.ConfirmationLevel> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AddressComponent.ConfirmationLevel valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-