Interface ResourceLimitOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ResourceLimit, ResourceLimit.Builder

    public interface ResourceLimitOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getMaximum()
      Maximum amount of the resource in the cluster.
      long getMinimum()
      Minimum amount of the resource in the cluster.
      String getResourceType()
      Resource name "cpu", "memory" or gpu-specific string.
      com.google.protobuf.ByteString getResourceTypeBytes()
      Resource name "cpu", "memory" or gpu-specific string.
      • 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

      • getResourceType

        String getResourceType()
         Resource name "cpu", "memory" or gpu-specific string.
         
        string resource_type = 1;
        Returns:
        The resourceType.
      • getResourceTypeBytes

        com.google.protobuf.ByteString getResourceTypeBytes()
         Resource name "cpu", "memory" or gpu-specific string.
         
        string resource_type = 1;
        Returns:
        The bytes for resourceType.
      • getMinimum

        long getMinimum()
         Minimum amount of the resource in the cluster.
         
        int64 minimum = 2;
        Returns:
        The minimum.
      • getMaximum

        long getMaximum()
         Maximum amount of the resource in the cluster.
         
        int64 maximum = 3;
        Returns:
        The maximum.