Package io.kubernetes.client.proto
Class V1Batch.JobCondition.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
io.kubernetes.client.proto.V1Batch.JobCondition.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,V1Batch.JobConditionOrBuilder,Cloneable
- Enclosing class:
- V1Batch.JobCondition
public static final class V1Batch.JobCondition.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
implements V1Batch.JobConditionOrBuilder
JobCondition describes current state of a job.Protobuf type
k8s.io.api.batch.v1.JobCondition-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()clearField(com.google.protobuf.Descriptors.FieldDescriptor field) Last time the condition was checked.Last time the condition transit from one status to another.Human readable message indicating details about last transition.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) (brief) reason for the condition's last transition.Status of the condition, one of True, False, Unknown.Type of job condition, Complete or Failed.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorLast time the condition was checked.Last time the condition was checked.Last time the condition was checked.Last time the condition transit from one status to another.Last time the condition transit from one status to another.Last time the condition transit from one status to another.Human readable message indicating details about last transition.com.google.protobuf.ByteStringHuman readable message indicating details about last transition.(brief) reason for the condition's last transition.com.google.protobuf.ByteString(brief) reason for the condition's last transition.Status of the condition, one of True, False, Unknown.com.google.protobuf.ByteStringStatus of the condition, one of True, False, Unknown.getType()Type of job condition, Complete or Failed.com.google.protobuf.ByteStringType of job condition, Complete or Failed.booleanLast time the condition was checked.booleanLast time the condition transit from one status to another.booleanHuman readable message indicating details about last transition.boolean(brief) reason for the condition's last transition.booleanStatus of the condition, one of True, False, Unknown.booleanhasType()Type of job condition, Complete or Failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(V1Batch.JobCondition other) mergeLastProbeTime(Meta.Time value) Last time the condition was checked.mergeLastTransitionTime(Meta.Time value) Last time the condition transit from one status to another.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setLastProbeTime(Meta.Time value) Last time the condition was checked.setLastProbeTime(Meta.Time.Builder builderForValue) Last time the condition was checked.setLastTransitionTime(Meta.Time value) Last time the condition transit from one status to another.setLastTransitionTime(Meta.Time.Builder builderForValue) Last time the condition transit from one status to another.setMessage(String value) Human readable message indicating details about last transition.setMessageBytes(com.google.protobuf.ByteString value) Human readable message indicating details about last transition.(brief) reason for the condition's last transition.setReasonBytes(com.google.protobuf.ByteString value) (brief) reason for the condition's last transition.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) Status of the condition, one of True, False, Unknown.setStatusBytes(com.google.protobuf.ByteString value) Status of the condition, one of True, False, Unknown.Type of job condition, Complete or Failed.setTypeBytes(com.google.protobuf.ByteString value) Type of job condition, Complete or Failed.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
setField
public V1Batch.JobCondition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
clearField
public V1Batch.JobCondition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
clearOneof
public V1Batch.JobCondition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
setRepeatedField
public V1Batch.JobCondition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
addRepeatedField
public V1Batch.JobCondition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Batch.JobCondition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
mergeFrom
public V1Batch.JobCondition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<V1Batch.JobCondition.Builder>- Throws:
IOException
-
hasType
public boolean hasType()Type of job condition, Complete or Failed.
optional string type = 1;- Specified by:
hasTypein interfaceV1Batch.JobConditionOrBuilder
-
getType
Type of job condition, Complete or Failed.
optional string type = 1;- Specified by:
getTypein interfaceV1Batch.JobConditionOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Type of job condition, Complete or Failed.
optional string type = 1;- Specified by:
getTypeBytesin interfaceV1Batch.JobConditionOrBuilder
-
setType
Type of job condition, Complete or Failed.
optional string type = 1; -
clearType
Type of job condition, Complete or Failed.
optional string type = 1; -
setTypeBytes
Type of job condition, Complete or Failed.
optional string type = 1; -
hasStatus
public boolean hasStatus()Status of the condition, one of True, False, Unknown.
optional string status = 2;- Specified by:
hasStatusin interfaceV1Batch.JobConditionOrBuilder
-
getStatus
Status of the condition, one of True, False, Unknown.
optional string status = 2;- Specified by:
getStatusin interfaceV1Batch.JobConditionOrBuilder
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Status of the condition, one of True, False, Unknown.
optional string status = 2;- Specified by:
getStatusBytesin interfaceV1Batch.JobConditionOrBuilder
-
setStatus
Status of the condition, one of True, False, Unknown.
optional string status = 2; -
clearStatus
Status of the condition, one of True, False, Unknown.
optional string status = 2; -
setStatusBytes
Status of the condition, one of True, False, Unknown.
optional string status = 2; -
hasLastProbeTime
public boolean hasLastProbeTime()Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;- Specified by:
hasLastProbeTimein interfaceV1Batch.JobConditionOrBuilder
-
getLastProbeTime
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;- Specified by:
getLastProbeTimein interfaceV1Batch.JobConditionOrBuilder
-
setLastProbeTime
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; -
setLastProbeTime
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; -
mergeLastProbeTime
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; -
clearLastProbeTime
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; -
getLastProbeTimeBuilder
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3; -
getLastProbeTimeOrBuilder
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;- Specified by:
getLastProbeTimeOrBuilderin interfaceV1Batch.JobConditionOrBuilder
-
hasLastTransitionTime
public boolean hasLastTransitionTime()Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;- Specified by:
hasLastTransitionTimein interfaceV1Batch.JobConditionOrBuilder
-
getLastTransitionTime
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;- Specified by:
getLastTransitionTimein interfaceV1Batch.JobConditionOrBuilder
-
setLastTransitionTime
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; -
setLastTransitionTime
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; -
mergeLastTransitionTime
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; -
clearLastTransitionTime
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; -
getLastTransitionTimeBuilder
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4; -
getLastTransitionTimeOrBuilder
Last time the condition transit from one status to another. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;- Specified by:
getLastTransitionTimeOrBuilderin interfaceV1Batch.JobConditionOrBuilder
-
hasReason
public boolean hasReason()(brief) reason for the condition's last transition. +optional
optional string reason = 5;- Specified by:
hasReasonin interfaceV1Batch.JobConditionOrBuilder
-
getReason
(brief) reason for the condition's last transition. +optional
optional string reason = 5;- Specified by:
getReasonin interfaceV1Batch.JobConditionOrBuilder
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()(brief) reason for the condition's last transition. +optional
optional string reason = 5;- Specified by:
getReasonBytesin interfaceV1Batch.JobConditionOrBuilder
-
setReason
(brief) reason for the condition's last transition. +optional
optional string reason = 5; -
clearReason
(brief) reason for the condition's last transition. +optional
optional string reason = 5; -
setReasonBytes
(brief) reason for the condition's last transition. +optional
optional string reason = 5; -
hasMessage
public boolean hasMessage()Human readable message indicating details about last transition. +optional
optional string message = 6;- Specified by:
hasMessagein interfaceV1Batch.JobConditionOrBuilder
-
getMessage
Human readable message indicating details about last transition. +optional
optional string message = 6;- Specified by:
getMessagein interfaceV1Batch.JobConditionOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Human readable message indicating details about last transition. +optional
optional string message = 6;- Specified by:
getMessageBytesin interfaceV1Batch.JobConditionOrBuilder
-
setMessage
Human readable message indicating details about last transition. +optional
optional string message = 6; -
clearMessage
Human readable message indicating details about last transition. +optional
optional string message = 6; -
setMessageBytes
Human readable message indicating details about last transition. +optional
optional string message = 6; -
setUnknownFields
public final V1Batch.JobCondition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
mergeUnknownFields
public final V1Batch.JobCondition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-