Class PluggableDatabaseProperties.Builder (0.29.0)

public static final class PluggableDatabaseProperties.Builder extends GeneratedMessageV3.Builder<PluggableDatabaseProperties.Builder> implements PluggableDatabasePropertiesOrBuilder

The properties of a PluggableDatabase.

Protobuf type google.cloud.oracledatabase.v1.PluggableDatabaseProperties

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllPdbNodeLevelDetails(Iterable<? extends PluggableDatabaseNodeLevelDetails> values)

public PluggableDatabaseProperties.Builder addAllPdbNodeLevelDetails(Iterable<? extends PluggableDatabaseNodeLevelDetails> values)

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
values Iterable<? extends com.google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetails>
Returns
Type Description
PluggableDatabaseProperties.Builder

addPdbNodeLevelDetails(PluggableDatabaseNodeLevelDetails value)

public PluggableDatabaseProperties.Builder addPdbNodeLevelDetails(PluggableDatabaseNodeLevelDetails value)

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
value PluggableDatabaseNodeLevelDetails
Returns
Type Description
PluggableDatabaseProperties.Builder

addPdbNodeLevelDetails(PluggableDatabaseNodeLevelDetails.Builder builderForValue)

public PluggableDatabaseProperties.Builder addPdbNodeLevelDetails(PluggableDatabaseNodeLevelDetails.Builder builderForValue)

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
builderForValue PluggableDatabaseNodeLevelDetails.Builder
Returns
Type Description
PluggableDatabaseProperties.Builder

addPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails value)

public PluggableDatabaseProperties.Builder addPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails value)

Optional. Pluggable Database Node Level Details

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

Parameters
Name Description
index int
value PluggableDatabaseNodeLevelDetails
Returns
Type Description
PluggableDatabaseProperties.Builder

addPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails.Builder builderForValue)

public PluggableDatabaseProperties.Builder addPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails.Builder builderForValue)

Optional. Pluggable Database Node Level Details

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

Parameters
Name Description
index int
builderForValue PluggableDatabaseNodeLevelDetails.Builder
Returns
Type Description
PluggableDatabaseProperties.Builder

addPdbNodeLevelDetailsBuilder()

public PluggableDatabaseNodeLevelDetails.Builder addPdbNodeLevelDetailsBuilder()

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
PluggableDatabaseNodeLevelDetails.Builder

addPdbNodeLevelDetailsBuilder(int index)

public PluggableDatabaseNodeLevelDetails.Builder addPdbNodeLevelDetailsBuilder(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 int
Returns
Type Description
PluggableDatabaseNodeLevelDetails.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public PluggableDatabaseProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

build()

public PluggableDatabaseProperties build()
Returns
Type Description
PluggableDatabaseProperties

buildPartial()

public PluggableDatabaseProperties buildPartial()
Returns
Type Description
PluggableDatabaseProperties

clear()

public PluggableDatabaseProperties.Builder clear()
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

clearCompartmentId()

public PluggableDatabaseProperties.Builder clearCompartmentId()

Required. The OCID of the compartment.

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

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

clearConnectionStrings()

public PluggableDatabaseProperties.Builder clearConnectionStrings()

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
PluggableDatabaseProperties.Builder

clearContainerDatabaseOcid()

public PluggableDatabaseProperties.Builder clearContainerDatabaseOcid()

Required. The OCID of the CDB.

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

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

clearDatabaseManagementConfig()

public PluggableDatabaseProperties.Builder clearDatabaseManagementConfig()

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
PluggableDatabaseProperties.Builder

clearDefinedTags()

public PluggableDatabaseProperties.Builder clearDefinedTags()
Returns
Type Description
PluggableDatabaseProperties.Builder

clearField(Descriptors.FieldDescriptor field)

public PluggableDatabaseProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

clearFreeformTags()

public PluggableDatabaseProperties.Builder clearFreeformTags()
Returns
Type Description
PluggableDatabaseProperties.Builder

clearIsRestricted()

public PluggableDatabaseProperties.Builder clearIsRestricted()

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
PluggableDatabaseProperties.Builder

This builder for chaining.

clearLifecycleDetails()

public PluggableDatabaseProperties.Builder clearLifecycleDetails()

Output only. Additional information about the current lifecycle state.

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

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

clearLifecycleState()

public PluggableDatabaseProperties.Builder clearLifecycleState()

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
PluggableDatabaseProperties.Builder

This builder for chaining.

clearOcid()

public PluggableDatabaseProperties.Builder clearOcid()

Output only. The OCID of the pluggable database.

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

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public PluggableDatabaseProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

clearOperationsInsightsState()

public PluggableDatabaseProperties.Builder clearOperationsInsightsState()

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
PluggableDatabaseProperties.Builder

This builder for chaining.

clearPdbName()

public PluggableDatabaseProperties.Builder clearPdbName()

Required. The database name.

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

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

clearPdbNodeLevelDetails()

public PluggableDatabaseProperties.Builder clearPdbNodeLevelDetails()

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
PluggableDatabaseProperties.Builder

clone()

public PluggableDatabaseProperties.Builder clone()
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

containsDefinedTags(String key)

public 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 String
Returns
Type Description
boolean

containsFreeformTags(String key)

public 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 String
Returns
Type Description
boolean

getCompartmentId()

public String getCompartmentId()

Required. The OCID of the compartment.

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

Returns
Type Description
String

The compartmentId.

getCompartmentIdBytes()

public ByteString getCompartmentIdBytes()

Required. The OCID of the compartment.

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

Returns
Type Description
ByteString

The bytes for compartmentId.

getConnectionStrings()

public 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
PluggableDatabaseConnectionStrings

The connectionStrings.

getConnectionStringsBuilder()

public PluggableDatabaseConnectionStrings.Builder getConnectionStringsBuilder()

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
PluggableDatabaseConnectionStrings.Builder

getConnectionStringsOrBuilder()

public 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
PluggableDatabaseConnectionStringsOrBuilder

getContainerDatabaseOcid()

public String getContainerDatabaseOcid()

Required. The OCID of the CDB.

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

Returns
Type Description
String

The containerDatabaseOcid.

getContainerDatabaseOcidBytes()

public ByteString getContainerDatabaseOcidBytes()

Required. The OCID of the CDB.

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

Returns
Type Description
ByteString

The bytes for containerDatabaseOcid.

getDatabaseManagementConfig()

public 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
DatabaseManagementConfig

The databaseManagementConfig.

getDatabaseManagementConfigBuilder()

public DatabaseManagementConfig.Builder getDatabaseManagementConfigBuilder()

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
DatabaseManagementConfig.Builder

getDatabaseManagementConfigOrBuilder()

public 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
DatabaseManagementConfigOrBuilder

getDefaultInstanceForType()

public PluggableDatabaseProperties getDefaultInstanceForType()
Returns
Type Description
PluggableDatabaseProperties

getDefinedTags() (deprecated)

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

Use #getDefinedTagsMap() instead.

Returns
Type Description
Map<String,DefinedTagValue>

getDefinedTagsCount()

public 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
int

getDefinedTagsMap()

public 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
Map<String,DefinedTagValue>

getDefinedTagsOrDefault(String key, PluggableDatabaseProperties.DefinedTagValue defaultValue)

public 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 String
defaultValue PluggableDatabaseProperties.DefinedTagValue
Returns
Type Description
PluggableDatabaseProperties.DefinedTagValue

getDefinedTagsOrThrow(String key)

public 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 String
Returns
Type Description
PluggableDatabaseProperties.DefinedTagValue

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFreeformTags() (deprecated)

public Map<String,String> getFreeformTags()

Use #getFreeformTagsMap() instead.

Returns
Type Description
Map<String,String>

getFreeformTagsCount()

public 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
int

getFreeformTagsMap()

public 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
Map<String,String>

getFreeformTagsOrDefault(String key, String defaultValue)

public 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 String
defaultValue String
Returns
Type Description
String

getFreeformTagsOrThrow(String key)

public 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 String
Returns
Type Description
String

getIsRestricted()

public 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
boolean

The isRestricted.

getLifecycleDetails()

public String getLifecycleDetails()

Output only. Additional information about the current lifecycle state.

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

Returns
Type Description
String

The lifecycleDetails.

getLifecycleDetailsBytes()

public ByteString getLifecycleDetailsBytes()

Output only. Additional information about the current lifecycle state.

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

Returns
Type Description
ByteString

The bytes for lifecycleDetails.

getLifecycleState()

public 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
PluggableDatabaseProperties.PluggableDatabaseLifecycleState

The lifecycleState.

getLifecycleStateValue()

public 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
int

The enum numeric value on the wire for lifecycleState.

getMutableDefinedTags() (deprecated)

public Map<String,PluggableDatabaseProperties.DefinedTagValue> getMutableDefinedTags()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,DefinedTagValue>

getMutableFreeformTags() (deprecated)

public Map<String,String> getMutableFreeformTags()

Use alternate mutation accessors instead.

Returns
Type Description
Map<String,String>

getOcid()

public String getOcid()

Output only. The OCID of the pluggable database.

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

Returns
Type Description
String

The ocid.

getOcidBytes()

public ByteString getOcidBytes()

Output only. The OCID of the pluggable database.

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

Returns
Type Description
ByteString

The bytes for ocid.

getOperationsInsightsState()

public 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
PluggableDatabaseProperties.OperationsInsightsState

The operationsInsightsState.

getOperationsInsightsStateValue()

public 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
int

The enum numeric value on the wire for operationsInsightsState.

getPdbName()

public String getPdbName()

Required. The database name.

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

Returns
Type Description
String

The pdbName.

getPdbNameBytes()

public ByteString getPdbNameBytes()

Required. The database name.

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

Returns
Type Description
ByteString

The bytes for pdbName.

getPdbNodeLevelDetails(int index)

public 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 int
Returns
Type Description
PluggableDatabaseNodeLevelDetails

getPdbNodeLevelDetailsBuilder(int index)

public PluggableDatabaseNodeLevelDetails.Builder getPdbNodeLevelDetailsBuilder(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 int
Returns
Type Description
PluggableDatabaseNodeLevelDetails.Builder

getPdbNodeLevelDetailsBuilderList()

public List<PluggableDatabaseNodeLevelDetails.Builder> getPdbNodeLevelDetailsBuilderList()

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
List<Builder>

getPdbNodeLevelDetailsCount()

public 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
int

getPdbNodeLevelDetailsList()

public 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
List<PluggableDatabaseNodeLevelDetails>

getPdbNodeLevelDetailsOrBuilder(int index)

public 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 int
Returns
Type Description
PluggableDatabaseNodeLevelDetailsOrBuilder

getPdbNodeLevelDetailsOrBuilderList()

public 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
List<? extends com.google.cloud.oracledatabase.v1.PluggableDatabaseNodeLevelDetailsOrBuilder>

hasConnectionStrings()

public 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
boolean

Whether the connectionStrings field is set.

hasDatabaseManagementConfig()

public 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
boolean

Whether the databaseManagementConfig field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

internalGetMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)

internalGetMutableMapFieldReflection(int number)

protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
Parameter
Name Description
number int
Returns
Type Description
com.google.protobuf.MapFieldReflectionAccessor
Overrides
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeConnectionStrings(PluggableDatabaseConnectionStrings value)

public PluggableDatabaseProperties.Builder mergeConnectionStrings(PluggableDatabaseConnectionStrings value)

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

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

Parameter
Name Description
value PluggableDatabaseConnectionStrings
Returns
Type Description
PluggableDatabaseProperties.Builder

mergeDatabaseManagementConfig(DatabaseManagementConfig value)

public PluggableDatabaseProperties.Builder mergeDatabaseManagementConfig(DatabaseManagementConfig value)

Output only. The configuration of the Database Management service.

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

Parameter
Name Description
value DatabaseManagementConfig
Returns
Type Description
PluggableDatabaseProperties.Builder

mergeFrom(PluggableDatabaseProperties other)

public PluggableDatabaseProperties.Builder mergeFrom(PluggableDatabaseProperties other)
Parameter
Name Description
other PluggableDatabaseProperties
Returns
Type Description
PluggableDatabaseProperties.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public PluggableDatabaseProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public PluggableDatabaseProperties.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final PluggableDatabaseProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

putAllDefinedTags(Map<String,PluggableDatabaseProperties.DefinedTagValue> values)

public PluggableDatabaseProperties.Builder putAllDefinedTags(Map<String,PluggableDatabaseProperties.DefinedTagValue> values)

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
values Map<String,DefinedTagValue>
Returns
Type Description
PluggableDatabaseProperties.Builder

putAllFreeformTags(Map<String,String> values)

public PluggableDatabaseProperties.Builder putAllFreeformTags(Map<String,String> values)

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
values Map<String,String>
Returns
Type Description
PluggableDatabaseProperties.Builder

putDefinedTags(String key, PluggableDatabaseProperties.DefinedTagValue value)

public PluggableDatabaseProperties.Builder putDefinedTags(String key, PluggableDatabaseProperties.DefinedTagValue value)

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 String
value PluggableDatabaseProperties.DefinedTagValue
Returns
Type Description
PluggableDatabaseProperties.Builder

putDefinedTagsBuilderIfAbsent(String key)

public PluggableDatabaseProperties.DefinedTagValue.Builder putDefinedTagsBuilderIfAbsent(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 String
Returns
Type Description
PluggableDatabaseProperties.DefinedTagValue.Builder

putFreeformTags(String key, String value)

public PluggableDatabaseProperties.Builder putFreeformTags(String key, String value)

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 String
value String
Returns
Type Description
PluggableDatabaseProperties.Builder

removeDefinedTags(String key)

public PluggableDatabaseProperties.Builder removeDefinedTags(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 String
Returns
Type Description
PluggableDatabaseProperties.Builder

removeFreeformTags(String key)

public PluggableDatabaseProperties.Builder removeFreeformTags(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 String
Returns
Type Description
PluggableDatabaseProperties.Builder

removePdbNodeLevelDetails(int index)

public PluggableDatabaseProperties.Builder removePdbNodeLevelDetails(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 int
Returns
Type Description
PluggableDatabaseProperties.Builder

setCompartmentId(String value)

public PluggableDatabaseProperties.Builder setCompartmentId(String value)

Required. The OCID of the compartment.

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

Parameter
Name Description
value String

The compartmentId to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setCompartmentIdBytes(ByteString value)

public PluggableDatabaseProperties.Builder setCompartmentIdBytes(ByteString value)

Required. The OCID of the compartment.

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

Parameter
Name Description
value ByteString

The bytes for compartmentId to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setConnectionStrings(PluggableDatabaseConnectionStrings value)

public PluggableDatabaseProperties.Builder setConnectionStrings(PluggableDatabaseConnectionStrings value)

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

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

Parameter
Name Description
value PluggableDatabaseConnectionStrings
Returns
Type Description
PluggableDatabaseProperties.Builder

setConnectionStrings(PluggableDatabaseConnectionStrings.Builder builderForValue)

public PluggableDatabaseProperties.Builder setConnectionStrings(PluggableDatabaseConnectionStrings.Builder builderForValue)

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

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

Parameter
Name Description
builderForValue PluggableDatabaseConnectionStrings.Builder
Returns
Type Description
PluggableDatabaseProperties.Builder

setContainerDatabaseOcid(String value)

public PluggableDatabaseProperties.Builder setContainerDatabaseOcid(String value)

Required. The OCID of the CDB.

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

Parameter
Name Description
value String

The containerDatabaseOcid to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setContainerDatabaseOcidBytes(ByteString value)

public PluggableDatabaseProperties.Builder setContainerDatabaseOcidBytes(ByteString value)

Required. The OCID of the CDB.

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

Parameter
Name Description
value ByteString

The bytes for containerDatabaseOcid to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setDatabaseManagementConfig(DatabaseManagementConfig value)

public PluggableDatabaseProperties.Builder setDatabaseManagementConfig(DatabaseManagementConfig value)

Output only. The configuration of the Database Management service.

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

Parameter
Name Description
value DatabaseManagementConfig
Returns
Type Description
PluggableDatabaseProperties.Builder

setDatabaseManagementConfig(DatabaseManagementConfig.Builder builderForValue)

public PluggableDatabaseProperties.Builder setDatabaseManagementConfig(DatabaseManagementConfig.Builder builderForValue)

Output only. The configuration of the Database Management service.

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

Parameter
Name Description
builderForValue DatabaseManagementConfig.Builder
Returns
Type Description
PluggableDatabaseProperties.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public PluggableDatabaseProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

setIsRestricted(boolean value)

public PluggableDatabaseProperties.Builder setIsRestricted(boolean value)

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];

Parameter
Name Description
value boolean

The isRestricted to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setLifecycleDetails(String value)

public PluggableDatabaseProperties.Builder setLifecycleDetails(String value)

Output only. Additional information about the current lifecycle state.

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

Parameter
Name Description
value String

The lifecycleDetails to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setLifecycleDetailsBytes(ByteString value)

public PluggableDatabaseProperties.Builder setLifecycleDetailsBytes(ByteString value)

Output only. Additional information about the current lifecycle state.

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

Parameter
Name Description
value ByteString

The bytes for lifecycleDetails to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setLifecycleState(PluggableDatabaseProperties.PluggableDatabaseLifecycleState value)

public PluggableDatabaseProperties.Builder setLifecycleState(PluggableDatabaseProperties.PluggableDatabaseLifecycleState value)

Output only. The current state of the pluggable database.

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

Parameter
Name Description
value PluggableDatabaseProperties.PluggableDatabaseLifecycleState

The lifecycleState to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setLifecycleStateValue(int value)

public PluggableDatabaseProperties.Builder setLifecycleStateValue(int value)

Output only. The current state of the pluggable database.

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

Parameter
Name Description
value int

The enum numeric value on the wire for lifecycleState to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setOcid(String value)

public PluggableDatabaseProperties.Builder setOcid(String value)

Output only. The OCID of the pluggable database.

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

Parameter
Name Description
value String

The ocid to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setOcidBytes(ByteString value)

public PluggableDatabaseProperties.Builder setOcidBytes(ByteString value)

Output only. The OCID of the pluggable database.

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

Parameter
Name Description
value ByteString

The bytes for ocid to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setOperationsInsightsState(PluggableDatabaseProperties.OperationsInsightsState value)

public PluggableDatabaseProperties.Builder setOperationsInsightsState(PluggableDatabaseProperties.OperationsInsightsState value)

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];

Parameter
Name Description
value PluggableDatabaseProperties.OperationsInsightsState

The operationsInsightsState to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setOperationsInsightsStateValue(int value)

public PluggableDatabaseProperties.Builder setOperationsInsightsStateValue(int value)

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];

Parameter
Name Description
value int

The enum numeric value on the wire for operationsInsightsState to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setPdbName(String value)

public PluggableDatabaseProperties.Builder setPdbName(String value)

Required. The database name.

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

Parameter
Name Description
value String

The pdbName to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setPdbNameBytes(ByteString value)

public PluggableDatabaseProperties.Builder setPdbNameBytes(ByteString value)

Required. The database name.

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

Parameter
Name Description
value ByteString

The bytes for pdbName to set.

Returns
Type Description
PluggableDatabaseProperties.Builder

This builder for chaining.

setPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails value)

public PluggableDatabaseProperties.Builder setPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails value)

Optional. Pluggable Database Node Level Details

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

Parameters
Name Description
index int
value PluggableDatabaseNodeLevelDetails
Returns
Type Description
PluggableDatabaseProperties.Builder

setPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails.Builder builderForValue)

public PluggableDatabaseProperties.Builder setPdbNodeLevelDetails(int index, PluggableDatabaseNodeLevelDetails.Builder builderForValue)

Optional. Pluggable Database Node Level Details

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

Parameters
Name Description
index int
builderForValue PluggableDatabaseNodeLevelDetails.Builder
Returns
Type Description
PluggableDatabaseProperties.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public PluggableDatabaseProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final PluggableDatabaseProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
PluggableDatabaseProperties.Builder
Overrides