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