Interface V1.WeightedPodAffinityTermOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
V1.WeightedPodAffinityTerm, V1.WeightedPodAffinityTerm.Builder
Enclosing class:
V1

public static interface V1.WeightedPodAffinityTermOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    Required.
    Required.
    int
    weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
    boolean
    Required.
    boolean
    weight associated with matching the corresponding podAffinityTerm, 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 podAffinityTerm,
       in the range 1-100.
       
      optional int32 weight = 1;
    • getWeight

      int getWeight()
       weight associated with matching the corresponding podAffinityTerm,
       in the range 1-100.
       
      optional int32 weight = 1;
    • hasPodAffinityTerm

      boolean hasPodAffinityTerm()
       Required. A pod affinity term, associated with the corresponding weight.
       
      optional .k8s.io.api.core.v1.PodAffinityTerm podAffinityTerm = 2;
    • getPodAffinityTerm

      V1.PodAffinityTerm getPodAffinityTerm()
       Required. A pod affinity term, associated with the corresponding weight.
       
      optional .k8s.io.api.core.v1.PodAffinityTerm podAffinityTerm = 2;
    • getPodAffinityTermOrBuilder

      V1.PodAffinityTermOrBuilder getPodAffinityTermOrBuilder()
       Required. A pod affinity term, associated with the corresponding weight.
       
      optional .k8s.io.api.core.v1.PodAffinityTerm podAffinityTerm = 2;