public interface ProbeOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
int |
getFailureThreshold()
Optional.
|
GRPCAction |
getGrpc()
Optional.
|
GRPCActionOrBuilder |
getGrpcOrBuilder()
Optional.
|
HTTPGetAction |
getHttpGet()
Optional.
|
HTTPGetActionOrBuilder |
getHttpGetOrBuilder()
Optional.
|
int |
getInitialDelaySeconds()
Optional.
|
int |
getPeriodSeconds()
Optional.
|
Probe.ProbeTypeCase |
getProbeTypeCase() |
TCPSocketAction |
getTcpSocket()
Optional.
|
TCPSocketActionOrBuilder |
getTcpSocketOrBuilder()
Optional.
|
int |
getTimeoutSeconds()
Optional.
|
boolean |
hasGrpc()
Optional.
|
boolean |
hasHttpGet()
Optional.
|
boolean |
hasTcpSocket()
Optional.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getInitialDelaySeconds()
Optional. Number of seconds after the container has started before the probe is initiated. Defaults to 0 seconds. Minimum value is 0. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240.
int32 initial_delay_seconds = 1 [(.google.api.field_behavior) = OPTIONAL];int getTimeoutSeconds()
Optional. Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. Maximum value is 3600. Must be smaller than period_seconds.
int32 timeout_seconds = 2 [(.google.api.field_behavior) = OPTIONAL];int getPeriodSeconds()
Optional. How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. Maximum value for liveness probe is 3600. Maximum value for startup probe is 240. Must be greater or equal than timeout_seconds.
int32 period_seconds = 3 [(.google.api.field_behavior) = OPTIONAL];int getFailureThreshold()
Optional. Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
int32 failure_threshold = 4 [(.google.api.field_behavior) = OPTIONAL];boolean hasHttpGet()
Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.HTTPGetAction http_get = 5 [(.google.api.field_behavior) = OPTIONAL];
HTTPGetAction getHttpGet()
Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.HTTPGetAction http_get = 5 [(.google.api.field_behavior) = OPTIONAL];
HTTPGetActionOrBuilder getHttpGetOrBuilder()
Optional. HTTPGet specifies the http request to perform. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.HTTPGetAction http_get = 5 [(.google.api.field_behavior) = OPTIONAL];
boolean hasTcpSocket()
Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.TCPSocketAction tcp_socket = 6 [(.google.api.field_behavior) = OPTIONAL];
TCPSocketAction getTcpSocket()
Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.TCPSocketAction tcp_socket = 6 [(.google.api.field_behavior) = OPTIONAL];
TCPSocketActionOrBuilder getTcpSocketOrBuilder()
Optional. TCPSocket specifies an action involving a TCP port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.TCPSocketAction tcp_socket = 6 [(.google.api.field_behavior) = OPTIONAL];
boolean hasGrpc()
Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.GRPCAction grpc = 7 [(.google.api.field_behavior) = OPTIONAL];
GRPCAction getGrpc()
Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.GRPCAction grpc = 7 [(.google.api.field_behavior) = OPTIONAL];
GRPCActionOrBuilder getGrpcOrBuilder()
Optional. GRPC specifies an action involving a gRPC port. Exactly one of httpGet, tcpSocket, or grpc must be specified.
.google.cloud.run.v2.GRPCAction grpc = 7 [(.google.api.field_behavior) = OPTIONAL];
Probe.ProbeTypeCase getProbeTypeCase()
Copyright © 2025 Google LLC. All rights reserved.