Class V1.PodCondition.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderType>
com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
io.kubernetes.client.proto.V1.PodCondition.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, V1.PodConditionOrBuilder, Cloneable
Enclosing class:
V1.PodCondition

public static final class V1.PodCondition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder> implements V1.PodConditionOrBuilder
 PodCondition contains details for the current condition of this pod.
 
Protobuf type k8s.io.api.core.v1.PodCondition
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • clear

      public V1.PodCondition.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • getDefaultInstanceForType

      public V1.PodCondition getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public V1.PodCondition build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public V1.PodCondition buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public V1.PodCondition.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • setField

      public V1.PodCondition.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • clearField

      public V1.PodCondition.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • clearOneof

      public V1.PodCondition.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • setRepeatedField

      public V1.PodCondition.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • addRepeatedField

      public V1.PodCondition.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • mergeFrom

      public V1.PodCondition.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodCondition.Builder>
    • mergeFrom

      public V1.PodCondition.Builder mergeFrom(V1.PodCondition other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • mergeFrom

      public V1.PodCondition.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodCondition.Builder>
      Throws:
      IOException
    • hasType

      public boolean hasType()
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string type = 1;
      Specified by:
      hasType in interface V1.PodConditionOrBuilder
    • getType

      public String getType()
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string type = 1;
      Specified by:
      getType in interface V1.PodConditionOrBuilder
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string type = 1;
      Specified by:
      getTypeBytes in interface V1.PodConditionOrBuilder
    • setType

      public V1.PodCondition.Builder setType(String value)
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string type = 1;
    • clearType

      public V1.PodCondition.Builder clearType()
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string type = 1;
    • setTypeBytes

      public V1.PodCondition.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Type is the type of the condition.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string type = 1;
    • hasStatus

      public boolean hasStatus()
       Status is the status of the condition.
       Can be True, False, Unknown.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string status = 2;
      Specified by:
      hasStatus in interface V1.PodConditionOrBuilder
    • getStatus

      public String getStatus()
       Status is the status of the condition.
       Can be True, False, Unknown.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string status = 2;
      Specified by:
      getStatus in interface V1.PodConditionOrBuilder
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Status is the status of the condition.
       Can be True, False, Unknown.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string status = 2;
      Specified by:
      getStatusBytes in interface V1.PodConditionOrBuilder
    • setStatus

      public V1.PodCondition.Builder setStatus(String value)
       Status is the status of the condition.
       Can be True, False, Unknown.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string status = 2;
    • clearStatus

      public V1.PodCondition.Builder clearStatus()
       Status is the status of the condition.
       Can be True, False, Unknown.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string status = 2;
    • setStatusBytes

      public V1.PodCondition.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Status is the status of the condition.
       Can be True, False, Unknown.
       More info: https://kubernetes.io/docs/concepts/workloads/pods/pod-lifecycle#pod-conditions
       
      optional string status = 2;
    • hasLastProbeTime

      public boolean hasLastProbeTime()
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
      Specified by:
      hasLastProbeTime in interface V1.PodConditionOrBuilder
    • getLastProbeTime

      public Meta.Time getLastProbeTime()
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
      Specified by:
      getLastProbeTime in interface V1.PodConditionOrBuilder
    • setLastProbeTime

      public V1.PodCondition.Builder setLastProbeTime(Meta.Time value)
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
    • setLastProbeTime

      public V1.PodCondition.Builder setLastProbeTime(Meta.Time.Builder builderForValue)
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
    • mergeLastProbeTime

      public V1.PodCondition.Builder mergeLastProbeTime(Meta.Time value)
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
    • clearLastProbeTime

      public V1.PodCondition.Builder clearLastProbeTime()
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
    • getLastProbeTimeBuilder

      public Meta.Time.Builder getLastProbeTimeBuilder()
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
    • getLastProbeTimeOrBuilder

      public Meta.TimeOrBuilder getLastProbeTimeOrBuilder()
       Last time we probed the condition.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
      Specified by:
      getLastProbeTimeOrBuilder in interface V1.PodConditionOrBuilder
    • hasLastTransitionTime

      public boolean hasLastTransitionTime()
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      Specified by:
      hasLastTransitionTime in interface V1.PodConditionOrBuilder
    • getLastTransitionTime

      public Meta.Time getLastTransitionTime()
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      Specified by:
      getLastTransitionTime in interface V1.PodConditionOrBuilder
    • setLastTransitionTime

      public V1.PodCondition.Builder setLastTransitionTime(Meta.Time value)
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
    • setLastTransitionTime

      public V1.PodCondition.Builder setLastTransitionTime(Meta.Time.Builder builderForValue)
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
    • mergeLastTransitionTime

      public V1.PodCondition.Builder mergeLastTransitionTime(Meta.Time value)
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
    • clearLastTransitionTime

      public V1.PodCondition.Builder clearLastTransitionTime()
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
    • getLastTransitionTimeBuilder

      public Meta.Time.Builder getLastTransitionTimeBuilder()
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
    • getLastTransitionTimeOrBuilder

      public Meta.TimeOrBuilder getLastTransitionTimeOrBuilder()
       Last time the condition transitioned from one status to another.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastTransitionTime = 4;
      Specified by:
      getLastTransitionTimeOrBuilder in interface V1.PodConditionOrBuilder
    • hasReason

      public boolean hasReason()
       Unique, one-word, CamelCase reason for the condition's last transition.
       +optional
       
      optional string reason = 5;
      Specified by:
      hasReason in interface V1.PodConditionOrBuilder
    • getReason

      public String getReason()
       Unique, one-word, CamelCase reason for the condition's last transition.
       +optional
       
      optional string reason = 5;
      Specified by:
      getReason in interface V1.PodConditionOrBuilder
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       Unique, one-word, CamelCase reason for the condition's last transition.
       +optional
       
      optional string reason = 5;
      Specified by:
      getReasonBytes in interface V1.PodConditionOrBuilder
    • setReason

      public V1.PodCondition.Builder setReason(String value)
       Unique, one-word, CamelCase reason for the condition's last transition.
       +optional
       
      optional string reason = 5;
    • clearReason

      public V1.PodCondition.Builder clearReason()
       Unique, one-word, CamelCase reason for the condition's last transition.
       +optional
       
      optional string reason = 5;
    • setReasonBytes

      public V1.PodCondition.Builder setReasonBytes(com.google.protobuf.ByteString value)
       Unique, one-word, CamelCase 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 interface V1.PodConditionOrBuilder
    • getMessage

      public String getMessage()
       Human-readable message indicating details about last transition.
       +optional
       
      optional string message = 6;
      Specified by:
      getMessage in interface V1.PodConditionOrBuilder
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Human-readable message indicating details about last transition.
       +optional
       
      optional string message = 6;
      Specified by:
      getMessageBytes in interface V1.PodConditionOrBuilder
    • setMessage

      public V1.PodCondition.Builder setMessage(String value)
       Human-readable message indicating details about last transition.
       +optional
       
      optional string message = 6;
    • clearMessage

      public V1.PodCondition.Builder clearMessage()
       Human-readable message indicating details about last transition.
       +optional
       
      optional string message = 6;
    • setMessageBytes

      public V1.PodCondition.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Human-readable message indicating details about last transition.
       +optional
       
      optional string message = 6;
    • setUnknownFields

      public final V1.PodCondition.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>
    • mergeUnknownFields

      public final V1.PodCondition.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodCondition.Builder>