public interface HealthCheckOrBuilder extends MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
Duration |
getCheckInterval()
Interval between health checks.
|
DurationOrBuilder |
getCheckIntervalOrBuilder()
Interval between health checks.
|
boolean |
getDisableHealthCheck()
Whether to explicitly disable health checks for this instance.
|
int |
getHealthyThreshold()
Number of consecutive successful health checks required before receiving
traffic.
|
java.lang.String |
getHost()
Host header to send when performing an HTTP health check.
|
ByteString |
getHostBytes()
Host header to send when performing an HTTP health check.
|
int |
getRestartThreshold()
Number of consecutive failed health checks required before an instance is
restarted.
|
Duration |
getTimeout()
Time before the health check is considered failed.
|
DurationOrBuilder |
getTimeoutOrBuilder()
Time before the health check is considered failed.
|
int |
getUnhealthyThreshold()
Number of consecutive failed health checks required before removing
traffic.
|
boolean |
hasCheckInterval()
Interval between health checks.
|
boolean |
hasTimeout()
Time before the health check is considered failed.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofisInitializedboolean getDisableHealthCheck()
Whether to explicitly disable health checks for this instance.
bool disable_health_check = 1;java.lang.String getHost()
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;ByteString getHostBytes()
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;int getHealthyThreshold()
Number of consecutive successful health checks required before receiving traffic.
uint32 healthy_threshold = 3;int getUnhealthyThreshold()
Number of consecutive failed health checks required before removing traffic.
uint32 unhealthy_threshold = 4;int getRestartThreshold()
Number of consecutive failed health checks required before an instance is restarted.
uint32 restart_threshold = 5;boolean hasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;Duration getCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;DurationOrBuilder getCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;boolean hasTimeout()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;Duration getTimeout()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;DurationOrBuilder getTimeoutOrBuilder()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;