public enum ContentOption extends Enum<ContentOption> implements com.google.protobuf.ProtocolMessageEnum
Deprecated and unused.Protobuf enum
google.privacy.dlp.v2.ContentOption| Enum Constant and Description |
|---|
CONTENT_IMAGE
Images found in the data.
|
CONTENT_TEXT
Text content within the data, excluding any metadata.
|
CONTENT_UNSPECIFIED
Includes entire content of a file or a data stream.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONTENT_IMAGE_VALUE
Images found in the data.
|
static int |
CONTENT_TEXT_VALUE
Text content within the data, excluding any metadata.
|
static int |
CONTENT_UNSPECIFIED_VALUE
Includes entire content of a file or a data stream.
|
| Modifier and Type | Method and Description |
|---|---|
static ContentOption |
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<ContentOption> |
internalGetValueMap() |
static ContentOption |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ContentOption |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ContentOption |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ContentOption[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ContentOption CONTENT_UNSPECIFIED
Includes entire content of a file or a data stream.
CONTENT_UNSPECIFIED = 0;public static final ContentOption CONTENT_TEXT
Text content within the data, excluding any metadata.
CONTENT_TEXT = 1;public static final ContentOption CONTENT_IMAGE
Images found in the data.
CONTENT_IMAGE = 2;public static final ContentOption UNRECOGNIZED
public static final int CONTENT_UNSPECIFIED_VALUE
Includes entire content of a file or a data stream.
CONTENT_UNSPECIFIED = 0;public static final int CONTENT_TEXT_VALUE
Text content within the data, excluding any metadata.
CONTENT_TEXT = 1;public static final int CONTENT_IMAGE_VALUE
Images found in the data.
CONTENT_IMAGE = 2;public static ContentOption[] values()
for (ContentOption c : ContentOption.values()) System.out.println(c);
public static ContentOption 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 ContentOption valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ContentOption forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ContentOption> 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 ContentOption valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.