Interface AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder (1.61.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
Name Description
index int
Returns
Type Description
AcceleratorConfig

getGuestAcceleratorsCount()

public abstract int getGuestAcceleratorsCount()

Specifies accelerator type and count.

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

Returns
Type Description
int

getGuestAcceleratorsList()

public abstract List<AcceleratorConfig> getGuestAcceleratorsList()

Specifies accelerator type and count.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
AcceleratorConfigOrBuilder

getGuestAcceleratorsOrBuilderList()

public abstract List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()

Specifies accelerator type and count.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for machineType.

getMinCpuPlatform()

public abstract String getMinCpuPlatform()

Minimum cpu platform the reservation.

optional string min_cpu_platform = 242912759;

Returns
Type Description
String

The minCpuPlatform.

getMinCpuPlatformBytes()

public abstract ByteString getMinCpuPlatformBytes()

Minimum cpu platform the reservation.

optional string min_cpu_platform = 242912759;

Returns
Type Description
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
Type Description
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
Type Description
boolean

Whether the machineType field is set.

hasMinCpuPlatform()

public abstract boolean hasMinCpuPlatform()

Minimum cpu platform the reservation.

optional string min_cpu_platform = 242912759;

Returns
Type Description
boolean

Whether the minCpuPlatform field is set.