Enum ByteContentItem.BytesType

java.lang.Object
java.lang.Enum<ByteContentItem.BytesType>
com.google.privacy.dlp.v2.ByteContentItem.BytesType
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<ByteContentItem.BytesType>
Enclosing class:
ByteContentItem

public static enum ByteContentItem.BytesType extends Enum<ByteContentItem.BytesType> implements com.google.protobuf.ProtocolMessageEnum
 The type of data being sent for inspection. To learn more, see
 [Supported file
 types](https://cloud.google.com/sensitive-data-protection/docs/supported-file-types).

 Only the first frame of each multiframe image is inspected. Metadata and
 other frames aren't inspected.
 
Protobuf enum google.privacy.dlp.v2.ByteContentItem.BytesType
  • Enum Constant Details

  • Field Details

    • BYTES_TYPE_UNSPECIFIED_VALUE

      public static final int BYTES_TYPE_UNSPECIFIED_VALUE
       Unused
       
      BYTES_TYPE_UNSPECIFIED = 0;
      See Also:
    • IMAGE_VALUE

      public static final int IMAGE_VALUE
       Any image type.
       
      IMAGE = 6;
      See Also:
    • IMAGE_JPEG_VALUE

      public static final int IMAGE_JPEG_VALUE
       jpeg
       
      IMAGE_JPEG = 1;
      See Also:
    • IMAGE_BMP_VALUE

      public static final int IMAGE_BMP_VALUE
       bmp
       
      IMAGE_BMP = 2;
      See Also:
    • IMAGE_PNG_VALUE

      public static final int IMAGE_PNG_VALUE
       png
       
      IMAGE_PNG = 3;
      See Also:
    • IMAGE_SVG_VALUE

      public static final int IMAGE_SVG_VALUE
       svg
       
      IMAGE_SVG = 4;
      See Also:
    • TEXT_UTF8_VALUE

      public static final int TEXT_UTF8_VALUE
       plain text
       
      TEXT_UTF8 = 5;
      See Also:
    • WORD_DOCUMENT_VALUE

      public static final int WORD_DOCUMENT_VALUE
       docx, docm, dotx, dotm
       
      WORD_DOCUMENT = 7;
      See Also:
    • PDF_VALUE

      public static final int PDF_VALUE
       pdf
       
      PDF = 8;
      See Also:
    • POWERPOINT_DOCUMENT_VALUE

      public static final int POWERPOINT_DOCUMENT_VALUE
       pptx, pptm, potx, potm, pot
       
      POWERPOINT_DOCUMENT = 9;
      See Also:
    • EXCEL_DOCUMENT_VALUE

      public static final int EXCEL_DOCUMENT_VALUE
       xlsx, xlsm, xltx, xltm
       
      EXCEL_DOCUMENT = 10;
      See Also:
    • AVRO_VALUE

      public static final int AVRO_VALUE
       avro
       
      AVRO = 11;
      See Also:
    • CSV_VALUE

      public static final int CSV_VALUE
       csv
       
      CSV = 12;
      See Also:
    • TSV_VALUE

      public static final int TSV_VALUE
       tsv
       
      TSV = 13;
      See Also:
    • AUDIO_VALUE

      public static final int AUDIO_VALUE
       Audio file types. Only used for profiling.
       
      AUDIO = 15;
      See Also:
    • VIDEO_VALUE

      public static final int VIDEO_VALUE
       Video file types. Only used for profiling.
       
      VIDEO = 16;
      See Also:
    • EXECUTABLE_VALUE

      public static final int EXECUTABLE_VALUE
       Executable file types. Only used for profiling.
       
      EXECUTABLE = 17;
      See Also:
    • AI_MODEL_VALUE

      public static final int AI_MODEL_VALUE
       AI model file types. Only used for profiling.
       
      AI_MODEL = 18;
      See Also:
  • Method Details

    • values

      public static ByteContentItem.BytesType[] 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 ByteContentItem.BytesType 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 ByteContentItem.BytesType 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 ByteContentItem.BytesType 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<ByteContentItem.BytesType> 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 ByteContentItem.BytesType 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