public static enum HealthStatus.WeightError extends Enum<HealthStatus.WeightError> implements com.google.protobuf.ProtocolMessageEnum
Protobuf enum
google.cloud.compute.v1.HealthStatus.WeightError| Enum Constant and 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).
|
MISSING_WEIGHT
The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight.
|
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.
|
UNDEFINED_WEIGHT_ERROR
A value indicating that the enum field is not set.
|
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.
|
| Modifier and Type | Field and Description |
|---|---|
static 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).
|
static int |
MISSING_WEIGHT_VALUE
The response to a Health Check probe did not have the HTTP response header field X-Load-Balancing-Endpoint-Weight.
|
static 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.
|
static int |
UNDEFINED_WEIGHT_ERROR_VALUE
A value indicating that the enum field is not set.
|
static 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.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthStatus.WeightError |
forNumber(int value) |
static com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptor() |
com.google.protobuf.Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
com.google.protobuf.Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static com.google.protobuf.Internal.EnumLiteMap<HealthStatus.WeightError> |
internalGetValueMap() |
static HealthStatus.WeightError |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HealthStatus.WeightError |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthStatus.WeightError |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthStatus.WeightError[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthStatus.WeightError UNDEFINED_WEIGHT_ERROR
A value indicating that the enum field is not set.
UNDEFINED_WEIGHT_ERROR = 0;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;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;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;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;public static final HealthStatus.WeightError UNRECOGNIZED
public static final int UNDEFINED_WEIGHT_ERROR_VALUE
A value indicating that the enum field is not set.
UNDEFINED_WEIGHT_ERROR = 0;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;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;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;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;public static HealthStatus.WeightError[] values()
for (HealthStatus.WeightError c : HealthStatus.WeightError.values()) System.out.println(c);
public static HealthStatus.WeightError valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static HealthStatus.WeightError valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HealthStatus.WeightError forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HealthStatus.WeightError> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static HealthStatus.WeightError valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.