Interface ProbeOrBuilder (3.45.0)

public interface ProbeOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getExec()

public abstract Probe.ExecAction getExec()

Exec specifies the action to take.

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

Returns
Type Description
Probe.ExecAction

The exec.

getExecOrBuilder()

public abstract Probe.ExecActionOrBuilder getExecOrBuilder()

Exec specifies the action to take.

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

Returns
Type Description
Probe.ExecActionOrBuilder

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

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()

Exec specifies the action to take.

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

Returns
Type Description
boolean

Whether the exec field is set.