Interface InstanceConsumptionInfoOrBuilder (1.15.0)

public interface InstanceConsumptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuestCpus()

public abstract int getGuestCpus()

The number of virtual CPUs that are available to the instance.

optional int32 guest_cpus = 393356754;

Returns
TypeDescription
int

The guestCpus.

getLocalSsdGb()

public abstract int getLocalSsdGb()

The amount of local SSD storage available to the instance, defined in GiB.

optional int32 local_ssd_gb = 329237578;

Returns
TypeDescription
int

The localSsdGb.

getMemoryMb()

public abstract int getMemoryMb()

The amount of physical memory available to the instance, defined in MiB.

optional int32 memory_mb = 116001171;

Returns
TypeDescription
int

The memoryMb.

getMinNodeCpus()

public abstract int getMinNodeCpus()

The minimal guaranteed number of virtual CPUs that are reserved.

optional int32 min_node_cpus = 317231675;

Returns
TypeDescription
int

The minNodeCpus.

hasGuestCpus()

public abstract boolean hasGuestCpus()

The number of virtual CPUs that are available to the instance.

optional int32 guest_cpus = 393356754;

Returns
TypeDescription
boolean

Whether the guestCpus field is set.

hasLocalSsdGb()

public abstract boolean hasLocalSsdGb()

The amount of local SSD storage available to the instance, defined in GiB.

optional int32 local_ssd_gb = 329237578;

Returns
TypeDescription
boolean

Whether the localSsdGb field is set.

hasMemoryMb()

public abstract boolean hasMemoryMb()

The amount of physical memory available to the instance, defined in MiB.

optional int32 memory_mb = 116001171;

Returns
TypeDescription
boolean

Whether the memoryMb field is set.

hasMinNodeCpus()

public abstract boolean hasMinNodeCpus()

The minimal guaranteed number of virtual CPUs that are reserved.

optional int32 min_node_cpus = 317231675;

Returns
TypeDescription
boolean

Whether the minNodeCpus field is set.