Package com.google.cloud.documentai.v1
Enum Document.EntityValidationOutput.ValidationResult.ValidationResultType
java.lang.Object
java.lang.Enum<Document.EntityValidationOutput.ValidationResult.ValidationResultType>
com.google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult.ValidationResultType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Document.EntityValidationOutput.ValidationResult.ValidationResultType>
- Enclosing class:
- Document.EntityValidationOutput.ValidationResult
public static enum Document.EntityValidationOutput.ValidationResult.ValidationResultType
extends Enum<Document.EntityValidationOutput.ValidationResult.ValidationResultType>
implements com.google.protobuf.ProtocolMessageEnum
The result of the validation rule.Protobuf enum
google.cloud.documentai.v1.Document.EntityValidationOutput.ValidationResult.ValidationResultType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThe validation is invalid.The validation is not applicable.The validation is skipped.The validation result type is unspecified.The validation is valid. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThe validation is invalid.static final intThe validation is not applicable.static final intThe validation is skipped.static final intThe validation result type is unspecified.static final intThe validation is valid. -
Method Summary
Modifier and TypeMethodDescriptionforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Document.EntityValidationOutput.ValidationResult.ValidationResultType>valueOf(int value) Deprecated.valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.Returns the enum constant of this type with the specified name.values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
VALIDATION_RESULT_TYPE_UNSPECIFIED
public static final Document.EntityValidationOutput.ValidationResult.ValidationResultType VALIDATION_RESULT_TYPE_UNSPECIFIEDThe validation result type is unspecified.
VALIDATION_RESULT_TYPE_UNSPECIFIED = 0; -
VALIDATION_RESULT_TYPE_VALID
public static final Document.EntityValidationOutput.ValidationResult.ValidationResultType VALIDATION_RESULT_TYPE_VALIDThe validation is valid.
VALIDATION_RESULT_TYPE_VALID = 1; -
VALIDATION_RESULT_TYPE_INVALID
public static final Document.EntityValidationOutput.ValidationResult.ValidationResultType VALIDATION_RESULT_TYPE_INVALIDThe validation is invalid.
VALIDATION_RESULT_TYPE_INVALID = 2; -
VALIDATION_RESULT_TYPE_SKIPPED
public static final Document.EntityValidationOutput.ValidationResult.ValidationResultType VALIDATION_RESULT_TYPE_SKIPPEDThe validation is skipped.
VALIDATION_RESULT_TYPE_SKIPPED = 3; -
VALIDATION_RESULT_TYPE_NOT_APPLICABLE
public static final Document.EntityValidationOutput.ValidationResult.ValidationResultType VALIDATION_RESULT_TYPE_NOT_APPLICABLEThe validation is not applicable.
VALIDATION_RESULT_TYPE_NOT_APPLICABLE = 4; -
UNRECOGNIZED
public static final Document.EntityValidationOutput.ValidationResult.ValidationResultType UNRECOGNIZED
-
-
Field Details
-
VALIDATION_RESULT_TYPE_UNSPECIFIED_VALUE
public static final int VALIDATION_RESULT_TYPE_UNSPECIFIED_VALUEThe validation result type is unspecified.
VALIDATION_RESULT_TYPE_UNSPECIFIED = 0;- See Also:
-
VALIDATION_RESULT_TYPE_VALID_VALUE
public static final int VALIDATION_RESULT_TYPE_VALID_VALUEThe validation is valid.
VALIDATION_RESULT_TYPE_VALID = 1;- See Also:
-
VALIDATION_RESULT_TYPE_INVALID_VALUE
public static final int VALIDATION_RESULT_TYPE_INVALID_VALUEThe validation is invalid.
VALIDATION_RESULT_TYPE_INVALID = 2;- See Also:
-
VALIDATION_RESULT_TYPE_SKIPPED_VALUE
public static final int VALIDATION_RESULT_TYPE_SKIPPED_VALUEThe validation is skipped.
VALIDATION_RESULT_TYPE_SKIPPED = 3;- See Also:
-
VALIDATION_RESULT_TYPE_NOT_APPLICABLE_VALUE
public static final int VALIDATION_RESULT_TYPE_NOT_APPLICABLE_VALUEThe validation is not applicable.
VALIDATION_RESULT_TYPE_NOT_APPLICABLE = 4;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Document.EntityValidationOutput.ValidationResult.ValidationResultType 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 Document.EntityValidationOutput.ValidationResult.ValidationResultType 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 Document.EntityValidationOutput.ValidationResult.ValidationResultType 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<Document.EntityValidationOutput.ValidationResult.ValidationResultType> 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 com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static Document.EntityValidationOutput.ValidationResult.ValidationResultType 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
-