Enum HealthStatus.WeightError (1.56.0)

public enum HealthStatus.WeightError extends Enum<HealthStatus.WeightError> implements ProtocolMessageEnum

Protobuf enum google.cloud.compute.v1.HealthStatus.WeightError

Implements

ProtocolMessageEnum

Static Fields

Name Description
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;

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;

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;

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;

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;

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;

UNDEFINED_WEIGHT_ERROR

A value indicating that the enum field is not set.

UNDEFINED_WEIGHT_ERROR = 0;

UNDEFINED_WEIGHT_ERROR_VALUE

A value indicating that the enum field is not set.

UNDEFINED_WEIGHT_ERROR = 0;

UNRECOGNIZED
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;

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;

Static Methods

Name Description
forNumber(int value)
getDescriptor()
internalGetValueMap()
valueOf(Descriptors.EnumValueDescriptor desc)
valueOf(int value)

Deprecated. Use #forNumber(int) instead.

valueOf(String name)
values()

Methods

Name Description
getDescriptorForType()
getNumber()
getValueDescriptor()