Interface ResourcePool.AutoscalingSpecOrBuilder (3.40.0)

public static interface ResourcePool.AutoscalingSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxReplicaCount()

public abstract 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
TypeDescription
long

The maxReplicaCount.

getMinReplicaCount()

public abstract 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
TypeDescription
long

The minReplicaCount.

hasMaxReplicaCount()

public abstract 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
TypeDescription
boolean

Whether the maxReplicaCount field is set.

hasMinReplicaCount()

public abstract 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
TypeDescription
boolean

Whether the minReplicaCount field is set.