Interface AutoscalingConfig.AutoscalingLimitsOrBuilder (6.72.0)

public static interface AutoscalingConfig.AutoscalingLimitsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxLimitCase()

public abstract AutoscalingConfig.AutoscalingLimits.MaxLimitCase getMaxLimitCase()
Returns
Type Description
AutoscalingConfig.AutoscalingLimits.MaxLimitCase

getMaxNodes()

public abstract int getMaxNodes()

Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.

int32 max_nodes = 3;

Returns
Type Description
int

The maxNodes.

getMaxProcessingUnits()

public abstract int getMaxProcessingUnits()

Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.

int32 max_processing_units = 4;

Returns
Type Description
int

The maxProcessingUnits.

getMinLimitCase()

public abstract AutoscalingConfig.AutoscalingLimits.MinLimitCase getMinLimitCase()
Returns
Type Description
AutoscalingConfig.AutoscalingLimits.MinLimitCase

getMinNodes()

public abstract int getMinNodes()

Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.

int32 min_nodes = 1;

Returns
Type Description
int

The minNodes.

getMinProcessingUnits()

public abstract int getMinProcessingUnits()

Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.

int32 min_processing_units = 2;

Returns
Type Description
int

The minProcessingUnits.

hasMaxNodes()

public abstract boolean hasMaxNodes()

Maximum number of nodes allocated to the instance. If set, this number should be greater than or equal to min_nodes.

int32 max_nodes = 3;

Returns
Type Description
boolean

Whether the maxNodes field is set.

hasMaxProcessingUnits()

public abstract boolean hasMaxProcessingUnits()

Maximum number of processing units allocated to the instance. If set, this number should be multiples of 1000 and be greater than or equal to min_processing_units.

int32 max_processing_units = 4;

Returns
Type Description
boolean

Whether the maxProcessingUnits field is set.

hasMinNodes()

public abstract boolean hasMinNodes()

Minimum number of nodes allocated to the instance. If set, this number should be greater than or equal to 1.

int32 min_nodes = 1;

Returns
Type Description
boolean

Whether the minNodes field is set.

hasMinProcessingUnits()

public abstract boolean hasMinProcessingUnits()

Minimum number of processing units allocated to the instance. If set, this number should be multiples of 1000.

int32 min_processing_units = 2;

Returns
Type Description
boolean

Whether the minProcessingUnits field is set.