Package com.google.privacy.dlp.v2
Enum TransformationResultStatusType
java.lang.Object
java.lang.Enum<TransformationResultStatusType>
com.google.privacy.dlp.v2.TransformationResultStatusType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TransformationResultStatusType>
@Generated
public enum TransformationResultStatusType
extends Enum<TransformationResultStatusType>
implements com.google.protobuf.ProtocolMessageEnum
Enum of possible outcomes of transformations. SUCCESS if transformation and storing of transformation was successful, otherwise, reason for not transforming.Protobuf enum
google.privacy.dlp.v2.TransformationResultStatusType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionThis will be set when a BigQuery transformation was successful but could not be stored back in BigQuery because the transformed row exceeds BigQuery's max row size.This will be set when a finding could not be transformed (i.e. outside user set bucket range).This will be set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key / value pair is unretrievable.Unused.This will be set when the transformation and storing of it is successful. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intThis will be set when a BigQuery transformation was successful but could not be stored back in BigQuery because the transformed row exceeds BigQuery's max row size.static final intThis will be set when a finding could not be transformed (i.e. outside user set bucket range).static final intThis will be set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key / value pair is unretrievable.static final intUnused.static final intThis will be set when the transformation and storing of it is successful. -
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<TransformationResultStatusType>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.static TransformationResultStatusType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
STATE_TYPE_UNSPECIFIED
Unused.
STATE_TYPE_UNSPECIFIED = 0; -
INVALID_TRANSFORM
This will be set when a finding could not be transformed (i.e. outside user set bucket range).
INVALID_TRANSFORM = 1; -
BIGQUERY_MAX_ROW_SIZE_EXCEEDED
This will be set when a BigQuery transformation was successful but could not be stored back in BigQuery because the transformed row exceeds BigQuery's max row size.
BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2; -
METADATA_UNRETRIEVABLE
This will be set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key / value pair is unretrievable.
METADATA_UNRETRIEVABLE = 3; -
SUCCESS
This will be set when the transformation and storing of it is successful.
SUCCESS = 4; -
UNRECOGNIZED
-
-
Field Details
-
STATE_TYPE_UNSPECIFIED_VALUE
public static final int STATE_TYPE_UNSPECIFIED_VALUEUnused.
STATE_TYPE_UNSPECIFIED = 0;- See Also:
-
INVALID_TRANSFORM_VALUE
public static final int INVALID_TRANSFORM_VALUEThis will be set when a finding could not be transformed (i.e. outside user set bucket range).
INVALID_TRANSFORM = 1;- See Also:
-
BIGQUERY_MAX_ROW_SIZE_EXCEEDED_VALUE
public static final int BIGQUERY_MAX_ROW_SIZE_EXCEEDED_VALUEThis will be set when a BigQuery transformation was successful but could not be stored back in BigQuery because the transformed row exceeds BigQuery's max row size.
BIGQUERY_MAX_ROW_SIZE_EXCEEDED = 2;- See Also:
-
METADATA_UNRETRIEVABLE_VALUE
public static final int METADATA_UNRETRIEVABLE_VALUEThis will be set when there is a finding in the custom metadata of a file, but at the write time of the transformed file, this key / value pair is unretrievable.
METADATA_UNRETRIEVABLE = 3;- See Also:
-
SUCCESS_VALUE
public static final int SUCCESS_VALUEThis will be set when the transformation and storing of it is successful.
SUCCESS = 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
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.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
- 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<TransformationResultStatusType> 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 TransformationResultStatusType 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
-