public enum FileType extends java.lang.Enum<FileType> implements ProtocolMessageEnum
Definitions of file type groups to scan.Protobuf enum
google.privacy.dlp.v2.FileType
Enum Constant and Description |
---|
BINARY_FILE
Includes all file extensions not covered by other types.
|
FILE_TYPE_UNSPECIFIED
Includes all files.
|
TEXT_FILE
Included file extensions:
c, cc, cpp, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, hxx, h++, hs,
html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, ocaml, md, mkd,
markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, rb, rbw, rs, rc,
scala, sh, sql, tex, txt, asc, text, brf, vcard, vcs, wml, xml, xsl, xsd,
yml, yaml.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
BINARY_FILE_VALUE
Includes all file extensions not covered by other types.
|
static int |
FILE_TYPE_UNSPECIFIED_VALUE
Includes all files.
|
static int |
TEXT_FILE_VALUE
Included file extensions:
c, cc, cpp, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, hxx, h++, hs,
html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, ocaml, md, mkd,
markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, rb, rbw, rs, rc,
scala, sh, sql, tex, txt, asc, text, brf, vcard, vcs, wml, xml, xsl, xsd,
yml, yaml.
|
Modifier and Type | Method and Description |
---|---|
static FileType |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<FileType> |
internalGetValueMap() |
static FileType |
valueOf(Descriptors.EnumValueDescriptor desc) |
static FileType |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static FileType |
valueOf(java.lang.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 other types.
BINARY_FILE = 1;
public static final FileType TEXT_FILE
Included file extensions: c, cc, cpp, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, rb, rbw, rs, rc, scala, sh, sql, tex, txt, asc, text, brf, vcard, vcs, wml, xml, xsl, xsd, yml, yaml.
TEXT_FILE = 2;
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 other types.
BINARY_FILE = 1;
public static final int TEXT_FILE_VALUE
Included file extensions: c, cc, cpp, cxx, c++, cs, css, dart, eml, go, h, hh, hpp, hxx, h++, hs, html, htm, shtml, shtm, xhtml, lhs, ini, java, js, json, ocaml, md, mkd, markdown, m, ml, mli, pl, pm, php, phtml, pht, py, pyw, rb, rbw, rs, rc, scala, sh, sql, tex, txt, asc, text, brf, vcard, vcs, wml, xml, xsl, xsd, yml, yaml.
TEXT_FILE = 2;
public static FileType[] values()
for (FileType c : FileType.values()) System.out.println(c);
public static FileType valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is nullpublic final int getNumber()
getNumber
in interface Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static FileType valueOf(int value)
forNumber(int)
instead.public static FileType forNumber(int value)
public static Internal.EnumLiteMap<FileType> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static FileType valueOf(Descriptors.EnumValueDescriptor desc)