Class DbSystemProperties (0.29.0)

public final class DbSystemProperties extends GeneratedMessageV3 implements DbSystemPropertiesOrBuilder

The properties of a DbSystem.

Protobuf type google.cloud.oracledatabase.v1.DbSystemProperties

Static Fields

COMPUTE_COUNT_FIELD_NUMBER

public static final int COMPUTE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

COMPUTE_MODEL_FIELD_NUMBER

public static final int COMPUTE_MODEL_FIELD_NUMBER
Field Value
Type Description
int

DATABASE_EDITION_FIELD_NUMBER

public static final int DATABASE_EDITION_FIELD_NUMBER
Field Value
Type Description
int

DATA_COLLECTION_OPTIONS_FIELD_NUMBER

public static final int DATA_COLLECTION_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

DATA_STORAGE_SIZE_GB_FIELD_NUMBER

public static final int DATA_STORAGE_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

DB_HOME_FIELD_NUMBER

public static final int DB_HOME_FIELD_NUMBER
Field Value
Type Description
int

DB_SYSTEM_OPTIONS_FIELD_NUMBER

public static final int DB_SYSTEM_OPTIONS_FIELD_NUMBER
Field Value
Type Description
int

DOMAIN_FIELD_NUMBER

public static final int DOMAIN_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

public static final int HOSTNAME_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_PREFIX_FIELD_NUMBER

public static final int HOSTNAME_PREFIX_FIELD_NUMBER
Field Value
Type Description
int

INITIAL_DATA_STORAGE_SIZE_GB_FIELD_NUMBER

public static final int INITIAL_DATA_STORAGE_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

LICENSE_MODEL_FIELD_NUMBER

public static final int LICENSE_MODEL_FIELD_NUMBER
Field Value
Type Description
int

LIFECYCLE_STATE_FIELD_NUMBER

public static final int LIFECYCLE_STATE_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_SIZE_GB_FIELD_NUMBER

public static final int MEMORY_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

NODE_COUNT_FIELD_NUMBER

public static final int NODE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

OCID_FIELD_NUMBER

public static final int OCID_FIELD_NUMBER
Field Value
Type Description
int

PRIVATE_IP_FIELD_NUMBER

public static final int PRIVATE_IP_FIELD_NUMBER
Field Value
Type Description
int

RECO_STORAGE_SIZE_GB_FIELD_NUMBER

public static final int RECO_STORAGE_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

SHAPE_FIELD_NUMBER

public static final int SHAPE_FIELD_NUMBER
Field Value
Type Description
int

SSH_PUBLIC_KEYS_FIELD_NUMBER

public static final int SSH_PUBLIC_KEYS_FIELD_NUMBER
Field Value
Type Description
int

TIME_ZONE_FIELD_NUMBER

public static final int TIME_ZONE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DbSystemProperties getDefaultInstance()
Returns
Type Description
DbSystemProperties

getDescriptor()

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

newBuilder()

public static DbSystemProperties.Builder newBuilder()
Returns
Type Description
DbSystemProperties.Builder

newBuilder(DbSystemProperties prototype)

public static DbSystemProperties.Builder newBuilder(DbSystemProperties prototype)
Parameter
Name Description
prototype DbSystemProperties
Returns
Type Description
DbSystemProperties.Builder

parseDelimitedFrom(InputStream input)

public static DbSystemProperties parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DbSystemProperties parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DbSystemProperties parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DbSystemProperties parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DbSystemProperties parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DbSystemProperties parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DbSystemProperties parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DbSystemProperties parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DbSystemProperties parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DbSystemProperties parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DbSystemProperties parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DbSystemProperties parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DbSystemProperties
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DbSystemProperties> parser()
Returns
Type Description
Parser<DbSystemProperties>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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.

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.

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

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.

getParserForType()

public Parser<DbSystemProperties> getParserForType()
Returns
Type Description
Parser<DbSystemProperties>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DbSystemProperties.Builder newBuilderForType()
Returns
Type Description
DbSystemProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DbSystemProperties.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DbSystemProperties.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DbSystemProperties.Builder toBuilder()
Returns
Type Description
DbSystemProperties.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException