Package io.envoyproxy.envoy.admin.v3
Enum ClientResourceStatus
- java.lang.Object
-
- java.lang.Enum<ClientResourceStatus>
-
- io.envoyproxy.envoy.admin.v3.ClientResourceStatus
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,java.io.Serializable
,java.lang.Comparable<ClientResourceStatus>
public enum ClientResourceStatus extends java.lang.Enum<ClientResourceStatus> implements com.google.protobuf.ProtocolMessageEnum
Resource status from the view of a xDS client, which tells the synchronization status between the xDS client and the xDS server.
Protobuf enumenvoy.admin.v3.ClientResourceStatus
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACKED
Client received this resource and replied with ACK.DOES_NOT_EXIST
This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server.NACKED
Client received this resource and replied with NACK.REQUESTED
Client requested this resource but hasn't received any update from management server.UNKNOWN
Resource status is not available/unknown.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACKED_VALUE
Client received this resource and replied with ACK.static int
DOES_NOT_EXIST_VALUE
This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server.private static com.google.protobuf.Internal.EnumLiteMap<ClientResourceStatus>
internalValueMap
static int
NACKED_VALUE
Client received this resource and replied with NACK.static int
REQUESTED_VALUE
Client requested this resource but hasn't received any update from management server.static int
UNKNOWN_VALUE
Resource status is not available/unknown.private int
value
private static ClientResourceStatus[]
VALUES
-
Constructor Summary
Constructors Modifier Constructor Description private
ClientResourceStatus(int value)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClientResourceStatus
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<ClientResourceStatus>
internalGetValueMap()
static ClientResourceStatus
valueOf(int value)
Deprecated.static ClientResourceStatus
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static ClientResourceStatus
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ClientResourceStatus[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
UNKNOWN
public static final ClientResourceStatus UNKNOWN
Resource status is not available/unknown.
UNKNOWN = 0;
-
REQUESTED
public static final ClientResourceStatus REQUESTED
Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.
REQUESTED = 1;
-
DOES_NOT_EXIST
public static final ClientResourceStatus DOES_NOT_EXIST
This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`"Knowing When a Requested Resource Does Not Exist" <xds_protocol_resource_not_existed>` section.
DOES_NOT_EXIST = 2;
-
ACKED
public static final ClientResourceStatus ACKED
Client received this resource and replied with ACK.
ACKED = 3;
-
NACKED
public static final ClientResourceStatus NACKED
Client received this resource and replied with NACK.
NACKED = 4;
-
UNRECOGNIZED
public static final ClientResourceStatus UNRECOGNIZED
-
-
Field Detail
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUE
Resource status is not available/unknown.
UNKNOWN = 0;
- See Also:
- Constant Field Values
-
REQUESTED_VALUE
public static final int REQUESTED_VALUE
Client requested this resource but hasn't received any update from management server. The client will not fail requests, but will queue them until update arrives or the client times out waiting for the resource.
REQUESTED = 1;
- See Also:
- Constant Field Values
-
DOES_NOT_EXIST_VALUE
public static final int DOES_NOT_EXIST_VALUE
This resource has been requested by the client but has either not been delivered by the server or was previously delivered by the server and then subsequently removed from resources provided by the server. For more information, please refer to the :ref:`"Knowing When a Requested Resource Does Not Exist" <xds_protocol_resource_not_existed>` section.
DOES_NOT_EXIST = 2;
- See Also:
- Constant Field Values
-
ACKED_VALUE
public static final int ACKED_VALUE
Client received this resource and replied with ACK.
ACKED = 3;
- See Also:
- Constant Field Values
-
NACKED_VALUE
public static final int NACKED_VALUE
Client received this resource and replied with NACK.
NACKED = 4;
- See Also:
- Constant Field Values
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ClientResourceStatus> internalValueMap
-
VALUES
private static final ClientResourceStatus[] VALUES
-
value
private final int value
-
-
Method Detail
-
values
public static ClientResourceStatus[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (ClientResourceStatus c : ClientResourceStatus.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ClientResourceStatus valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static ClientResourceStatus valueOf(int value)
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static ClientResourceStatus forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<ClientResourceStatus> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static ClientResourceStatus valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-