Interface Generated.PreferredSchedulingTermOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      Generated.NodeSelectorTerm getPreference()
      A node selector term, associated with the corresponding weight.
      Generated.NodeSelectorTermOrBuilder getPreferenceOrBuilder()
      A node selector term, associated with the corresponding weight.
      int getWeight()
      Weight associated with matching the corresponding nodeSelectorTerm, in the range 1-100.
      boolean hasPreference()
      A node selector term, associated with the corresponding weight.
      boolean hasWeight()
      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 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;