Interface ProbeOrBuilder (3.40.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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The periodSeconds.

getProbeTypeCase()

public abstract Probe.ProbeTypeCase getProbeTypeCase()
Returns
TypeDescription
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
TypeDescription
int

The timeoutSeconds.

hasExec()

public abstract boolean hasExec()

Exec specifies the action to take.

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

Returns
TypeDescription
boolean

Whether the exec field is set.