    public static interface ConnectSettings.ConnectPoolNodeConfigOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/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 = 3 [(.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 = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/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 = 4 [(.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.cloud.google.com/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 = 4 [(.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 = 4 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/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 = 4 [(.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.cloud.google.com/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 = 4 [(.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>` |   |

### 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 = 2 [(.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.cloud.google.com/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 = 2 [(.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 = 2 [(.google.api.field_behavior) = OUTPUT_ONLY]; `

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/List.html<https://docs.cloud.google.com/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 = 2 [(.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.cloud.google.com/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 = 2 [(.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. Doesn't include the project ID.

`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. Doesn't include the project ID.

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

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

### hasDnsName()

    public abstract boolean hasDnsName()

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

`optional string dns_name = 3 [(.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. |

### hasName()

    public abstract boolean hasName()

Output only. The name of the read pool node. Doesn't include the project ID.

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