public static interface Allocation.SpecificSKUAllocation.AllocatedInstancePropertiesOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getGuestAccelerator(int index)
public abstract Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig getGuestAccelerator(int index)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig |
|
getGuestAcceleratorCount()
public abstract int getGuestAcceleratorCount()Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Returns | |
|---|---|
| Type | Description |
int |
|
getGuestAcceleratorList()
public abstract List<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig> getGuestAcceleratorList()Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Returns | |
|---|---|
| Type | Description |
List<AcceleratorConfig> |
|
getGuestAcceleratorOrBuilder(int index)
public abstract Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder getGuestAcceleratorOrBuilder(int index)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder |
|
getGuestAcceleratorOrBuilderList()
public abstract List<? extends Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder> getGuestAcceleratorOrBuilderList()Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfigOrBuilder> |
|
getLocalSsd(int index)
public abstract Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk getLocalSsd(int index)Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk |
|
getLocalSsdCount()
public abstract int getLocalSsdCount()Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4;
| Returns | |
|---|---|
| Type | Description |
int |
|
getLocalSsdList()
public abstract List<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk> getLocalSsdList()Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4;
| Returns | |
|---|---|
| Type | Description |
List<AllocatedDisk> |
|
getLocalSsdOrBuilder(int index)
public abstract Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDiskOrBuilder getLocalSsdOrBuilder(int index)Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDiskOrBuilder |
|
getLocalSsdOrBuilderList()
public abstract List<? extends Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDiskOrBuilder> getLocalSsdOrBuilderList()Specifies amount of local ssd to reserve with each instance. The type of disk is local-ssd.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk local_ssd = 4;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDiskOrBuilder> |
|
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.
string machine_type = 1;
| 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.
string machine_type = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for machineType. |
getMinCpuPlatform()
public abstract String getMinCpuPlatform()Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
public abstract ByteString getMinCpuPlatformBytes()Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |