    public interface ReadPoolAutoScaleConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud-0google-0com.linkedin.net.nz/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The disableScaleIn. |

### getEnabled()

    public abstract boolean getEnabled()

Indicates whether read pool auto scaling is enabled.

`optional bool enabled = 1;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The minNodeCount. |

### getScaleInCooldownSeconds()

    public abstract int getScaleInCooldownSeconds()

The cooldown period for scale-in operations.

`optional int32 scale_in_cooldown_seconds = 6;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The scaleInCooldownSeconds. |

### getScaleOutCooldownSeconds()

    public abstract int getScaleOutCooldownSeconds()

The cooldown period for scale-out operations.

`optional int32 scale_out_cooldown_seconds = 7;`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The scaleOutCooldownSeconds. |

### getTargetMetrics(int index)

    public abstract ReadPoolAutoScaleConfig.TargetMetric getTargetMetrics(int index)

Optional. Target metrics for read pool auto scaling.

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs-0cloud-0google-0com.linkedin.net.nz/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.ReadPoolAutoScaleConfig.TargetMetric` |   |

### getTargetMetricsCount()

    public abstract int getTargetMetricsCount()

Optional. Target metrics for read pool auto scaling.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |   |

### getTargetMetricsList()

    public abstract List<ReadPoolAutoScaleConfig.TargetMetric> getTargetMetricsList()

Optional. Target metrics for read pool auto scaling.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs-0cloud-0google-0com.linkedin.net.nz/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.ReadPoolAutoScaleConfig.TargetMetric>` |   |

### getTargetMetricsOrBuilder(int index)

    public abstract ReadPoolAutoScaleConfig.TargetMetricOrBuilder getTargetMetricsOrBuilder(int index)

Optional. Target metrics for read pool auto scaling.

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

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `index` | `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs-0cloud-0google-0com.linkedin.net.nz/java/docs/reference/google-cloud-sql/latest/com.google.cloud.sql.v1.ReadPoolAutoScaleConfig.TargetMetricOrBuilder` |   |

### getTargetMetricsOrBuilderList()

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

Optional. Target metrics for read pool auto scaling.

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

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.sql.v1.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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | 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** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the scaleOutCooldownSeconds field is set. |