public static enum Query.ContentCase extends Enum<Query.ContentCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CONTENT_NOT_SET |
TEXT |
| Modifier and Type | Method and Description |
|---|---|
static Query.ContentCase |
forNumber(int value) |
int |
getNumber() |
static Query.ContentCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Query.ContentCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Query.ContentCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Query.ContentCase TEXT
public static final Query.ContentCase CONTENT_NOT_SET
public static Query.ContentCase[] values()
for (Query.ContentCase c : Query.ContentCase.values()) System.out.println(c);
public static Query.ContentCase 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 null@Deprecated public static Query.ContentCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Query.ContentCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2025 Google LLC. All rights reserved.