public static enum HealthCheckService.HealthStatusAggregationPolicy extends Enum<HealthCheckService.HealthStatusAggregationPolicy> implements com.google.protobuf.ProtocolMessageEnum
Optional. Policy for how the results from multiple health checks for the same endpoint are aggregated. Defaults to NO_AGGREGATION if unspecified. - NO_AGGREGATION. An EndpointHealth message is returned for each pair in the health check service. - AND. If any health check of an endpoint reports UNHEALTHY, then UNHEALTHY is the HealthState of the endpoint. If all health checks report HEALTHY, the HealthState of the endpoint is HEALTHY. . This is only allowed with regional HealthCheckService.Protobuf enum
google.cloud.compute.v1.HealthCheckService.HealthStatusAggregationPolicy| Enum Constant and Description |
|---|
AND
If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service.
|
NO_AGGREGATION
An EndpointHealth message is returned for each backend in the health check service.
|
UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY
A value indicating that the enum field is not set.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
AND_VALUE
If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service.
|
static int |
NO_AGGREGATION_VALUE
An EndpointHealth message is returned for each backend in the health check service.
|
static int |
UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY_VALUE
A value indicating that the enum field is not set.
|
| Modifier and Type | Method and Description |
|---|---|
static HealthCheckService.HealthStatusAggregationPolicy |
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<HealthCheckService.HealthStatusAggregationPolicy> |
internalGetValueMap() |
static HealthCheckService.HealthStatusAggregationPolicy |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static HealthCheckService.HealthStatusAggregationPolicy |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static HealthCheckService.HealthStatusAggregationPolicy |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static HealthCheckService.HealthStatusAggregationPolicy[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final HealthCheckService.HealthStatusAggregationPolicy UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY
A value indicating that the enum field is not set.
UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY = 0;public static final HealthCheckService.HealthStatusAggregationPolicy AND
If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY.
AND = 64951;public static final HealthCheckService.HealthStatusAggregationPolicy NO_AGGREGATION
An EndpointHealth message is returned for each backend in the health check service.
NO_AGGREGATION = 426445124;public static final HealthCheckService.HealthStatusAggregationPolicy UNRECOGNIZED
public static final int UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY_VALUE
A value indicating that the enum field is not set.
UNDEFINED_HEALTH_STATUS_AGGREGATION_POLICY = 0;public static final int AND_VALUE
If any backend's health check reports UNHEALTHY, then UNHEALTHY is the HealthState of the entire health check service. If all backend's are healthy, the HealthState of the health check service is HEALTHY.
AND = 64951;public static final int NO_AGGREGATION_VALUE
An EndpointHealth message is returned for each backend in the health check service.
NO_AGGREGATION = 426445124;public static HealthCheckService.HealthStatusAggregationPolicy[] values()
for (HealthCheckService.HealthStatusAggregationPolicy c : HealthCheckService.HealthStatusAggregationPolicy.values()) System.out.println(c);
public static HealthCheckService.HealthStatusAggregationPolicy 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 HealthCheckService.HealthStatusAggregationPolicy valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static HealthCheckService.HealthStatusAggregationPolicy forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<HealthCheckService.HealthStatusAggregationPolicy> 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 HealthCheckService.HealthStatusAggregationPolicy valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.