- 0.53.0 (latest)
- 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
Type | Description |
int |
HTTP_GET_FIELD_NUMBER
public static final int HTTP_GET_FIELD_NUMBER
Type | Description |
int |
INITIAL_DELAY_SECONDS_FIELD_NUMBER
public static final int INITIAL_DELAY_SECONDS_FIELD_NUMBER
Type | Description |
int |
PERIOD_SECONDS_FIELD_NUMBER
public static final int PERIOD_SECONDS_FIELD_NUMBER
Type | Description |
int |
TCP_SOCKET_FIELD_NUMBER
public static final int TCP_SOCKET_FIELD_NUMBER
Type | Description |
int |
TIMEOUT_SECONDS_FIELD_NUMBER
public static final int TIMEOUT_SECONDS_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static Probe getDefaultInstance()
Type | Description |
Probe |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static Probe.Builder newBuilder()
Type | Description |
Probe.Builder |
newBuilder(Probe prototype)
public static Probe.Builder newBuilder(Probe prototype)
Name | Description |
prototype | Probe |
Type | Description |
Probe.Builder |
parseDelimitedFrom(InputStream input)
public static Probe parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Probe |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Probe |
Type | Description |
IOException |
parseFrom(byte[] data)
public static Probe parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
Probe |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Probe parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Probe |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static Probe parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
Probe |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Probe parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Probe |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static Probe parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
Probe |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Probe |
Type | Description |
IOException |
parseFrom(InputStream input)
public static Probe parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
Probe |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static Probe parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Probe |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static Probe parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
Probe |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Probe parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
Probe |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<Probe> parser()
Type | Description |
Parser<Probe> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public Probe getDefaultInstanceForType()
Type | Description |
Probe |
getFailureThreshold()
public int getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
int32 failure_threshold = 4;
Type | Description |
int | The failureThreshold. |
getHttpGet()
public HTTPGetAction getHttpGet()
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
.google.cloud.run.v2.HTTPGetAction http_get = 5;
Type | Description |
HTTPGetAction | The httpGet. |
getHttpGetOrBuilder()
public HTTPGetActionOrBuilder getHttpGetOrBuilder()
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
.google.cloud.run.v2.HTTPGetAction http_get = 5;
Type | Description |
HTTPGetActionOrBuilder |
getInitialDelaySeconds()
public int getInitialDelaySeconds()
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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
int32 initial_delay_seconds = 1;
Type | Description |
int | The initialDelaySeconds. |
getParserForType()
public Parser<Probe> getParserForType()
Type | Description |
Parser<Probe> |
getPeriodSeconds()
public int getPeriodSeconds()
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;
Type | Description |
int | The periodSeconds. |
getProbeTypeCase()
public Probe.ProbeTypeCase getProbeTypeCase()
Type | Description |
Probe.ProbeTypeCase |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTcpSocket()
public TCPSocketAction getTcpSocket()
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
.google.cloud.run.v2.TCPSocketAction tcp_socket = 6;
Type | Description |
TCPSocketAction | The tcpSocket. |
getTcpSocketOrBuilder()
public TCPSocketActionOrBuilder getTcpSocketOrBuilder()
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
.google.cloud.run.v2.TCPSocketAction tcp_socket = 6;
Type | Description |
TCPSocketActionOrBuilder |
getTimeoutSeconds()
public int getTimeoutSeconds()
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. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes
int32 timeout_seconds = 2;
Type | Description |
int | The timeoutSeconds. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasHttpGet()
public boolean hasHttpGet()
HTTPGet specifies the http request to perform. Exactly one of HTTPGet or TCPSocket must be specified.
.google.cloud.run.v2.HTTPGetAction http_get = 5;
Type | Description |
boolean | Whether the httpGet field is set. |
hasTcpSocket()
public boolean hasTcpSocket()
TCPSocket specifies an action involving a TCP port. Exactly one of HTTPGet or TCPSocket must be specified.
.google.cloud.run.v2.TCPSocketAction tcp_socket = 6;
Type | Description |
boolean | Whether the tcpSocket field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public Probe.Builder newBuilderForType()
Type | Description |
Probe.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Probe.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
Probe.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public Probe.Builder toBuilder()
Type | Description |
Probe.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |