Package k8s.io.api.core.v1
Interface Generated.PreferredSchedulingTermOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.PreferredSchedulingTerm,Generated.PreferredSchedulingTerm.Builder
- Enclosing class:
- Generated
public static interface Generated.PreferredSchedulingTermOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.NodeSelectorTermgetPreference()A node selector term, associated with the corresponding weight.Generated.NodeSelectorTermOrBuildergetPreferenceOrBuilder()A node selector term, associated with the corresponding weight.intgetWeight()Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.booleanhasPreference()A node selector term, associated with the corresponding weight.booleanhasWeight()Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasWeight
boolean hasWeight()
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
optional int32 weight = 1;- Returns:
- Whether the weight field is set.
-
getWeight
int getWeight()
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
optional int32 weight = 1;- Returns:
- The weight.
-
hasPreference
boolean hasPreference()
A node selector term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.NodeSelectorTerm preference = 2;- Returns:
- Whether the preference field is set.
-
getPreference
Generated.NodeSelectorTerm getPreference()
A node selector term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.NodeSelectorTerm preference = 2;- Returns:
- The preference.
-
getPreferenceOrBuilder
Generated.NodeSelectorTermOrBuilder getPreferenceOrBuilder()
A node selector term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.NodeSelectorTerm preference = 2;
-
-