Interface InstanceConsumptionInfoOrBuilder (1.91.0)

public interface InstanceConsumptionInfoOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuestCpus()

public abstract int getGuestCpus()

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

optional int32 guest_cpus = 393356754;

Returns
Type Description
int

The guestCpus.

getLocalSsdGb()

public abstract int getLocalSsdGb()

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

optional int32 local_ssd_gb = 329237578;

Returns
Type Description
int

The localSsdGb.

getMemoryMb()

public abstract int getMemoryMb()

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

optional int32 memory_mb = 116001171;

Returns
Type Description
int

The memoryMb.

getMinNodeCpus()

public abstract int getMinNodeCpus()

Output only. The minimal guaranteed number of virtual CPUs that are reserved.

optional int32 min_node_cpus = 317231675;

Returns
Type Description
int

The minNodeCpus.

hasGuestCpus()

public abstract boolean hasGuestCpus()

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

optional int32 guest_cpus = 393356754;

Returns
Type Description
boolean

Whether the guestCpus field is set.

hasLocalSsdGb()

public abstract boolean hasLocalSsdGb()

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

optional int32 local_ssd_gb = 329237578;

Returns
Type Description
boolean

Whether the localSsdGb field is set.

hasMemoryMb()

public abstract boolean hasMemoryMb()

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

optional int32 memory_mb = 116001171;

Returns
Type Description
boolean

Whether the memoryMb field is set.

hasMinNodeCpus()

public abstract boolean hasMinNodeCpus()

Output only. The minimal guaranteed number of virtual CPUs that are reserved.

optional int32 min_node_cpus = 317231675;

Returns
Type Description
boolean

Whether the minNodeCpus field is set.