public static final class V1.Probe extends com.google.protobuf.GeneratedMessageV3 implements V1.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
k8s.io.api.core.v1.Probe| Modifier and Type | Class and Description |
|---|---|
static class |
V1.Probe.Builder
Probe describes a health check to be performed against a container to determine whether it is
alive or ready to receive traffic.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
FAILURETHRESHOLD_FIELD_NUMBER |
static int |
HANDLER_FIELD_NUMBER |
static int |
INITIALDELAYSECONDS_FIELD_NUMBER |
static com.google.protobuf.Parser<V1.Probe> |
PARSER
Deprecated.
|
static int |
PERIODSECONDS_FIELD_NUMBER |
static int |
SUCCESSTHRESHOLD_FIELD_NUMBER |
static int |
TIMEOUTSECONDS_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static V1.Probe |
getDefaultInstance() |
V1.Probe |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
V1.Handler |
getHandler()
The action taken to determine the health of a container
|
V1.HandlerOrBuilder |
getHandlerOrBuilder()
The action taken to determine the health of a container
|
int |
getInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated.
|
com.google.protobuf.Parser<V1.Probe> |
getParserForType() |
int |
getPeriodSeconds()
How often (in seconds) to perform the probe.
|
int |
getSerializedSize() |
int |
getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.
|
int |
getTimeoutSeconds()
Number of seconds after which the probe times out.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded.
|
boolean |
hasHandler()
The action taken to determine the health of a container
|
int |
hashCode() |
boolean |
hasInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated.
|
boolean |
hasPeriodSeconds()
How often (in seconds) to perform the probe.
|
boolean |
hasSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed.
|
boolean |
hasTimeoutSeconds()
Number of seconds after which the probe times out.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1.Probe.Builder |
newBuilder() |
static V1.Probe.Builder |
newBuilder(V1.Probe prototype) |
V1.Probe.Builder |
newBuilderForType() |
protected V1.Probe.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1.Probe |
parseDelimitedFrom(InputStream input) |
static V1.Probe |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Probe |
parseFrom(byte[] data) |
static V1.Probe |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Probe |
parseFrom(ByteBuffer data) |
static V1.Probe |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Probe |
parseFrom(com.google.protobuf.ByteString data) |
static V1.Probe |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Probe |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1.Probe |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1.Probe |
parseFrom(InputStream input) |
static V1.Probe |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1.Probe> |
parser() |
V1.Probe.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
computeStringSize, computeStringSizeNoTag, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, newBuilderForType, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int HANDLER_FIELD_NUMBER
public static final int INITIALDELAYSECONDS_FIELD_NUMBER
public static final int TIMEOUTSECONDS_FIELD_NUMBER
public static final int PERIODSECONDS_FIELD_NUMBER
public static final int SUCCESSTHRESHOLD_FIELD_NUMBER
public static final int FAILURETHRESHOLD_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1.Probe> PARSER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public boolean hasHandler()
The action taken to determine the health of a container
optional .k8s.io.api.core.v1.Handler handler = 1;hasHandler in interface V1.ProbeOrBuilderpublic V1.Handler getHandler()
The action taken to determine the health of a container
optional .k8s.io.api.core.v1.Handler handler = 1;getHandler in interface V1.ProbeOrBuilderpublic V1.HandlerOrBuilder getHandlerOrBuilder()
The action taken to determine the health of a container
optional .k8s.io.api.core.v1.Handler handler = 1;getHandlerOrBuilder in interface V1.ProbeOrBuilderpublic boolean hasInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional int32 initialDelaySeconds = 2;hasInitialDelaySeconds in interface V1.ProbeOrBuilderpublic int getInitialDelaySeconds()
Number of seconds after the container has started before liveness probes are initiated. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional int32 initialDelaySeconds = 2;getInitialDelaySeconds in interface V1.ProbeOrBuilderpublic boolean hasTimeoutSeconds()
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional int32 timeoutSeconds = 3;hasTimeoutSeconds in interface V1.ProbeOrBuilderpublic int getTimeoutSeconds()
Number of seconds after which the probe times out. Defaults to 1 second. Minimum value is 1. More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#container-probes +optional
optional int32 timeoutSeconds = 3;getTimeoutSeconds in interface V1.ProbeOrBuilderpublic boolean hasPeriodSeconds()
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. +optional
optional int32 periodSeconds = 4;hasPeriodSeconds in interface V1.ProbeOrBuilderpublic int getPeriodSeconds()
How often (in seconds) to perform the probe. Default to 10 seconds. Minimum value is 1. +optional
optional int32 periodSeconds = 4;getPeriodSeconds in interface V1.ProbeOrBuilderpublic boolean hasSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. +optional
optional int32 successThreshold = 5;hasSuccessThreshold in interface V1.ProbeOrBuilderpublic int getSuccessThreshold()
Minimum consecutive successes for the probe to be considered successful after having failed. Defaults to 1. Must be 1 for liveness. Minimum value is 1. +optional
optional int32 successThreshold = 5;getSuccessThreshold in interface V1.ProbeOrBuilderpublic boolean hasFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. +optional
optional int32 failureThreshold = 6;hasFailureThreshold in interface V1.ProbeOrBuilderpublic int getFailureThreshold()
Minimum consecutive failures for the probe to be considered failed after having succeeded. Defaults to 3. Minimum value is 1. +optional
optional int32 failureThreshold = 6;getFailureThreshold in interface V1.ProbeOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static V1.Probe parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Probe parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Probe parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Probe parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Probe parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Probe parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1.Probe parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Probe parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Probe parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1.Probe parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1.Probe parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1.Probe parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1.Probe.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1.Probe.Builder newBuilder()
public static V1.Probe.Builder newBuilder(V1.Probe prototype)
public V1.Probe.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1.Probe.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1.Probe getDefaultInstance()
public static com.google.protobuf.Parser<V1.Probe> parser()
public com.google.protobuf.Parser<V1.Probe> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1.Probe getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2018. All rights reserved.