Package k8s.io.api.core.v1
Interface Generated.WeightedPodAffinityTermOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.WeightedPodAffinityTerm,Generated.WeightedPodAffinityTerm.Builder
- Enclosing class:
- Generated
public static interface Generated.WeightedPodAffinityTermOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description Generated.PodAffinityTermgetPodAffinityTerm()Required.Generated.PodAffinityTermOrBuildergetPodAffinityTermOrBuilder()Required.intgetWeight()weight associated with matching the corresponding podAffinityTerm, in the range 1-100.booleanhasPodAffinityTerm()Required.booleanhasWeight()weight associated with matching the corresponding podAffinityTerm, 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 podAffinityTerm, 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 podAffinityTerm, in the range 1-100.
optional int32 weight = 1;- Returns:
- The weight.
-
hasPodAffinityTerm
boolean hasPodAffinityTerm()
Required. A pod affinity term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.PodAffinityTerm podAffinityTerm = 2;- Returns:
- Whether the podAffinityTerm field is set.
-
getPodAffinityTerm
Generated.PodAffinityTerm getPodAffinityTerm()
Required. A pod affinity term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.PodAffinityTerm podAffinityTerm = 2;- Returns:
- The podAffinityTerm.
-
getPodAffinityTermOrBuilder
Generated.PodAffinityTermOrBuilder getPodAffinityTermOrBuilder()
Required. A pod affinity term, associated with the corresponding weight.
optional .k8s.io.api.core.v1.PodAffinityTerm podAffinityTerm = 2;
-
-