Interface ReadinessCheckOrBuilder (2.70.0)

publicinterface ReadinessCheckOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getAppStartTimeout()

publicabstractDurationgetAppStartTimeout()

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.

.google.protobuf.Duration app_start_timeout = 7;

Returns
Type Description
Duration

The appStartTimeout.

getAppStartTimeoutOrBuilder()

publicabstractDurationOrBuildergetAppStartTimeoutOrBuilder()

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.

.google.protobuf.Duration app_start_timeout = 7;

Returns
Type Description
DurationOrBuilder

getCheckInterval()

publicabstractDurationgetCheckInterval()

Interval between health checks.

.google.protobuf.Duration check_interval = 5;

Returns
Type Description
Duration

The checkInterval.

getCheckIntervalOrBuilder()

publicabstractDurationOrBuildergetCheckIntervalOrBuilder()

Interval between health checks.

.google.protobuf.Duration check_interval = 5;

Returns
Type Description
DurationOrBuilder

getFailureThreshold()

publicabstractintgetFailureThreshold()

Number of consecutive failed checks required before removing traffic.

uint32 failure_threshold = 3;

Returns
Type Description
int

The failureThreshold.

getHost()

publicabstractStringgetHost()

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

string host = 2;

Returns
Type Description
String

The host.

getHostBytes()

publicabstractByteStringgetHostBytes()

Host header to send when performing a HTTP Readiness check. Example: "myapp.appspot.com"

string host = 2;

Returns
Type Description
ByteString

The bytes for host.

getPath()

publicabstractStringgetPath()

The request path.

string path = 1;

Returns
Type Description
String

The path.

getPathBytes()

publicabstractByteStringgetPathBytes()

The request path.

string path = 1;

Returns
Type Description
ByteString

The bytes for path.

getSuccessThreshold()

publicabstractintgetSuccessThreshold()

Number of consecutive successful checks required before receiving traffic.

uint32 success_threshold = 4;

Returns
Type Description
int

The successThreshold.

getTimeout()

publicabstractDurationgetTimeout()

Time before the check is considered failed.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
Duration

The timeout.

getTimeoutOrBuilder()

publicabstractDurationOrBuildergetTimeoutOrBuilder()

Time before the check is considered failed.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
DurationOrBuilder

hasAppStartTimeout()

publicabstractbooleanhasAppStartTimeout()

A maximum time limit on application initialization, measured from moment the application successfully replies to a healthcheck until it is ready to serve traffic.

.google.protobuf.Duration app_start_timeout = 7;

Returns
Type Description
boolean

Whether the appStartTimeout field is set.

hasCheckInterval()

publicabstractbooleanhasCheckInterval()

Interval between health checks.

.google.protobuf.Duration check_interval = 5;

Returns
Type Description
boolean

Whether the checkInterval field is set.

hasTimeout()

publicabstractbooleanhasTimeout()

Time before the check is considered failed.

.google.protobuf.Duration timeout = 6;

Returns
Type Description
boolean

Whether the timeout field is set.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年10月30日 UTC.