Enum ProvideValidationFeedbackRequest.ValidationConclusion
- java.lang.Object
-
- java.lang.Enum<ProvideValidationFeedbackRequest.ValidationConclusion>
-
- com.google.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<ProvideValidationFeedbackRequest.ValidationConclusion>
- Enclosing class:
- ProvideValidationFeedbackRequest
public static enum ProvideValidationFeedbackRequest.ValidationConclusion extends Enum<ProvideValidationFeedbackRequest.ValidationConclusion> implements com.google.protobuf.ProtocolMessageEnum
The possible final outcomes of the sequence of address validation requests needed to validate an address.
Protobuf enumgoogle.maps.addressvalidation.v1.ProvideValidationFeedbackRequest.ValidationConclusion
-
-
Enum Constant Summary
Enum Constants Enum Constant Description UNRECOGNIZEDUNUSEDThe transaction was abandoned and the address was not used.UNVALIDATED_VERSION_USEDA version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.USER_VERSION_USEDThe version of the address provided by the user was used for the transactionVALIDATED_VERSION_USEDThe version of the address returned by the Address Validation API was used for the transaction.VALIDATION_CONCLUSION_UNSPECIFIEDThis value is unused.
-
Field Summary
Fields Modifier and Type Field Description static intUNUSED_VALUEThe transaction was abandoned and the address was not used.static intUNVALIDATED_VERSION_USED_VALUEA version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.static intUSER_VERSION_USED_VALUEThe version of the address provided by the user was used for the transactionstatic intVALIDATED_VERSION_USED_VALUEThe version of the address returned by the Address Validation API was used for the transaction.static intVALIDATION_CONCLUSION_UNSPECIFIED_VALUEThis value is unused.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ProvideValidationFeedbackRequest.ValidationConclusionforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ProvideValidationFeedbackRequest.ValidationConclusion>internalGetValueMap()static ProvideValidationFeedbackRequest.ValidationConclusionvalueOf(int value)Deprecated.static ProvideValidationFeedbackRequest.ValidationConclusionvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ProvideValidationFeedbackRequest.ValidationConclusionvalueOf(String name)Returns the enum constant of this type with the specified name.static ProvideValidationFeedbackRequest.ValidationConclusion[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
VALIDATION_CONCLUSION_UNSPECIFIED
public static final ProvideValidationFeedbackRequest.ValidationConclusion VALIDATION_CONCLUSION_UNSPECIFIED
This value is unused. If the `ProvideValidationFeedbackRequest.conclusion` field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
VALIDATION_CONCLUSION_UNSPECIFIED = 0;
-
VALIDATED_VERSION_USED
public static final ProvideValidationFeedbackRequest.ValidationConclusion VALIDATED_VERSION_USED
The version of the address returned by the Address Validation API was used for the transaction.
VALIDATED_VERSION_USED = 1;
-
USER_VERSION_USED
public static final ProvideValidationFeedbackRequest.ValidationConclusion USER_VERSION_USED
The version of the address provided by the user was used for the transaction
USER_VERSION_USED = 2;
-
UNVALIDATED_VERSION_USED
public static final ProvideValidationFeedbackRequest.ValidationConclusion UNVALIDATED_VERSION_USED
A version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.
UNVALIDATED_VERSION_USED = 3;
-
UNUSED
public static final ProvideValidationFeedbackRequest.ValidationConclusion UNUSED
The transaction was abandoned and the address was not used.
UNUSED = 4;
-
UNRECOGNIZED
public static final ProvideValidationFeedbackRequest.ValidationConclusion UNRECOGNIZED
-
-
Field Detail
-
VALIDATION_CONCLUSION_UNSPECIFIED_VALUE
public static final int VALIDATION_CONCLUSION_UNSPECIFIED_VALUE
This value is unused. If the `ProvideValidationFeedbackRequest.conclusion` field is set to `VALIDATION_CONCLUSION_UNSPECIFIED`, an `INVALID_ARGUMENT` error will be returned.
VALIDATION_CONCLUSION_UNSPECIFIED = 0;- See Also:
- Constant Field Values
-
VALIDATED_VERSION_USED_VALUE
public static final int VALIDATED_VERSION_USED_VALUE
The version of the address returned by the Address Validation API was used for the transaction.
VALIDATED_VERSION_USED = 1;- See Also:
- Constant Field Values
-
USER_VERSION_USED_VALUE
public static final int USER_VERSION_USED_VALUE
The version of the address provided by the user was used for the transaction
USER_VERSION_USED = 2;- See Also:
- Constant Field Values
-
UNVALIDATED_VERSION_USED_VALUE
public static final int UNVALIDATED_VERSION_USED_VALUE
A version of the address that was entered after the last validation attempt but that was not re-validated was used for the transaction.
UNVALIDATED_VERSION_USED = 3;- See Also:
- Constant Field Values
-
UNUSED_VALUE
public static final int UNUSED_VALUE
The transaction was abandoned and the address was not used.
UNUSED = 4;- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ProvideValidationFeedbackRequest.ValidationConclusion[] 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 (ProvideValidationFeedbackRequest.ValidationConclusion c : ProvideValidationFeedbackRequest.ValidationConclusion.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ProvideValidationFeedbackRequest.ValidationConclusion 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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ProvideValidationFeedbackRequest.ValidationConclusion 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 ProvideValidationFeedbackRequest.ValidationConclusion 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<ProvideValidationFeedbackRequest.ValidationConclusion> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ProvideValidationFeedbackRequest.ValidationConclusion 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
-
-