Interface ReadPoolAutoScaleConfigOrBuilder (0.1.0)

public interface ReadPoolAutoScaleConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDisableScaleIn()

public abstract boolean getDisableScaleIn()

Indicates whether read pool auto scaling supports scale in operations (removing nodes).

optional bool disable_scale_in = 5;

Returns
Type Description
boolean

The disableScaleIn.

getEnabled()

public abstract boolean getEnabled()

Indicates whether read pool auto scaling is enabled.

optional bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getMaxNodeCount()

public abstract int getMaxNodeCount()

Maximum number of read pool nodes to be maintained.

optional int32 max_node_count = 3;

Returns
Type Description
int

The maxNodeCount.

getMinNodeCount()

public abstract int getMinNodeCount()

Minimum number of read pool nodes to be maintained.

optional int32 min_node_count = 2;

Returns
Type Description
int

The minNodeCount.

getScaleInCooldownSeconds()

public abstract int getScaleInCooldownSeconds()

The cooldown period for scale in operations.

optional int32 scale_in_cooldown_seconds = 6;

Returns
Type Description
int

The scaleInCooldownSeconds.

getScaleOutCooldownSeconds()

public abstract int getScaleOutCooldownSeconds()

The cooldown period for scale out operations.

optional int32 scale_out_cooldown_seconds = 7;

Returns
Type Description
int

The scaleOutCooldownSeconds.

getTargetMetrics(int index)

public abstract ReadPoolAutoScaleConfig.TargetMetric getTargetMetrics(int index)

Optional. Target metrics for read pool auto scaling.

repeated .google.cloud.sql.v1beta4.ReadPoolAutoScaleConfig.TargetMetric target_metrics = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReadPoolAutoScaleConfig.TargetMetric

getTargetMetricsCount()

public abstract int getTargetMetricsCount()

Optional. Target metrics for read pool auto scaling.

repeated .google.cloud.sql.v1beta4.ReadPoolAutoScaleConfig.TargetMetric target_metrics = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

getTargetMetricsList()

public abstract List<ReadPoolAutoScaleConfig.TargetMetric> getTargetMetricsList()

Optional. Target metrics for read pool auto scaling.

repeated .google.cloud.sql.v1beta4.ReadPoolAutoScaleConfig.TargetMetric target_metrics = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<TargetMetric>

getTargetMetricsOrBuilder(int index)

public abstract ReadPoolAutoScaleConfig.TargetMetricOrBuilder getTargetMetricsOrBuilder(int index)

Optional. Target metrics for read pool auto scaling.

repeated .google.cloud.sql.v1beta4.ReadPoolAutoScaleConfig.TargetMetric target_metrics = 4 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int
Returns
Type Description
ReadPoolAutoScaleConfig.TargetMetricOrBuilder

getTargetMetricsOrBuilderList()

public abstract List<? extends ReadPoolAutoScaleConfig.TargetMetricOrBuilder> getTargetMetricsOrBuilderList()

Optional. Target metrics for read pool auto scaling.

repeated .google.cloud.sql.v1beta4.ReadPoolAutoScaleConfig.TargetMetric target_metrics = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
List<? extends com.google.cloud.sql.v1beta4.ReadPoolAutoScaleConfig.TargetMetricOrBuilder>

hasDisableScaleIn()

public abstract boolean hasDisableScaleIn()

Indicates whether read pool auto scaling supports scale in operations (removing nodes).

optional bool disable_scale_in = 5;

Returns
Type Description
boolean

Whether the disableScaleIn field is set.

hasEnabled()

public abstract boolean hasEnabled()

Indicates whether read pool auto scaling is enabled.

optional bool enabled = 1;

Returns
Type Description
boolean

Whether the enabled field is set.

hasMaxNodeCount()

public abstract boolean hasMaxNodeCount()

Maximum number of read pool nodes to be maintained.

optional int32 max_node_count = 3;

Returns
Type Description
boolean

Whether the maxNodeCount field is set.

hasMinNodeCount()

public abstract boolean hasMinNodeCount()

Minimum number of read pool nodes to be maintained.

optional int32 min_node_count = 2;

Returns
Type Description
boolean

Whether the minNodeCount field is set.

hasScaleInCooldownSeconds()

public abstract boolean hasScaleInCooldownSeconds()

The cooldown period for scale in operations.

optional int32 scale_in_cooldown_seconds = 6;

Returns
Type Description
boolean

Whether the scaleInCooldownSeconds field is set.

hasScaleOutCooldownSeconds()

public abstract boolean hasScaleOutCooldownSeconds()

The cooldown period for scale out operations.

optional int32 scale_out_cooldown_seconds = 7;

Returns
Type Description
boolean

Whether the scaleOutCooldownSeconds field is set.