Class Database.Builder (0.29.0)

public static final class Database.Builder extends GeneratedMessageV3.Builder<Database.Builder> implements DatabaseOrBuilder

Details of the Database resource. https://docs.oracle.com/en-us/iaas/api/#/en/database/20160918/Database/

Protobuf type google.cloud.oracledatabase.v1.Database

Implements

DatabaseOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Database build()
Returns
Type Description
Database

buildPartial()

public Database buildPartial()
Returns
Type Description
Database

clear()

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

clearAdminPassword()

public Database.Builder clearAdminPassword()

Required. The password for the default ADMIN user.

string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Database.Builder

This builder for chaining.

clearCharacterSet()

public Database.Builder clearCharacterSet()

Optional. The character set for the database. The default is AL32UTF8.

string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Database.Builder

This builder for chaining.

clearCreateTime()

public Database.Builder clearCreateTime()

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Database.Builder

clearDatabaseId()

public Database.Builder clearDatabaseId()

Optional. The database ID of the Database.

string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Database.Builder

This builder for chaining.

clearDbHomeName()

public Database.Builder clearDbHomeName()

Optional. The name of the DbHome resource associated with the Database.

string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Database.Builder

This builder for chaining.

clearDbName()

public Database.Builder clearDbName()

Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

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

Returns
Type Description
Database.Builder

This builder for chaining.

clearDbUniqueName()

public Database.Builder clearDbUniqueName()

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

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

Returns
Type Description
Database.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearGcpOracleZone()

public Database.Builder clearGcpOracleZone()

Output only. The GCP Oracle zone where the Database is created.

string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Database.Builder

This builder for chaining.

clearName()

public Database.Builder clearName()

Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
Database.Builder

This builder for chaining.

clearNcharacterSet()

public Database.Builder clearNcharacterSet()

Optional. The national character set for the database. The default is AL16UTF16.

string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Database.Builder

This builder for chaining.

clearOciUrl()

public Database.Builder clearOciUrl()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

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

Returns
Type Description
Database.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOpsInsightsStatus()

public Database.Builder clearOpsInsightsStatus()

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

.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Database.Builder

This builder for chaining.

clearProperties()

public Database.Builder clearProperties()

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Database.Builder

clearTdeWalletPassword()

public Database.Builder clearTdeWalletPassword()

Optional. The TDE wallet password for the database.

string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Database.Builder

This builder for chaining.

clone()

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

getAdminPassword()

public String getAdminPassword()

Required. The password for the default ADMIN user.

string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The adminPassword.

getAdminPasswordBytes()

public ByteString getAdminPasswordBytes()

Required. The password for the default ADMIN user.

string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for adminPassword.

getCharacterSet()

public String getCharacterSet()

Optional. The character set for the database. The default is AL32UTF8.

string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The characterSet.

getCharacterSetBytes()

public ByteString getCharacterSetBytes()

Optional. The character set for the database. The default is AL32UTF8.

string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for characterSet.

getCreateTime()

public Timestamp getCreateTime()

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeBuilder()

public Timestamp.Builder getCreateTimeBuilder()

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Builder

getCreateTimeOrBuilder()

public TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDatabaseId()

public String getDatabaseId()

Optional. The database ID of the Database.

string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The databaseId.

getDatabaseIdBytes()

public ByteString getDatabaseIdBytes()

Optional. The database ID of the Database.

string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for databaseId.

getDbHomeName()

public String getDbHomeName()

Optional. The name of the DbHome resource associated with the Database.

string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The dbHomeName.

getDbHomeNameBytes()

public ByteString getDbHomeNameBytes()

Optional. The name of the DbHome resource associated with the Database.

string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for dbHomeName.

getDbName()

public String getDbName()

Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

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

Returns
Type Description
String

The dbName.

getDbNameBytes()

public ByteString getDbNameBytes()

Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

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

Returns
Type Description
ByteString

The bytes for dbName.

getDbUniqueName()

public String getDbUniqueName()

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

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

Returns
Type Description
String

The dbUniqueName.

getDbUniqueNameBytes()

public ByteString getDbUniqueNameBytes()

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

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

Returns
Type Description
ByteString

The bytes for dbUniqueName.

getDefaultInstanceForType()

public Database getDefaultInstanceForType()
Returns
Type Description
Database

getDescriptorForType()

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

getGcpOracleZone()

public String getGcpOracleZone()

Output only. The GCP Oracle zone where the Database is created.

string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The gcpOracleZone.

getGcpOracleZoneBytes()

public ByteString getGcpOracleZoneBytes()

Output only. The GCP Oracle zone where the Database is created.

string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for gcpOracleZone.

getName()

public String getName()

Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNcharacterSet()

public String getNcharacterSet()

Optional. The national character set for the database. The default is AL16UTF16.

string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The ncharacterSet.

getNcharacterSetBytes()

public ByteString getNcharacterSetBytes()

Optional. The national character set for the database. The default is AL16UTF16.

string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for ncharacterSet.

getOciUrl()

public String getOciUrl()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

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

Returns
Type Description
String

The ociUrl.

getOciUrlBytes()

public ByteString getOciUrlBytes()

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

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

Returns
Type Description
ByteString

The bytes for ociUrl.

getOpsInsightsStatus()

public Database.OperationsInsightsStatus getOpsInsightsStatus()

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

.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Database.OperationsInsightsStatus

The opsInsightsStatus.

getOpsInsightsStatusValue()

public int getOpsInsightsStatusValue()

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

.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for opsInsightsStatus.

getProperties()

public DatabaseProperties getProperties()

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseProperties

The properties.

getPropertiesBuilder()

public DatabaseProperties.Builder getPropertiesBuilder()

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabaseProperties.Builder

getPropertiesOrBuilder()

public DatabasePropertiesOrBuilder getPropertiesOrBuilder()

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DatabasePropertiesOrBuilder

getTdeWalletPassword()

public String getTdeWalletPassword()

Optional. The TDE wallet password for the database.

string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The tdeWalletPassword.

getTdeWalletPasswordBytes()

public ByteString getTdeWalletPasswordBytes()

Optional. The TDE wallet password for the database.

string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for tdeWalletPassword.

hasCreateTime()

public boolean hasCreateTime()

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasProperties()

public boolean hasProperties()

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the properties field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCreateTime(Timestamp value)

public Database.Builder mergeCreateTime(Timestamp value)

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Database.Builder

mergeFrom(Database other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeProperties(DatabaseProperties value)

public Database.Builder mergeProperties(DatabaseProperties value)

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DatabaseProperties
Returns
Type Description
Database.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setAdminPassword(String value)

public Database.Builder setAdminPassword(String value)

Required. The password for the default ADMIN user.

string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The adminPassword to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setAdminPasswordBytes(ByteString value)

public Database.Builder setAdminPasswordBytes(ByteString value)

Required. The password for the default ADMIN user.

string admin_password = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for adminPassword to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setCharacterSet(String value)

public Database.Builder setCharacterSet(String value)

Optional. The character set for the database. The default is AL32UTF8.

string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The characterSet to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setCharacterSetBytes(ByteString value)

public Database.Builder setCharacterSetBytes(ByteString value)

Optional. The character set for the database. The default is AL32UTF8.

string character_set = 6 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for characterSet to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setCreateTime(Timestamp value)

public Database.Builder setCreateTime(Timestamp value)

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Timestamp
Returns
Type Description
Database.Builder

setCreateTime(Timestamp.Builder builderForValue)

public Database.Builder setCreateTime(Timestamp.Builder builderForValue)

Output only. The date and time that the Database was created.

.google.protobuf.Timestamp create_time = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Database.Builder

setDatabaseId(String value)

public Database.Builder setDatabaseId(String value)

Optional. The database ID of the Database.

string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The databaseId to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDatabaseIdBytes(ByteString value)

public Database.Builder setDatabaseIdBytes(ByteString value)

Optional. The database ID of the Database.

string database_id = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for databaseId to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDbHomeName(String value)

public Database.Builder setDbHomeName(String value)

Optional. The name of the DbHome resource associated with the Database.

string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The dbHomeName to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDbHomeNameBytes(ByteString value)

public Database.Builder setDbHomeNameBytes(ByteString value)

Optional. The name of the DbHome resource associated with the Database.

string db_home_name = 12 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for dbHomeName to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDbName(String value)

public Database.Builder setDbName(String value)

Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

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

Parameter
Name Description
value String

The dbName to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDbNameBytes(ByteString value)

public Database.Builder setDbNameBytes(ByteString value)

Optional. The database name. The name must begin with an alphabetic character and can contain a maximum of eight alphanumeric characters. Special characters are not permitted.

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

Parameter
Name Description
value ByteString

The bytes for dbName to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDbUniqueName(String value)

public Database.Builder setDbUniqueName(String value)

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

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

Parameter
Name Description
value String

The dbUniqueName to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setDbUniqueNameBytes(ByteString value)

public Database.Builder setDbUniqueNameBytes(ByteString value)

Optional. The DB_UNIQUE_NAME of the Oracle Database being backed up.

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

Parameter
Name Description
value ByteString

The bytes for dbUniqueName to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setGcpOracleZone(String value)

public Database.Builder setGcpOracleZone(String value)

Output only. The GCP Oracle zone where the Database is created.

string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The gcpOracleZone to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setGcpOracleZoneBytes(ByteString value)

public Database.Builder setGcpOracleZoneBytes(ByteString value)

Output only. The GCP Oracle zone where the Database is created.

string gcp_oracle_zone = 13 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for gcpOracleZone to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setName(String value)

public Database.Builder setName(String value)

Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setNameBytes(ByteString value)

public Database.Builder setNameBytes(ByteString value)

Identifier. The name of the Database resource in the following format: projects/{project}/locations/{region}/databases/{database}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setNcharacterSet(String value)

public Database.Builder setNcharacterSet(String value)

Optional. The national character set for the database. The default is AL16UTF16.

string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The ncharacterSet to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setNcharacterSetBytes(ByteString value)

public Database.Builder setNcharacterSetBytes(ByteString value)

Optional. The national character set for the database. The default is AL16UTF16.

string ncharacter_set = 7 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for ncharacterSet to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setOciUrl(String value)

public Database.Builder setOciUrl(String value)

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

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

Parameter
Name Description
value String

The ociUrl to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setOciUrlBytes(ByteString value)

public Database.Builder setOciUrlBytes(ByteString value)

Output only. HTTPS link to OCI resources exposed to Customer via UI Interface.

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

Parameter
Name Description
value ByteString

The bytes for ociUrl to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setOpsInsightsStatus(Database.OperationsInsightsStatus value)

public Database.Builder setOpsInsightsStatus(Database.OperationsInsightsStatus value)

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

.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value Database.OperationsInsightsStatus

The opsInsightsStatus to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setOpsInsightsStatusValue(int value)

public Database.Builder setOpsInsightsStatusValue(int value)

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

.google.cloud.oracledatabase.v1.Database.OperationsInsightsStatus ops_insights_status = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
Database.Builder

This builder for chaining.

setProperties(DatabaseProperties value)

public Database.Builder setProperties(DatabaseProperties value)

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DatabaseProperties
Returns
Type Description
Database.Builder

setProperties(DatabaseProperties.Builder builderForValue)

public Database.Builder setProperties(DatabaseProperties.Builder builderForValue)

Optional. The properties of the Database.

.google.cloud.oracledatabase.v1.DatabaseProperties properties = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DatabaseProperties.Builder
Returns
Type Description
Database.Builder

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

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

setTdeWalletPassword(String value)

public Database.Builder setTdeWalletPassword(String value)

Optional. The TDE wallet password for the database.

string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The tdeWalletPassword to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setTdeWalletPasswordBytes(ByteString value)

public Database.Builder setTdeWalletPasswordBytes(ByteString value)

Optional. The TDE wallet password for the database.

string tde_wallet_password = 5 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for tdeWalletPassword to set.

Returns
Type Description
Database.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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