Interface CapacityConfigOrBuilder (0.10.0)

public interface CapacityConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMemoryBytes()

public abstract long getMemoryBytes()

Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).

int64 memory_bytes = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The memoryBytes.

getVcpuCount()

public abstract long getVcpuCount()

Required. The number of vCPUs to provision for the cluster. Minimum: 3.

int64 vcpu_count = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The vcpuCount.