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,Serializable,Comparable<ClientResourceStatus>
public enum ClientResourceStatus extends 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 ACKEDClient received this resource and replied with ACK.DOES_NOT_EXISTThis 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.NACKEDClient received this resource and replied with NACK.REQUESTEDClient requested this resource but hasn't received any update from management server.UNKNOWNResource status is not available/unknown.UNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static intACKED_VALUEClient received this resource and replied with ACK.static intDOES_NOT_EXIST_VALUEThis 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.static intNACKED_VALUEClient received this resource and replied with NACK.static intREQUESTED_VALUEClient requested this resource but hasn't received any update from management server.static intUNKNOWN_VALUEResource status is not available/unknown.
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ClientResourceStatusforNumber(int value)static com.google.protobuf.Descriptors.EnumDescriptorgetDescriptor()com.google.protobuf.Descriptors.EnumDescriptorgetDescriptorForType()intgetNumber()com.google.protobuf.Descriptors.EnumValueDescriptorgetValueDescriptor()static com.google.protobuf.Internal.EnumLiteMap<ClientResourceStatus>internalGetValueMap()static ClientResourceStatusvalueOf(int value)Deprecated.static ClientResourceStatusvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)Returns the enum constant of this type with the specified name.static ClientResourceStatusvalueOf(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
-
-
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(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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()
- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- 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:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein 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:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-