Package com.google.appengine.v1
Interface HealthCheckOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
HealthCheck
,HealthCheck.Builder
public interface HealthCheckOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description com.google.protobuf.Duration
getCheckInterval()
Interval between health checks.com.google.protobuf.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.String
getHost()
Host header to send when performing an HTTP health check.com.google.protobuf.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.com.google.protobuf.Duration
getTimeout()
Time before the health check is considered failed.com.google.protobuf.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.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getDisableHealthCheck
boolean getDisableHealthCheck()
Whether to explicitly disable health checks for this instance.
bool disable_health_check = 1;
- Returns:
- The disableHealthCheck.
-
getHost
String getHost()
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
- Returns:
- The host.
-
getHostBytes
com.google.protobuf.ByteString getHostBytes()
Host header to send when performing an HTTP health check. Example: "myapp.appspot.com"
string host = 2;
- Returns:
- The bytes for host.
-
getHealthyThreshold
int getHealthyThreshold()
Number of consecutive successful health checks required before receiving traffic.
uint32 healthy_threshold = 3;
- Returns:
- The healthyThreshold.
-
getUnhealthyThreshold
int getUnhealthyThreshold()
Number of consecutive failed health checks required before removing traffic.
uint32 unhealthy_threshold = 4;
- Returns:
- The unhealthyThreshold.
-
getRestartThreshold
int getRestartThreshold()
Number of consecutive failed health checks required before an instance is restarted.
uint32 restart_threshold = 5;
- Returns:
- The restartThreshold.
-
hasCheckInterval
boolean hasCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;
- Returns:
- Whether the checkInterval field is set.
-
getCheckInterval
com.google.protobuf.Duration getCheckInterval()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;
- Returns:
- The checkInterval.
-
getCheckIntervalOrBuilder
com.google.protobuf.DurationOrBuilder getCheckIntervalOrBuilder()
Interval between health checks.
.google.protobuf.Duration check_interval = 6;
-
hasTimeout
boolean hasTimeout()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
- Returns:
- Whether the timeout field is set.
-
getTimeout
com.google.protobuf.Duration getTimeout()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
- Returns:
- The timeout.
-
getTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getTimeoutOrBuilder()
Time before the health check is considered failed.
.google.protobuf.Duration timeout = 7;
-
-