Interface LivenessCheckOrBuilder (2.18.0)

public interface LivenessCheckOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCheckInterval()

public abstract Duration getCheckInterval()

Interval between health checks.

.google.protobuf.Duration check_interval = 5;

Returns
TypeDescription
Duration

The checkInterval.

getCheckIntervalOrBuilder()

public abstract DurationOrBuilder getCheckIntervalOrBuilder()

Interval between health checks.

.google.protobuf.Duration check_interval = 5;

Returns
TypeDescription
DurationOrBuilder

getFailureThreshold()

public abstract int getFailureThreshold()

Number of consecutive failed checks required before considering the VM unhealthy.

uint32 failure_threshold = 3;

Returns
TypeDescription
int

The failureThreshold.

getHost()

public abstract String getHost()

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

string host = 2;

Returns
TypeDescription
String

The host.

getHostBytes()

public abstract ByteString getHostBytes()

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

string host = 2;

Returns
TypeDescription
ByteString

The bytes for host.

getInitialDelay()

public abstract Duration getInitialDelay()

The initial delay before starting to execute the checks.

.google.protobuf.Duration initial_delay = 7;

Returns
TypeDescription
Duration

The initialDelay.

getInitialDelayOrBuilder()

public abstract DurationOrBuilder getInitialDelayOrBuilder()

The initial delay before starting to execute the checks.

.google.protobuf.Duration initial_delay = 7;

Returns
TypeDescription
DurationOrBuilder

getPath()

public abstract String getPath()

The request path.

string path = 1;

Returns
TypeDescription
String

The path.

getPathBytes()

public abstract ByteString getPathBytes()

The request path.

string path = 1;

Returns
TypeDescription
ByteString

The bytes for path.

getSuccessThreshold()

public abstract int getSuccessThreshold()

Number of consecutive successful checks required before considering the VM healthy.

uint32 success_threshold = 4;

Returns
TypeDescription
int

The successThreshold.

getTimeout()

public abstract Duration getTimeout()

Time before the check is considered failed.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
Duration

The timeout.

getTimeoutOrBuilder()

public abstract DurationOrBuilder getTimeoutOrBuilder()

Time before the check is considered failed.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
DurationOrBuilder

hasCheckInterval()

public abstract boolean hasCheckInterval()

Interval between health checks.

.google.protobuf.Duration check_interval = 5;

Returns
TypeDescription
boolean

Whether the checkInterval field is set.

hasInitialDelay()

public abstract boolean hasInitialDelay()

The initial delay before starting to execute the checks.

.google.protobuf.Duration initial_delay = 7;

Returns
TypeDescription
boolean

Whether the initialDelay field is set.

hasTimeout()

public abstract boolean hasTimeout()

Time before the check is considered failed.

.google.protobuf.Duration timeout = 6;

Returns
TypeDescription
boolean

Whether the timeout field is set.