Class DbSystemProperties.Builder (0.29.0)

public static final class DbSystemProperties.Builder extends GeneratedMessageV3.Builder<DbSystemProperties.Builder> implements DbSystemPropertiesOrBuilder

The properties of a DbSystem.

Protobuf type google.cloud.oracledatabase.v1.DbSystemProperties

Static Methods

getDescriptor()

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

Methods

addAllSshPublicKeys(Iterable<String> values)

public DbSystemProperties.Builder addAllSshPublicKeys(Iterable<String> values)

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The sshPublicKeys to add.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addSshPublicKeys(String value)

public DbSystemProperties.Builder addSshPublicKeys(String value)

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sshPublicKeys to add.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

addSshPublicKeysBytes(ByteString value)

public DbSystemProperties.Builder addSshPublicKeysBytes(ByteString value)

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the sshPublicKeys to add.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

build()

public DbSystemProperties build()
Returns
Type Description
DbSystemProperties

buildPartial()

public DbSystemProperties buildPartial()
Returns
Type Description
DbSystemProperties

clear()

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

clearComputeCount()

public DbSystemProperties.Builder clearComputeCount()

Required. The number of CPU cores to enable for the DbSystem.

int32 compute_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearComputeModel()

public DbSystemProperties.Builder clearComputeModel()

Optional. The compute model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModel compute_model = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearDataCollectionOptions()

public DbSystemProperties.Builder clearDataCollectionOptions()

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

clearDataStorageSizeGb()

public DbSystemProperties.Builder clearDataStorageSizeGb()

Optional. The data storage size in GB that is currently available to DbSystems.

int32 data_storage_size_gb = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearDatabaseEdition()

public DbSystemProperties.Builder clearDatabaseEdition()

Required. The database edition of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEdition database_edition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearDbHome()

public DbSystemProperties.Builder clearDbHome()

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

clearDbSystemOptions()

public DbSystemProperties.Builder clearDbSystemOptions()

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

clearDomain()

public DbSystemProperties.Builder clearDomain()

Optional. The host domain name of the DbSystem.

string domain = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearHostname()

public DbSystemProperties.Builder clearHostname()

Output only. The hostname of the DbSystem.

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearHostnamePrefix()

public DbSystemProperties.Builder clearHostnamePrefix()

Optional. Prefix for DB System host names.

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearInitialDataStorageSizeGb()

public DbSystemProperties.Builder clearInitialDataStorageSizeGb()

Required. The initial data storage size in GB.

int32 initial_data_storage_size_gb = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearLicenseModel()

public DbSystemProperties.Builder clearLicenseModel()

Required. The license model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModel license_model = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearLifecycleState()

public DbSystemProperties.Builder clearLifecycleState()

Output only. State of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearMemorySizeGb()

public DbSystemProperties.Builder clearMemorySizeGb()

Optional. The memory size in GB.

int32 memory_size_gb = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearNodeCount()

public DbSystemProperties.Builder clearNodeCount()

Optional. The number of nodes in the DbSystem.

int32 node_count = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearOcid()

public DbSystemProperties.Builder clearOcid()

Output only. OCID of the DbSystem.

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPrivateIp()

public DbSystemProperties.Builder clearPrivateIp()

Optional. The private IP address of the DbSystem.

string private_ip = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearRecoStorageSizeGb()

public DbSystemProperties.Builder clearRecoStorageSizeGb()

Optional. The reco/redo storage size in GB.

int32 reco_storage_size_gb = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearShape()

public DbSystemProperties.Builder clearShape()

Required. Shape of DB System.

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearSshPublicKeys()

public DbSystemProperties.Builder clearSshPublicKeys()

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

clearTimeZone()

public DbSystemProperties.Builder clearTimeZone()

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.Builder

clone()

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

getComputeCount()

public int getComputeCount()

Required. The number of CPU cores to enable for the DbSystem.

int32 compute_count = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The computeCount.

getComputeModel()

public DbSystemProperties.ComputeModel getComputeModel()

Optional. The compute model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModel compute_model = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemProperties.ComputeModel

The computeModel.

getComputeModelValue()

public int getComputeModelValue()

Optional. The compute model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModel compute_model = 16 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for computeModel.

getDataCollectionOptions()

public DataCollectionOptionsDbSystem getDataCollectionOptions()

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataCollectionOptionsDbSystem

The dataCollectionOptions.

getDataCollectionOptionsBuilder()

public DataCollectionOptionsDbSystem.Builder getDataCollectionOptionsBuilder()

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataCollectionOptionsDbSystem.Builder

getDataCollectionOptionsOrBuilder()

public DataCollectionOptionsDbSystemOrBuilder getDataCollectionOptionsOrBuilder()

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DataCollectionOptionsDbSystemOrBuilder

getDataStorageSizeGb()

public int getDataStorageSizeGb()

Optional. The data storage size in GB that is currently available to DbSystems.

int32 data_storage_size_gb = 17 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The dataStorageSizeGb.

getDatabaseEdition()

public DbSystemProperties.DbSystemDatabaseEdition getDatabaseEdition()

Required. The database edition of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEdition database_edition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.DbSystemDatabaseEdition

The databaseEdition.

getDatabaseEditionValue()

public int getDatabaseEditionValue()

Required. The database edition of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEdition database_edition = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for databaseEdition.

getDbHome()

public DbHome getDbHome()

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbHome

The dbHome.

getDbHomeBuilder()

public DbHome.Builder getDbHomeBuilder()

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbHome.Builder

getDbHomeOrBuilder()

public DbHomeOrBuilder getDbHomeOrBuilder()

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbHomeOrBuilder

getDbSystemOptions()

public DbSystemOptions getDbSystemOptions()

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemOptions

The dbSystemOptions.

getDbSystemOptionsBuilder()

public DbSystemOptions.Builder getDbSystemOptionsBuilder()

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemOptions.Builder

getDbSystemOptionsOrBuilder()

public DbSystemOptionsOrBuilder getDbSystemOptionsOrBuilder()

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DbSystemOptionsOrBuilder

getDefaultInstanceForType()

public DbSystemProperties getDefaultInstanceForType()
Returns
Type Description
DbSystemProperties

getDescriptorForType()

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

getDomain()

public String getDomain()

Optional. The host domain name of the DbSystem.

string domain = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The domain.

getDomainBytes()

public ByteString getDomainBytes()

Optional. The host domain name of the DbSystem.

string domain = 19 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for domain.

getHostname()

public String getHostname()

Output only. The hostname of the DbSystem.

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

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Output only. The hostname of the DbSystem.

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

Returns
Type Description
ByteString

The bytes for hostname.

getHostnamePrefix()

public String getHostnamePrefix()

Optional. Prefix for DB System host names.

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

Returns
Type Description
String

The hostnamePrefix.

getHostnamePrefixBytes()

public ByteString getHostnamePrefixBytes()

Optional. Prefix for DB System host names.

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

Returns
Type Description
ByteString

The bytes for hostnamePrefix.

getInitialDataStorageSizeGb()

public int getInitialDataStorageSizeGb()

Required. The initial data storage size in GB.

int32 initial_data_storage_size_gb = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The initialDataStorageSizeGb.

getLicenseModel()

public DbSystemProperties.LicenseModel getLicenseModel()

Required. The license model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModel license_model = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
DbSystemProperties.LicenseModel

The licenseModel.

getLicenseModelValue()

public int getLicenseModelValue()

Required. The license model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModel license_model = 5 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for licenseModel.

getLifecycleState()

public DbSystemProperties.DbSystemLifecycleState getLifecycleState()

Output only. State of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbSystemProperties.DbSystemLifecycleState

The lifecycleState.

getLifecycleStateValue()

public int getLifecycleStateValue()

Output only. State of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for lifecycleState.

getMemorySizeGb()

public int getMemorySizeGb()

Optional. The memory size in GB.

int32 memory_size_gb = 15 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The memorySizeGb.

getNodeCount()

public int getNodeCount()

Optional. The number of nodes in the DbSystem.

int32 node_count = 20 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The nodeCount.

getOcid()

public String getOcid()

Output only. OCID of the DbSystem.

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

Returns
Type Description
String

The ocid.

getOcidBytes()

public ByteString getOcidBytes()

Output only. OCID of the DbSystem.

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

Returns
Type Description
ByteString

The bytes for ocid.

getPrivateIp()

public String getPrivateIp()

Optional. The private IP address of the DbSystem.

string private_ip = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The privateIp.

getPrivateIpBytes()

public ByteString getPrivateIpBytes()

Optional. The private IP address of the DbSystem.

string private_ip = 9 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for privateIp.

getRecoStorageSizeGb()

public int getRecoStorageSizeGb()

Optional. The reco/redo storage size in GB.

int32 reco_storage_size_gb = 18 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The recoStorageSizeGb.

getShape()

public String getShape()

Required. Shape of DB System.

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

Returns
Type Description
String

The shape.

getShapeBytes()

public ByteString getShapeBytes()

Required. Shape of DB System.

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

Returns
Type Description
ByteString

The bytes for shape.

getSshPublicKeys(int index)

public String getSshPublicKeys(int index)

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The sshPublicKeys at the given index.

getSshPublicKeysBytes(int index)

public ByteString getSshPublicKeysBytes(int index)

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the sshPublicKeys at the given index.

getSshPublicKeysCount()

public int getSshPublicKeysCount()

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of sshPublicKeys.

getSshPublicKeysList()

public ProtocolStringList getSshPublicKeysList()

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the sshPublicKeys.

getTimeZone()

public TimeZone getTimeZone()

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeZone

The timeZone.

getTimeZoneBuilder()

public TimeZone.Builder getTimeZoneBuilder()

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeZone.Builder

getTimeZoneOrBuilder()

public TimeZoneOrBuilder getTimeZoneOrBuilder()

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
com.google.type.TimeZoneOrBuilder

hasDataCollectionOptions()

public boolean hasDataCollectionOptions()

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dataCollectionOptions field is set.

hasDbHome()

public boolean hasDbHome()

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dbHome field is set.

hasDbSystemOptions()

public boolean hasDbSystemOptions()

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the dbSystemOptions field is set.

hasTimeZone()

public boolean hasTimeZone()

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the timeZone field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDataCollectionOptions(DataCollectionOptionsDbSystem value)

public DbSystemProperties.Builder mergeDataCollectionOptions(DataCollectionOptionsDbSystem value)

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataCollectionOptionsDbSystem
Returns
Type Description
DbSystemProperties.Builder

mergeDbHome(DbHome value)

public DbSystemProperties.Builder mergeDbHome(DbHome value)

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbHome
Returns
Type Description
DbSystemProperties.Builder

mergeDbSystemOptions(DbSystemOptions value)

public DbSystemProperties.Builder mergeDbSystemOptions(DbSystemOptions value)

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbSystemOptions
Returns
Type Description
DbSystemProperties.Builder

mergeFrom(DbSystemProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeTimeZone(TimeZone value)

public DbSystemProperties.Builder mergeTimeZone(TimeZone value)

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.TimeZone
Returns
Type Description
DbSystemProperties.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setComputeCount(int value)

public DbSystemProperties.Builder setComputeCount(int value)

Required. The number of CPU cores to enable for the DbSystem.

int32 compute_count = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The computeCount to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setComputeModel(DbSystemProperties.ComputeModel value)

public DbSystemProperties.Builder setComputeModel(DbSystemProperties.ComputeModel value)

Optional. The compute model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModel compute_model = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbSystemProperties.ComputeModel

The computeModel to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setComputeModelValue(int value)

public DbSystemProperties.Builder setComputeModelValue(int value)

Optional. The compute model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.ComputeModel compute_model = 16 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setDataCollectionOptions(DataCollectionOptionsDbSystem value)

public DbSystemProperties.Builder setDataCollectionOptions(DataCollectionOptionsDbSystem value)

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DataCollectionOptionsDbSystem
Returns
Type Description
DbSystemProperties.Builder

setDataCollectionOptions(DataCollectionOptionsDbSystem.Builder builderForValue)

public DbSystemProperties.Builder setDataCollectionOptions(DataCollectionOptionsDbSystem.Builder builderForValue)

Optional. Data collection options for diagnostics.

.google.cloud.oracledatabase.v1.DataCollectionOptionsDbSystem data_collection_options = 10 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DataCollectionOptionsDbSystem.Builder
Returns
Type Description
DbSystemProperties.Builder

setDataStorageSizeGb(int value)

public DbSystemProperties.Builder setDataStorageSizeGb(int value)

Optional. The data storage size in GB that is currently available to DbSystems.

int32 data_storage_size_gb = 17 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The dataStorageSizeGb to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setDatabaseEdition(DbSystemProperties.DbSystemDatabaseEdition value)

public DbSystemProperties.Builder setDatabaseEdition(DbSystemProperties.DbSystemDatabaseEdition value)

Required. The database edition of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEdition database_edition = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DbSystemProperties.DbSystemDatabaseEdition

The databaseEdition to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setDatabaseEditionValue(int value)

public DbSystemProperties.Builder setDatabaseEditionValue(int value)

Required. The database edition of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemDatabaseEdition database_edition = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setDbHome(DbHome value)

public DbSystemProperties.Builder setDbHome(DbHome value)

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbHome
Returns
Type Description
DbSystemProperties.Builder

setDbHome(DbHome.Builder builderForValue)

public DbSystemProperties.Builder setDbHome(DbHome.Builder builderForValue)

Optional. Details for creating a Database Home.

.google.cloud.oracledatabase.v1.DbHome db_home = 13 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DbHome.Builder
Returns
Type Description
DbSystemProperties.Builder

setDbSystemOptions(DbSystemOptions value)

public DbSystemProperties.Builder setDbSystemOptions(DbSystemOptions value)

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value DbSystemOptions
Returns
Type Description
DbSystemProperties.Builder

setDbSystemOptions(DbSystemOptions.Builder builderForValue)

public DbSystemProperties.Builder setDbSystemOptions(DbSystemOptions.Builder builderForValue)

Optional. The options for the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemOptions db_system_options = 21 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue DbSystemOptions.Builder
Returns
Type Description
DbSystemProperties.Builder

setDomain(String value)

public DbSystemProperties.Builder setDomain(String value)

Optional. The host domain name of the DbSystem.

string domain = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The domain to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setDomainBytes(ByteString value)

public DbSystemProperties.Builder setDomainBytes(ByteString value)

Optional. The host domain name of the DbSystem.

string domain = 19 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for domain to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setHostname(String value)

public DbSystemProperties.Builder setHostname(String value)

Output only. The hostname of the DbSystem.

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

Parameter
Name Description
value String

The hostname to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setHostnameBytes(ByteString value)

public DbSystemProperties.Builder setHostnameBytes(ByteString value)

Output only. The hostname of the DbSystem.

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

Parameter
Name Description
value ByteString

The bytes for hostname to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setHostnamePrefix(String value)

public DbSystemProperties.Builder setHostnamePrefix(String value)

Optional. Prefix for DB System host names.

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

Parameter
Name Description
value String

The hostnamePrefix to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setHostnamePrefixBytes(ByteString value)

public DbSystemProperties.Builder setHostnamePrefixBytes(ByteString value)

Optional. Prefix for DB System host names.

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

Parameter
Name Description
value ByteString

The bytes for hostnamePrefix to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setInitialDataStorageSizeGb(int value)

public DbSystemProperties.Builder setInitialDataStorageSizeGb(int value)

Required. The initial data storage size in GB.

int32 initial_data_storage_size_gb = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The initialDataStorageSizeGb to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setLicenseModel(DbSystemProperties.LicenseModel value)

public DbSystemProperties.Builder setLicenseModel(DbSystemProperties.LicenseModel value)

Required. The license model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModel license_model = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value DbSystemProperties.LicenseModel

The licenseModel to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setLicenseModelValue(int value)

public DbSystemProperties.Builder setLicenseModelValue(int value)

Required. The license model of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.LicenseModel license_model = 5 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setLifecycleState(DbSystemProperties.DbSystemLifecycleState value)

public DbSystemProperties.Builder setLifecycleState(DbSystemProperties.DbSystemLifecycleState value)

Output only. State of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleState lifecycle_state = 12 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value DbSystemProperties.DbSystemLifecycleState

The lifecycleState to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setLifecycleStateValue(int value)

public DbSystemProperties.Builder setLifecycleStateValue(int value)

Output only. State of the DbSystem.

.google.cloud.oracledatabase.v1.DbSystemProperties.DbSystemLifecycleState lifecycle_state = 12 [(.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
DbSystemProperties.Builder

This builder for chaining.

setMemorySizeGb(int value)

public DbSystemProperties.Builder setMemorySizeGb(int value)

Optional. The memory size in GB.

int32 memory_size_gb = 15 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The memorySizeGb to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setNodeCount(int value)

public DbSystemProperties.Builder setNodeCount(int value)

Optional. The number of nodes in the DbSystem.

int32 node_count = 20 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The nodeCount to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setOcid(String value)

public DbSystemProperties.Builder setOcid(String value)

Output only. OCID of the DbSystem.

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

Parameter
Name Description
value String

The ocid to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setOcidBytes(ByteString value)

public DbSystemProperties.Builder setOcidBytes(ByteString value)

Output only. OCID of the DbSystem.

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

Parameter
Name Description
value ByteString

The bytes for ocid to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setPrivateIp(String value)

public DbSystemProperties.Builder setPrivateIp(String value)

Optional. The private IP address of the DbSystem.

string private_ip = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The privateIp to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setPrivateIpBytes(ByteString value)

public DbSystemProperties.Builder setPrivateIpBytes(ByteString value)

Optional. The private IP address of the DbSystem.

string private_ip = 9 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes for privateIp to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setRecoStorageSizeGb(int value)

public DbSystemProperties.Builder setRecoStorageSizeGb(int value)

Optional. The reco/redo storage size in GB.

int32 reco_storage_size_gb = 18 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value int

The recoStorageSizeGb to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

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

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

setShape(String value)

public DbSystemProperties.Builder setShape(String value)

Required. Shape of DB System.

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

Parameter
Name Description
value String

The shape to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setShapeBytes(ByteString value)

public DbSystemProperties.Builder setShapeBytes(ByteString value)

Required. Shape of DB System.

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

Parameter
Name Description
value ByteString

The bytes for shape to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setSshPublicKeys(int index, String value)

public DbSystemProperties.Builder setSshPublicKeys(int index, String value)

Required. SSH public keys to be stored with the DbSystem.

repeated string ssh_public_keys = 6 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The sshPublicKeys to set.

Returns
Type Description
DbSystemProperties.Builder

This builder for chaining.

setTimeZone(TimeZone value)

public DbSystemProperties.Builder setTimeZone(TimeZone value)

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value com.google.type.TimeZone
Returns
Type Description
DbSystemProperties.Builder

setTimeZone(TimeZone.Builder builderForValue)

public DbSystemProperties.Builder setTimeZone(TimeZone.Builder builderForValue)

Optional. Time zone of the DbSystem.

.google.type.TimeZone time_zone = 11 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
builderForValue com.google.type.TimeZone.Builder
Returns
Type Description
DbSystemProperties.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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