Enum HealthStatus.WeightError

    • Enum Constant Detail

      • 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;
    • Field Detail

      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
      • 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:
        Constant Field Values
    • Method Detail

      • values

        public static HealthStatus.WeightError[] 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 (HealthStatus.WeightError c : HealthStatus.WeightError.values())
            System.out.println(c);
        
        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 final 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