Class DbServerProperties.Builder (0.1.0)

public static final class DbServerProperties.Builder extends GeneratedMessageV3.Builder<DbServerProperties.Builder> implements DbServerPropertiesOrBuilder

Various properties and settings associated with Exadata database server.

Protobuf type google.cloud.oracledatabase.v1.DbServerProperties

Static Methods

getDescriptor()

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

Methods

addAllDbNodeIds(Iterable<String> values)

public DbServerProperties.Builder addAllDbNodeIds(Iterable<String> values)

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
values Iterable<String>

The dbNodeIds to add.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

addDbNodeIds(String value)

public DbServerProperties.Builder addDbNodeIds(String value)

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
value String

The dbNodeIds to add.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

addDbNodeIdsBytes(ByteString value)

public DbServerProperties.Builder addDbNodeIdsBytes(ByteString value)

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
value ByteString

The bytes of the dbNodeIds to add.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DbServerProperties build()
Returns
Type Description
DbServerProperties

buildPartial()

public DbServerProperties buildPartial()
Returns
Type Description
DbServerProperties

clear()

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

clearDbNodeIds()

public DbServerProperties.Builder clearDbNodeIds()

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
DbServerProperties.Builder

This builder for chaining.

clearDbNodeStorageSizeGb()

public DbServerProperties.Builder clearDbNodeStorageSizeGb()

Optional. Local storage per VM.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearMaxDbNodeStorageSizeGb()

public DbServerProperties.Builder clearMaxDbNodeStorageSizeGb()

Optional. Maximum local storage per VM.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearMaxMemorySizeGb()

public DbServerProperties.Builder clearMaxMemorySizeGb()

Optional. Maximum memory allocated in GBs.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearMaxOcpuCount()

public DbServerProperties.Builder clearMaxOcpuCount()

Optional. Maximum OCPU count per database.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearMemorySizeGb()

public DbServerProperties.Builder clearMemorySizeGb()

Optional. Memory allocated in GBs.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearOcid()

public DbServerProperties.Builder clearOcid()

Output only. OCID of database server.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearOcpuCount()

public DbServerProperties.Builder clearOcpuCount()

Optional. OCPU count per database.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearState()

public DbServerProperties.Builder clearState()

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

This builder for chaining.

clearVmCount()

public DbServerProperties.Builder clearVmCount()

Optional. Vm count per database.

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

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

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DbServerProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDbNodeIds(int index, String value)

public DbServerProperties.Builder setDbNodeIds(int index, String value)

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

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

Parameters
Name Description
index int

The index to set the value at.

value String

The dbNodeIds to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setDbNodeStorageSizeGb(int value)

public DbServerProperties.Builder setDbNodeStorageSizeGb(int value)

Optional. Local storage per VM.

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

Parameter
Name Description
value int

The dbNodeStorageSizeGb to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setMaxDbNodeStorageSizeGb(int value)

public DbServerProperties.Builder setMaxDbNodeStorageSizeGb(int value)

Optional. Maximum local storage per VM.

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

Parameter
Name Description
value int

The maxDbNodeStorageSizeGb to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setMaxMemorySizeGb(int value)

public DbServerProperties.Builder setMaxMemorySizeGb(int value)

Optional. Maximum memory allocated in GBs.

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

Parameter
Name Description
value int

The maxMemorySizeGb to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setMaxOcpuCount(int value)

public DbServerProperties.Builder setMaxOcpuCount(int value)

Optional. Maximum OCPU count per database.

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

Parameter
Name Description
value int

The maxOcpuCount to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setMemorySizeGb(int value)

public DbServerProperties.Builder setMemorySizeGb(int value)

Optional. Memory allocated in GBs.

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

Parameter
Name Description
value int

The memorySizeGb to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setOcid(String value)

public DbServerProperties.Builder setOcid(String value)

Output only. OCID of database server.

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

Parameter
Name Description
value String

The ocid to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setOcidBytes(ByteString value)

public DbServerProperties.Builder setOcidBytes(ByteString value)

Output only. OCID of database server.

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

Parameter
Name Description
value ByteString

The bytes for ocid to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setOcpuCount(int value)

public DbServerProperties.Builder setOcpuCount(int value)

Optional. OCPU count per database.

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

Parameter
Name Description
value int

The ocpuCount to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

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

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

setState(DbServerProperties.State value)

public DbServerProperties.Builder setState(DbServerProperties.State value)

Output only. State of the database server.

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

Parameter
Name Description
value DbServerProperties.State

The state to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setStateValue(int value)

public DbServerProperties.Builder setStateValue(int value)

Output only. State of the database server.

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

Parameter
Name Description
value int

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

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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

setVmCount(int value)

public DbServerProperties.Builder setVmCount(int value)

Optional. Vm count per database.

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

Parameter
Name Description
value int

The vmCount to set.

Returns
Type Description
DbServerProperties.Builder

This builder for chaining.