Package io.kubernetes.client.proto
Interface V1.PreferredSchedulingTermOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.PreferredSchedulingTerm
,V1.PreferredSchedulingTerm.Builder
- Enclosing class:
- V1
public static interface V1.PreferredSchedulingTermOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionA node selector term, associated with the corresponding weight.A node selector term, associated with the corresponding weight.int
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.boolean
A node selector term, associated with the corresponding weight.boolean
Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasWeight
boolean hasWeight()Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
optional int32 weight = 1;
-
getWeight
int getWeight()Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
optional int32 weight = 1;
-
hasPreference
boolean hasPreference()A node selector term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.NodeSelectorTerm preference = 2;
-
getPreference
V1.NodeSelectorTerm getPreference()A node selector term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.NodeSelectorTerm preference = 2;
-
getPreferenceOrBuilder
V1.NodeSelectorTermOrBuilder getPreferenceOrBuilder()A node selector term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.NodeSelectorTerm preference = 2;
-