Interface ProbeOrBuilder (3.59.0)

public interface ProbeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExec()

public abstract Probe.ExecAction getExec()

ExecAction probes the health of a container by executing a command.

.google.cloud.aiplatform.v1beta1.Probe.ExecAction exec = 1;

Returns
Type Description
Probe.ExecAction

The exec.

getExecOrBuilder()

public abstract Probe.ExecActionOrBuilder getExecOrBuilder()

ExecAction probes the health of a container by executing a command.

.google.cloud.aiplatform.v1beta1.Probe.ExecAction exec = 1;

Returns
Type Description
Probe.ExecActionOrBuilder

getFailureThreshold()

public abstract int getFailureThreshold()

Number of consecutive failures before the probe is considered failed. Defaults to 3. Minimum value is 1.

Maps to Kubernetes probe argument 'failureThreshold'.

int32 failure_threshold = 7;

Returns
Type Description
int

The failureThreshold.

getGrpc()

public abstract Probe.GrpcAction getGrpc()

GrpcAction probes the health of a container by sending a gRPC request.

.google.cloud.aiplatform.v1beta1.Probe.GrpcAction grpc = 5;

Returns
Type Description
Probe.GrpcAction

The grpc.

getGrpcOrBuilder()

public abstract Probe.GrpcActionOrBuilder getGrpcOrBuilder()

GrpcAction probes the health of a container by sending a gRPC request.

.google.cloud.aiplatform.v1beta1.Probe.GrpcAction grpc = 5;

Returns
Type Description
Probe.GrpcActionOrBuilder

getHttpGet()

public abstract Probe.HttpGetAction getHttpGet()

HttpGetAction probes the health of a container by sending an HTTP GET request.

.google.cloud.aiplatform.v1beta1.Probe.HttpGetAction http_get = 4;

Returns
Type Description
Probe.HttpGetAction

The httpGet.

getHttpGetOrBuilder()

public abstract Probe.HttpGetActionOrBuilder getHttpGetOrBuilder()

HttpGetAction probes the health of a container by sending an HTTP GET request.

.google.cloud.aiplatform.v1beta1.Probe.HttpGetAction http_get = 4;

Returns
Type Description
Probe.HttpGetActionOrBuilder

getInitialDelaySeconds()

public abstract int getInitialDelaySeconds()

Number of seconds to wait before starting the probe. Defaults to 0. Minimum value is 0.

Maps to Kubernetes probe argument 'initialDelaySeconds'.

int32 initial_delay_seconds = 9;

Returns
Type Description
int

The initialDelaySeconds.

getPeriodSeconds()

public abstract int getPeriodSeconds()

How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Must be less than timeout_seconds.

Maps to Kubernetes probe argument 'periodSeconds'.

int32 period_seconds = 2;

Returns
Type Description
int

The periodSeconds.

getProbeTypeCase()

public abstract Probe.ProbeTypeCase getProbeTypeCase()
Returns
Type Description
Probe.ProbeTypeCase

getSuccessThreshold()

public abstract int getSuccessThreshold()

Number of consecutive successes before the probe is considered successful. Defaults to 1. Minimum value is 1.

Maps to Kubernetes probe argument 'successThreshold'.

int32 success_threshold = 8;

Returns
Type Description
int

The successThreshold.

getTcpSocket()

public abstract Probe.TcpSocketAction getTcpSocket()

TcpSocketAction probes the health of a container by opening a TCP socket connection.

.google.cloud.aiplatform.v1beta1.Probe.TcpSocketAction tcp_socket = 6;

Returns
Type Description
Probe.TcpSocketAction

The tcpSocket.

getTcpSocketOrBuilder()

public abstract Probe.TcpSocketActionOrBuilder getTcpSocketOrBuilder()

TcpSocketAction probes the health of a container by opening a TCP socket connection.

.google.cloud.aiplatform.v1beta1.Probe.TcpSocketAction tcp_socket = 6;

Returns
Type Description
Probe.TcpSocketActionOrBuilder

getTimeoutSeconds()

public abstract int getTimeoutSeconds()

Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Must be greater or equal to period_seconds.

Maps to Kubernetes probe argument 'timeoutSeconds'.

int32 timeout_seconds = 3;

Returns
Type Description
int

The timeoutSeconds.

hasExec()

public abstract boolean hasExec()

ExecAction probes the health of a container by executing a command.

.google.cloud.aiplatform.v1beta1.Probe.ExecAction exec = 1;

Returns
Type Description
boolean

Whether the exec field is set.

hasGrpc()

public abstract boolean hasGrpc()

GrpcAction probes the health of a container by sending a gRPC request.

.google.cloud.aiplatform.v1beta1.Probe.GrpcAction grpc = 5;

Returns
Type Description
boolean

Whether the grpc field is set.

hasHttpGet()

public abstract boolean hasHttpGet()

HttpGetAction probes the health of a container by sending an HTTP GET request.

.google.cloud.aiplatform.v1beta1.Probe.HttpGetAction http_get = 4;

Returns
Type Description
boolean

Whether the httpGet field is set.

hasTcpSocket()

public abstract boolean hasTcpSocket()

TcpSocketAction probes the health of a container by opening a TCP socket connection.

.google.cloud.aiplatform.v1beta1.Probe.TcpSocketAction tcp_socket = 6;

Returns
Type Description
boolean

Whether the tcpSocket field is set.