Package com.google.cloud.aiplatform.v1
Interface ProbeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Probe,Probe.Builder
@Generated
public interface ProbeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetExec()ExecAction probes the health of a container by executing a command.ExecAction probes the health of a container by executing a command.intNumber of consecutive failures before the probe is considered failed.getGrpc()GrpcAction probes the health of a container by sending a gRPC request.GrpcAction probes the health of a container by sending a gRPC request.HttpGetAction probes the health of a container by sending an HTTP GET request.HttpGetAction probes the health of a container by sending an HTTP GET request.intNumber of seconds to wait before starting the probe.intHow often (in seconds) to perform the probe.intNumber of consecutive successes before the probe is considered successful.TcpSocketAction probes the health of a container by opening a TCP socket connection.TcpSocketAction probes the health of a container by opening a TCP socket connection.intNumber of seconds after which the probe times out.booleanhasExec()ExecAction probes the health of a container by executing a command.booleanhasGrpc()GrpcAction probes the health of a container by sending a gRPC request.booleanHttpGetAction probes the health of a container by sending an HTTP GET request.booleanTcpSocketAction probes the health of a container by opening a TCP socket connection.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasExec
boolean hasExec()ExecAction probes the health of a container by executing a command.
.google.cloud.aiplatform.v1.Probe.ExecAction exec = 1;- Returns:
- Whether the exec field is set.
-
getExec
Probe.ExecAction getExec()ExecAction probes the health of a container by executing a command.
.google.cloud.aiplatform.v1.Probe.ExecAction exec = 1;- Returns:
- The exec.
-
getExecOrBuilder
Probe.ExecActionOrBuilder getExecOrBuilder()ExecAction probes the health of a container by executing a command.
.google.cloud.aiplatform.v1.Probe.ExecAction exec = 1; -
hasHttpGet
boolean hasHttpGet()HttpGetAction probes the health of a container by sending an HTTP GET request.
.google.cloud.aiplatform.v1.Probe.HttpGetAction http_get = 4;- Returns:
- Whether the httpGet field is set.
-
getHttpGet
Probe.HttpGetAction getHttpGet()HttpGetAction probes the health of a container by sending an HTTP GET request.
.google.cloud.aiplatform.v1.Probe.HttpGetAction http_get = 4;- Returns:
- The httpGet.
-
getHttpGetOrBuilder
Probe.HttpGetActionOrBuilder getHttpGetOrBuilder()HttpGetAction probes the health of a container by sending an HTTP GET request.
.google.cloud.aiplatform.v1.Probe.HttpGetAction http_get = 4; -
hasGrpc
boolean hasGrpc()GrpcAction probes the health of a container by sending a gRPC request.
.google.cloud.aiplatform.v1.Probe.GrpcAction grpc = 5;- Returns:
- Whether the grpc field is set.
-
getGrpc
Probe.GrpcAction getGrpc()GrpcAction probes the health of a container by sending a gRPC request.
.google.cloud.aiplatform.v1.Probe.GrpcAction grpc = 5;- Returns:
- The grpc.
-
getGrpcOrBuilder
Probe.GrpcActionOrBuilder getGrpcOrBuilder()GrpcAction probes the health of a container by sending a gRPC request.
.google.cloud.aiplatform.v1.Probe.GrpcAction grpc = 5; -
hasTcpSocket
boolean hasTcpSocket()TcpSocketAction probes the health of a container by opening a TCP socket connection.
.google.cloud.aiplatform.v1.Probe.TcpSocketAction tcp_socket = 6;- Returns:
- Whether the tcpSocket field is set.
-
getTcpSocket
Probe.TcpSocketAction getTcpSocket()TcpSocketAction probes the health of a container by opening a TCP socket connection.
.google.cloud.aiplatform.v1.Probe.TcpSocketAction tcp_socket = 6;- Returns:
- The tcpSocket.
-
getTcpSocketOrBuilder
Probe.TcpSocketActionOrBuilder getTcpSocketOrBuilder()TcpSocketAction probes the health of a container by opening a TCP socket connection.
.google.cloud.aiplatform.v1.Probe.TcpSocketAction tcp_socket = 6; -
getPeriodSeconds
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:
- The periodSeconds.
-
getTimeoutSeconds
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:
- The timeoutSeconds.
-
getFailureThreshold
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:
- The failureThreshold.
-
getSuccessThreshold
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:
- The successThreshold.
-
getInitialDelaySeconds
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:
- The initialDelaySeconds.
-
getProbeTypeCase
Probe.ProbeTypeCase getProbeTypeCase()
-