public static final class DbSystemProperties.Builder extends GeneratedMessage.Builder<DbSystemProperties.Builder> implements DbSystemPropertiesOrBuilderThe properties of a DbSystem.
Protobuf type google.cloud.oracledatabase.v1.DbSystemProperties
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > DbSystemProperties.BuilderImplements
DbSystemPropertiesOrBuilderStatic 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. |
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 |
StringThe 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 |
ByteStringThe 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 |
|
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. The value is same as initial_data_storage_size_gb. This can be modified from OCI console.
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. |
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. This value can not be set and is automatically calculated based on the number of ECPUs allocated to the DbSystem.
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 to launch for a virtual machine DbSystem. By default this will be set to 1.
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. |
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. The value for recovery storage size is based on the available data storage size.
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 |
|
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. The value is same as initial_data_storage_size_gb. This can be modified from OCI console.
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 |
|
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. This value can not be set and is automatically calculated based on the number of ECPUs allocated to the DbSystem.
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 to launch for a virtual machine DbSystem. By default this will be set to 1.
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. The value for recovery storage size is based on the available data storage size.
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 |
intThe 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 |
intThe 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public DbSystemProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
DbSystemProperties.Builder |
|
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 |
|
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 |
intThe 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.ComputeModelThe 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 |
intThe 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. The value is same as initial_data_storage_size_gb. This can be modified from OCI console.
int32 data_storage_size_gb = 17 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe 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.DbSystemDatabaseEditionThe 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 |
intThe 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 |
StringThe 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 |
ByteStringThe bytes for domain to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemProperties.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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 |
intThe 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.LicenseModelThe 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 |
intThe 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.DbSystemLifecycleStateThe 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 |
intThe 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. This value can not be set and is automatically calculated based on the number of ECPUs allocated to the DbSystem.
int32 memory_size_gb = 15 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe 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 to launch for a virtual machine DbSystem. By default this will be set to 1.
int32 node_count = 20 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe 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 |
StringThe 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 |
ByteStringThe 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 |
StringThe 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 |
ByteStringThe 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. The value for recovery storage size is based on the available data storage size.
int32 reco_storage_size_gb = 18 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe recoStorageSizeGb to set. |
| Returns | |
|---|---|
| Type | Description |
DbSystemProperties.Builder |
This builder for chaining. |
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 |
StringThe 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 |
ByteStringThe 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 |
intThe index to set the value at. |
value |
StringThe 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 |
|