Interface MachineConfigOrBuilder (0.6.0)

public interface MachineConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getMemorySizeBytes()

public abstract long getMemorySizeBytes()

Memory size in bytes.

int64 memory_size_bytes = 2;

Returns
Type Description
long

The memorySizeBytes.

getShardCount()

public abstract int getShardCount()

Optional. The number of Shards (if applicable).

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

Returns
Type Description
int

The shardCount.

getVcpuCount()

public abstract double getVcpuCount()

Optional. The number of vCPUs (if applicable).

optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
double

The vcpuCount.

hasShardCount()

public abstract boolean hasShardCount()

Optional. The number of Shards (if applicable).

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

Returns
Type Description
boolean

Whether the shardCount field is set.

hasVcpuCount()

public abstract boolean hasVcpuCount()

Optional. The number of vCPUs (if applicable).

optional double vcpu_count = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the vcpuCount field is set.