Enum FileClusterType.Cluster

java.lang.Object
java.lang.Enum<FileClusterType.Cluster>
com.google.privacy.dlp.v2.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 Details

    • CLUSTER_UNSPECIFIED

      public static final FileClusterType.Cluster CLUSTER_UNSPECIFIED
       Unused.
       
      CLUSTER_UNSPECIFIED = 0;
    • CLUSTER_UNKNOWN

      public static final FileClusterType.Cluster CLUSTER_UNKNOWN
       Unsupported files.
       
      CLUSTER_UNKNOWN = 1;
    • CLUSTER_TEXT

      public static final FileClusterType.Cluster CLUSTER_TEXT
       Plain text.
       
      CLUSTER_TEXT = 2;
    • CLUSTER_STRUCTURED_DATA

      public static final FileClusterType.Cluster CLUSTER_STRUCTURED_DATA
       Structured data like CSV, TSV etc.
       
      CLUSTER_STRUCTURED_DATA = 3;
    • CLUSTER_SOURCE_CODE

      public static final FileClusterType.Cluster CLUSTER_SOURCE_CODE
       Source code.
       
      CLUSTER_SOURCE_CODE = 4;
    • CLUSTER_RICH_DOCUMENT

      public static final FileClusterType.Cluster CLUSTER_RICH_DOCUMENT
       Rich document like docx, xlsx etc.
       
      CLUSTER_RICH_DOCUMENT = 5;
    • CLUSTER_IMAGE

      public static final FileClusterType.Cluster CLUSTER_IMAGE
       Images like jpeg, bmp.
       
      CLUSTER_IMAGE = 6;
    • CLUSTER_ARCHIVE

      public static final FileClusterType.Cluster CLUSTER_ARCHIVE
       Archives and containers like .zip, .tar etc.
       
      CLUSTER_ARCHIVE = 7;
    • CLUSTER_MULTIMEDIA

      public static final FileClusterType.Cluster CLUSTER_MULTIMEDIA
       Multimedia like .mp4, .avi etc.
       
      CLUSTER_MULTIMEDIA = 8;
    • CLUSTER_EXECUTABLE

      public static final FileClusterType.Cluster CLUSTER_EXECUTABLE
       Executable files like .exe, .class, .apk etc.
       
      CLUSTER_EXECUTABLE = 9;
    • CLUSTER_AI_MODEL

      public static final FileClusterType.Cluster CLUSTER_AI_MODEL
       AI models like .tflite etc.
       
      CLUSTER_AI_MODEL = 10;
    • UNRECOGNIZED

      public static final FileClusterType.Cluster UNRECOGNIZED
  • Field Details

    • CLUSTER_UNSPECIFIED_VALUE

      public static final int CLUSTER_UNSPECIFIED_VALUE
       Unused.
       
      CLUSTER_UNSPECIFIED = 0;
      See Also:
    • CLUSTER_UNKNOWN_VALUE

      public static final int CLUSTER_UNKNOWN_VALUE
       Unsupported files.
       
      CLUSTER_UNKNOWN = 1;
      See Also:
    • CLUSTER_TEXT_VALUE

      public static final int CLUSTER_TEXT_VALUE
       Plain text.
       
      CLUSTER_TEXT = 2;
      See Also:
    • CLUSTER_STRUCTURED_DATA_VALUE

      public static final int CLUSTER_STRUCTURED_DATA_VALUE
       Structured data like CSV, TSV etc.
       
      CLUSTER_STRUCTURED_DATA = 3;
      See Also:
    • CLUSTER_SOURCE_CODE_VALUE

      public static final int CLUSTER_SOURCE_CODE_VALUE
       Source code.
       
      CLUSTER_SOURCE_CODE = 4;
      See Also:
    • CLUSTER_RICH_DOCUMENT_VALUE

      public static final int CLUSTER_RICH_DOCUMENT_VALUE
       Rich document like docx, xlsx etc.
       
      CLUSTER_RICH_DOCUMENT = 5;
      See Also:
    • CLUSTER_IMAGE_VALUE

      public static final int CLUSTER_IMAGE_VALUE
       Images like jpeg, bmp.
       
      CLUSTER_IMAGE = 6;
      See Also:
    • CLUSTER_ARCHIVE_VALUE

      public static final int CLUSTER_ARCHIVE_VALUE
       Archives and containers like .zip, .tar etc.
       
      CLUSTER_ARCHIVE = 7;
      See Also:
    • CLUSTER_MULTIMEDIA_VALUE

      public static final int CLUSTER_MULTIMEDIA_VALUE
       Multimedia like .mp4, .avi etc.
       
      CLUSTER_MULTIMEDIA = 8;
      See Also:
    • CLUSTER_EXECUTABLE_VALUE

      public static final int CLUSTER_EXECUTABLE_VALUE
       Executable files like .exe, .class, .apk etc.
       
      CLUSTER_EXECUTABLE = 9;
      See Also:
    • CLUSTER_AI_MODEL_VALUE

      public static final int CLUSTER_AI_MODEL_VALUE
       AI models like .tflite etc.
       
      CLUSTER_AI_MODEL = 10;
      See Also:
  • Method Details

    • values

      public static FileClusterType.Cluster[] 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

      public static FileClusterType.Cluster valueOf(String name)
      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.google.protobuf.ProtocolMessageEnum
    • valueOf

      @Deprecated public static FileClusterType.Cluster valueOf(int value)
      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 name
      NullPointerException - if the argument is null
    • forNumber

      public static FileClusterType.Cluster forNumber(int value)
      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:
      getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.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 name
      NullPointerException - if the argument is null