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 enum envoy.admin.v3.ClientResourceStatus
  • 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:
    • internalValueMap

      private static final com.google.protobuf.Internal.EnumLiteMap<ClientResourceStatus> internalValueMap
    • VALUES

      private static final ClientResourceStatus[] VALUES
    • value

      private final int value
  • Constructor Details

    • ClientResourceStatus

      private ClientResourceStatus(int value)
  • 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 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 name
      NullPointerException - if the argument is null