- 0.73.0 (latest)
- 0.72.0
- 0.70.0
- 0.68.0
- 0.67.0
- 0.64.0
- 0.63.0
- 0.62.0
- 0.60.0
- 0.59.0
- 0.58.0
- 0.57.0
- 0.56.0
- 0.55.0
- 0.54.0
- 0.53.0
- 0.52.0
- 0.51.0
- 0.49.0
- 0.48.0
- 0.47.0
- 0.46.0
- 0.45.0
- 0.44.0
- 0.43.0
- 0.42.0
- 0.41.0
- 0.40.0
- 0.39.0
- 0.37.0
- 0.36.0
- 0.35.0
- 0.34.0
- 0.33.0
- 0.32.0
- 0.31.0
- 0.30.0
- 0.29.0
- 0.28.0
- 0.27.0
- 0.24.0
- 0.23.0
- 0.22.0
- 0.21.0
- 0.20.0
- 0.19.0
- 0.18.0
- 0.17.0
- 0.16.0
- 0.15.0
- 0.14.0
- 0.13.0
- 0.12.0
- 0.11.0
- 0.9.0
- 0.8.0
- 0.7.0
- 0.6.0
- 0.5.0
- 0.4.0
- 0.3.5
- 0.2.1
- 0.1.2
public
final
class
Probe
extends
GeneratedMessageV3
implements
ProbeOrBuilder
Probe describes a health check to be performed against a container to determine whether it is alive or ready to receive traffic.
Protobuf type google.cloud.run.v2.Probe
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ProbeImplements
ProbeOrBuilderStatic Fields
FAILURE_THRESHOLD_FIELD_NUMBER
public
static
final
int
FAILURE_THRESHOLD_FIELD_NUMBER
GRPC_FIELD_NUMBER
public
static
final
int
GRPC_FIELD_NUMBER
HTTP_GET_FIELD_NUMBER
public
static
final
int
HTTP_GET_FIELD_NUMBER
INITIAL_DELAY_SECONDS_FIELD_NUMBER
public
static
final
int
INITIAL_DELAY_SECONDS_FIELD_NUMBER
PERIOD_SECONDS_FIELD_NUMBER
public
static
final
int
PERIOD_SECONDS_FIELD_NUMBER
TCP_SOCKET_FIELD_NUMBER
public
static
final
int
TCP_SOCKET_FIELD_NUMBER
TIMEOUT_SECONDS_FIELD_NUMBER
public
static
final
int
TIMEOUT_SECONDS_FIELD_NUMBER
Static Methods
getDefaultInstance()
public
static
Probe
getDefaultInstance
()
getDescriptor()
public
static
final
Descriptors
.
Descriptor
getDescriptor
()
newBuilder()
public
static
Probe
.
Builder
newBuilder
()
newBuilder(Probe prototype)
public
static
Probe
.
Builder
newBuilder
(
Probe
prototype
)
parseDelimitedFrom(InputStream input)
public
static
Probe
parseDelimitedFrom
(
InputStream
input
)
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Probe
parseDelimitedFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(byte[] data)
public
static
Probe
parseFrom
(
byte
[]
data
)
data
byte
[]
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public
static
Probe
parseFrom
(
byte
[]
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteString data)
public
static
Probe
parseFrom
(
ByteString
data
)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public
static
Probe
parseFrom
(
ByteString
data
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(CodedInputStream input)
public
static
Probe
parseFrom
(
CodedInputStream
input
)
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Probe
parseFrom
(
CodedInputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(InputStream input)
public
static
Probe
parseFrom
(
InputStream
input
)
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public
static
Probe
parseFrom
(
InputStream
input
,
ExtensionRegistryLite
extensionRegistry
)
parseFrom(ByteBuffer data)
public
static
Probe
parseFrom
(
ByteBuffer
data
)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public
static
Probe
parseFrom
(
ByteBuffer
data
,
ExtensionRegistryLite
extensionRegistry
)
parser()
public
static
Parser<Probe>
parser
()
Methods
equals(Object obj)
public
boolean
equals
(
Object
obj
)
getDefaultInstanceForType()
public
Probe
getDefaultInstanceForType
()
getFailureThreshold()
public
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];
getGrpc()
public
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];
getGrpcOrBuilder()
public
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];
getHttpGet()
public
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];
getHttpGetOrBuilder()
public
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];
getInitialDelaySeconds()
public
int
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];
getParserForType()
public
Parser<Probe>
getParserForType
()
getPeriodSeconds()
public
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];
getProbeTypeCase()
public
Probe
.
ProbeTypeCase
getProbeTypeCase
()
getSerializedSize()
public
int
getSerializedSize
()
getTcpSocket()
public
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];
getTcpSocketOrBuilder()
public
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];
getTimeoutSeconds()
public
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];
hasGrpc()
public
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];
hasHttpGet()
public
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];
hasTcpSocket()
public
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];
hashCode()
public
int
hashCode
()
internalGetFieldAccessorTable()
protected
GeneratedMessageV3
.
FieldAccessorTable
internalGetFieldAccessorTable
()
isInitialized()
public
final
boolean
isInitialized
()
newBuilderForType()
public
Probe
.
Builder
newBuilderForType
()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected
Probe
.
Builder
newBuilderForType
(
GeneratedMessageV3
.
BuilderParent
parent
)
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected
Object
newInstance
(
GeneratedMessageV3
.
UnusedPrivateParameter
unused
)
toBuilder()
public
Probe
.
Builder
toBuilder
()
writeTo(CodedOutputStream output)
public
void
writeTo
(
CodedOutputStream
output
)