public static enum TransformationSummary.TransformationResultCode extends Enum<TransformationSummary.TransformationResultCode> implements com.google.protobuf.ProtocolMessageEnum
Possible outcomes of transformations.Protobuf enum
google.privacy.dlp.v2.TransformationSummary.TransformationResultCode| Enum Constant and Description |
|---|
ERROR
Transformation had an error.
|
SUCCESS
Transformation completed without an error.
|
TRANSFORMATION_RESULT_CODE_UNSPECIFIED
Unused
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
Transformation had an error.
|
static int |
SUCCESS_VALUE
Transformation completed without an error.
|
static int |
TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE
Unused
|
| Modifier and Type | Method and Description |
|---|---|
static TransformationSummary.TransformationResultCode |
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<TransformationSummary.TransformationResultCode> |
internalGetValueMap() |
static TransformationSummary.TransformationResultCode |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static TransformationSummary.TransformationResultCode |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static TransformationSummary.TransformationResultCode |
valueOf(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
Unused
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0;public static final TransformationSummary.TransformationResultCode SUCCESS
Transformation completed without an error.
SUCCESS = 1;public static final TransformationSummary.TransformationResultCode ERROR
Transformation had an error.
ERROR = 2;public static final TransformationSummary.TransformationResultCode UNRECOGNIZED
public static final int TRANSFORMATION_RESULT_CODE_UNSPECIFIED_VALUE
Unused
TRANSFORMATION_RESULT_CODE_UNSPECIFIED = 0;public static final int SUCCESS_VALUE
Transformation completed without an error.
SUCCESS = 1;public static final int ERROR_VALUE
Transformation had an error.
ERROR = 2;public static TransformationSummary.TransformationResultCode[] values()
for (TransformationSummary.TransformationResultCode c : TransformationSummary.TransformationResultCode.values()) System.out.println(c);
public static TransformationSummary.TransformationResultCode 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 TransformationSummary.TransformationResultCode valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static TransformationSummary.TransformationResultCode forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<TransformationSummary.TransformationResultCode> 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 TransformationSummary.TransformationResultCode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.