Class ComputePerformance (0.52.0)

public final class ComputePerformance extends GeneratedMessage implements ComputePerformanceOrBuilder

Parameters detailing the compute performance for a specified DB system shape.

Protobuf type google.cloud.oracledatabase.v1.ComputePerformance

Static Fields

COMPUTE_COUNT_FIELD_NUMBER

public static final int COMPUTE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

COMPUTE_MODEL_FIELD_NUMBER

public static final int COMPUTE_MODEL_FIELD_NUMBER
Field Value
Type Description
int

CPU_CORE_COUNT_FIELD_NUMBER

public static final int CPU_CORE_COUNT_FIELD_NUMBER
Field Value
Type Description
int

MEMORY_IN_GBS_FIELD_NUMBER

public static final int MEMORY_IN_GBS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ComputePerformance getDefaultInstance()
Returns
Type Description
ComputePerformance

getDescriptor()

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

newBuilder()

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

newBuilder(ComputePerformance prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ComputePerformance.Builder newBuilderForType()
Returns
Type Description
ComputePerformance.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected ComputePerformance.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ComputePerformance.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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