Interface AutoscalingTargetsOrBuilder

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

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

    Modifier and Type
    Method
    Description
    int
    The cpu utilization that the Autoscaler should be trying to achieve.
    int
    The storage utilization that the Autoscaler should be trying to achieve.

    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

    • getCpuUtilizationPercent

      int getCpuUtilizationPercent()
       The cpu utilization that the Autoscaler should be trying to achieve.
       This number is on a scale from 0 (no utilization) to
       100 (total utilization), and is limited between 10 and 80, otherwise it
       will return INVALID_ARGUMENT error.
       
      int32 cpu_utilization_percent = 2;
      Returns:
      The cpuUtilizationPercent.
    • getStorageUtilizationGibPerNode

      int getStorageUtilizationGibPerNode()
       The storage utilization that the Autoscaler should be trying to achieve.
       This number is limited between 2560 (2.5TiB) and 5120 (5TiB) for a SSD
       cluster and between 8192 (8TiB) and 16384 (16TiB) for an HDD cluster,
       otherwise it will return INVALID_ARGUMENT error. If this value is set to 0,
       it will be treated as if it were set to the default value: 2560 for SSD,
       8192 for HDD.
       
      int32 storage_utilization_gib_per_node = 3;
      Returns:
      The storageUtilizationGibPerNode.