Class DbServerProperties (0.4.0)

public final class DbServerProperties extends GeneratedMessageV3 implements DbServerPropertiesOrBuilder

Various properties and settings associated with Exadata database server.

Protobuf type google.cloud.oracledatabase.v1.DbServerProperties

Static Fields

DB_NODE_IDS_FIELD_NUMBER

public static final int DB_NODE_IDS_FIELD_NUMBER
Field Value
Type Description
int

DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER

public static final int DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

MAX_DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER

public static final int MAX_DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

MAX_MEMORY_SIZE_GB_FIELD_NUMBER

public static final int MAX_MEMORY_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

MAX_OCPU_COUNT_FIELD_NUMBER

public static final int MAX_OCPU_COUNT_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

OCID_FIELD_NUMBER

public static final int OCID_FIELD_NUMBER
Field Value
Type Description
int

OCPU_COUNT_FIELD_NUMBER

public static final int OCPU_COUNT_FIELD_NUMBER
Field Value
Type Description
int

STATE_FIELD_NUMBER

public static final int STATE_FIELD_NUMBER
Field Value
Type Description
int

VM_COUNT_FIELD_NUMBER

public static final int VM_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DbServerProperties getDefaultInstance()
Returns
Type Description
DbServerProperties

getDescriptor()

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

newBuilder()

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

newBuilder(DbServerProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDbNodeIds(int index)

public String getDbNodeIds(int index)

Output only. OCID of database nodes associated with the database server.

repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dbNodeIds at the given index.

getDbNodeIdsBytes(int index)

public ByteString getDbNodeIdsBytes(int index)

Output only. OCID of database nodes associated with the database server.

repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dbNodeIds at the given index.

getDbNodeIdsCount()

public int getDbNodeIdsCount()

Output only. OCID of database nodes associated with the database server.

repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The count of dbNodeIds.

getDbNodeIdsList()

public ProtocolStringList getDbNodeIdsList()

Output only. OCID of database nodes associated with the database server.

repeated string db_node_ids = 10 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ProtocolStringList

A list containing the dbNodeIds.

getDbNodeStorageSizeGb()

public int getDbNodeStorageSizeGb()

Optional. Local storage per VM.

int32 db_node_storage_size_gb = 6 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The dbNodeStorageSizeGb.

getDefaultInstanceForType()

public DbServerProperties getDefaultInstanceForType()
Returns
Type Description
DbServerProperties

getMaxDbNodeStorageSizeGb()

public int getMaxDbNodeStorageSizeGb()

Optional. Maximum local storage per VM.

int32 max_db_node_storage_size_gb = 7 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxDbNodeStorageSizeGb.

getMaxMemorySizeGb()

public int getMaxMemorySizeGb()

Optional. Maximum memory allocated in GBs.

int32 max_memory_size_gb = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxMemorySizeGb.

getMaxOcpuCount()

public int getMaxOcpuCount()

Optional. Maximum OCPU count per database.

int32 max_ocpu_count = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The maxOcpuCount.

getMemorySizeGb()

public int getMemorySizeGb()

Optional. Memory allocated in GBs.

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

Returns
Type Description
int

The memorySizeGb.

getOcid()

public String getOcid()

Output only. OCID of database server.

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

Returns
Type Description
String

The ocid.

getOcidBytes()

public ByteString getOcidBytes()

Output only. OCID of database server.

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

Returns
Type Description
ByteString

The bytes for ocid.

getOcpuCount()

public int getOcpuCount()

Optional. OCPU count per database.

int32 ocpu_count = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The ocpuCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public DbServerProperties.State getState()

Output only. State of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DbServerProperties.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the database server.

.google.cloud.oracledatabase.v1.DbServerProperties.State state = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

getVmCount()

public int getVmCount()

Optional. Vm count per database.

int32 vm_count = 8 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The vmCount.

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 DbServerProperties.Builder newBuilderForType()
Returns
Type Description
DbServerProperties.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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