public static enum TransformationSummary.TransformationResultCode extends java.lang.Enum<TransformationSummary.TransformationResultCode> implements ProtocolMessageEnum
Possible outcomes of transformations.Protobuf enum
google.privacy.dlp.v2.TransformationSummary.TransformationResultCode
Enum Constant and Description |
---|
ERROR
ERROR = 2; |
SUCCESS
SUCCESS = 1; |
TRANSFORMATION_RESULT_CODE_UNSPECIFIED
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0; |
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
ERROR_VALUE
ERROR = 2; |
static int |
SUCCESS_VALUE
SUCCESS = 1; |
static int |
TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0; |
Modifier and Type | Method and Description |
---|---|
static TransformationSummary.TransformationResultCode |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<TransformationSummary.TransformationResultCode> |
internalGetValueMap() |
static TransformationSummary.TransformationResultCode |
valueOf(Descriptors.EnumValueDescriptor desc) |
static TransformationSummary.TransformationResultCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransformationSummary.TransformationResultCode |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static TransformationSummary.TransformationResultCode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TransformationSummary.TransformationResultCode TRANSFORMATION_RESULT_CODE_UNSPECIFIED
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0;
public static final TransformationSummary.TransformationResultCode SUCCESS
SUCCESS = 1;
public static final TransformationSummary.TransformationResultCode ERROR
ERROR = 2;
public static final TransformationSummary.TransformationResultCode UNRECOGNIZED
public static final int TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0;
public static final int SUCCESS_VALUE
SUCCESS = 1;
public static final int ERROR_VALUE
ERROR = 2;
public static TransformationSummary.TransformationResultCode[] values()
for (TransformationSummary.TransformationResultCode c : TransformationSummary.TransformationResultCode.values()) System.out.println(c);
public static TransformationSummary.TransformationResultCode valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static TransformationSummary.TransformationResultCode valueOf(int value)
forNumber(int)
instead.public static TransformationSummary.TransformationResultCode forNumber(int value)
public static Internal.EnumLiteMap<TransformationSummary.TransformationResultCode> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static TransformationSummary.TransformationResultCode valueOf(Descriptors.EnumValueDescriptor desc)