Interface Generated.WeightedPodAffinityTermOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Generated.PodAffinityTerm getPodAffinityTerm()
      Required.
      Generated.PodAffinityTermOrBuilder getPodAffinityTermOrBuilder()
      Required.
      int getWeight()
      weight associated with matching the corresponding podAffinityTerm, in the range 1-100.
      boolean hasPodAffinityTerm()
      Required.
      boolean hasWeight()
      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 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;