Package io.envoyproxy.envoy.admin.v3
Enum 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 enum
envoy.admin.v3.ClientResourceStatus
-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionClient received this resource and replied with ACK.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.Client received this resource and replied with NACK.Client requested this resource but hasn't received any update from management server.Resource status is not available/unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final int
Client received this resource and replied with ACK.static final int
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 final com.google.protobuf.Internal.EnumLiteMap
<ClientResourceStatus> static final int
Client received this resource and replied with NACK.static final int
Client requested this resource but hasn't received any update from management server.static final int
Resource status is not available/unknown.private final int
private static final ClientResourceStatus[]
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic ClientResourceStatus
forNumber
(int value) static final com.google.protobuf.Descriptors.EnumDescriptor
final com.google.protobuf.Descriptors.EnumDescriptor
final int
final com.google.protobuf.Descriptors.EnumValueDescriptor
static com.google.protobuf.Internal.EnumLiteMap
<ClientResourceStatus> 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
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 Details
-
UNKNOWN
Resource status is not available/unknown.
UNKNOWN = 0;
-
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
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
Client received this resource and replied with ACK.
ACKED = 3;
-
NACKED
Client received this resource and replied with NACK.
NACKED = 4;
-
UNRECOGNIZED
-
-
Field Details
-
UNKNOWN_VALUE
public static final int UNKNOWN_VALUEResource status is not available/unknown.
UNKNOWN = 0;
- See Also:
-
REQUESTED_VALUE
public static final int REQUESTED_VALUEClient 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:
-
DOES_NOT_EXIST_VALUE
public static final int DOES_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. 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:
-
ACKED_VALUE
public static final int ACKED_VALUEClient received this resource and replied with ACK.
ACKED = 3;
- See Also:
-
NACKED_VALUE
public static final int NACKED_VALUEClient received this resource and replied with NACK.
NACKED = 4;
- See Also:
-
internalValueMap
private static final com.google.protobuf.Internal.EnumLiteMap<ClientResourceStatus> internalValueMap -
VALUES
-
value
private final int value
-
-
Constructor Details
-
ClientResourceStatus
private ClientResourceStatus(int value)
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-