public static interface Instance.MachineConfigOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getCpuCount()
public abstract int getCpuCount()The number of CPU's in the VM instance.
int32 cpu_count = 1;
| Returns | |
|---|---|
| Type | Description |
int |
The cpuCount. |
getMachineType()
public abstract String getMachineType()Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
string machine_type = 4;
| Returns | |
|---|---|
| Type | Description |
String |
The machineType. |
getMachineTypeBytes()
public abstract ByteString getMachineTypeBytes()Machine type of the VM instance. E.g. "n2-highmem-4", "n2-highmem-8", "c4a-highmem-4-lssd". cpu_count must match the number of vCPUs in the machine type.
string machine_type = 4;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |