Package com.google.privacy.dlp.v2
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/dlp/docs/supported-file-types).
Protobuf enumgoogle.privacy.dlp.v2.ByteContentItem.BytesType
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AVRO
avroBYTES_TYPE_UNSPECIFIED
UnusedCSV
csvEXCEL_DOCUMENT
xlsx, xlsm, xltx, xltmIMAGE
Any image type.IMAGE_BMP
bmpIMAGE_JPEG
jpegIMAGE_PNG
pngIMAGE_SVG
svgPDF
pdfPOWERPOINT_DOCUMENT
pptx, pptm, potx, potm, potTEXT_UTF8
plain textTSV
tsvUNRECOGNIZED
WORD_DOCUMENT
docx, docm, dotx, dotm
-
Field Summary
Fields Modifier and Type Field Description static int
AVRO_VALUE
avrostatic int
BYTES_TYPE_UNSPECIFIED_VALUE
Unusedstatic int
CSV_VALUE
csvstatic int
EXCEL_DOCUMENT_VALUE
xlsx, xlsm, xltx, xltmstatic int
IMAGE_BMP_VALUE
bmpstatic int
IMAGE_JPEG_VALUE
jpegstatic int
IMAGE_PNG_VALUE
pngstatic int
IMAGE_SVG_VALUE
svgstatic int
IMAGE_VALUE
Any image type.static int
PDF_VALUE
pdfstatic int
POWERPOINT_DOCUMENT_VALUE
pptx, pptm, potx, potm, potstatic int
TEXT_UTF8_VALUE
plain textstatic int
TSV_VALUE
tsvstatic int
WORD_DOCUMENT_VALUE
docx, docm, dotx, dotm
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ByteContentItem.BytesType
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<ByteContentItem.BytesType>
internalGetValueMap()
static ByteContentItem.BytesType
valueOf(int value)
Deprecated.static ByteContentItem.BytesType
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ByteContentItem.BytesType
valueOf(String name)
Returns 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 Detail
-
BYTES_TYPE_UNSPECIFIED
public static final ByteContentItem.BytesType BYTES_TYPE_UNSPECIFIED
Unused
BYTES_TYPE_UNSPECIFIED = 0;
-
IMAGE
public static final ByteContentItem.BytesType IMAGE
Any image type.
IMAGE = 6;
-
IMAGE_JPEG
public static final ByteContentItem.BytesType IMAGE_JPEG
jpeg
IMAGE_JPEG = 1;
-
IMAGE_BMP
public static final ByteContentItem.BytesType IMAGE_BMP
bmp
IMAGE_BMP = 2;
-
IMAGE_PNG
public static final ByteContentItem.BytesType IMAGE_PNG
png
IMAGE_PNG = 3;
-
IMAGE_SVG
public static final ByteContentItem.BytesType IMAGE_SVG
svg
IMAGE_SVG = 4;
-
TEXT_UTF8
public static final ByteContentItem.BytesType TEXT_UTF8
plain text
TEXT_UTF8 = 5;
-
WORD_DOCUMENT
public static final ByteContentItem.BytesType WORD_DOCUMENT
docx, docm, dotx, dotm
WORD_DOCUMENT = 7;
-
PDF
public static final ByteContentItem.BytesType PDF
pdf
PDF = 8;
-
POWERPOINT_DOCUMENT
public static final ByteContentItem.BytesType POWERPOINT_DOCUMENT
pptx, pptm, potx, potm, pot
POWERPOINT_DOCUMENT = 9;
-
EXCEL_DOCUMENT
public static final ByteContentItem.BytesType EXCEL_DOCUMENT
xlsx, xlsm, xltx, xltm
EXCEL_DOCUMENT = 10;
-
AVRO
public static final ByteContentItem.BytesType AVRO
avro
AVRO = 11;
-
CSV
public static final ByteContentItem.BytesType CSV
csv
CSV = 12;
-
TSV
public static final ByteContentItem.BytesType TSV
tsv
TSV = 13;
-
UNRECOGNIZED
public static final ByteContentItem.BytesType UNRECOGNIZED
-
-
Field Detail
-
BYTES_TYPE_UNSPECIFIED_VALUE
public static final int BYTES_TYPE_UNSPECIFIED_VALUE
Unused
BYTES_TYPE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
IMAGE_VALUE
public static final int IMAGE_VALUE
Any image type.
IMAGE = 6;
- See Also:
- Constant Field Values
-
IMAGE_JPEG_VALUE
public static final int IMAGE_JPEG_VALUE
jpeg
IMAGE_JPEG = 1;
- See Also:
- Constant Field Values
-
IMAGE_BMP_VALUE
public static final int IMAGE_BMP_VALUE
bmp
IMAGE_BMP = 2;
- See Also:
- Constant Field Values
-
IMAGE_PNG_VALUE
public static final int IMAGE_PNG_VALUE
png
IMAGE_PNG = 3;
- See Also:
- Constant Field Values
-
IMAGE_SVG_VALUE
public static final int IMAGE_SVG_VALUE
svg
IMAGE_SVG = 4;
- See Also:
- Constant Field Values
-
TEXT_UTF8_VALUE
public static final int TEXT_UTF8_VALUE
plain text
TEXT_UTF8 = 5;
- See Also:
- Constant Field Values
-
WORD_DOCUMENT_VALUE
public static final int WORD_DOCUMENT_VALUE
docx, docm, dotx, dotm
WORD_DOCUMENT = 7;
- See Also:
- Constant Field Values
-
PDF_VALUE
public static final int PDF_VALUE
pdf
PDF = 8;
- See Also:
- Constant Field Values
-
POWERPOINT_DOCUMENT_VALUE
public static final int POWERPOINT_DOCUMENT_VALUE
pptx, pptm, potx, potm, pot
POWERPOINT_DOCUMENT = 9;
- See Also:
- Constant Field Values
-
EXCEL_DOCUMENT_VALUE
public static final int EXCEL_DOCUMENT_VALUE
xlsx, xlsm, xltx, xltm
EXCEL_DOCUMENT = 10;
- See Also:
- Constant Field Values
-
AVRO_VALUE
public static final int AVRO_VALUE
avro
AVRO = 11;
- See Also:
- Constant Field Values
-
CSV_VALUE
public static final int CSV_VALUE
csv
CSV = 12;
- See Also:
- Constant Field Values
-
TSV_VALUE
public static final int TSV_VALUE
tsv
TSV = 13;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static ByteContentItem.BytesType[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ByteContentItem.BytesType c : ByteContentItem.BytesType.values()) System.out.println(c);
- 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 nameNullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.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 nameNullPointerException
- 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 interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final 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
-
-