    public static interface DatabaseInstance.PoolNodeConfigOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### getDnsName()

    public abstract String getDnsName()

Output only. The DNS name of the read pool node.

`optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The dnsName. |

### getDnsNameBytes()

    public abstract ByteString getDnsNameBytes()

Output only. The DNS name of the read pool node.

`optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud-0google-0com.linkedin.net.nz/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for dnsName. |

### getDnsNames(int index)

    public abstract DnsNameMapping getDnsNames(int index)

Output only. The list of DNS names used by this read pool node.

` repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.DnsNameMapping` |   |

### getDnsNamesCount()

    public abstract int getDnsNamesCount()

Output only. The list of DNS names used by this read pool node.

` repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

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

### getDnsNamesList()

    public abstract List<DnsNameMapping> getDnsNamesList()

Output only. The list of DNS names used by this read pool node.

` repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.DnsNameMapping>` |   |

### getDnsNamesOrBuilder(int index)

    public abstract DnsNameMappingOrBuilder getDnsNamesOrBuilder(int index)

Output only. The list of DNS names used by this read pool node.

` repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.DnsNameMappingOrBuilder` |   |

### getDnsNamesOrBuilderList()

    public abstract List<? extends DnsNameMappingOrBuilder> getDnsNamesOrBuilderList()

Output only. The list of DNS names used by this read pool node.

` repeated .google.cloud.sql.v1.DnsNameMapping dns_names = 6 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.sql.v1.DnsNameMappingOrBuilder>` |   |

### getGceZone()

    public abstract String getGceZone()

Output only. The zone of the read pool node.

`optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The gceZone. |

### getGceZoneBytes()

    public abstract ByteString getGceZoneBytes()

Output only. The zone of the read pool node.

`optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud-0google-0com.linkedin.net.nz/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for gceZone. |

### getIpAddresses(int index)

    public abstract IpMapping getIpAddresses(int index)

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

` repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.IpMapping` |   |

### getIpAddressesCount()

    public abstract int getIpAddressesCount()

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

` repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

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

### getIpAddressesList()

    public abstract List<IpMapping> getIpAddressesList()

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

` repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.IpMapping>` |   |

### getIpAddressesOrBuilder(int index)

    public abstract IpMappingOrBuilder getIpAddressesOrBuilder(int index)

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

` repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.IpMappingOrBuilder` |   |

### getIpAddressesOrBuilderList()

    public abstract List<? extends IpMappingOrBuilder> getIpAddressesOrBuilderList()

Output only. Mappings containing IP addresses that can be used to connect to the read pool node.

` repeated .google.cloud.sql.v1.IpMapping ip_addresses = 3 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.sql.v1.IpMappingOrBuilder>` |   |

### getName()

    public abstract String getName()

Output only. The name of the read pool node, to be used for retrieving metrics and logs.

`optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The name. |

### getNameBytes()

    public abstract ByteString getNameBytes()

Output only. The name of the read pool node, to be used for retrieving metrics and logs.

`optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud-0google-0com.linkedin.net.nz/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for name. |

### getPscAutoConnections(int index)

    public abstract PscAutoConnectionConfig getPscAutoConnections(int index)

Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.

` repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.PscAutoConnectionConfig` |   |

### getPscAutoConnectionsCount()

    public abstract int getPscAutoConnectionsCount()

Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.

` repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

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

### getPscAutoConnectionsList()

    public abstract List<PscAutoConnectionConfig> getPscAutoConnectionsList()

Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.

` repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.PscAutoConnectionConfig>` |   |

### getPscAutoConnectionsOrBuilder(int index)

    public abstract PscAutoConnectionConfigOrBuilder getPscAutoConnectionsOrBuilder(int index)

Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.

` repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **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.PscAutoConnectionConfigOrBuilder` |   |

### getPscAutoConnectionsOrBuilderList()

    public abstract List<? extends PscAutoConnectionConfigOrBuilder> getPscAutoConnectionsOrBuilderList()

Output only. The list of settings for requested automatically-setup Private Service Connect (PSC) consumer endpoints that can be used to connect to this read pool node.

` repeated .google.cloud.sql.v1.PscAutoConnectionConfig psc_auto_connections = 8 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<? extends com.google.cloud.sql.v1.PscAutoConnectionConfigOrBuilder>` |   |

### getPscServiceAttachmentLink()

    public abstract String getPscServiceAttachmentLink()

Output only. The Private Service Connect (PSC) service attachment of the read pool node.

` optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` | The pscServiceAttachmentLink. |

### getPscServiceAttachmentLinkBytes()

    public abstract ByteString getPscServiceAttachmentLinkBytes()

Output only. The Private Service Connect (PSC) service attachment of the read pool node.

` optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud-0google-0com.linkedin.net.nz/java/docs/reference/protobuf/latest/com.google.protobuf.ByteString.html` | The bytes for pscServiceAttachmentLink. |

### getState()

    public abstract DatabaseInstance.SqlInstanceState getState()

Output only. The current state of the read pool node.

` optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

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

### getStateValue()

    public abstract int getStateValue()

Output only. The current state of the read pool node.

` optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | The enum numeric value on the wire for state. |

### hasDnsName()

    public abstract boolean hasDnsName()

Output only. The DNS name of the read pool node.

`optional string dns_name = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the dnsName field is set. |

### hasGceZone()

    public abstract boolean hasGceZone()

Output only. The zone of the read pool node.

`optional string gce_zone = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the gceZone field is set. |

### hasName()

    public abstract boolean hasName()

Output only. The name of the read pool node, to be used for retrieving metrics and logs.

`optional string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the name field is set. |

### hasPscServiceAttachmentLink()

    public abstract boolean hasPscServiceAttachmentLink()

Output only. The Private Service Connect (PSC) service attachment of the read pool node.

` optional string psc_service_attachment_link = 7 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the pscServiceAttachmentLink field is set. |

### hasState()

    public abstract boolean hasState()

Output only. The current state of the read pool node.

` optional .google.cloud.sql.v1.DatabaseInstance.SqlInstanceState state = 5 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/tutorial/java/nutsandbolts/datatypes.html` | Whether the state field is set. |