Package com.google.privacy.dlp.v2
Enum TransformationContainerType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<TransformationContainerType>
@Generated
public enum TransformationContainerType
extends Enum<TransformationContainerType>
implements com.google.protobuf.ProtocolMessageEnum
Describes functionality of a given container in its original format.Protobuf enum
google.privacy.dlp.v2.TransformationContainerType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBody of a file.Metadata for a file.A table.Unused. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBody of a file.static final intMetadata for a file.static final intA table.static final intUnused. -
Method Summary
Modifier and TypeMethodDescriptionstatic TransformationContainerTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<TransformationContainerType>static TransformationContainerTypevalueOf(int value) Deprecated.static TransformationContainerTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static TransformationContainerTypeReturns the enum constant of this type with the specified name.static TransformationContainerType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
TRANSFORM_UNKNOWN_CONTAINER
Unused.
TRANSFORM_UNKNOWN_CONTAINER = 0; -
TRANSFORM_BODY
Body of a file.
TRANSFORM_BODY = 1; -
TRANSFORM_METADATA
Metadata for a file.
TRANSFORM_METADATA = 2; -
TRANSFORM_TABLE
A table.
TRANSFORM_TABLE = 3; -
UNRECOGNIZED
-
-
Field Details
-
TRANSFORM_UNKNOWN_CONTAINER_VALUE
public static final int TRANSFORM_UNKNOWN_CONTAINER_VALUEUnused.
TRANSFORM_UNKNOWN_CONTAINER = 0;- See Also:
-
TRANSFORM_BODY_VALUE
public static final int TRANSFORM_BODY_VALUEBody of a file.
TRANSFORM_BODY = 1;- See Also:
-
TRANSFORM_METADATA_VALUE
public static final int TRANSFORM_METADATA_VALUEMetadata for a file.
TRANSFORM_METADATA = 2;- See Also:
-
TRANSFORM_TABLE_VALUE
public static final int TRANSFORM_TABLE_VALUEA table.
TRANSFORM_TABLE = 3;- 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<TransformationContainerType> 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 TransformationContainerType 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
-