Interface FutureResourcesSpecSpecificSKUResourcesOrBuilder (1.91.0)

public interface FutureResourcesSpecSpecificSKUResourcesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstanceCount()

public abstract long getInstanceCount()

Size of the request, in instance count.

optional int64 instance_count = 77317349;

Returns
Type Description
long

The instanceCount.

getLocalSsdPartitions(int index)

public abstract FutureResourcesSpecLocalSsdPartition getLocalSsdPartitions(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
FutureResourcesSpecLocalSsdPartition

getLocalSsdPartitionsCount()

public abstract 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;

Returns
Type Description
int

getLocalSsdPartitionsList()

public abstract 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;

Returns
Type Description
List<FutureResourcesSpecLocalSsdPartition>

getLocalSsdPartitionsOrBuilder(int index)

public abstract FutureResourcesSpecLocalSsdPartitionOrBuilder getLocalSsdPartitionsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
FutureResourcesSpecLocalSsdPartitionOrBuilder

getLocalSsdPartitionsOrBuilderList()

public abstract 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;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.FutureResourcesSpecLocalSsdPartitionOrBuilder>

getMachineType()

public abstract 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
Type Description
String

The machineType.

getMachineTypeBytes()

public abstract 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
Type Description
ByteString

The bytes for machineType.

hasInstanceCount()

public abstract boolean hasInstanceCount()

Size of the request, in instance count.

optional int64 instance_count = 77317349;

Returns
Type Description
boolean

Whether the instanceCount field is set.

hasMachineType()

public abstract 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
Type Description
boolean

Whether the machineType field is set.