public static enum RedactImageRequest.ImageRedactionConfig.TargetCase extends java.lang.Enum<RedactImageRequest.ImageRedactionConfig.TargetCase> implements Internal.EnumLite
Enum Constant and Description |
---|
INFO_TYPE |
REDACT_ALL_TEXT |
TARGET_NOT_SET |
Modifier and Type | Method and Description |
---|---|
static RedactImageRequest.ImageRedactionConfig.TargetCase |
forNumber(int value) |
int |
getNumber() |
static RedactImageRequest.ImageRedactionConfig.TargetCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static RedactImageRequest.ImageRedactionConfig.TargetCase |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.
|
static RedactImageRequest.ImageRedactionConfig.TargetCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RedactImageRequest.ImageRedactionConfig.TargetCase INFO_TYPE
public static final RedactImageRequest.ImageRedactionConfig.TargetCase REDACT_ALL_TEXT
public static final RedactImageRequest.ImageRedactionConfig.TargetCase TARGET_NOT_SET
public static RedactImageRequest.ImageRedactionConfig.TargetCase[] values()
for (RedactImageRequest.ImageRedactionConfig.TargetCase c : RedactImageRequest.ImageRedactionConfig.TargetCase.values()) System.out.println(c);
public static RedactImageRequest.ImageRedactionConfig.TargetCase 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 null@Deprecated public static RedactImageRequest.ImageRedactionConfig.TargetCase valueOf(int value)
forNumber(int)
instead.public static RedactImageRequest.ImageRedactionConfig.TargetCase forNumber(int value)
public int getNumber()
getNumber
in interface Internal.EnumLite