Interface RevisionScalingOrBuilder (0.51.0)

public interface RevisionScalingOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxInstanceCount()

public abstract int getMaxInstanceCount()

Optional. Maximum number of serving instances that this resource should have.

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

Returns
Type Description
int

The maxInstanceCount.

getMinInstanceCount()

public abstract int getMinInstanceCount()

Optional. Minimum number of serving instances that this resource should have.

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

Returns
Type Description
int

The minInstanceCount.