public static enum SocketOption.SocketState extends Enum<SocketOption.SocketState> implements com.google.protobuf.ProtocolMessageEnum
envoy.config.core.v3.SocketOption.SocketState| Enum Constant and Description |
|---|
STATE_BOUND
Socket options are applied after binding the socket to a port but before calling listen()
STATE_BOUND = 1; |
STATE_LISTENING
Socket options are applied after calling listen()
STATE_LISTENING = 2; |
STATE_PREBIND
Socket options are applied after socket creation but before binding the socket to a port
STATE_PREBIND = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
STATE_BOUND_VALUE
Socket options are applied after binding the socket to a port but before calling listen()
STATE_BOUND = 1; |
static int |
STATE_LISTENING_VALUE
Socket options are applied after calling listen()
STATE_LISTENING = 2; |
static int |
STATE_PREBIND_VALUE
Socket options are applied after socket creation but before binding the socket to a port
STATE_PREBIND = 0; |
| Modifier and Type | Method and Description |
|---|---|
static SocketOption.SocketState |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<SocketOption.SocketState> |
internalGetValueMap() |
static SocketOption.SocketState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static SocketOption.SocketState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static SocketOption.SocketState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SocketOption.SocketState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SocketOption.SocketState STATE_PREBIND
Socket options are applied after socket creation but before binding the socket to a port
STATE_PREBIND = 0;public static final SocketOption.SocketState STATE_BOUND
Socket options are applied after binding the socket to a port but before calling listen()
STATE_BOUND = 1;public static final SocketOption.SocketState STATE_LISTENING
Socket options are applied after calling listen()
STATE_LISTENING = 2;public static final SocketOption.SocketState UNRECOGNIZED
public static final int STATE_PREBIND_VALUE
Socket options are applied after socket creation but before binding the socket to a port
STATE_PREBIND = 0;public static final int STATE_BOUND_VALUE
Socket options are applied after binding the socket to a port but before calling listen()
STATE_BOUND = 1;public static final int STATE_LISTENING_VALUE
Socket options are applied after calling listen()
STATE_LISTENING = 2;public static SocketOption.SocketState[] values()
for (SocketOption.SocketState c : SocketOption.SocketState.values()) System.out.println(c);
public static SocketOption.SocketState 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 nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static SocketOption.SocketState valueOf(int value)
forNumber(int) instead.public static SocketOption.SocketState forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<SocketOption.SocketState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static SocketOption.SocketState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.