public static enum ServerInfo.State extends Enum<ServerInfo.State> implements com.google.protobuf.ProtocolMessageEnum
envoy.admin.v4alpha.ServerInfo.State| Enum Constant and Description |
|---|
DRAINING
Server is draining listeners in response to external health checks failing.
|
INITIALIZING
Server is running the cluster manager initialization callbacks (e.g., RDS).
|
LIVE
Server is live and serving traffic.
|
PRE_INITIALIZING
Server has not yet completed cluster manager initialization.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
DRAINING_VALUE
Server is draining listeners in response to external health checks failing.
|
static int |
INITIALIZING_VALUE
Server is running the cluster manager initialization callbacks (e.g., RDS).
|
static int |
LIVE_VALUE
Server is live and serving traffic.
|
static int |
PRE_INITIALIZING_VALUE
Server has not yet completed cluster manager initialization.
|
| Modifier and Type | Method and Description |
|---|---|
static ServerInfo.State |
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<ServerInfo.State> |
internalGetValueMap() |
static ServerInfo.State |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ServerInfo.State |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ServerInfo.State |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ServerInfo.State[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ServerInfo.State LIVE
Server is live and serving traffic.
LIVE = 0;public static final ServerInfo.State DRAINING
Server is draining listeners in response to external health checks failing.
DRAINING = 1;public static final ServerInfo.State PRE_INITIALIZING
Server has not yet completed cluster manager initialization.
PRE_INITIALIZING = 2;public static final ServerInfo.State INITIALIZING
Server is running the cluster manager initialization callbacks (e.g., RDS).
INITIALIZING = 3;public static final ServerInfo.State UNRECOGNIZED
public static final int LIVE_VALUE
Server is live and serving traffic.
LIVE = 0;public static final int DRAINING_VALUE
Server is draining listeners in response to external health checks failing.
DRAINING = 1;public static final int PRE_INITIALIZING_VALUE
Server has not yet completed cluster manager initialization.
PRE_INITIALIZING = 2;public static final int INITIALIZING_VALUE
Server is running the cluster manager initialization callbacks (e.g., RDS).
INITIALIZING = 3;public static ServerInfo.State[] values()
for (ServerInfo.State c : ServerInfo.State.values()) System.out.println(c);
public static ServerInfo.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ServerInfo.State valueOf(int value)
forNumber(int) instead.public static ServerInfo.State forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ServerInfo.State> 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 ServerInfo.State valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.