Class Generated.PodCondition.Builder

    • Method Detail

      • 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<Generated.PodCondition.Builder>
      • clear

        public Generated.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<Generated.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<Generated.PodCondition.Builder>
      • getDefaultInstanceForType

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

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

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

        public Generated.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<Generated.PodCondition.Builder>
      • clearField

        public Generated.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<Generated.PodCondition.Builder>
      • clearOneof

        public Generated.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<Generated.PodCondition.Builder>
      • setRepeatedField

        public Generated.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<Generated.PodCondition.Builder>
      • addRepeatedField

        public Generated.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<Generated.PodCondition.Builder>
      • isInitialized

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

        public Generated.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<Generated.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 Generated.PodConditionOrBuilder
        Returns:
        Whether the type field is set.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The type.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The bytes for type.
      • setType

        public Generated.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;
        Parameters:
        value - The type to set.
        Returns:
        This builder for chaining.
      • clearType

        public Generated.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;
        Returns:
        This builder for chaining.
      • setTypeBytes

        public Generated.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;
        Parameters:
        value - The bytes for type to set.
        Returns:
        This builder for chaining.
      • hasObservedGeneration

        public boolean hasObservedGeneration()
         If set, this represents the .metadata.generation that the pod condition was set based upon.
         This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
         +featureGate=PodObservedGenerationTracking
         +optional
         
        optional int64 observedGeneration = 7;
        Specified by:
        hasObservedGeneration in interface Generated.PodConditionOrBuilder
        Returns:
        Whether the observedGeneration field is set.
      • getObservedGeneration

        public long getObservedGeneration()
         If set, this represents the .metadata.generation that the pod condition was set based upon.
         This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
         +featureGate=PodObservedGenerationTracking
         +optional
         
        optional int64 observedGeneration = 7;
        Specified by:
        getObservedGeneration in interface Generated.PodConditionOrBuilder
        Returns:
        The observedGeneration.
      • setObservedGeneration

        public Generated.PodCondition.Builder setObservedGeneration​(long value)
         If set, this represents the .metadata.generation that the pod condition was set based upon.
         This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
         +featureGate=PodObservedGenerationTracking
         +optional
         
        optional int64 observedGeneration = 7;
        Parameters:
        value - The observedGeneration to set.
        Returns:
        This builder for chaining.
      • clearObservedGeneration

        public Generated.PodCondition.Builder clearObservedGeneration()
         If set, this represents the .metadata.generation that the pod condition was set based upon.
         This is an alpha field. Enable PodObservedGenerationTracking to be able to use this field.
         +featureGate=PodObservedGenerationTracking
         +optional
         
        optional int64 observedGeneration = 7;
        Returns:
        This builder for chaining.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        Whether the status field is set.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The status.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The bytes for status.
      • setStatus

        public Generated.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;
        Parameters:
        value - The status to set.
        Returns:
        This builder for chaining.
      • clearStatus

        public Generated.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;
        Returns:
        This builder for chaining.
      • setStatusBytes

        public Generated.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;
        Parameters:
        value - The bytes for status to set.
        Returns:
        This builder for chaining.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        Whether the lastProbeTime field is set.
      • mergeLastProbeTime

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

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

        public Generated.Time.Builder getLastProbeTimeBuilder()
         Last time we probed the condition.
         +optional
         
        optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time lastProbeTime = 3;
      • 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 Generated.PodConditionOrBuilder
        Returns:
        Whether the lastTransitionTime field is set.
      • getLastTransitionTime

        public Generated.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 Generated.PodConditionOrBuilder
        Returns:
        The lastTransitionTime.
      • setLastTransitionTime

        public Generated.PodCondition.Builder setLastTransitionTime​(Generated.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 Generated.PodCondition.Builder setLastTransitionTime​(Generated.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 Generated.PodCondition.Builder mergeLastTransitionTime​(Generated.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 Generated.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 Generated.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;
      • 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 Generated.PodConditionOrBuilder
        Returns:
        Whether the reason field is set.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The reason.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The bytes for reason.
      • setReason

        public Generated.PodCondition.Builder setReason​(String value)
         Unique, one-word, CamelCase reason for the condition's last transition.
         +optional
         
        optional string reason = 5;
        Parameters:
        value - The reason to set.
        Returns:
        This builder for chaining.
      • clearReason

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

        public Generated.PodCondition.Builder setReasonBytes​(com.google.protobuf.ByteString value)
         Unique, one-word, CamelCase reason for the condition's last transition.
         +optional
         
        optional string reason = 5;
        Parameters:
        value - The bytes for reason to set.
        Returns:
        This builder for chaining.
      • hasMessage

        public boolean hasMessage()
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Specified by:
        hasMessage in interface Generated.PodConditionOrBuilder
        Returns:
        Whether the message field is set.
      • getMessage

        public String getMessage()
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Specified by:
        getMessage in interface Generated.PodConditionOrBuilder
        Returns:
        The message.
      • 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 Generated.PodConditionOrBuilder
        Returns:
        The bytes for message.
      • setMessage

        public Generated.PodCondition.Builder setMessage​(String value)
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Parameters:
        value - The message to set.
        Returns:
        This builder for chaining.
      • clearMessage

        public Generated.PodCondition.Builder clearMessage()
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Returns:
        This builder for chaining.
      • setMessageBytes

        public Generated.PodCondition.Builder setMessageBytes​(com.google.protobuf.ByteString value)
         Human-readable message indicating details about last transition.
         +optional
         
        optional string message = 6;
        Parameters:
        value - The bytes for message to set.
        Returns:
        This builder for chaining.
      • setUnknownFields

        public final Generated.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<Generated.PodCondition.Builder>
      • mergeUnknownFields

        public final Generated.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<Generated.PodCondition.Builder>