Interface DedicatedInfrastructure.AutoscalingSpecOrBuilder (0.8.0)

public static interface DedicatedInfrastructure.AutoscalingSpecOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxReplicaCount()

public abstract int getMaxReplicaCount()

Optional. The maximum number of replicas. If not set or set to 0, defaults to the greater of min_replica_count and 5. Must be >= min_replica_count and <= 1000.

int32 max_replica_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxReplicaCount.

getMinReplicaCount()

public abstract int getMinReplicaCount()

Optional. The minimum number of replicas. If not set or set to 0, defaults to 2. Must be >= 2 and <= 1000.

int32 min_replica_count = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The minReplicaCount.