public static final class V1.PodAffinity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder> implements V1.PodAffinityOrBuilder
Pod affinity is a group of inter pod affinity scheduling rules.Protobuf type
k8s.io.api.core.v1.PodAffinity| Modifier and Type | Method and Description | 
|---|---|
| V1.PodAffinity.Builder | addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.WeightedPodAffinityTerm> 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. | 
| V1.PodAffinity.Builder | addAllRequiredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.PodAffinityTerm> values)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinity.Builder | addPreferredDuringSchedulingIgnoredDuringExecution(int index,
                                                  V1.WeightedPodAffinityTerm.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. | 
| V1.PodAffinity.Builder | addPreferredDuringSchedulingIgnoredDuringExecution(int index,
                                                  V1.WeightedPodAffinityTerm 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. | 
| V1.PodAffinity.Builder | addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm.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. | 
| V1.PodAffinity.Builder | addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm 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. | 
| V1.WeightedPodAffinityTerm.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. | 
| V1.WeightedPodAffinityTerm.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. | 
| V1.PodAffinity.Builder | addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                Object value) | 
| V1.PodAffinity.Builder | addRequiredDuringSchedulingIgnoredDuringExecution(int index,
                                                 V1.PodAffinityTerm.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. | 
| V1.PodAffinity.Builder | addRequiredDuringSchedulingIgnoredDuringExecution(int index,
                                                 V1.PodAffinityTerm value)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinity.Builder | addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm.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. | 
| V1.PodAffinity.Builder | addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm value)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinityTerm.Builder | addRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinityTerm.Builder | addRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinity | build() | 
| V1.PodAffinity | buildPartial() | 
| V1.PodAffinity.Builder | clear() | 
| V1.PodAffinity.Builder | clearField(com.google.protobuf.Descriptors.FieldDescriptor field) | 
| V1.PodAffinity.Builder | clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) | 
| V1.PodAffinity.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. | 
| V1.PodAffinity.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. | 
| V1.PodAffinity.Builder | clone() | 
| V1.PodAffinity | getDefaultInstanceForType() | 
| static com.google.protobuf.Descriptors.Descriptor | getDescriptor() | 
| com.google.protobuf.Descriptors.Descriptor | getDescriptorForType() | 
| V1.WeightedPodAffinityTerm | 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. | 
| V1.WeightedPodAffinityTerm.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. | 
| List<V1.WeightedPodAffinityTerm.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. | 
| 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. | 
| List<V1.WeightedPodAffinityTerm> | 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. | 
| V1.WeightedPodAffinityTermOrBuilder | 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. | 
| List<? extends V1.WeightedPodAffinityTermOrBuilder> | 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. | 
| V1.PodAffinityTerm | getRequiredDuringSchedulingIgnoredDuringExecution(int index)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinityTerm.Builder | getRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| List<V1.PodAffinityTerm.Builder> | getRequiredDuringSchedulingIgnoredDuringExecutionBuilderList()
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| int | getRequiredDuringSchedulingIgnoredDuringExecutionCount()
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| List<V1.PodAffinityTerm> | getRequiredDuringSchedulingIgnoredDuringExecutionList()
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinityTermOrBuilder | getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| List<? extends V1.PodAffinityTermOrBuilder> | getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable | internalGetFieldAccessorTable() | 
| boolean | isInitialized() | 
| V1.PodAffinity.Builder | mergeFrom(com.google.protobuf.CodedInputStream input,
         com.google.protobuf.ExtensionRegistryLite extensionRegistry) | 
| V1.PodAffinity.Builder | mergeFrom(com.google.protobuf.Message other) | 
| V1.PodAffinity.Builder | mergeFrom(V1.PodAffinity other) | 
| V1.PodAffinity.Builder | mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
| V1.PodAffinity.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. | 
| V1.PodAffinity.Builder | removeRequiredDuringSchedulingIgnoredDuringExecution(int index)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinity.Builder | setField(com.google.protobuf.Descriptors.FieldDescriptor field,
        Object value) | 
| V1.PodAffinity.Builder | setPreferredDuringSchedulingIgnoredDuringExecution(int index,
                                                  V1.WeightedPodAffinityTerm.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. | 
| V1.PodAffinity.Builder | setPreferredDuringSchedulingIgnoredDuringExecution(int index,
                                                  V1.WeightedPodAffinityTerm 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. | 
| V1.PodAffinity.Builder | setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
                int index,
                Object value) | 
| V1.PodAffinity.Builder | setRequiredDuringSchedulingIgnoredDuringExecution(int index,
                                                 V1.PodAffinityTerm.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. | 
| V1.PodAffinity.Builder | setRequiredDuringSchedulingIgnoredDuringExecution(int index,
                                                 V1.PodAffinityTerm value)
 If the affinity requirements specified by this field are not met at
 scheduling time, the pod will not be scheduled onto the node. | 
| V1.PodAffinity.Builder | setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) | 
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1.PodAffinity build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1.PodAffinity buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1.PodAffinity.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder mergeFrom(V1.PodAffinity other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public V1.PodAffinity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1.PodAffinity.Builder>IOExceptionpublic List<V1.PodAffinityTerm> getRequiredDuringSchedulingIgnoredDuringExecutionList()
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 getRequiredDuringSchedulingIgnoredDuringExecutionList in interface V1.PodAffinityOrBuilderpublic int getRequiredDuringSchedulingIgnoredDuringExecutionCount()
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 getRequiredDuringSchedulingIgnoredDuringExecutionCount in interface V1.PodAffinityOrBuilderpublic V1.PodAffinityTerm getRequiredDuringSchedulingIgnoredDuringExecution(int index)
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 getRequiredDuringSchedulingIgnoredDuringExecution in interface V1.PodAffinityOrBuilderpublic V1.PodAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm 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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm.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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm 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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm 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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(V1.PodAffinityTerm.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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(int index, V1.PodAffinityTerm.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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder addAllRequiredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.PodAffinityTerm> values)
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinity.Builder removeRequiredDuringSchedulingIgnoredDuringExecution(int index)
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinityTerm.Builder getRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinityTermOrBuilder getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder(int index)
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface V1.PodAffinityOrBuilderpublic List<? extends V1.PodAffinityTermOrBuilder> getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList()
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList in interface V1.PodAffinityOrBuilderpublic V1.PodAffinityTerm.Builder addRequiredDuringSchedulingIgnoredDuringExecutionBuilder()
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public V1.PodAffinityTerm.Builder addRequiredDuringSchedulingIgnoredDuringExecutionBuilder(int index)
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public List<V1.PodAffinityTerm.Builder> getRequiredDuringSchedulingIgnoredDuringExecutionBuilderList()
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 a pod label update), the system may or may not try to eventually evict the pod from its node. When there are multiple elements, the lists of nodes corresponding to each podAffinityTerm are intersected, i.e. all terms must be satisfied. +optional
 repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
 public List<V1.WeightedPodAffinityTerm> 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 getPreferredDuringSchedulingIgnoredDuringExecutionList in interface V1.PodAffinityOrBuilderpublic 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 getPreferredDuringSchedulingIgnoredDuringExecutionCount in interface V1.PodAffinityOrBuilderpublic V1.WeightedPodAffinityTerm 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 getPreferredDuringSchedulingIgnoredDuringExecution in interface V1.PodAffinityOrBuilderpublic V1.PodAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.Builder addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends V1.WeightedPodAffinityTerm> 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.PodAffinity.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.WeightedPodAffinityTermOrBuilder 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder in interface V1.PodAffinityOrBuilderpublic List<? extends V1.WeightedPodAffinityTermOrBuilder> 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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList in interface V1.PodAffinityOrBuilderpublic V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public List<V1.WeightedPodAffinityTerm.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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional
 repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
 public final V1.PodAffinity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>public final V1.PodAffinity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1.PodAffinity.Builder>Copyright © 2020. All rights reserved.