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>

@Generated 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 Constants
    Enum Constant
    Description
    Client 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

    Fields
    Modifier and Type
    Field
    Description
    static 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.
    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.
  • Method Summary

    Modifier and Type
    Method
    Description
    forNumber(int value)
     
    static 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>
     
    valueOf(int value)
    Deprecated.
    valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
    Returns the enum constant of this type with the specified name.
    Returns the enum constant of this type with the specified name.
    Returns an array containing the constants of this enum type, in the order they are declared.

    Methods inherited from class java.lang.Enum

    clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf

    Methods inherited from class java.lang.Object

    getClass, notify, notifyAll, wait, wait, wait
  • Enum Constant Details

    • 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 Details

    • UNKNOWN_VALUE

      public static final int UNKNOWN_VALUE
       Resource status is not available/unknown.
       
      UNKNOWN = 0;
      See Also:
    • 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:
    • 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:
    • ACKED_VALUE

      public static final int ACKED_VALUE
       Client received this resource and replied with ACK.
       
      ACKED = 3;
      See Also:
    • NACKED_VALUE

      public static final int NACKED_VALUE
       Client received this resource and replied with NACK.
       
      NACKED = 4;
      See Also:
  • Method Details

    • values

      public static ClientResourceStatus[] 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

      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 name
      NullPointerException - if the argument is null
    • getNumber

      public final int getNumber()
      Specified by:
      getNumber in interface com.google.protobuf.Internal.EnumLite
      Specified by:
      getNumber in interface com.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 name
      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 interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptorForType

      public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnum
    • getDescriptor

      public static 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 name
      NullPointerException - if the argument is null