public static final class V1Batch.JobStatus extends com.google.protobuf.GeneratedMessageV3 implements V1Batch.JobStatusOrBuilder
JobStatus represents the current state of a Job.Protobuf type
k8s.io.api.batch.v1.JobStatus| Modifier and Type | Class and Description |
|---|---|
static class |
V1Batch.JobStatus.Builder
JobStatus represents the current state of a Job.
|
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, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ACTIVE_FIELD_NUMBER |
static int |
COMPLETIONTIME_FIELD_NUMBER |
static int |
CONDITIONS_FIELD_NUMBER |
static int |
FAILED_FIELD_NUMBER |
static com.google.protobuf.Parser<V1Batch.JobStatus> |
PARSER
Deprecated.
|
static int |
STARTTIME_FIELD_NUMBER |
static int |
SUCCEEDED_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getActive()
The number of actively running pods.
|
Meta.Time |
getCompletionTime()
Represents time when the job was completed.
|
Meta.TimeOrBuilder |
getCompletionTimeOrBuilder()
Represents time when the job was completed.
|
V1Batch.JobCondition |
getConditions(int index)
The latest available observations of an object's current state.
|
int |
getConditionsCount()
The latest available observations of an object's current state.
|
List<V1Batch.JobCondition> |
getConditionsList()
The latest available observations of an object's current state.
|
V1Batch.JobConditionOrBuilder |
getConditionsOrBuilder(int index)
The latest available observations of an object's current state.
|
List<? extends V1Batch.JobConditionOrBuilder> |
getConditionsOrBuilderList()
The latest available observations of an object's current state.
|
static V1Batch.JobStatus |
getDefaultInstance() |
V1Batch.JobStatus |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
int |
getFailed()
The number of pods which reached phase Failed.
|
com.google.protobuf.Parser<V1Batch.JobStatus> |
getParserForType() |
int |
getSerializedSize() |
Meta.Time |
getStartTime()
Represents time when the job was acknowledged by the job controller.
|
Meta.TimeOrBuilder |
getStartTimeOrBuilder()
Represents time when the job was acknowledged by the job controller.
|
int |
getSucceeded()
The number of pods which reached phase Succeeded.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasActive()
The number of actively running pods.
|
boolean |
hasCompletionTime()
Represents time when the job was completed.
|
boolean |
hasFailed()
The number of pods which reached phase Failed.
|
int |
hashCode() |
boolean |
hasStartTime()
Represents time when the job was acknowledged by the job controller.
|
boolean |
hasSucceeded()
The number of pods which reached phase Succeeded.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static V1Batch.JobStatus.Builder |
newBuilder() |
static V1Batch.JobStatus.Builder |
newBuilder(V1Batch.JobStatus prototype) |
V1Batch.JobStatus.Builder |
newBuilderForType() |
protected V1Batch.JobStatus.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static V1Batch.JobStatus |
parseDelimitedFrom(InputStream input) |
static V1Batch.JobStatus |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.JobStatus |
parseFrom(byte[] data) |
static V1Batch.JobStatus |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.JobStatus |
parseFrom(ByteBuffer data) |
static V1Batch.JobStatus |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.JobStatus |
parseFrom(com.google.protobuf.ByteString data) |
static V1Batch.JobStatus |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.JobStatus |
parseFrom(com.google.protobuf.CodedInputStream input) |
static V1Batch.JobStatus |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static V1Batch.JobStatus |
parseFrom(InputStream input) |
static V1Batch.JobStatus |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<V1Batch.JobStatus> |
parser() |
V1Batch.JobStatus.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, 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 CONDITIONS_FIELD_NUMBER
public static final int STARTTIME_FIELD_NUMBER
public static final int COMPLETIONTIME_FIELD_NUMBER
public static final int ACTIVE_FIELD_NUMBER
public static final int SUCCEEDED_FIELD_NUMBER
public static final int FAILED_FIELD_NUMBER
@Deprecated public static final com.google.protobuf.Parser<V1Batch.JobStatus> 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 List<V1Batch.JobCondition> getConditionsList()
The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsList in interface V1Batch.JobStatusOrBuilderpublic List<? extends V1Batch.JobConditionOrBuilder> getConditionsOrBuilderList()
The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsOrBuilderList in interface V1Batch.JobStatusOrBuilderpublic int getConditionsCount()
The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsCount in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobCondition getConditions(int index)
The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditions in interface V1Batch.JobStatusOrBuilderpublic V1Batch.JobConditionOrBuilder getConditionsOrBuilder(int index)
The latest available observations of an object's current state. More info: https://kubernetes.io/docs/concepts/workloads/controllers/jobs-run-to-completion/ +optional +patchMergeKey=type +patchStrategy=merge
repeated .k8s.io.api.batch.v1.JobCondition conditions = 1;getConditionsOrBuilder in interface V1Batch.JobStatusOrBuilderpublic boolean hasStartTime()
Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;hasStartTime in interface V1Batch.JobStatusOrBuilderpublic Meta.Time getStartTime()
Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;getStartTime in interface V1Batch.JobStatusOrBuilderpublic Meta.TimeOrBuilder getStartTimeOrBuilder()
Represents time when the job was acknowledged by the job controller. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time startTime = 2;getStartTimeOrBuilder in interface V1Batch.JobStatusOrBuilderpublic boolean hasCompletionTime()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;hasCompletionTime in interface V1Batch.JobStatusOrBuilderpublic Meta.Time getCompletionTime()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;getCompletionTime in interface V1Batch.JobStatusOrBuilderpublic Meta.TimeOrBuilder getCompletionTimeOrBuilder()
Represents time when the job was completed. It is not guaranteed to be set in happens-before order across separate operations. It is represented in RFC3339 form and is in UTC. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time completionTime = 3;getCompletionTimeOrBuilder in interface V1Batch.JobStatusOrBuilderpublic boolean hasActive()
The number of actively running pods. +optional
optional int32 active = 4;hasActive in interface V1Batch.JobStatusOrBuilderpublic int getActive()
The number of actively running pods. +optional
optional int32 active = 4;getActive in interface V1Batch.JobStatusOrBuilderpublic boolean hasSucceeded()
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;hasSucceeded in interface V1Batch.JobStatusOrBuilderpublic int getSucceeded()
The number of pods which reached phase Succeeded. +optional
optional int32 succeeded = 5;getSucceeded in interface V1Batch.JobStatusOrBuilderpublic boolean hasFailed()
The number of pods which reached phase Failed. +optional
optional int32 failed = 6;hasFailed in interface V1Batch.JobStatusOrBuilderpublic int getFailed()
The number of pods which reached phase Failed. +optional
optional int32 failed = 6;getFailed in interface V1Batch.JobStatusOrBuilderpublic 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 V1Batch.JobStatus parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.JobStatus parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.JobStatus parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.JobStatus parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.JobStatus parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.JobStatus parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static V1Batch.JobStatus parseFrom(InputStream input) throws IOException
IOExceptionpublic static V1Batch.JobStatus parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Batch.JobStatus parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static V1Batch.JobStatus parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static V1Batch.JobStatus parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static V1Batch.JobStatus parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic V1Batch.JobStatus.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static V1Batch.JobStatus.Builder newBuilder()
public static V1Batch.JobStatus.Builder newBuilder(V1Batch.JobStatus prototype)
public V1Batch.JobStatus.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected V1Batch.JobStatus.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static V1Batch.JobStatus getDefaultInstance()
public static com.google.protobuf.Parser<V1Batch.JobStatus> parser()
public com.google.protobuf.Parser<V1Batch.JobStatus> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public V1Batch.JobStatus getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2020. All rights reserved.