Interface ResourceLimitOrBuilder

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

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

    Modifier and Type
    Method
    Description
    long
    Maximum amount of the resource in the cluster.
    long
    Minimum amount of the resource in the cluster.
    Resource name "cpu", "memory" or gpu-specific string.
    com.google.protobuf.ByteString
    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 Details

    • 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.