Class V1.PreferAvoidPodsEntry.Builder

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

public static final class V1.PreferAvoidPodsEntry.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PreferAvoidPodsEntry.Builder> implements V1.PreferAvoidPodsEntryOrBuilder
 Describes a class of pods that should avoid this node.
 
Protobuf type k8s.io.api.core.v1.PreferAvoidPodsEntry
  • 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.PreferAvoidPodsEntry.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.PreferAvoidPodsEntry.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.PreferAvoidPodsEntry.Builder>
    • getDefaultInstanceForType

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

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

      public V1.PreferAvoidPodsEntry 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.PreferAvoidPodsEntry.Builder>
    • setField

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

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

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

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

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

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

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

      public boolean hasPodSignature()
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
      Specified by:
      hasPodSignature in interface V1.PreferAvoidPodsEntryOrBuilder
    • getPodSignature

      public V1.PodSignature getPodSignature()
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
      Specified by:
      getPodSignature in interface V1.PreferAvoidPodsEntryOrBuilder
    • setPodSignature

      public V1.PreferAvoidPodsEntry.Builder setPodSignature(V1.PodSignature value)
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
    • setPodSignature

      public V1.PreferAvoidPodsEntry.Builder setPodSignature(V1.PodSignature.Builder builderForValue)
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
    • mergePodSignature

      public V1.PreferAvoidPodsEntry.Builder mergePodSignature(V1.PodSignature value)
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
    • clearPodSignature

      public V1.PreferAvoidPodsEntry.Builder clearPodSignature()
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
    • getPodSignatureBuilder

      public V1.PodSignature.Builder getPodSignatureBuilder()
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
    • getPodSignatureOrBuilder

      public V1.PodSignatureOrBuilder getPodSignatureOrBuilder()
       The class of pods.
       
      optional .k8s.io.api.core.v1.PodSignature podSignature = 1;
      Specified by:
      getPodSignatureOrBuilder in interface V1.PreferAvoidPodsEntryOrBuilder
    • hasEvictionTime

      public boolean hasEvictionTime()
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
      Specified by:
      hasEvictionTime in interface V1.PreferAvoidPodsEntryOrBuilder
    • getEvictionTime

      public Meta.Time getEvictionTime()
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
      Specified by:
      getEvictionTime in interface V1.PreferAvoidPodsEntryOrBuilder
    • setEvictionTime

      public V1.PreferAvoidPodsEntry.Builder setEvictionTime(Meta.Time value)
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
    • setEvictionTime

      public V1.PreferAvoidPodsEntry.Builder setEvictionTime(Meta.Time.Builder builderForValue)
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
    • mergeEvictionTime

      public V1.PreferAvoidPodsEntry.Builder mergeEvictionTime(Meta.Time value)
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
    • clearEvictionTime

      public V1.PreferAvoidPodsEntry.Builder clearEvictionTime()
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
    • getEvictionTimeBuilder

      public Meta.Time.Builder getEvictionTimeBuilder()
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
    • getEvictionTimeOrBuilder

      public Meta.TimeOrBuilder getEvictionTimeOrBuilder()
       Time at which this entry was added to the list.
       +optional
       
      optional .k8s.io.apimachinery.pkg.apis.meta.v1.Time evictionTime = 2;
      Specified by:
      getEvictionTimeOrBuilder in interface V1.PreferAvoidPodsEntryOrBuilder
    • hasReason

      public boolean hasReason()
       (brief) reason why this entry was added to the list.
       +optional
       
      optional string reason = 3;
      Specified by:
      hasReason in interface V1.PreferAvoidPodsEntryOrBuilder
    • getReason

      public String getReason()
       (brief) reason why this entry was added to the list.
       +optional
       
      optional string reason = 3;
      Specified by:
      getReason in interface V1.PreferAvoidPodsEntryOrBuilder
    • getReasonBytes

      public com.google.protobuf.ByteString getReasonBytes()
       (brief) reason why this entry was added to the list.
       +optional
       
      optional string reason = 3;
      Specified by:
      getReasonBytes in interface V1.PreferAvoidPodsEntryOrBuilder
    • setReason

      public V1.PreferAvoidPodsEntry.Builder setReason(String value)
       (brief) reason why this entry was added to the list.
       +optional
       
      optional string reason = 3;
    • clearReason

      public V1.PreferAvoidPodsEntry.Builder clearReason()
       (brief) reason why this entry was added to the list.
       +optional
       
      optional string reason = 3;
    • setReasonBytes

      public V1.PreferAvoidPodsEntry.Builder setReasonBytes(com.google.protobuf.ByteString value)
       (brief) reason why this entry was added to the list.
       +optional
       
      optional string reason = 3;
    • hasMessage

      public boolean hasMessage()
       Human readable message indicating why this entry was added to the list.
       +optional
       
      optional string message = 4;
      Specified by:
      hasMessage in interface V1.PreferAvoidPodsEntryOrBuilder
    • getMessage

      public String getMessage()
       Human readable message indicating why this entry was added to the list.
       +optional
       
      optional string message = 4;
      Specified by:
      getMessage in interface V1.PreferAvoidPodsEntryOrBuilder
    • getMessageBytes

      public com.google.protobuf.ByteString getMessageBytes()
       Human readable message indicating why this entry was added to the list.
       +optional
       
      optional string message = 4;
      Specified by:
      getMessageBytes in interface V1.PreferAvoidPodsEntryOrBuilder
    • setMessage

      public V1.PreferAvoidPodsEntry.Builder setMessage(String value)
       Human readable message indicating why this entry was added to the list.
       +optional
       
      optional string message = 4;
    • clearMessage

      public V1.PreferAvoidPodsEntry.Builder clearMessage()
       Human readable message indicating why this entry was added to the list.
       +optional
       
      optional string message = 4;
    • setMessageBytes

      public V1.PreferAvoidPodsEntry.Builder setMessageBytes(com.google.protobuf.ByteString value)
       Human readable message indicating why this entry was added to the list.
       +optional
       
      optional string message = 4;
    • setUnknownFields

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

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