Package com.google.cloud.alloydb.v1beta
Interface Instance.MachineConfigOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Instance.MachineConfig,Instance.MachineConfig.Builder
- Enclosing class:
- Instance
public static interface Instance.MachineConfigOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintThe number of CPU's in the VM instance.Machine type of the VM instance.com.google.protobuf.ByteStringMachine type of the VM instance.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getCpuCount
int getCpuCount()The number of CPU's in the VM instance.
int32 cpu_count = 1;- Returns:
- The cpuCount.
-
getMachineType
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:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.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:
- The bytes for machineType.
-