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.Descriptor
com.google.protobuf.Descriptors.Descriptor
Last 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.ByteString
Human 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.ByteString
Status of the condition, one of True, False, Unknown.getType()
Type of job condition, Complete or Failed.com.google.protobuf.ByteString
Type of job condition, Complete or Failed.boolean
Last time the condition was checked.boolean
Last time the condition transit from one status to another.boolean
Human readable message indicating details about last transition.boolean
(brief) reason for the condition's last transition.boolean
Status of the condition, one of True, False, Unknown.boolean
hasType()
Type of job condition, Complete or Failed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(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, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods 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:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
setField
public V1Batch.JobCondition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
clearField
public V1Batch.JobCondition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
clearOneof
public V1Batch.JobCondition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in 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:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
addRepeatedField
public V1Batch.JobCondition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<V1Batch.JobCondition.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasType
in interfaceV1Batch.JobConditionOrBuilder
-
getType
Type of job condition, Complete or Failed.
optional string type = 1;
- Specified by:
getType
in interfaceV1Batch.JobConditionOrBuilder
-
getTypeBytes
public com.google.protobuf.ByteString getTypeBytes()Type of job condition, Complete or Failed.
optional string type = 1;
- Specified by:
getTypeBytes
in 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:
hasStatus
in interfaceV1Batch.JobConditionOrBuilder
-
getStatus
Status of the condition, one of True, False, Unknown.
optional string status = 2;
- Specified by:
getStatus
in interfaceV1Batch.JobConditionOrBuilder
-
getStatusBytes
public com.google.protobuf.ByteString getStatusBytes()Status of the condition, one of True, False, Unknown.
optional string status = 2;
- Specified by:
getStatusBytes
in 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:
hasLastProbeTime
in interfaceV1Batch.JobConditionOrBuilder
-
getLastProbeTime
Last time the condition was checked. +optional
optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
- Specified by:
getLastProbeTime
in 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:
getLastProbeTimeOrBuilder
in 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:
hasLastTransitionTime
in 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:
getLastTransitionTime
in 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:
getLastTransitionTimeOrBuilder
in interfaceV1Batch.JobConditionOrBuilder
-
hasReason
public boolean hasReason()(brief) reason for the condition's last transition. +optional
optional string reason = 5;
- Specified by:
hasReason
in interfaceV1Batch.JobConditionOrBuilder
-
getReason
(brief) reason for the condition's last transition. +optional
optional string reason = 5;
- Specified by:
getReason
in interfaceV1Batch.JobConditionOrBuilder
-
getReasonBytes
public com.google.protobuf.ByteString getReasonBytes()(brief) reason for the condition's last transition. +optional
optional string reason = 5;
- Specified by:
getReasonBytes
in 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:
hasMessage
in interfaceV1Batch.JobConditionOrBuilder
-
getMessage
Human readable message indicating details about last transition. +optional
optional string message = 6;
- Specified by:
getMessage
in interfaceV1Batch.JobConditionOrBuilder
-
getMessageBytes
public com.google.protobuf.ByteString getMessageBytes()Human readable message indicating details about last transition. +optional
optional string message = 6;
- Specified by:
getMessageBytes
in 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:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-
mergeUnknownFields
public final V1Batch.JobCondition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<V1Batch.JobCondition.Builder>
-