Package com.google.privacy.dlp.v2
Enum 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 Summary
Enum ConstantsEnum ConstantDescriptionAI model file types.Audio file types.avroUnusedcsvxlsx, xlsm, xltx, xltmExecutable file types.Any image type.bmpjpegpngsvgpdfpptx, pptm, potx, potm, potplain texttsvVideo file types.docx, docm, dotx, dotm -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intAI model file types.static final intAudio file types.static final intavrostatic final intUnusedstatic final intcsvstatic final intxlsx, xlsm, xltx, xltmstatic final intExecutable file types.static final intbmpstatic final intjpegstatic final intpngstatic final intsvgstatic final intAny image type.static final intpdfstatic final intpptx, pptm, potx, potm, potstatic final intplain textstatic final inttsvstatic final intVideo file types.static final intdocx, docm, dotx, dotm -
Method Summary
Modifier and TypeMethodDescriptionstatic ByteContentItem.BytesTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<ByteContentItem.BytesType>static ByteContentItem.BytesTypevalueOf(int value) Deprecated.static ByteContentItem.BytesTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static ByteContentItem.BytesTypeReturns the enum constant of this type with the specified name.static ByteContentItem.BytesType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
BYTES_TYPE_UNSPECIFIED
Unused
BYTES_TYPE_UNSPECIFIED = 0; -
IMAGE
Any image type.
IMAGE = 6; -
IMAGE_JPEG
jpeg
IMAGE_JPEG = 1; -
IMAGE_BMP
bmp
IMAGE_BMP = 2; -
IMAGE_PNG
png
IMAGE_PNG = 3; -
IMAGE_SVG
svg
IMAGE_SVG = 4; -
TEXT_UTF8
plain text
TEXT_UTF8 = 5; -
WORD_DOCUMENT
docx, docm, dotx, dotm
WORD_DOCUMENT = 7; -
PDF
pdf
PDF = 8; -
POWERPOINT_DOCUMENT
pptx, pptm, potx, potm, pot
POWERPOINT_DOCUMENT = 9; -
EXCEL_DOCUMENT
xlsx, xlsm, xltx, xltm
EXCEL_DOCUMENT = 10; -
AVRO
avro
AVRO = 11; -
CSV
csv
CSV = 12; -
TSV
tsv
TSV = 13; -
AUDIO
Audio file types. Only used for profiling.
AUDIO = 15; -
VIDEO
Video file types. Only used for profiling.
VIDEO = 16; -
EXECUTABLE
Executable file types. Only used for profiling.
EXECUTABLE = 17; -
AI_MODEL
AI model file types. Only used for profiling.
AI_MODEL = 18; -
UNRECOGNIZED
-
-
Field Details
-
BYTES_TYPE_UNSPECIFIED_VALUE
public static final int BYTES_TYPE_UNSPECIFIED_VALUEUnused
BYTES_TYPE_UNSPECIFIED = 0;- See Also:
-
IMAGE_VALUE
public static final int IMAGE_VALUEAny image type.
IMAGE = 6;- See Also:
-
IMAGE_JPEG_VALUE
public static final int IMAGE_JPEG_VALUEjpeg
IMAGE_JPEG = 1;- See Also:
-
IMAGE_BMP_VALUE
public static final int IMAGE_BMP_VALUEbmp
IMAGE_BMP = 2;- See Also:
-
IMAGE_PNG_VALUE
public static final int IMAGE_PNG_VALUEpng
IMAGE_PNG = 3;- See Also:
-
IMAGE_SVG_VALUE
public static final int IMAGE_SVG_VALUEsvg
IMAGE_SVG = 4;- See Also:
-
TEXT_UTF8_VALUE
public static final int TEXT_UTF8_VALUEplain text
TEXT_UTF8 = 5;- See Also:
-
WORD_DOCUMENT_VALUE
public static final int WORD_DOCUMENT_VALUEdocx, docm, dotx, dotm
WORD_DOCUMENT = 7;- See Also:
-
PDF_VALUE
public static final int PDF_VALUEpdf
PDF = 8;- See Also:
-
POWERPOINT_DOCUMENT_VALUE
public static final int POWERPOINT_DOCUMENT_VALUEpptx, pptm, potx, potm, pot
POWERPOINT_DOCUMENT = 9;- See Also:
-
EXCEL_DOCUMENT_VALUE
public static final int EXCEL_DOCUMENT_VALUExlsx, xlsm, xltx, xltm
EXCEL_DOCUMENT = 10;- See Also:
-
AVRO_VALUE
public static final int AVRO_VALUEavro
AVRO = 11;- See Also:
-
CSV_VALUE
public static final int CSV_VALUEcsv
CSV = 12;- See Also:
-
TSV_VALUE
public static final int TSV_VALUEtsv
TSV = 13;- See Also:
-
AUDIO_VALUE
public static final int AUDIO_VALUEAudio file types. Only used for profiling.
AUDIO = 15;- See Also:
-
VIDEO_VALUE
public static final int VIDEO_VALUEVideo file types. Only used for profiling.
VIDEO = 16;- See Also:
-
EXECUTABLE_VALUE
public static final int EXECUTABLE_VALUEExecutable file types. Only used for profiling.
EXECUTABLE = 17;- See Also:
-
AI_MODEL_VALUE
public static final int AI_MODEL_VALUEAI model file types. Only used for profiling.
AI_MODEL = 18;- 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<ByteContentItem.BytesType> 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 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 nameNullPointerException- if the argument is null
-