Package com.google.cloud.compute.v1
Interface FutureResourcesSpecSpecificSKUResourcesOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
FutureResourcesSpecSpecificSKUResources,FutureResourcesSpecSpecificSKUResources.Builder
@Generated
public interface FutureResourcesSpecSpecificSKUResourcesOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionlongSize of the request, in instance count.getLocalSsdPartitions(int index) Local SSD partitions.intLocal SSD partitions.Local SSD partitions.getLocalSsdPartitionsOrBuilder(int index) Local SSD partitions.Local SSD partitions.The machine type to use for instances that will use the reservation.com.google.protobuf.ByteStringThe machine type to use for instances that will use the reservation.booleanSize of the request, in instance count.booleanThe machine type to use for instances that will use the reservation.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
-
hasInstanceCount
boolean hasInstanceCount()Size of the request, in instance count.
optional int64 instance_count = 77317349;- Returns:
- Whether the instanceCount field is set.
-
getInstanceCount
long getInstanceCount()Size of the request, in instance count.
optional int64 instance_count = 77317349;- Returns:
- The instanceCount.
-
getLocalSsdPartitionsList
List<FutureResourcesSpecLocalSsdPartition> getLocalSsdPartitionsList()Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitions
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitionsCount
int getLocalSsdPartitionsCount()Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitionsOrBuilderList
List<? extends FutureResourcesSpecLocalSsdPartitionOrBuilder> getLocalSsdPartitionsOrBuilderList()Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
getLocalSsdPartitionsOrBuilder
Local SSD partitions. You do not have to include SSD partitions that are built in the machine type.
repeated .google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartition local_ssd_partitions = 470688568; -
hasMachineType
boolean hasMachineType()The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Returns:
- Whether the machineType field is set.
-
getMachineType
String getMachineType()The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Returns:
- The machineType.
-
getMachineTypeBytes
com.google.protobuf.ByteString getMachineTypeBytes()The machine type to use for instances that will use the reservation. This field only accepts machine type names. e.g. n2-standard-4 and does not accept machine type full or partial url. e.g. projects/my-l7ilb-project/zones/us-central1-a/machineTypes/n2-standard-4. Use for GPU reservations.
optional string machine_type = 227711026;- Returns:
- The bytes for machineType.
-