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

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

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

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

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

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

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

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

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

        public Generated.NodeAffinity.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.NodeAffinity.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.NodeAffinity.Builder>
      • mergeFrom

        public Generated.NodeAffinity.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.NodeAffinity.Builder>
        Throws:
        IOException
      • hasRequiredDuringSchedulingIgnoredDuringExecution

        public boolean hasRequiredDuringSchedulingIgnoredDuringExecution()
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
        Specified by:
        hasRequiredDuringSchedulingIgnoredDuringExecution in interface Generated.NodeAffinityOrBuilder
        Returns:
        Whether the requiredDuringSchedulingIgnoredDuringExecution field is set.
      • getRequiredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeSelector getRequiredDuringSchedulingIgnoredDuringExecution()
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
        Specified by:
        getRequiredDuringSchedulingIgnoredDuringExecution in interface Generated.NodeAffinityOrBuilder
        Returns:
        The requiredDuringSchedulingIgnoredDuringExecution.
      • setRequiredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution​(Generated.NodeSelector value)
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
      • setRequiredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution​(Generated.NodeSelector.Builder builderForValue)
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
      • mergeRequiredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder mergeRequiredDuringSchedulingIgnoredDuringExecution​(Generated.NodeSelector value)
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
      • clearRequiredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder clearRequiredDuringSchedulingIgnoredDuringExecution()
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
      • getRequiredDuringSchedulingIgnoredDuringExecutionBuilder

        public Generated.NodeSelector.Builder getRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
      • getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder

        public Generated.NodeSelectorOrBuilder getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder()
         If the affinity requirements specified by this field are not met at
         scheduling time, the pod will not be scheduled onto the node.
         If the affinity requirements specified by this field cease to be met
         at some point during pod execution (e.g. due to an update), the system
         may or may not try to eventually evict the pod from its node.
         +optional
         
        optional .k8s.io.api.core.v1.NodeSelector requiredDuringSchedulingIgnoredDuringExecution = 1;
        Specified by:
        getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface Generated.NodeAffinityOrBuilder
      • getPreferredDuringSchedulingIgnoredDuringExecutionList

        public List<Generated.PreferredSchedulingTerm> getPreferredDuringSchedulingIgnoredDuringExecutionList()
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
        Specified by:
        getPreferredDuringSchedulingIgnoredDuringExecutionList in interface Generated.NodeAffinityOrBuilder
      • getPreferredDuringSchedulingIgnoredDuringExecutionCount

        public int getPreferredDuringSchedulingIgnoredDuringExecutionCount()
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
        Specified by:
        getPreferredDuringSchedulingIgnoredDuringExecutionCount in interface Generated.NodeAffinityOrBuilder
      • getPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.PreferredSchedulingTerm getPreferredDuringSchedulingIgnoredDuringExecution​(int index)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
        Specified by:
        getPreferredDuringSchedulingIgnoredDuringExecution in interface Generated.NodeAffinityOrBuilder
      • setPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution​(int index,
                                                                                                 Generated.PreferredSchedulingTerm value)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • setPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution​(int index,
                                                                                                 Generated.PreferredSchedulingTerm.Builder builderForValue)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • addPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution​(Generated.PreferredSchedulingTerm value)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • addPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution​(int index,
                                                                                                 Generated.PreferredSchedulingTerm value)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • addPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution​(Generated.PreferredSchedulingTerm.Builder builderForValue)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • addPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution​(int index,
                                                                                                 Generated.PreferredSchedulingTerm.Builder builderForValue)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • addAllPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder addAllPreferredDuringSchedulingIgnoredDuringExecution​(Iterable<? extends Generated.PreferredSchedulingTerm> values)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • clearPreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder clearPreferredDuringSchedulingIgnoredDuringExecution()
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • removePreferredDuringSchedulingIgnoredDuringExecution

        public Generated.NodeAffinity.Builder removePreferredDuringSchedulingIgnoredDuringExecution​(int index)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • getPreferredDuringSchedulingIgnoredDuringExecutionBuilder

        public Generated.PreferredSchedulingTerm.Builder getPreferredDuringSchedulingIgnoredDuringExecutionBuilder​(int index)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder

        public Generated.PreferredSchedulingTermOrBuilder getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder​(int index)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
        Specified by:
        getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface Generated.NodeAffinityOrBuilder
      • getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList

        public List<? extends Generated.PreferredSchedulingTermOrBuilder> getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
        Specified by:
        getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList in interface Generated.NodeAffinityOrBuilder
      • addPreferredDuringSchedulingIgnoredDuringExecutionBuilder

        public Generated.PreferredSchedulingTerm.Builder addPreferredDuringSchedulingIgnoredDuringExecutionBuilder()
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • addPreferredDuringSchedulingIgnoredDuringExecutionBuilder

        public Generated.PreferredSchedulingTerm.Builder addPreferredDuringSchedulingIgnoredDuringExecutionBuilder​(int index)
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList

        public List<Generated.PreferredSchedulingTerm.Builder> getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList()
         The scheduler will prefer to schedule pods to nodes that satisfy
         the affinity expressions specified by this field, but it may choose
         a node that violates one or more of the expressions. The node that is
         most preferred is the one with the greatest sum of weights, i.e.
         for each node that meets all of the scheduling requirements (resource
         request, requiredDuringScheduling affinity expressions, etc.),
         compute a sum by iterating through the elements of this field and adding
         "weight" to the sum if the node matches the corresponding matchExpressions; the
         node(s) with the highest sum are the most preferred.
         +optional
         +listType=atomic
         
        repeated .k8s.io.api.core.v1.PreferredSchedulingTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
      • setUnknownFields

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

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