Package k8s.io.api.core.v1
Class Generated.PodAffinity.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
- k8s.io.api.core.v1.Generated.PodAffinity.Builder
-
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable,Generated.PodAffinityOrBuilder
- Enclosing class:
- Generated.PodAffinity
public static final class Generated.PodAffinity.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder> implements Generated.PodAffinityOrBuilder
Pod affinity is a group of inter pod affinity scheduling rules.
Protobuf typek8s.io.api.core.v1.PodAffinity
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description Generated.PodAffinity.BuilderaddAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends Generated.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.Generated.PodAffinity.BuilderaddAllRequiredDuringSchedulingIgnoredDuringExecution(Iterable<? extends Generated.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.Generated.PodAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.PodAffinity.BuilderaddPreferredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.WeightedPodAffinityTerm.BuilderaddPreferredDuringSchedulingIgnoredDuringExecutionBuilder()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.Generated.WeightedPodAffinityTerm.BuilderaddPreferredDuringSchedulingIgnoredDuringExecutionBuilder(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.Generated.PodAffinity.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PodAffinity.BuilderaddRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuilderaddRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuilderaddRequiredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.PodAffinity.BuilderaddRequiredDuringSchedulingIgnoredDuringExecution(Generated.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.Generated.PodAffinityTerm.BuilderaddRequiredDuringSchedulingIgnoredDuringExecutionBuilder()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.Generated.PodAffinityTerm.BuilderaddRequiredDuringSchedulingIgnoredDuringExecutionBuilder(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.Generated.PodAffinitybuild()Generated.PodAffinitybuildPartial()Generated.PodAffinity.Builderclear()Generated.PodAffinity.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)Generated.PodAffinity.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)Generated.PodAffinity.BuilderclearPreferredDuringSchedulingIgnoredDuringExecution()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.Generated.PodAffinity.BuilderclearRequiredDuringSchedulingIgnoredDuringExecution()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.Generated.PodAffinity.Builderclone()Generated.PodAffinitygetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()Generated.WeightedPodAffinityTermgetPreferredDuringSchedulingIgnoredDuringExecution(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.Generated.WeightedPodAffinityTerm.BuildergetPreferredDuringSchedulingIgnoredDuringExecutionBuilder(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<Generated.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.intgetPreferredDuringSchedulingIgnoredDuringExecutionCount()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<Generated.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.Generated.WeightedPodAffinityTermOrBuildergetPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder(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 Generated.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.Generated.PodAffinityTermgetRequiredDuringSchedulingIgnoredDuringExecution(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.Generated.PodAffinityTerm.BuildergetRequiredDuringSchedulingIgnoredDuringExecutionBuilder(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<Generated.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.intgetRequiredDuringSchedulingIgnoredDuringExecutionCount()If the affinity requirements specified by this field are not met at scheduling time, the pod will not be scheduled onto the node.List<Generated.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.Generated.PodAffinityTermOrBuildergetRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder(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 Generated.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.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()Generated.PodAffinity.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)Generated.PodAffinity.BuildermergeFrom(com.google.protobuf.Message other)Generated.PodAffinity.BuildermergeFrom(Generated.PodAffinity other)Generated.PodAffinity.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)Generated.PodAffinity.BuilderremovePreferredDuringSchedulingIgnoredDuringExecution(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.Generated.PodAffinity.BuilderremoveRequiredDuringSchedulingIgnoredDuringExecution(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.Generated.PodAffinity.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)Generated.PodAffinity.BuildersetPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuildersetPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)Generated.PodAffinity.BuildersetRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuildersetRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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.Generated.PodAffinity.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
clear
public Generated.PodAffinity.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
getDefaultInstanceForType
public Generated.PodAffinity getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public Generated.PodAffinity build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public Generated.PodAffinity buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public Generated.PodAffinity.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
setField
public Generated.PodAffinity.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
clearField
public Generated.PodAffinity.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
clearOneof
public Generated.PodAffinity.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
setRepeatedField
public Generated.PodAffinity.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
addRepeatedField
public Generated.PodAffinity.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
mergeFrom
public Generated.PodAffinity.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.PodAffinity.Builder>
-
mergeFrom
public Generated.PodAffinity.Builder mergeFrom(Generated.PodAffinity other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
mergeFrom
public Generated.PodAffinity.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<Generated.PodAffinity.Builder>- Throws:
IOException
-
getRequiredDuringSchedulingIgnoredDuringExecutionList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionListin interfaceGenerated.PodAffinityOrBuilder
-
getRequiredDuringSchedulingIgnoredDuringExecutionCount
public 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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionCountin interfaceGenerated.PodAffinityOrBuilder
-
getRequiredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionin interfaceGenerated.PodAffinityOrBuilder
-
setRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
setRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder setRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
addRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
addRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
addRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
addRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addRequiredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
addAllRequiredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addAllRequiredDuringSchedulingIgnoredDuringExecution(Iterable<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
clearRequiredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
removeRequiredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
getRequiredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderin interfaceGenerated.PodAffinityOrBuilder
-
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;- Specified by:
getRequiredDuringSchedulingIgnoredDuringExecutionOrBuilderListin interfaceGenerated.PodAffinityOrBuilder
-
addRequiredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
addRequiredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
getRequiredDuringSchedulingIgnoredDuringExecutionBuilderList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.PodAffinityTerm requiredDuringSchedulingIgnoredDuringExecution = 1;
-
getPreferredDuringSchedulingIgnoredDuringExecutionList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionListin interfaceGenerated.PodAffinityOrBuilder
-
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 has pods which matches the corresponding podAffinityTerm; the node(s) with the highest sum are the most preferred. +optional +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionCountin interfaceGenerated.PodAffinityOrBuilder
-
getPreferredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionin interfaceGenerated.PodAffinityOrBuilder
-
setPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
setPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder setPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addPreferredDuringSchedulingIgnoredDuringExecution(int index, Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addAllPreferredDuringSchedulingIgnoredDuringExecution
public Generated.PodAffinity.Builder addAllPreferredDuringSchedulingIgnoredDuringExecution(Iterable<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
clearPreferredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
removePreferredDuringSchedulingIgnoredDuringExecution
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
getPreferredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderin interfaceGenerated.PodAffinityOrBuilder
-
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderList
public List<? extends Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;- Specified by:
getPreferredDuringSchedulingIgnoredDuringExecutionOrBuilderListin interfaceGenerated.PodAffinityOrBuilder
-
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
addPreferredDuringSchedulingIgnoredDuringExecutionBuilder
public Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
getPreferredDuringSchedulingIgnoredDuringExecutionBuilderList
public List<Generated.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 +listType=atomic
repeated .k8s.io.api.core.v1.WeightedPodAffinityTerm preferredDuringSchedulingIgnoredDuringExecution = 2;
-
setUnknownFields
public final Generated.PodAffinity.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
mergeUnknownFields
public final Generated.PodAffinity.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<Generated.PodAffinity.Builder>
-
-