public static final class ComputePerformance.Builder extends GeneratedMessage.Builder<ComputePerformance.Builder> implements ComputePerformanceOrBuilderParameters detailing the compute performance for a specified DB system shape.
Protobuf type google.cloud.oracledatabase.v1.ComputePerformance
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ComputePerformance.BuilderImplements
ComputePerformanceOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ComputePerformance build()| Returns | |
|---|---|
| Type | Description |
ComputePerformance |
|
buildPartial()
public ComputePerformance buildPartial()| Returns | |
|---|---|
| Type | Description |
ComputePerformance |
|
clear()
public ComputePerformance.Builder clear()| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
|
clearComputeCount()
public ComputePerformance.Builder clearComputeCount()Output only. The number of compute servers for the DB system.
int32 compute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
clearComputeModel()
public ComputePerformance.Builder clearComputeModel()Output only. The compute model for Base Database Service.
.google.cloud.oracledatabase.v1.ComputeModel compute_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
clearCpuCoreCount()
public ComputePerformance.Builder clearCpuCoreCount()Output only. The number of CPU cores available.
int32 cpu_core_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
clearMemoryInGbs()
public ComputePerformance.Builder clearMemoryInGbs()Output only. The amount of memory allocated for the VMDB System in GBs.
double memory_in_gbs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
getComputeCount()
public int getComputeCount()Output only. The number of compute servers for the DB system.
int32 compute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The computeCount. |
getComputeModel()
public ComputeModel getComputeModel()Output only. The compute model for Base Database Service.
.google.cloud.oracledatabase.v1.ComputeModel compute_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
ComputeModel |
The computeModel. |
getComputeModelValue()
public int getComputeModelValue()Output only. The compute model for Base Database Service.
.google.cloud.oracledatabase.v1.ComputeModel compute_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The enum numeric value on the wire for computeModel. |
getCpuCoreCount()
public int getCpuCoreCount()Output only. The number of CPU cores available.
int32 cpu_core_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
int |
The cpuCoreCount. |
getDefaultInstanceForType()
public ComputePerformance getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ComputePerformance |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMemoryInGbs()
public double getMemoryInGbs()Output only. The amount of memory allocated for the VMDB System in GBs.
double memory_in_gbs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Returns | |
|---|---|
| Type | Description |
double |
The memoryInGbs. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ComputePerformance other)
public ComputePerformance.Builder mergeFrom(ComputePerformance other)| Parameter | |
|---|---|
| Name | Description |
other |
ComputePerformance |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ComputePerformance.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ComputePerformance.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
|
setComputeCount(int value)
public ComputePerformance.Builder setComputeCount(int value)Output only. The number of compute servers for the DB system.
int32 compute_count = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe computeCount to set. |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
setComputeModel(ComputeModel value)
public ComputePerformance.Builder setComputeModel(ComputeModel value)Output only. The compute model for Base Database Service.
.google.cloud.oracledatabase.v1.ComputeModel compute_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
ComputeModelThe computeModel to set. |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
setComputeModelValue(int value)
public ComputePerformance.Builder setComputeModelValue(int value)Output only. The compute model for Base Database Service.
.google.cloud.oracledatabase.v1.ComputeModel compute_model = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for computeModel to set. |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
setCpuCoreCount(int value)
public ComputePerformance.Builder setCpuCoreCount(int value)Output only. The number of CPU cores available.
int32 cpu_core_count = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe cpuCoreCount to set. |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |
setMemoryInGbs(double value)
public ComputePerformance.Builder setMemoryInGbs(double value)Output only. The amount of memory allocated for the VMDB System in GBs.
double memory_in_gbs = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];
| Parameter | |
|---|---|
| Name | Description |
value |
doubleThe memoryInGbs to set. |
| Returns | |
|---|---|
| Type | Description |
ComputePerformance.Builder |
This builder for chaining. |