public static enum SocketEvent.EventSelectorCase extends Enum<SocketEvent.EventSelectorCase> implements com.google.protobuf.Internal.EnumLite
| Enum Constant and Description |
|---|
CLOSED |
EVENTSELECTOR_NOT_SET |
READ |
WRITE |
| Modifier and Type | Method and Description |
|---|---|
static SocketEvent.EventSelectorCase |
forNumber(int value) |
int |
getNumber() |
static SocketEvent.EventSelectorCase |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SocketEvent.EventSelectorCase |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketEvent.EventSelectorCase[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketEvent.EventSelectorCase READ
public static final SocketEvent.EventSelectorCase WRITE
public static final SocketEvent.EventSelectorCase CLOSED
public static final SocketEvent.EventSelectorCase EVENTSELECTOR_NOT_SET
public static SocketEvent.EventSelectorCase[] values()
for (SocketEvent.EventSelectorCase c : SocketEvent.EventSelectorCase.values()) System.out.println(c);
public static SocketEvent.EventSelectorCase 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 SocketEvent.EventSelectorCase valueOf(int value)
forNumber(int) instead.public static SocketEvent.EventSelectorCase forNumber(int value)
public int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLiteCopyright © 2018–2021 The Envoy Project. All rights reserved.