Interface AutoscalingConfig.AutoscalingLimitsOrBuilder (6.58.0)

public static interface AutoscalingConfig.AutoscalingLimitsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMaxLimitCase()

public abstract AutoscalingConfig.AutoscalingLimits.MaxLimitCase getMaxLimitCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The maxProcessingUnits.

getMinLimitCase()

public abstract AutoscalingConfig.AutoscalingLimits.MinLimitCase getMinLimitCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the minProcessingUnits field is set.