Enum HealthStatus.WeightError

java.lang.Object
java.lang.Enum<HealthStatus.WeightError>
com.google.cloud.compute.v1.HealthStatus.WeightError
All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite, com.google.protobuf.ProtocolMessageEnum, Serializable, Comparable<HealthStatus.WeightError>
Enclosing class:
HealthStatus

public static enum HealthStatus.WeightError extends Enum<HealthStatus.WeightError> implements com.google.protobuf.ProtocolMessageEnum
 
Protobuf enum google.cloud.compute.v1.HealthStatus.WeightError
  • Enum Constant Summary

    Enum Constants
    Enum Constant
    Description
    The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation).
    The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight.
    This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN.
    A value indicating that the enum field is not set.
     
    This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
    The response to a Health Check probe had the HTTP response header field X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not a non-negative single-precision floating-point number in decimal string representation).
    static final int
    The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight.
    static final int
    This is the value when the accompanied health status is either TIMEOUT (i.e.,the Health Check probe was not able to get a response in time) or UNKNOWN.
    static final int
    A value indicating that the enum field is not set.
    static final int
    This is the default value when WeightReportMode is DISABLE, and is also the initial value when WeightReportMode has just updated to ENABLE or DRY_RUN and there has not been sufficient time to parse and report the backend weight.
  • 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<HealthStatus.WeightError>
     
    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

    • UNDEFINED_WEIGHT_ERROR

      public static final HealthStatus.WeightError UNDEFINED_WEIGHT_ERROR
       A value indicating that the enum field is not set.
       
      UNDEFINED_WEIGHT_ERROR = 0;
    • INVALID_WEIGHT

      public static final HealthStatus.WeightError INVALID_WEIGHT
       The response to a Health Check probe had the HTTP response header field
       X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not
       a non-negative single-precision floating-point number in decimal string
       representation).
       
      INVALID_WEIGHT = 383698400;
    • MISSING_WEIGHT

      public static final HealthStatus.WeightError MISSING_WEIGHT
       The response to a Health Check probe did not have the HTTP response
       header field X-Load-Balancing-Endpoint-Weight.
       
      MISSING_WEIGHT = 384027537;
    • UNAVAILABLE_WEIGHT

      public static final HealthStatus.WeightError UNAVAILABLE_WEIGHT
       This is the value when the accompanied health status is either TIMEOUT
       (i.e.,the Health Check probe was not able to get a response in time) or
       UNKNOWN. For the latter, it should be typically because there has not
       been sufficient time to parse and report the weight for a new backend
       (which is with 0.0.0.0 ip address). However, it can be also due to an
       outage case for which the health status is explicitly reset to UNKNOWN.
       
      UNAVAILABLE_WEIGHT = 439464295;
    • WEIGHT_NONE

      public static final HealthStatus.WeightError WEIGHT_NONE
       This is the default value when WeightReportMode is DISABLE,
       and is also the initial value when WeightReportMode has just updated to
       ENABLE or DRY_RUN and there has not been
       sufficient time to parse and report the backend weight.
       
      WEIGHT_NONE = 502428831;
    • UNRECOGNIZED

      public static final HealthStatus.WeightError UNRECOGNIZED
  • Field Details

    • UNDEFINED_WEIGHT_ERROR_VALUE

      public static final int UNDEFINED_WEIGHT_ERROR_VALUE
       A value indicating that the enum field is not set.
       
      UNDEFINED_WEIGHT_ERROR = 0;
      See Also:
    • INVALID_WEIGHT_VALUE

      public static final int INVALID_WEIGHT_VALUE
       The response to a Health Check probe had the HTTP response header field
       X-Load-Balancing-Endpoint-Weight, but its content was invalid (i.e., not
       a non-negative single-precision floating-point number in decimal string
       representation).
       
      INVALID_WEIGHT = 383698400;
      See Also:
    • MISSING_WEIGHT_VALUE

      public static final int MISSING_WEIGHT_VALUE
       The response to a Health Check probe did not have the HTTP response
       header field X-Load-Balancing-Endpoint-Weight.
       
      MISSING_WEIGHT = 384027537;
      See Also:
    • UNAVAILABLE_WEIGHT_VALUE

      public static final int UNAVAILABLE_WEIGHT_VALUE
       This is the value when the accompanied health status is either TIMEOUT
       (i.e.,the Health Check probe was not able to get a response in time) or
       UNKNOWN. For the latter, it should be typically because there has not
       been sufficient time to parse and report the weight for a new backend
       (which is with 0.0.0.0 ip address). However, it can be also due to an
       outage case for which the health status is explicitly reset to UNKNOWN.
       
      UNAVAILABLE_WEIGHT = 439464295;
      See Also:
    • WEIGHT_NONE_VALUE

      public static final int WEIGHT_NONE_VALUE
       This is the default value when WeightReportMode is DISABLE,
       and is also the initial value when WeightReportMode has just updated to
       ENABLE or DRY_RUN and there has not been
       sufficient time to parse and report the backend weight.
       
      WEIGHT_NONE = 502428831;
      See Also:
  • Method Details

    • values

      public static HealthStatus.WeightError[] 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 HealthStatus.WeightError 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 HealthStatus.WeightError 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 HealthStatus.WeightError 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<HealthStatus.WeightError> 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 HealthStatus.WeightError 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