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