Package com.google.privacy.dlp.v2
Enum FileClusterType.Cluster
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<FileClusterType.Cluster>
- Enclosing class:
- FileClusterType
public static enum FileClusterType.Cluster
extends Enum<FileClusterType.Cluster>
implements com.google.protobuf.ProtocolMessageEnum
Cluster type. Each cluster corresponds to a set of file types. Over time, new types may be added and files may move between clusters.Protobuf enum
google.privacy.dlp.v2.FileClusterType.Cluster-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionAI models like .tflite etc.Archives and containers like .zip, .tar etc.Executable files like .exe, .class, .apk etc.Images like jpeg, bmp.Multimedia like .mp4, .avi etc.Rich document like docx, xlsx etc.Source code.Structured data like CSV, TSV etc.Plain text.Unsupported files.Unused. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAI models like .tflite etc.static final intArchives and containers like .zip, .tar etc.static final intExecutable files like .exe, .class, .apk etc.static final intImages like jpeg, bmp.static final intMultimedia like .mp4, .avi etc.static final intRich document like docx, xlsx etc.static final intSource code.static final intStructured data like CSV, TSV etc.static final intPlain text.static final intUnsupported files.static final intUnused. -
Method Summary
Modifier and TypeMethodDescriptionstatic FileClusterType.ClusterforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<FileClusterType.Cluster>static FileClusterType.ClustervalueOf(int value) Deprecated.static FileClusterType.ClustervalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static FileClusterType.ClusterReturns the enum constant of this type with the specified name.static FileClusterType.Cluster[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
CLUSTER_UNSPECIFIED
Unused.
CLUSTER_UNSPECIFIED = 0; -
CLUSTER_UNKNOWN
Unsupported files.
CLUSTER_UNKNOWN = 1; -
CLUSTER_TEXT
Plain text.
CLUSTER_TEXT = 2; -
CLUSTER_STRUCTURED_DATA
Structured data like CSV, TSV etc.
CLUSTER_STRUCTURED_DATA = 3; -
CLUSTER_SOURCE_CODE
Source code.
CLUSTER_SOURCE_CODE = 4; -
CLUSTER_RICH_DOCUMENT
Rich document like docx, xlsx etc.
CLUSTER_RICH_DOCUMENT = 5; -
CLUSTER_IMAGE
Images like jpeg, bmp.
CLUSTER_IMAGE = 6; -
CLUSTER_ARCHIVE
Archives and containers like .zip, .tar etc.
CLUSTER_ARCHIVE = 7; -
CLUSTER_MULTIMEDIA
Multimedia like .mp4, .avi etc.
CLUSTER_MULTIMEDIA = 8; -
CLUSTER_EXECUTABLE
Executable files like .exe, .class, .apk etc.
CLUSTER_EXECUTABLE = 9; -
CLUSTER_AI_MODEL
AI models like .tflite etc.
CLUSTER_AI_MODEL = 10; -
UNRECOGNIZED
-
-
Field Details
-
CLUSTER_UNSPECIFIED_VALUE
public static final int CLUSTER_UNSPECIFIED_VALUEUnused.
CLUSTER_UNSPECIFIED = 0;- See Also:
-
CLUSTER_UNKNOWN_VALUE
public static final int CLUSTER_UNKNOWN_VALUEUnsupported files.
CLUSTER_UNKNOWN = 1;- See Also:
-
CLUSTER_TEXT_VALUE
public static final int CLUSTER_TEXT_VALUEPlain text.
CLUSTER_TEXT = 2;- See Also:
-
CLUSTER_STRUCTURED_DATA_VALUE
public static final int CLUSTER_STRUCTURED_DATA_VALUEStructured data like CSV, TSV etc.
CLUSTER_STRUCTURED_DATA = 3;- See Also:
-
CLUSTER_SOURCE_CODE_VALUE
public static final int CLUSTER_SOURCE_CODE_VALUESource code.
CLUSTER_SOURCE_CODE = 4;- See Also:
-
CLUSTER_RICH_DOCUMENT_VALUE
public static final int CLUSTER_RICH_DOCUMENT_VALUERich document like docx, xlsx etc.
CLUSTER_RICH_DOCUMENT = 5;- See Also:
-
CLUSTER_IMAGE_VALUE
public static final int CLUSTER_IMAGE_VALUEImages like jpeg, bmp.
CLUSTER_IMAGE = 6;- See Also:
-
CLUSTER_ARCHIVE_VALUE
public static final int CLUSTER_ARCHIVE_VALUEArchives and containers like .zip, .tar etc.
CLUSTER_ARCHIVE = 7;- See Also:
-
CLUSTER_MULTIMEDIA_VALUE
public static final int CLUSTER_MULTIMEDIA_VALUEMultimedia like .mp4, .avi etc.
CLUSTER_MULTIMEDIA = 8;- See Also:
-
CLUSTER_EXECUTABLE_VALUE
public static final int CLUSTER_EXECUTABLE_VALUEExecutable files like .exe, .class, .apk etc.
CLUSTER_EXECUTABLE = 9;- See Also:
-
CLUSTER_AI_MODEL_VALUE
public static final int CLUSTER_AI_MODEL_VALUEAI models like .tflite etc.
CLUSTER_AI_MODEL = 10;- 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<FileClusterType.Cluster> 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 FileClusterType.Cluster 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
-