Class Probe.Builder (0.6.0)
Stay organized with collections
Save and categorize content based on your preferences.
- 0.78.0 (latest)
- 0.76.0
- 0.75.0
- 0.74.0
- 0.73.0
- 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
publicstaticfinalclass Probe.BuilderextendsGeneratedMessageV3.Builder<Probe.Builder>implementsProbeOrBuilderProbe 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.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Probe.BuilderImplements
ProbeOrBuilderInherited Members
Static Methods
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicProbe.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)build()
publicProbebuild()buildPartial()
publicProbebuildPartial()clear()
publicProbe.Builderclear()clearFailureThreshold()
publicProbe.BuilderclearFailureThreshold()Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
int32 failure_threshold = 4;
This builder for chaining.
clearField(Descriptors.FieldDescriptor field)
publicProbe.BuilderclearField(Descriptors.FieldDescriptorfield)clearGrpc()
publicProbe.BuilderclearGrpc()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;
clearHttpGet()
publicProbe.BuilderclearHttpGet()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;
clearInitialDelaySeconds()
publicProbe.BuilderclearInitialDelaySeconds()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;
This builder for chaining.
clearOneof(Descriptors.OneofDescriptor oneof)
publicProbe.BuilderclearOneof(Descriptors.OneofDescriptoroneof)clearPeriodSeconds()
publicProbe.BuilderclearPeriodSeconds()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;
This builder for chaining.
clearProbeType()
publicProbe.BuilderclearProbeType()clearTcpSocket()
publicProbe.BuilderclearTcpSocket()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;
clearTimeoutSeconds()
publicProbe.BuilderclearTimeoutSeconds()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;
This builder for chaining.
clone()
publicProbe.Builderclone()getDefaultInstanceForType()
publicProbegetDefaultInstanceForType()getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()getFailureThreshold()
publicintgetFailureThreshold()Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
int32 failure_threshold = 4;
The failureThreshold.
getGrpc()
publicGRPCActiongetGrpc()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;
The grpc.
getGrpcBuilder()
publicGRPCAction.BuildergetGrpcBuilder()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;
getGrpcOrBuilder()
publicGRPCActionOrBuildergetGrpcOrBuilder()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;
getHttpGet()
publicHTTPGetActiongetHttpGet()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;
The httpGet.
getHttpGetBuilder()
publicHTTPGetAction.BuildergetHttpGetBuilder()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;
getHttpGetOrBuilder()
publicHTTPGetActionOrBuildergetHttpGetOrBuilder()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;
getInitialDelaySeconds()
publicintgetInitialDelaySeconds()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;
The initialDelaySeconds.
getPeriodSeconds()
publicintgetPeriodSeconds()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;
The periodSeconds.
getProbeTypeCase()
publicProbe.ProbeTypeCasegetProbeTypeCase()getTcpSocket()
publicTCPSocketActiongetTcpSocket()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;
The tcpSocket.
getTcpSocketBuilder()
publicTCPSocketAction.BuildergetTcpSocketBuilder()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;
getTcpSocketOrBuilder()
publicTCPSocketActionOrBuildergetTcpSocketOrBuilder()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;
getTimeoutSeconds()
publicintgetTimeoutSeconds()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;
The timeoutSeconds.
hasGrpc()
publicbooleanhasGrpc()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;
Whether the grpc field is set.
hasHttpGet()
publicbooleanhasHttpGet()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;
Whether the httpGet field is set.
hasTcpSocket()
publicbooleanhasTcpSocket()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;
Whether the tcpSocket field is set.
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()isInitialized()
publicfinalbooleanisInitialized()mergeFrom(Probe other)
publicProbe.BuildermergeFrom(Probeother)mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
publicProbe.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)mergeFrom(Message other)
publicProbe.BuildermergeFrom(Messageother)mergeGrpc(GRPCAction value)
publicProbe.BuildermergeGrpc(GRPCActionvalue)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;
mergeHttpGet(HTTPGetAction value)
publicProbe.BuildermergeHttpGet(HTTPGetActionvalue)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;
mergeTcpSocket(TCPSocketAction value)
publicProbe.BuildermergeTcpSocket(TCPSocketActionvalue)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;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalProbe.BuildermergeUnknownFields(UnknownFieldSetunknownFields)setFailureThreshold(int value)
publicProbe.BuildersetFailureThreshold(intvalue)Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1.
int32 failure_threshold = 4;
This builder for chaining.
setField(Descriptors.FieldDescriptor field, Object value)
publicProbe.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)setGrpc(GRPCAction value)
publicProbe.BuildersetGrpc(GRPCActionvalue)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;
setGrpc(GRPCAction.Builder builderForValue)
publicProbe.BuildersetGrpc(GRPCAction.BuilderbuilderForValue)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;
setHttpGet(HTTPGetAction value)
publicProbe.BuildersetHttpGet(HTTPGetActionvalue)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;
setHttpGet(HTTPGetAction.Builder builderForValue)
publicProbe.BuildersetHttpGet(HTTPGetAction.BuilderbuilderForValue)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;
setInitialDelaySeconds(int value)
publicProbe.BuildersetInitialDelaySeconds(intvalue)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;
This builder for chaining.
setPeriodSeconds(int value)
publicProbe.BuildersetPeriodSeconds(intvalue)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;
This builder for chaining.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicProbe.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)setTcpSocket(TCPSocketAction value)
publicProbe.BuildersetTcpSocket(TCPSocketActionvalue)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;
setTcpSocket(TCPSocketAction.Builder builderForValue)
publicProbe.BuildersetTcpSocket(TCPSocketAction.BuilderbuilderForValue)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;
setTimeoutSeconds(int value)
publicProbe.BuildersetTimeoutSeconds(intvalue)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;
This builder for chaining.
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalProbe.BuildersetUnknownFields(UnknownFieldSetunknownFields)