public static enum Flight.SessionOptionValue.OptionValueCase extends Enum<Flight.SessionOptionValue.OptionValueCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
BOOL_VALUE |
DOUBLE_VALUE |
INT64_VALUE |
OPTIONVALUE_NOT_SET |
STRING_LIST_VALUE |
STRING_VALUE |
| Modifier and Type | Method and Description |
|---|---|
static Flight.SessionOptionValue.OptionValueCase |
forNumber(int value) |
int |
getNumber() |
static Flight.SessionOptionValue.OptionValueCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Flight.SessionOptionValue.OptionValueCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Flight.SessionOptionValue.OptionValueCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Flight.SessionOptionValue.OptionValueCase STRING_VALUE
public static final Flight.SessionOptionValue.OptionValueCase BOOL_VALUE
public static final Flight.SessionOptionValue.OptionValueCase INT64_VALUE
public static final Flight.SessionOptionValue.OptionValueCase DOUBLE_VALUE
public static final Flight.SessionOptionValue.OptionValueCase STRING_LIST_VALUE
public static final Flight.SessionOptionValue.OptionValueCase OPTIONVALUE_NOT_SET
public static Flight.SessionOptionValue.OptionValueCase[] values()
for (Flight.SessionOptionValue.OptionValueCase c : Flight.SessionOptionValue.OptionValueCase.values()) System.out.println(c);
public static Flight.SessionOptionValue.OptionValueCase 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 Flight.SessionOptionValue.OptionValueCase valueOf(int value)
forNumber(int) instead.value - The number of the enum to look for.public static Flight.SessionOptionValue.OptionValueCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2024 The Apache Software Foundation. All rights reserved.