Interface AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder (1.34.0)

public interface AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getGuestAccelerators(int index)

public abstract AcceleratorConfig getGuestAccelerators(int index)

Specifies accelerator type and count.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfig

getGuestAcceleratorsCount()

public abstract int getGuestAcceleratorsCount()

Specifies accelerator type and count.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Returns
TypeDescription
int

getGuestAcceleratorsList()

public abstract List<AcceleratorConfig> getGuestAcceleratorsList()

Specifies accelerator type and count.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Returns
TypeDescription
List<AcceleratorConfig>

getGuestAcceleratorsOrBuilder(int index)

public abstract AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)

Specifies accelerator type and count.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Parameter
NameDescription
indexint
Returns
TypeDescription
AcceleratorConfigOrBuilder

getGuestAcceleratorsOrBuilderList()

public abstract List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()

Specifies accelerator type and count.

repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder>

getLocalSsds(int index)

public abstract AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk getLocalSsds(int index)

Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.

repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;

Parameter
NameDescription
indexint
Returns
TypeDescription
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk

getLocalSsdsCount()

public abstract int getLocalSsdsCount()

Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.

repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;

Returns
TypeDescription
int

getLocalSsdsList()

public abstract List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> getLocalSsdsList()

Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.

repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;

Returns
TypeDescription
List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk>

getLocalSsdsOrBuilder(int index)

public abstract AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder getLocalSsdsOrBuilder(int index)

Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.

repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;

Parameter
NameDescription
indexint
Returns
TypeDescription
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder

getLocalSsdsOrBuilderList()

public abstract List<? extends AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder> getLocalSsdsOrBuilderList()

Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.

repeated .google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk local_ssds = 229951299;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder>

getLocationHint()

public abstract String getLocationHint()

An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.

optional string location_hint = 350519505;

Returns
TypeDescription
String

The locationHint.

getLocationHintBytes()

public abstract ByteString getLocationHintBytes()

An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.

optional string location_hint = 350519505;

Returns
TypeDescription
ByteString

The bytes for locationHint.

getMachineType()

public abstract String getMachineType()

Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.

optional string machine_type = 227711026;

Returns
TypeDescription
String

The machineType.

getMachineTypeBytes()

public abstract ByteString getMachineTypeBytes()

Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.

optional string machine_type = 227711026;

Returns
TypeDescription
ByteString

The bytes for machineType.

getMinCpuPlatform()

public abstract String getMinCpuPlatform()

Minimum cpu platform the reservation.

optional string min_cpu_platform = 242912759;

Returns
TypeDescription
String

The minCpuPlatform.

getMinCpuPlatformBytes()

public abstract ByteString getMinCpuPlatformBytes()

Minimum cpu platform the reservation.

optional string min_cpu_platform = 242912759;

Returns
TypeDescription
ByteString

The bytes for minCpuPlatform.

hasLocationHint()

public abstract boolean hasLocationHint()

An opaque location hint used to place the allocation close to other resources. This field is for use by internal tools that use the public API.

optional string location_hint = 350519505;

Returns
TypeDescription
boolean

Whether the locationHint field is set.

hasMachineType()

public abstract boolean hasMachineType()

Specifies type of machine (name only) which has fixed number of vCPUs and fixed amount of memory. This also includes specifying custom machine type following custom-NUMBER_OF_CPUS-AMOUNT_OF_MEMORY pattern.

optional string machine_type = 227711026;

Returns
TypeDescription
boolean

Whether the machineType field is set.

hasMinCpuPlatform()

public abstract boolean hasMinCpuPlatform()

Minimum cpu platform the reservation.

optional string min_cpu_platform = 242912759;

Returns
TypeDescription
boolean

Whether the minCpuPlatform field is set.