- 1.65.0 (latest)
- 1.64.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.49.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.37.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.25.0
- 1.24.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.1
- 1.11.0
- 1.9.1
- 1.8.1
- 1.7.2
- 1.6.0-beta
public static final class AllocationSpecificSKUAllocationReservedInstanceProperties.Builder extends GeneratedMessageV3.Builder<AllocationSpecificSKUAllocationReservedInstanceProperties.Builder> implements AllocationSpecificSKUAllocationReservedInstancePropertiesOrBuilder
Properties of the SKU instances being reserved. Next ID: 9
Protobuf type
google.cloud.compute.v1.AllocationSpecificSKUAllocationReservedInstanceProperties
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > AllocationSpecificSKUAllocationReservedInstanceProperties.BuilderMethods
addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.AcceleratorConfig> |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addAllLocalSsds(Iterable<? extends AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> values)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addAllLocalSsds(Iterable<? extends AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> values)
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;
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addGuestAccelerators(AcceleratorConfig value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(AcceleratorConfig value)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
value | AcceleratorConfig |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
builderForValue | AcceleratorConfig.Builder |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addGuestAccelerators(int index, AcceleratorConfig value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig value)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
value | AcceleratorConfig |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
builderForValue | AcceleratorConfig.Builder |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addGuestAcceleratorsBuilder()
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Type | Description |
AcceleratorConfig.Builder |
addGuestAcceleratorsBuilder(int index)
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
Type | Description |
AcceleratorConfig.Builder |
addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
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;
Name | Description |
value | AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
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;
Name | Description |
builderForValue | AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
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;
Name | Description |
index | int |
value | AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addLocalSsdsBuilder()
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder addLocalSsdsBuilder()
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;
Type | Description |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
addLocalSsdsBuilder(int index)
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder addLocalSsdsBuilder(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;
Name | Description |
index | int |
Type | Description |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
build()
public AllocationSpecificSKUAllocationReservedInstanceProperties build()
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
buildPartial()
public AllocationSpecificSKUAllocationReservedInstanceProperties buildPartial()
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
clear()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clear()
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clearField(Descriptors.FieldDescriptor field)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clearGuestAccelerators()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearGuestAccelerators()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clearLocalSsds()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearLocalSsds()
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;
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clearLocationHint()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearLocationHint()
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;
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
clearMachineType()
public AllocationSpecificSKUAllocationReservedInstanceProperties.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.
optional string machine_type = 227711026;
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
clearMinCpuPlatform()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clone()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clone()
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
getDefaultInstanceForType()
public AllocationSpecificSKUAllocationReservedInstanceProperties getDefaultInstanceForType()
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getGuestAccelerators(int index)
public AcceleratorConfig getGuestAccelerators(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
Type | Description |
AcceleratorConfig |
getGuestAcceleratorsBuilder(int index)
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
Type | Description |
AcceleratorConfig.Builder |
getGuestAcceleratorsBuilderList()
public List<AcceleratorConfig.Builder> getGuestAcceleratorsBuilderList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Type | Description |
List<Builder> |
getGuestAcceleratorsCount()
public int getGuestAcceleratorsCount()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Type | Description |
int |
getGuestAcceleratorsList()
public List<AcceleratorConfig> getGuestAcceleratorsList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Type | Description |
List<AcceleratorConfig> |
getGuestAcceleratorsOrBuilder(int index)
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
Type | Description |
AcceleratorConfigOrBuilder |
getGuestAcceleratorsOrBuilderList()
public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Type | Description |
List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder> |
getLocalSsds(int index)
public 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;
Name | Description |
index | int |
Type | Description |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
getLocalSsdsBuilder(int index)
public AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder getLocalSsdsBuilder(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;
Name | Description |
index | int |
Type | Description |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
getLocalSsdsBuilderList()
public List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder> getLocalSsdsBuilderList()
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;
Type | Description |
List<Builder> |
getLocalSsdsCount()
public 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;
Type | Description |
int |
getLocalSsdsList()
public 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;
Type | Description |
List<AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> |
getLocalSsdsOrBuilder(int index)
public 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;
Name | Description |
index | int |
Type | Description |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder |
getLocalSsdsOrBuilderList()
public 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;
Type | Description |
List<? extends com.google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDiskOrBuilder> |
getLocationHint()
public 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;
Type | Description |
String | The locationHint. |
getLocationHintBytes()
public 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;
Type | Description |
ByteString | The bytes for locationHint. |
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.
optional string machine_type = 227711026;
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.
optional string machine_type = 227711026;
Type | Description |
ByteString | The bytes for machineType. |
getMinCpuPlatform()
public String getMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Type | Description |
String | The minCpuPlatform. |
getMinCpuPlatformBytes()
public ByteString getMinCpuPlatformBytes()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Type | Description |
ByteString | The bytes for minCpuPlatform. |
hasLocationHint()
public 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;
Type | Description |
boolean | Whether the locationHint field is set. |
hasMachineType()
public 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;
Type | Description |
boolean | Whether the machineType field is set. |
hasMinCpuPlatform()
public boolean hasMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Type | Description |
boolean | Whether the minCpuPlatform field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(AllocationSpecificSKUAllocationReservedInstanceProperties other)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(AllocationSpecificSKUAllocationReservedInstanceProperties other)
Name | Description |
other | AllocationSpecificSKUAllocationReservedInstanceProperties |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
removeGuestAccelerators(int index)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder removeGuestAccelerators(int index)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
removeLocalSsds(int index)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder removeLocalSsds(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;
Name | Description |
index | int |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setGuestAccelerators(int index, AcceleratorConfig value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig value)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
value | AcceleratorConfig |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Name | Description |
index | int |
builderForValue | AcceleratorConfig.Builder |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk value)
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;
Name | Description |
index | int |
value | AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocalSsds(int index, AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder builderForValue)
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;
Name | Description |
index | int |
builderForValue | AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setLocationHint(String value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocationHint(String value)
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;
Name | Description |
value | String The locationHint to set. |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
setLocationHintBytes(ByteString value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setLocationHintBytes(ByteString value)
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;
Name | Description |
value | ByteString The bytes for locationHint to set. |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
setMachineType(String value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.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.
optional string machine_type = 227711026;
Name | Description |
value | String The machineType to set. |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
setMachineTypeBytes(ByteString value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.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.
optional string machine_type = 227711026;
Name | Description |
value | ByteString The bytes for machineType to set. |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
setMinCpuPlatform(String value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setMinCpuPlatform(String value)
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Name | Description |
value | String The minCpuPlatform to set. |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
setMinCpuPlatformBytes(ByteString value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setMinCpuPlatformBytes(ByteString value)
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Name | Description |
value | ByteString The bytes for minCpuPlatform to set. |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder | This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |