public static enum SetSessionOptionsResult.ErrorValue extends Enum<SetSessionOptionsResult.ErrorValue>
Enum Constant and Description |
---|
ERROR
The session option cannot be set.
|
INVALID_NAME
The given session option name is invalid.
|
INVALID_VALUE
The session option value or type is invalid.
|
UNSPECIFIED
The status of setting the option is unknown.
|
Modifier and Type | Method and Description |
---|---|
static SetSessionOptionsResult.ErrorValue |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SetSessionOptionsResult.ErrorValue[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SetSessionOptionsResult.ErrorValue UNSPECIFIED
public static final SetSessionOptionsResult.ErrorValue INVALID_NAME
public static final SetSessionOptionsResult.ErrorValue INVALID_VALUE
public static final SetSessionOptionsResult.ErrorValue ERROR
public static SetSessionOptionsResult.ErrorValue[] values()
for (SetSessionOptionsResult.ErrorValue c : SetSessionOptionsResult.ErrorValue.values()) System.out.println(c);
public static SetSessionOptionsResult.ErrorValue 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 nullCopyright © 2024 The Apache Software Foundation. All rights reserved.