Interface RevisionScalingOrBuilder (0.36.0)

public interface RevisionScalingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxInstanceCount()

public abstract int getMaxInstanceCount()

Maximum number of serving instances that this resource should have.

int32 max_instance_count = 2;

Returns
TypeDescription
int

The maxInstanceCount.

getMinInstanceCount()

public abstract int getMinInstanceCount()

Minimum number of serving instances that this resource should have.

int32 min_instance_count = 1;

Returns
TypeDescription
int

The minInstanceCount.