# Interface PluggableDatabaseConnectionStringsOrBuilder (0.42.0)

0.42.0 (latest) 0.40.0 0.37.0 0.36.0 0.34.0 0.32.0 0.31.0 0.29.0 0.27.0 0.25.0 0.24.0 0.23.0 0.22.0 0.21.0 0.19.0 0.17.0 0.16.0 0.13.0 0.12.0 0.11.0 0.9.0 0.8.0 0.7.0 0.6.0 0.5.0 0.4.0 0.3.0 0.2.0 0.1.0

    public interface PluggableDatabaseConnectionStringsOrBuilder extends MessageOrBuilder

## Implements

[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)

## Methods

### containsAllConnectionStrings(String key)

    public abstract boolean containsAllConnectionStrings(String key)

Optional. All connection strings to use to connect to the pluggable
database.

`
map<string, string> all_connection_strings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getAllConnectionStrings() (deprecated)

    public abstract Map<String,String> getAllConnectionStrings()

Use [#getAllConnectionStringsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStringsOrBuilder#com_google_cloud_oracledatabase_v1_PluggableDatabaseConnectionStringsOrBuilder_getAllConnectionStringsMap__) instead.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getAllConnectionStringsCount()

    public abstract int getAllConnectionStringsCount()

Optional. All connection strings to use to connect to the pluggable
database.

`
map<string, string> all_connection_strings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getAllConnectionStringsMap()

    public abstract Map<String,String> getAllConnectionStringsMap()

Optional. All connection strings to use to connect to the pluggable
database.

`
map<string, string> all_connection_strings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.oracle.com/javase/8/docs/api/java/util/Map.html<https://docs.oracle.com/javase/8/docs/api/java/lang/String.html,https://docs.oracle.com/javase/8/docs/api/java/lang/String.html>` |   |

### getAllConnectionStringsOrDefault(String key, String defaultValue)

    public abstract String getAllConnectionStringsOrDefault(String key, String defaultValue)

Optional. All connection strings to use to connect to the pluggable
database.

`
map<string, string> all_connection_strings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getAllConnectionStringsOrThrow(String key)

    public abstract String getAllConnectionStringsOrThrow(String key)

Optional. All connection strings to use to connect to the pluggable
database.

`
map<string, string> all_connection_strings = 1 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |

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

### getPdbDefault()

    public abstract String getPdbDefault()

Optional. The default connection string to use to connect to the pluggable
database.

`string pdb_default = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getPdbDefaultBytes()

    public abstract ByteString getPdbDefaultBytes()

Optional. The default connection string to use to connect to the pluggable
database.

`string pdb_default = 2 [(.google.api.field_behavior) = OPTIONAL];`

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

### getPdbIpDefault()

    public abstract String getPdbIpDefault()

Optional. The default connection string to use to connect to the pluggable
database using IP.

`string pdb_ip_default = 3 [(.google.api.field_behavior) = OPTIONAL];`

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

### getPdbIpDefaultBytes()

    public abstract ByteString getPdbIpDefaultBytes()

Optional. The default connection string to use to connect to the pluggable
database using IP.

`string pdb_ip_default = 3 [(.google.api.field_behavior) = OPTIONAL];`

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