public enum ConfigStatus extends Enum<ConfigStatus> implements com.google.protobuf.ProtocolMessageEnum
Status of a config from a management server view.Protobuf enum
envoy.service.status.v3.ConfigStatus| Enum Constant and Description |
|---|
ERROR
Management server has sent the config to client but received NACK.
|
NOT_SENT
Config is not sent.
|
STALE
Management server has sent the config to client but hasn’t received
ACK/NACK.
|
SYNCED
Management server has sent the config to client and received ACK.
|
UNKNOWN
Status info is not available/unknown.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
ERROR_VALUE
Management server has sent the config to client but received NACK.
|
static int |
NOT_SENT_VALUE
Config is not sent.
|
static int |
STALE_VALUE
Management server has sent the config to client but hasn’t received
ACK/NACK.
|
static int |
SYNCED_VALUE
Management server has sent the config to client and received ACK.
|
static int |
UNKNOWN_VALUE
Status info is not available/unknown.
|
| Modifier and Type | Method and Description |
|---|---|
static ConfigStatus |
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<ConfigStatus> |
internalGetValueMap() |
static ConfigStatus |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ConfigStatus |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ConfigStatus |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ConfigStatus[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ConfigStatus UNKNOWN
Status info is not available/unknown.
UNKNOWN = 0;public static final ConfigStatus SYNCED
Management server has sent the config to client and received ACK.
SYNCED = 1;public static final ConfigStatus NOT_SENT
Config is not sent.
NOT_SENT = 2;public static final ConfigStatus STALE
Management server has sent the config to client but hasn’t received ACK/NACK.
STALE = 3;public static final ConfigStatus ERROR
Management server has sent the config to client but received NACK. The attached config dump will be the latest config (the rejected one), since it is the persisted version in the management server.
ERROR = 4;public static final ConfigStatus UNRECOGNIZED
public static final int UNKNOWN_VALUE
Status info is not available/unknown.
UNKNOWN = 0;public static final int SYNCED_VALUE
Management server has sent the config to client and received ACK.
SYNCED = 1;public static final int NOT_SENT_VALUE
Config is not sent.
NOT_SENT = 2;public static final int STALE_VALUE
Management server has sent the config to client but hasn’t received ACK/NACK.
STALE = 3;public static final int ERROR_VALUE
Management server has sent the config to client but received NACK. The attached config dump will be the latest config (the rejected one), since it is the persisted version in the management server.
ERROR = 4;public static ConfigStatus[] values()
for (ConfigStatus c : ConfigStatus.values()) System.out.println(c);
public static ConfigStatus 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 ConfigStatus valueOf(int value)
forNumber(int) instead.public static ConfigStatus forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<ConfigStatus> 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 ConfigStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2018–2021 The Envoy Project. All rights reserved.