Interface ResourcePool.AutoscalingSpecOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      long getMaxReplicaCount()
      Optional.
      long getMinReplicaCount()
      Optional.
      boolean hasMaxReplicaCount()
      Optional.
      boolean hasMinReplicaCount()
      Optional.
      • 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

      • hasMinReplicaCount

        boolean hasMinReplicaCount()
         Optional. min replicas in the node pool,
         must be ≤ replica_count and < max_replica_count or will throw error
         
        optional int64 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the minReplicaCount field is set.
      • getMinReplicaCount

        long getMinReplicaCount()
         Optional. min replicas in the node pool,
         must be ≤ replica_count and < max_replica_count or will throw error
         
        optional int64 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The minReplicaCount.
      • hasMaxReplicaCount

        boolean hasMaxReplicaCount()
         Optional. max replicas in the node pool,
         must be ≥ replica_count and > min_replica_count or will throw error
         
        optional int64 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        Whether the maxReplicaCount field is set.
      • getMaxReplicaCount

        long getMaxReplicaCount()
         Optional. max replicas in the node pool,
         must be ≥ replica_count and > min_replica_count or will throw error
         
        optional int64 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];
        Returns:
        The maxReplicaCount.