Class DbNodeProperties (0.3.0)

public final class DbNodeProperties extends GeneratedMessageV3 implements DbNodePropertiesOrBuilder

Various properties and settings associated with Db node.

Protobuf type google.cloud.oracledatabase.v1.DbNodeProperties

Static Fields

DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER

public static final int DB_NODE_STORAGE_SIZE_GB_FIELD_NUMBER
Field Value
Type Description
int

DB_SERVER_OCID_FIELD_NUMBER

public static final int DB_SERVER_OCID_FIELD_NUMBER
Field Value
Type Description
int

HOSTNAME_FIELD_NUMBER

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

TOTAL_CPU_CORE_COUNT_FIELD_NUMBER

public static final int TOTAL_CPU_CORE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DbNodeProperties getDefaultInstance()
Returns
Type Description
DbNodeProperties

getDescriptor()

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

newBuilder()

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

newBuilder(DbNodeProperties prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDbNodeStorageSizeGb()

public int getDbNodeStorageSizeGb()

Optional. Local storage per database node.

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

Returns
Type Description
int

The dbNodeStorageSizeGb.

getDbServerOcid()

public String getDbServerOcid()

Optional. Database server OCID.

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

Returns
Type Description
String

The dbServerOcid.

getDbServerOcidBytes()

public ByteString getDbServerOcidBytes()

Optional. Database server OCID.

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

Returns
Type Description
ByteString

The bytes for dbServerOcid.

getDefaultInstanceForType()

public DbNodeProperties getDefaultInstanceForType()
Returns
Type Description
DbNodeProperties

getHostname()

public String getHostname()

Optional. DNS

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

Returns
Type Description
String

The hostname.

getHostnameBytes()

public ByteString getHostnameBytes()

Optional. DNS

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

Returns
Type Description
ByteString

The bytes for hostname.

getMemorySizeGb()

public int getMemorySizeGb()

Memory allocated in GBs.

int32 memory_size_gb = 3;

Returns
Type Description
int

The memorySizeGb.

getOcid()

public String getOcid()

Output only. OCID of database node.

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

Returns
Type Description
String

The ocid.

getOcidBytes()

public ByteString getOcidBytes()

Output only. OCID of database node.

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 node.

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

Returns
Type Description
int

The ocpuCount.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getState()

public DbNodeProperties.State getState()

Output only. State of the database node.

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

Returns
Type Description
DbNodeProperties.State

The state.

getStateValue()

public int getStateValue()

Output only. State of the database node.

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

Returns
Type Description
int

The enum numeric value on the wire for state.

getTotalCpuCoreCount()

public int getTotalCpuCoreCount()

Total CPU core count of the database node.

int32 total_cpu_core_count = 10;

Returns
Type Description
int

The totalCpuCoreCount.

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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