public static enum ChannelConnectivityState.State extends Enum<ChannelConnectivityState.State> implements ProtocolMessageEnum
grpc.channelz.v1.ChannelConnectivityState.State| Enum Constant and Description |
|---|
CONNECTING
CONNECTING = 2; |
IDLE
IDLE = 1; |
READY
READY = 3; |
SHUTDOWN
SHUTDOWN = 5; |
TRANSIENT_FAILURE
TRANSIENT_FAILURE = 4; |
UNKNOWN
UNKNOWN = 0; |
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
CONNECTING_VALUE
CONNECTING = 2; |
static int |
IDLE_VALUE
IDLE = 1; |
static int |
READY_VALUE
READY = 3; |
static int |
SHUTDOWN_VALUE
SHUTDOWN = 5; |
static int |
TRANSIENT_FAILURE_VALUE
TRANSIENT_FAILURE = 4; |
static int |
UNKNOWN_VALUE
UNKNOWN = 0; |
| Modifier and Type | Method and Description |
|---|---|
static ChannelConnectivityState.State |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<ChannelConnectivityState.State> |
internalGetValueMap() |
static ChannelConnectivityState.State |
valueOf(Descriptors.EnumValueDescriptor desc) |
static ChannelConnectivityState.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ChannelConnectivityState.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ChannelConnectivityState.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ChannelConnectivityState.State UNKNOWN
UNKNOWN = 0;public static final ChannelConnectivityState.State IDLE
IDLE = 1;public static final ChannelConnectivityState.State CONNECTING
CONNECTING = 2;public static final ChannelConnectivityState.State READY
READY = 3;public static final ChannelConnectivityState.State TRANSIENT_FAILURE
TRANSIENT_FAILURE = 4;public static final ChannelConnectivityState.State SHUTDOWN
SHUTDOWN = 5;public static final ChannelConnectivityState.State UNRECOGNIZED
public static final int UNKNOWN_VALUE
UNKNOWN = 0;public static final int IDLE_VALUE
IDLE = 1;public static final int CONNECTING_VALUE
CONNECTING = 2;public static final int READY_VALUE
READY = 3;public static final int TRANSIENT_FAILURE_VALUE
TRANSIENT_FAILURE = 4;public static final int SHUTDOWN_VALUE
SHUTDOWN = 5;public static ChannelConnectivityState.State[] values()
for (ChannelConnectivityState.State c : ChannelConnectivityState.State.values()) System.out.println(c);
public static ChannelConnectivityState.State 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 Internal.EnumLitegetNumber in interface ProtocolMessageEnum@Deprecated public static ChannelConnectivityState.State valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ChannelConnectivityState.State forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<ChannelConnectivityState.State> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface ProtocolMessageEnumpublic final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface ProtocolMessageEnumpublic static final Descriptors.EnumDescriptor getDescriptor()
public static ChannelConnectivityState.State valueOf(Descriptors.EnumValueDescriptor desc)