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
@Generated
public interface InstanceConsumptionInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionintOutput only.intOutput only.intOutput only.intOutput only.booleanOutput only.booleanOutput only.booleanOutput only.booleanOutput only.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
-
hasGuestCpus
boolean hasGuestCpus()Output only. 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()Output only. The number of virtual CPUs that are available to the instance.
optional int32 guest_cpus = 393356754;- Returns:
- The guestCpus.
-
hasLocalSsdGb
boolean hasLocalSsdGb()Output only. 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()Output only. 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()Output only. 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()Output only. The amount of physical memory available to the instance, defined in MiB.
optional int32 memory_mb = 116001171;- Returns:
- The memoryMb.
-
hasMinNodeCpus
boolean hasMinNodeCpus()Output only. 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()Output only. The minimal guaranteed number of virtual CPUs that are reserved.
optional int32 min_node_cpus = 317231675;- Returns:
- The minNodeCpus.
-