public static final class Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder extends GeneratedMessageV3.Builder<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder> implements Allocation.SpecificSKUAllocation.AllocatedInstancePropertiesOrBuilderProperties of the SKU instances being reserved.
Protobuf type
google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllGuestAccelerator(Iterable<? extends Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig> values)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addAllGuestAccelerator(Iterable<? extends Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig> values)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig> |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addAllLocalSsd(Iterable<? extends Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk> values)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addAllLocalSsd(Iterable<? extends Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk> values)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 |
values |
Iterable<? extends com.google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk> |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addGuestAccelerator(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addGuestAccelerator(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig value)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addGuestAccelerator(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder builderForValue)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addGuestAccelerator(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder builderForValue)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig value)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder builderForValue)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder builderForValue)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addGuestAcceleratorBuilder()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder addGuestAcceleratorBuilder()Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder |
|
addGuestAcceleratorBuilder(int index)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder addGuestAcceleratorBuilder(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.Builder |
|
addLocalSsd(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addLocalSsd(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk value)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 |
value |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addLocalSsd(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder builderForValue)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addLocalSsd(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder builderForValue)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 |
builderForValue |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder builderForValue)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
addLocalSsdBuilder()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder addLocalSsdBuilder()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 |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder |
|
addLocalSsdBuilder(int index)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder addLocalSsdBuilder(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.Builder |
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
build()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties build()| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties |
|
buildPartial()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties buildPartial()| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties |
|
clear()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clear()| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
clearField(Descriptors.FieldDescriptor field)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
clearGuestAccelerator()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clearGuestAccelerator()Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
clearLocalSsd()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clearLocalSsd()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 |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
clearMachineType()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clearMachineType()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 |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
This builder for chaining. |
clearMinCpuPlatform()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clearMinCpuPlatform()Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
clone()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder clone()| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
getDefaultInstanceForType()
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getGuestAccelerator(int index)
public 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 |
|
getGuestAcceleratorBuilder(int index)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder getGuestAcceleratorBuilder(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.Builder |
|
getGuestAcceleratorBuilderList()
public List<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder> getGuestAcceleratorBuilderList()Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getGuestAcceleratorCount()
public 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 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 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 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 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 |
|
getLocalSsdBuilder(int index)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder getLocalSsdBuilder(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.Builder |
|
getLocalSsdBuilderList()
public List<Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder> getLocalSsdBuilderList()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<Builder> |
|
getLocalSsdCount()
public 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 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 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 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 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 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 String getMinCpuPlatform()Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
public ByteString getMinCpuPlatformBytes()Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for minCpuPlatform. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder mergeFrom(Allocation.SpecificSKUAllocation.AllocatedInstanceProperties other)| Parameter | |
|---|---|
| Name | Description |
other |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
removeGuestAccelerator(int index)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder removeGuestAccelerator(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.Builder |
|
removeLocalSsd(int index)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder removeLocalSsd(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.Builder |
|
setField(Descriptors.FieldDescriptor field, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
setGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig value)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
setGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder builderForValue)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setGuestAccelerator(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder builderForValue)Specifies accelerator type and count.
repeated .google.cloud.capacityplanner.v1beta.Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig guest_accelerator = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AcceleratorConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
setLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk value)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
setLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder builderForValue)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setLocalSsd(int index, Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder builderForValue)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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.AllocatedDisk.Builder |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
setMachineType(String value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setMachineType(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe machineType to set. |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
This builder for chaining. |
setMachineTypeBytes(ByteString value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setMachineTypeBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for machineType to set. |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
This builder for chaining. |
setMinCpuPlatform(String value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setMinCpuPlatform(String value)Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe minCpuPlatform to set. |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
This builder for chaining. |
setMinCpuPlatformBytes(ByteString value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setMinCpuPlatformBytes(ByteString value)Minimum cpu platform the reservation.
string min_cpu_platform = 3;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for minCpuPlatform to set. |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
Allocation.SpecificSKUAllocation.AllocatedInstanceProperties.Builder |
|