# Interface PluggableDatabasePropertiesOrBuilder (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 PluggableDatabasePropertiesOrBuilder extends MessageOrBuilder

## Implements

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

## Methods

### containsDefinedTags(String key)

    public abstract boolean containsDefinedTags(String key)

Optional. Defined tags for this resource. Each key is predefined and scoped
to a namespace.

`
map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.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` |   |

### containsFreeformTags(String key)

    public abstract boolean containsFreeformTags(String key)

Optional. Free-form tags for this resource. Each tag is a simple key-value
pair with no predefined name, type, or namespace.

`map<string, string> freeform_tags = 5 [(.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` |   |

### getCompartmentId()

    public abstract String getCompartmentId()

Required. The OCID of the compartment.

`string compartment_id = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getCompartmentIdBytes()

    public abstract ByteString getCompartmentIdBytes()

Required. The OCID of the compartment.

`string compartment_id = 1 [(.google.api.field_behavior) = REQUIRED];`

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

### getConnectionStrings()

    public abstract PluggableDatabaseConnectionStrings getConnectionStrings()

Optional. The Connection strings used to connect to the Oracle Database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings connection_strings = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings` | The connectionStrings. |

### getConnectionStringsOrBuilder()

    public abstract PluggableDatabaseConnectionStringsOrBuilder getConnectionStringsOrBuilder()

Optional. The Connection strings used to connect to the Oracle Database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings connection_strings = 2 [(.google.api.field_behavior) = OPTIONAL];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStringsOrBuilder` |   |

### getContainerDatabaseOcid()

    public abstract String getContainerDatabaseOcid()

Required. The OCID of the CDB.

`string container_database_ocid = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getContainerDatabaseOcidBytes()

    public abstract ByteString getContainerDatabaseOcidBytes()

Required. The OCID of the CDB.

`string container_database_ocid = 3 [(.google.api.field_behavior) = REQUIRED];`

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

### getDatabaseManagementConfig()

    public abstract DatabaseManagementConfig getDatabaseManagementConfig()

Output only. The configuration of the Database Management service.

`
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.DatabaseManagementConfig` | The databaseManagementConfig. |

### getDatabaseManagementConfigOrBuilder()

    public abstract DatabaseManagementConfigOrBuilder getDatabaseManagementConfigOrBuilder()

Output only. The configuration of the Database Management service.

`
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.DatabaseManagementConfigOrBuilder` |   |

### getDefinedTags() (deprecated)

    public abstract Map<String,PluggableDatabaseProperties.DefinedTagValue> getDefinedTags()

Use [#getDefinedTagsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabasePropertiesOrBuilder#com_google_cloud_oracledatabase_v1_PluggableDatabasePropertiesOrBuilder_getDefinedTagsMap__) 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.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue>` |   |

### getDefinedTagsCount()

    public abstract int getDefinedTagsCount()

Optional. Defined tags for this resource. Each key is predefined and scoped
to a namespace.

`
map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getDefinedTagsMap()

    public abstract Map<String,PluggableDatabaseProperties.DefinedTagValue> getDefinedTagsMap()

Optional. Defined tags for this resource. Each key is predefined and scoped
to a namespace.

`
map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.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.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue>` |   |

### getDefinedTagsOrDefault(String key, PluggableDatabaseProperties.DefinedTagValue defaultValue)

    public abstract PluggableDatabaseProperties.DefinedTagValue getDefinedTagsOrDefault(String key, PluggableDatabaseProperties.DefinedTagValue defaultValue)

Optional. Defined tags for this resource. Each key is predefined and scoped
to a namespace.

`
map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.google.api.field_behavior) = OPTIONAL];
`

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `key` | `https://docs.oracle.com/javase/8/docs/api/java/lang/String.html` |
| `defaultValue` | `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue` |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue` |   |

### getDefinedTagsOrThrow(String key)

    public abstract PluggableDatabaseProperties.DefinedTagValue getDefinedTagsOrThrow(String key)

Optional. Defined tags for this resource. Each key is predefined and scoped
to a namespace.

`
map<string, .google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue> defined_tags = 4 [(.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.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.DefinedTagValue` |   |

### getFreeformTags() (deprecated)

    public abstract Map<String,String> getFreeformTags()

Use [#getFreeformTagsMap()](https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabasePropertiesOrBuilder#com_google_cloud_oracledatabase_v1_PluggableDatabasePropertiesOrBuilder_getFreeformTagsMap__) 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>` |   |

### getFreeformTagsCount()

    public abstract int getFreeformTagsCount()

Optional. Free-form tags for this resource. Each tag is a simple key-value
pair with no predefined name, type, or namespace.

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

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

### getFreeformTagsMap()

    public abstract Map<String,String> getFreeformTagsMap()

Optional. Free-form tags for this resource. Each tag is a simple key-value
pair with no predefined name, type, or namespace.

`map<string, string> freeform_tags = 5 [(.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>` |   |

### getFreeformTagsOrDefault(String key, String defaultValue)

    public abstract String getFreeformTagsOrDefault(String key, String defaultValue)

Optional. Free-form tags for this resource. Each tag is a simple key-value
pair with no predefined name, type, or namespace.

`map<string, string> freeform_tags = 5 [(.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` |   |

### getFreeformTagsOrThrow(String key)

    public abstract String getFreeformTagsOrThrow(String key)

Optional. Free-form tags for this resource. Each tag is a simple key-value
pair with no predefined name, type, or namespace.

`map<string, string> freeform_tags = 5 [(.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` |   |

### getIsRestricted()

    public abstract boolean getIsRestricted()

Optional. The restricted mode of the pluggable database. If a pluggable
database is opened in restricted mode, the user needs both create a session
and have restricted session privileges to connect to it.

`bool is_restricted = 7 [(.google.api.field_behavior) = OPTIONAL];`

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

### getLifecycleDetails()

    public abstract String getLifecycleDetails()

Output only. Additional information about the current lifecycle state.

`string lifecycle_details = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getLifecycleDetailsBytes()

    public abstract ByteString getLifecycleDetailsBytes()

Output only. Additional information about the current lifecycle state.

`string lifecycle_details = 8 [(.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 lifecycleDetails. |

### getLifecycleState()

    public abstract PluggableDatabaseProperties.PluggableDatabaseLifecycleState getLifecycleState()

Output only. The current state of the pluggable database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.PluggableDatabaseLifecycleState lifecycle_state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.PluggableDatabaseLifecycleState` | The lifecycleState. |

### getLifecycleStateValue()

    public abstract int getLifecycleStateValue()

Output only. The current state of the pluggable database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.PluggableDatabaseLifecycleState lifecycle_state = 9 [(.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 lifecycleState. |

### getOcid()

    public abstract String getOcid()

Output only. The OCID of the pluggable database.

`string ocid = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];`

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

### getOcidBytes()

    public abstract ByteString getOcidBytes()

Output only. The OCID of the pluggable database.

`string ocid = 6 [(.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 ocid. |

### getOperationsInsightsState()

    public abstract PluggableDatabaseProperties.OperationsInsightsState getOperationsInsightsState()

Output only. The status of Operations Insights for this Database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.OperationsInsightsState operations_insights_state = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/java/docs/reference/google-cloud-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.OperationsInsightsState` | The operationsInsightsState. |

### getOperationsInsightsStateValue()

    public abstract int getOperationsInsightsStateValue()

Output only. The status of Operations Insights for this Database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseProperties.OperationsInsightsState operations_insights_state = 14 [(.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 operationsInsightsState. |

### getPdbName()

    public abstract String getPdbName()

Required. The database name.

`string pdb_name = 10 [(.google.api.field_behavior) = REQUIRED];`

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

### getPdbNameBytes()

    public abstract ByteString getPdbNameBytes()

Required. The database name.

`string pdb_name = 10 [(.google.api.field_behavior) = REQUIRED];`

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

### getPdbNodeLevelDetails(int index)

    public abstract PluggableDatabaseNodeLevelDetails getPdbNodeLevelDetails(int index)

Optional. Pluggable Database Node Level Details

`
repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **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-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails` |   |

### getPdbNodeLevelDetailsCount()

    public abstract int getPdbNodeLevelDetailsCount()

Optional. Pluggable Database Node Level Details

`
repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
`

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

### getPdbNodeLevelDetailsList()

    public abstract List<PluggableDatabaseNodeLevelDetails> getPdbNodeLevelDetailsList()

Optional. Pluggable Database Node Level Details

`
repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **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-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails>` |   |

### getPdbNodeLevelDetailsOrBuilder(int index)

    public abstract PluggableDatabaseNodeLevelDetailsOrBuilder getPdbNodeLevelDetailsOrBuilder(int index)

Optional. Pluggable Database Node Level Details

`
repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
`

| **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-oracledatabase/latest/com.google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetailsOrBuilder` |   |

### getPdbNodeLevelDetailsOrBuilderList()

    public abstract List<? extends PluggableDatabaseNodeLevelDetailsOrBuilder> getPdbNodeLevelDetailsOrBuilderList()

Optional. Pluggable Database Node Level Details

`
repeated .google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails pdb_node_level_details = 11 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasConnectionStrings()

    public abstract boolean hasConnectionStrings()

Optional. The Connection strings used to connect to the Oracle Database.

`
.google.cloud.oracledatabase.v1.PluggableDatabaseConnectionStrings connection_strings = 2 [(.google.api.field_behavior) = OPTIONAL];
`

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

### hasDatabaseManagementConfig()

    public abstract boolean hasDatabaseManagementConfig()

Output only. The configuration of the Database Management service.

`
.google.cloud.oracledatabase.v1.DatabaseManagementConfig database_management_config = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];
`

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