Package com.google.cloud.compute.v1
Interface InstanceConsumptionInfoOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstanceConsumptionInfo
,InstanceConsumptionInfo.Builder
public interface InstanceConsumptionInfoOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description int
getGuestCpus()
The number of virtual CPUs that are available to the instance.int
getLocalSsdGb()
The amount of local SSD storage available to the instance, defined in GiB.int
getMemoryMb()
The amount of physical memory available to the instance, defined in MiB.int
getMinNodeCpus()
The minimal guaranteed number of virtual CPUs that are reserved.boolean
hasGuestCpus()
The number of virtual CPUs that are available to the instance.boolean
hasLocalSsdGb()
The amount of local SSD storage available to the instance, defined in GiB.boolean
hasMemoryMb()
The amount of physical memory available to the instance, defined in MiB.boolean
hasMinNodeCpus()
The minimal guaranteed number of virtual CPUs that are reserved.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasGuestCpus
boolean hasGuestCpus()
The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;
- Returns:
- Whether the guestCpus field is set.
-
getGuestCpus
int getGuestCpus()
The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;
- Returns:
- The guestCpus.
-
hasLocalSsdGb
boolean hasLocalSsdGb()
The amount of local SSD storage available to the instance, defined in GiB.
optional int32 local_ssd_gb = 329237578;
- Returns:
- Whether the localSsdGb field is set.
-
getLocalSsdGb
int getLocalSsdGb()
The amount of local SSD storage available to the instance, defined in GiB.
optional int32 local_ssd_gb = 329237578;
- Returns:
- The localSsdGb.
-
hasMemoryMb
boolean hasMemoryMb()
The amount of physical memory available to the instance, defined in MiB.
optional int32 memory_mb = 116001171;
- Returns:
- Whether the memoryMb field is set.
-
getMemoryMb
int getMemoryMb()
The amount of physical memory available to the instance, defined in MiB.
optional int32 memory_mb = 116001171;
- Returns:
- The memoryMb.
-
hasMinNodeCpus
boolean hasMinNodeCpus()
The minimal guaranteed number of virtual CPUs that are reserved.
optional int32 min_node_cpus = 317231675;
- Returns:
- Whether the minNodeCpus field is set.
-
getMinNodeCpus
int getMinNodeCpus()
The minimal guaranteed number of virtual CPUs that are reserved.
optional int32 min_node_cpus = 317231675;
- Returns:
- The minNodeCpus.
-
-