public enum FileType extends Enum<FileType> implements com.google.protobuf.ProtocolMessageEnum
Definitions of file type groups to scan. New types will be added to this list.Protobuf enum
google.privacy.dlp.v2.FileType| Enum Constant and Description |
|---|
AVRO
Included file extensions:
avro
|
BINARY_FILE
Includes all file extensions not covered by another entry.
|
CSV
Included file extensions:
csv
|
EXCEL
Excel files >30 MB will be scanned as binary files.
|
FILE_TYPE_UNSPECIFIED
Includes all files.
|
IMAGE
Included file extensions:
bmp, gif, jpg, jpeg, jpe, png.
|
PDF
PDF files >30 MB will be scanned as binary files.
|
POWERPOINT
Powerpoint files >30 MB will be scanned as binary files.
|
TEXT_FILE
Included file extensions:
asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm,
mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht,
properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex,
shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md,
txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
|
TSV
Included file extensions:
tsv
|
UNRECOGNIZED |
WORD
Word files >30 MB will be scanned as binary files.
|
| Modifier and Type | Field and Description |
|---|---|
static int |
AVRO_VALUE
Included file extensions:
avro
|
static int |
BINARY_FILE_VALUE
Includes all file extensions not covered by another entry.
|
static int |
CSV_VALUE
Included file extensions:
csv
|
static int |
EXCEL_VALUE
Excel files >30 MB will be scanned as binary files.
|
static int |
FILE_TYPE_UNSPECIFIED_VALUE
Includes all files.
|
static int |
IMAGE_VALUE
Included file extensions:
bmp, gif, jpg, jpeg, jpe, png.
|
static int |
PDF_VALUE
PDF files >30 MB will be scanned as binary files.
|
static int |
POWERPOINT_VALUE
Powerpoint files >30 MB will be scanned as binary files.
|
static int |
TEXT_FILE_VALUE
Included file extensions:
asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart,
dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm,
mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht,
properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex,
shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md,
txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
|
static int |
TSV_VALUE
Included file extensions:
tsv
|
static int |
WORD_VALUE
Word files >30 MB will be scanned as binary files.
|
| Modifier and Type | Method and Description |
|---|---|
static FileType |
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<FileType> |
internalGetValueMap() |
static FileType |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static FileType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FileType |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FileType[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FileType FILE_TYPE_UNSPECIFIED
Includes all files.
FILE_TYPE_UNSPECIFIED = 0;public static final FileType BINARY_FILE
Includes all file extensions not covered by another entry. Binary scanning attempts to convert the content of the file to utf_8 to scan the file. If you wish to avoid this fall back, specify one or more of the other FileType's in your storage scan.
BINARY_FILE = 1;public static final FileType TEXT_FILE
Included file extensions: asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
TEXT_FILE = 2;public static final FileType IMAGE
Included file extensions: bmp, gif, jpg, jpeg, jpe, png. bytes_limit_per_file has no effect on image files. Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
IMAGE = 3;public static final FileType WORD
Word files >30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm
WORD = 5;public static final FileType PDF
PDF files >30 MB will be scanned as binary files. Included file extensions: pdf
PDF = 6;public static final FileType AVRO
Included file extensions: avro
AVRO = 7;public static final FileType CSV
Included file extensions: csv
CSV = 8;public static final FileType TSV
Included file extensions: tsv
TSV = 9;public static final FileType POWERPOINT
Powerpoint files >30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot
POWERPOINT = 11;public static final FileType EXCEL
Excel files >30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm
EXCEL = 12;public static final FileType UNRECOGNIZED
public static final int FILE_TYPE_UNSPECIFIED_VALUE
Includes all files.
FILE_TYPE_UNSPECIFIED = 0;public static final int BINARY_FILE_VALUE
Includes all file extensions not covered by another entry. Binary scanning attempts to convert the content of the file to utf_8 to scan the file. If you wish to avoid this fall back, specify one or more of the other FileType's in your storage scan.
BINARY_FILE = 1;public static final int TEXT_FILE_VALUE
Included file extensions: asc,asp, aspx, brf, c, cc,cfm, cgi, cpp, csv, cxx, c++, cs, css, dart, dat, dot, eml,, epbub, ged, go, h, hh, hpp, hxx, h++, hs, html, htm, mkd, markdown, m, ml, mli, perl, pl, plist, pm, php, phtml, pht, properties, py, pyw, rb, rbw, rs, rss, rc, scala, sh, sql, swift, tex, shtml, shtm, xhtml, lhs, ics, ini, java, js, json, kix, kml, ocaml, md, txt, text, tsv, vb, vcard, vcs, wml, xcodeproj, xml, xsl, xsd, yml, yaml.
TEXT_FILE = 2;public static final int IMAGE_VALUE
Included file extensions: bmp, gif, jpg, jpeg, jpe, png. bytes_limit_per_file has no effect on image files. Image inspection is restricted to 'global', 'us', 'asia', and 'europe'.
IMAGE = 3;public static final int WORD_VALUE
Word files >30 MB will be scanned as binary files. Included file extensions: docx, dotx, docm, dotm
WORD = 5;public static final int PDF_VALUE
PDF files >30 MB will be scanned as binary files. Included file extensions: pdf
PDF = 6;public static final int AVRO_VALUE
Included file extensions: avro
AVRO = 7;public static final int CSV_VALUE
Included file extensions: csv
CSV = 8;public static final int TSV_VALUE
Included file extensions: tsv
TSV = 9;public static final int POWERPOINT_VALUE
Powerpoint files >30 MB will be scanned as binary files. Included file extensions: pptx, pptm, potx, potm, pot
POWERPOINT = 11;public static final int EXCEL_VALUE
Excel files >30 MB will be scanned as binary files. Included file extensions: xlsx, xlsm, xltx, xltm
EXCEL = 12;public static FileType[] values()
for (FileType c : FileType.values()) System.out.println(c);
public static FileType valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static FileType valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static FileType forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<FileType> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static FileType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.