public interface InstanceConsumptionInfoOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGuestCpus()
public abstract int getGuestCpus()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()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()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()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()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()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()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()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. |