Class FlexComponentProperties.Builder (0.52.0)

public static final class FlexComponentProperties.Builder extends GeneratedMessage.Builder<FlexComponentProperties.Builder> implements FlexComponentPropertiesOrBuilder

The properties of the Flex Component.

Protobuf type google.cloud.oracledatabase.v1.FlexComponentProperties

Static Methods

getDescriptor()

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

Methods

build()

public FlexComponentProperties build()
Returns
Type Description
FlexComponentProperties

buildPartial()

public FlexComponentProperties buildPartial()
Returns
Type Description
FlexComponentProperties

clear()

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

clearAvailableCoreCount()

public FlexComponentProperties.Builder clearAvailableCoreCount()

Output only. The maximum number of CPU cores that can be enabled on the DB system for this shape.

int32 available_core_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearAvailableDbNodeStoragePerNodeGb()

public FlexComponentProperties.Builder clearAvailableDbNodeStoragePerNodeGb()

Output only. The maximum storage that can be enabled on the Storage Server for this Flex Component.

int32 available_db_node_storage_per_node_gb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearAvailableLocalStorageGb()

public FlexComponentProperties.Builder clearAvailableLocalStorageGb()

Output only. The maximum local storage that can be enabled on the DB Server for this Flex Component.

int32 available_local_storage_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearAvailableMemoryGb()

public FlexComponentProperties.Builder clearAvailableMemoryGb()

Output only. The maximum memory size that can be enabled on the DB Server for this Flex Component.

int32 available_memory_gb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearComputeModel()

public FlexComponentProperties.Builder clearComputeModel()

Output only. The compute model of the DB Server for this Flex Component.

.google.cloud.oracledatabase.v1.ComputeModel compute_model = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearDescriptionSummary()

public FlexComponentProperties.Builder clearDescriptionSummary()

Output only. The description summary for this Flex Component.

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

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearHardwareType()

public FlexComponentProperties.Builder clearHardwareType()

Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties.HardwareType hardware_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearMinimumCoreCount()

public FlexComponentProperties.Builder clearMinimumCoreCount()

Output only. The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.

int32 minimum_core_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearName()

public FlexComponentProperties.Builder clearName()

Output only. The name of the Flex Component used for the DB system.

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

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearRuntimeMinimumCoreCount()

public FlexComponentProperties.Builder clearRuntimeMinimumCoreCount()

Output only. The runtime minimum number of CPU cores that can be enabled for this Flex Component.

int32 runtime_minimum_core_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

clearShape()

public FlexComponentProperties.Builder clearShape()

Output only. The name of the DB system shape for this Flex Component.

string shape = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

getAvailableCoreCount()

public int getAvailableCoreCount()

Output only. The maximum number of CPU cores that can be enabled on the DB system for this shape.

int32 available_core_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The availableCoreCount.

getAvailableDbNodeStoragePerNodeGb()

public int getAvailableDbNodeStoragePerNodeGb()

Output only. The maximum storage that can be enabled on the Storage Server for this Flex Component.

int32 available_db_node_storage_per_node_gb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The availableDbNodeStoragePerNodeGb.

getAvailableLocalStorageGb()

public int getAvailableLocalStorageGb()

Output only. The maximum local storage that can be enabled on the DB Server for this Flex Component.

int32 available_local_storage_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The availableLocalStorageGb.

getAvailableMemoryGb()

public int getAvailableMemoryGb()

Output only. The maximum memory size that can be enabled on the DB Server for this Flex Component.

int32 available_memory_gb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The availableMemoryGb.

getComputeModel()

public ComputeModel getComputeModel()

Output only. The compute model of the DB Server for this Flex Component.

.google.cloud.oracledatabase.v1.ComputeModel compute_model = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ComputeModel

The computeModel.

getComputeModelValue()

public int getComputeModelValue()

Output only. The compute model of the DB Server for this Flex Component.

.google.cloud.oracledatabase.v1.ComputeModel compute_model = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for computeModel.

getDefaultInstanceForType()

public FlexComponentProperties getDefaultInstanceForType()
Returns
Type Description
FlexComponentProperties

getDescriptionSummary()

public String getDescriptionSummary()

Output only. The description summary for this Flex Component.

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

Returns
Type Description
String

The descriptionSummary.

getDescriptionSummaryBytes()

public ByteString getDescriptionSummaryBytes()

Output only. The description summary for this Flex Component.

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

Returns
Type Description
ByteString

The bytes for descriptionSummary.

getDescriptorForType()

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

getHardwareType()

public FlexComponentProperties.HardwareType getHardwareType()

Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties.HardwareType hardware_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
FlexComponentProperties.HardwareType

The hardwareType.

getHardwareTypeValue()

public int getHardwareTypeValue()

Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties.HardwareType hardware_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for hardwareType.

getMinimumCoreCount()

public int getMinimumCoreCount()

Output only. The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.

int32 minimum_core_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The minimumCoreCount.

getName()

public String getName()

Output only. The name of the Flex Component used for the DB system.

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

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. The name of the Flex Component used for the DB system.

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

Returns
Type Description
ByteString

The bytes for name.

getRuntimeMinimumCoreCount()

public int getRuntimeMinimumCoreCount()

Output only. The runtime minimum number of CPU cores that can be enabled for this Flex Component.

int32 runtime_minimum_core_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The runtimeMinimumCoreCount.

getShape()

public String getShape()

Output only. The name of the DB system shape for this Flex Component.

string shape = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The shape.

getShapeBytes()

public ByteString getShapeBytes()

Output only. The name of the DB system shape for this Flex Component.

string shape = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for shape.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FlexComponentProperties other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setAvailableCoreCount(int value)

public FlexComponentProperties.Builder setAvailableCoreCount(int value)

Output only. The maximum number of CPU cores that can be enabled on the DB system for this shape.

int32 available_core_count = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The availableCoreCount to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setAvailableDbNodeStoragePerNodeGb(int value)

public FlexComponentProperties.Builder setAvailableDbNodeStoragePerNodeGb(int value)

Output only. The maximum storage that can be enabled on the Storage Server for this Flex Component.

int32 available_db_node_storage_per_node_gb = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The availableDbNodeStoragePerNodeGb to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setAvailableLocalStorageGb(int value)

public FlexComponentProperties.Builder setAvailableLocalStorageGb(int value)

Output only. The maximum local storage that can be enabled on the DB Server for this Flex Component.

int32 available_local_storage_gb = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The availableLocalStorageGb to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setAvailableMemoryGb(int value)

public FlexComponentProperties.Builder setAvailableMemoryGb(int value)

Output only. The maximum memory size that can be enabled on the DB Server for this Flex Component.

int32 available_memory_gb = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The availableMemoryGb to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setComputeModel(ComputeModel value)

public FlexComponentProperties.Builder setComputeModel(ComputeModel value)

Output only. The compute model of the DB Server for this Flex Component.

.google.cloud.oracledatabase.v1.ComputeModel compute_model = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ComputeModel

The computeModel to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setComputeModelValue(int value)

public FlexComponentProperties.Builder setComputeModelValue(int value)

Output only. The compute model of the DB Server for this Flex Component.

.google.cloud.oracledatabase.v1.ComputeModel compute_model = 11 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setDescriptionSummary(String value)

public FlexComponentProperties.Builder setDescriptionSummary(String value)

Output only. The description summary for this Flex Component.

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

Parameter
Name Description
value String

The descriptionSummary to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setDescriptionSummaryBytes(ByteString value)

public FlexComponentProperties.Builder setDescriptionSummaryBytes(ByteString value)

Output only. The description summary for this Flex Component.

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

Parameter
Name Description
value ByteString

The bytes for descriptionSummary to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setHardwareType(FlexComponentProperties.HardwareType value)

public FlexComponentProperties.Builder setHardwareType(FlexComponentProperties.HardwareType value)

Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties.HardwareType hardware_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value FlexComponentProperties.HardwareType

The hardwareType to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setHardwareTypeValue(int value)

public FlexComponentProperties.Builder setHardwareTypeValue(int value)

Output only. The hardware type of the DB (Compute) or Storage (Cell) Server for this Flex Component.

.google.cloud.oracledatabase.v1.FlexComponentProperties.HardwareType hardware_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

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

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setMinimumCoreCount(int value)

public FlexComponentProperties.Builder setMinimumCoreCount(int value)

Output only. The minimum number of CPU cores that can be enabled on the DB Server for this Flex Component.

int32 minimum_core_count = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The minimumCoreCount to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setName(String value)

public FlexComponentProperties.Builder setName(String value)

Output only. The name of the Flex Component used for the DB system.

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

Parameter
Name Description
value String

The name to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setNameBytes(ByteString value)

public FlexComponentProperties.Builder setNameBytes(ByteString value)

Output only. The name of the Flex Component used for the DB system.

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

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setRuntimeMinimumCoreCount(int value)

public FlexComponentProperties.Builder setRuntimeMinimumCoreCount(int value)

Output only. The runtime minimum number of CPU cores that can be enabled for this Flex Component.

int32 runtime_minimum_core_count = 9 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value int

The runtimeMinimumCoreCount to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setShape(String value)

public FlexComponentProperties.Builder setShape(String value)

Output only. The name of the DB system shape for this Flex Component.

string shape = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The shape to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.

setShapeBytes(ByteString value)

public FlexComponentProperties.Builder setShapeBytes(ByteString value)

Output only. The name of the DB system shape for this Flex Component.

string shape = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for shape to set.

Returns
Type Description
FlexComponentProperties.Builder

This builder for chaining.