Class V1.ComponentCondition.Builder

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

public static final class V1.ComponentCondition.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.ComponentCondition.Builder> implements V1.ComponentConditionOrBuilder
 Information about the condition of a component.
 
Protobuf type k8s.io.api.core.v1.ComponentCondition
  • 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.ComponentCondition.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.ComponentCondition.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.ComponentCondition.Builder>
    • getDefaultInstanceForType

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

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

      public V1.ComponentCondition buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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.ComponentCondition.Builder>
    • setField

      public V1.ComponentCondition.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.ComponentCondition.Builder>
    • clearField

      public V1.ComponentCondition.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.ComponentCondition.Builder>
    • clearOneof

      public V1.ComponentCondition.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.ComponentCondition.Builder>
    • setRepeatedField

      public V1.ComponentCondition.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.ComponentCondition.Builder>
    • addRepeatedField

      public V1.ComponentCondition.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.ComponentCondition.Builder>
    • mergeFrom

      public V1.ComponentCondition.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.ComponentCondition.Builder>
    • mergeFrom

    • isInitialized

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

      public V1.ComponentCondition.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.ComponentCondition.Builder>
      Throws:
      IOException
    • hasType

      public boolean hasType()
       Type of condition for a component.
       Valid value: "Healthy"
       
      optional string type = 1;
      Specified by:
      hasType in interface V1.ComponentConditionOrBuilder
    • getType

      public String getType()
       Type of condition for a component.
       Valid value: "Healthy"
       
      optional string type = 1;
      Specified by:
      getType in interface V1.ComponentConditionOrBuilder
    • getTypeBytes

      public com.google.protobuf.ByteString getTypeBytes()
       Type of condition for a component.
       Valid value: "Healthy"
       
      optional string type = 1;
      Specified by:
      getTypeBytes in interface V1.ComponentConditionOrBuilder
    • setType

      public V1.ComponentCondition.Builder setType(String value)
       Type of condition for a component.
       Valid value: "Healthy"
       
      optional string type = 1;
    • clearType

      public V1.ComponentCondition.Builder clearType()
       Type of condition for a component.
       Valid value: "Healthy"
       
      optional string type = 1;
    • setTypeBytes

      public V1.ComponentCondition.Builder setTypeBytes(com.google.protobuf.ByteString value)
       Type of condition for a component.
       Valid value: "Healthy"
       
      optional string type = 1;
    • hasStatus

      public boolean hasStatus()
       Status of the condition for a component.
       Valid values for "Healthy": "True", "False", or "Unknown".
       
      optional string status = 2;
      Specified by:
      hasStatus in interface V1.ComponentConditionOrBuilder
    • getStatus

      public String getStatus()
       Status of the condition for a component.
       Valid values for "Healthy": "True", "False", or "Unknown".
       
      optional string status = 2;
      Specified by:
      getStatus in interface V1.ComponentConditionOrBuilder
    • getStatusBytes

      public com.google.protobuf.ByteString getStatusBytes()
       Status of the condition for a component.
       Valid values for "Healthy": "True", "False", or "Unknown".
       
      optional string status = 2;
      Specified by:
      getStatusBytes in interface V1.ComponentConditionOrBuilder
    • setStatus

      public V1.ComponentCondition.Builder setStatus(String value)
       Status of the condition for a component.
       Valid values for "Healthy": "True", "False", or "Unknown".
       
      optional string status = 2;
    • clearStatus

      public V1.ComponentCondition.Builder clearStatus()
       Status of the condition for a component.
       Valid values for "Healthy": "True", "False", or "Unknown".
       
      optional string status = 2;
    • setStatusBytes

      public V1.ComponentCondition.Builder setStatusBytes(com.google.protobuf.ByteString value)
       Status of the condition for a component.
       Valid values for "Healthy": "True", "False", or "Unknown".
       
      optional string status = 2;
    • hasMessage

      public boolean hasMessage()
       Message about the condition for a component.
       For example, information about a health check.
       +optional
       
      optional string message = 3;
      Specified by:
      hasMessage in interface V1.ComponentConditionOrBuilder
    • getMessage

      public String getMessage()
       Message about the condition for a component.
       For example, information about a health check.
       +optional
       
      optional string message = 3;
      Specified by:
      getMessage in interface V1.ComponentConditionOrBuilder
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Message about the condition for a component.
       For example, information about a health check.
       +optional
       
      optional string message = 3;
      Specified by:
      getMessageBytes in interface V1.ComponentConditionOrBuilder
    • setMessage

      public V1.ComponentCondition.Builder setMessage(String value)
       Message about the condition for a component.
       For example, information about a health check.
       +optional
       
      optional string message = 3;
    • clearMessage

      public V1.ComponentCondition.Builder clearMessage()
       Message about the condition for a component.
       For example, information about a health check.
       +optional
       
      optional string message = 3;
    • setMessageBytes

      public V1.ComponentCondition.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Message about the condition for a component.
       For example, information about a health check.
       +optional
       
      optional string message = 3;
    • hasError

      public boolean hasError()
       Condition error code for a component.
       For example, a health check error code.
       +optional
       
      optional string error = 4;
      Specified by:
      hasError in interface V1.ComponentConditionOrBuilder
    • getError

      public String getError()
       Condition error code for a component.
       For example, a health check error code.
       +optional
       
      optional string error = 4;
      Specified by:
      getError in interface V1.ComponentConditionOrBuilder
    • getErrorBytes

      public com.google.protobuf.ByteString getErrorBytes()
       Condition error code for a component.
       For example, a health check error code.
       +optional
       
      optional string error = 4;
      Specified by:
      getErrorBytes in interface V1.ComponentConditionOrBuilder
    • setError

      public V1.ComponentCondition.Builder setError(String value)
       Condition error code for a component.
       For example, a health check error code.
       +optional
       
      optional string error = 4;
    • clearError

      public V1.ComponentCondition.Builder clearError()
       Condition error code for a component.
       For example, a health check error code.
       +optional
       
      optional string error = 4;
    • setErrorBytes

      public V1.ComponentCondition.Builder setErrorBytes(com.google.protobuf.ByteString value)
       Condition error code for a component.
       For example, a health check error code.
       +optional
       
      optional string error = 4;
    • setUnknownFields

      public final V1.ComponentCondition.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.ComponentCondition.Builder>
    • mergeUnknownFields

      public final V1.ComponentCondition.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.ComponentCondition.Builder>