- 1.62.0 (latest)
- 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.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.AcceleratorConfig> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.cloud.compute.v1.AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk> |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
AcceleratorConfig |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
AcceleratorConfig.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AcceleratorConfig |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AcceleratorConfig.Builder |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
addGuestAcceleratorsBuilder()
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
builderForValue |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
build()
public AllocationSpecificSKUAllocationReservedInstanceProperties build()
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
buildPartial()
public AllocationSpecificSKUAllocationReservedInstanceProperties buildPartial()
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
clear()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clear()
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clearField(Descriptors.FieldDescriptor field)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clearGuestAccelerators()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearGuestAccelerators()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
This builder for chaining. |
clearMinCpuPlatform()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
clone()
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder clone()
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
getDefaultInstanceForType()
public AllocationSpecificSKUAllocationReservedInstanceProperties getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AcceleratorConfig.Builder |
getGuestAcceleratorsBuilderList()
public List<AcceleratorConfig.Builder> getGuestAcceleratorsBuilderList()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Returns | |
---|---|
Type | Description |
List<Builder> |
getGuestAcceleratorsCount()
public int getGuestAcceleratorsCount()
Specifies accelerator type and count.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Returns | |
---|---|
Type | Description |
int |
getGuestAcceleratorsList()
public 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 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 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 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 |
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
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.
optional string machine_type = 227711026;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for machineType. |
getMinCpuPlatform()
public String getMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Returns | |
---|---|
Type | Description |
String |
The minCpuPlatform. |
getMinCpuPlatformBytes()
public ByteString getMinCpuPlatformBytes()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Returns | |
---|---|
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;
Returns | |
---|---|
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;
Returns | |
---|---|
Type | Description |
boolean |
Whether the machineType field is set. |
hasMinCpuPlatform()
public boolean hasMinCpuPlatform()
Minimum cpu platform the reservation.
optional string min_cpu_platform = 242912759;
Returns | |
---|---|
Type | Description |
boolean |
Whether the minCpuPlatform field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(AllocationSpecificSKUAllocationReservedInstanceProperties other)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(AllocationSpecificSKUAllocationReservedInstanceProperties other)
Parameter | |
---|---|
Name | Description |
other |
AllocationSpecificSKUAllocationReservedInstanceProperties |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AcceleratorConfig |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AcceleratorConfig.Builder |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk |
Returns | |
---|---|
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;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
AllocationSpecificSKUAllocationAllocatedInstancePropertiesReservedDisk.Builder |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The locationHint to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for locationHint to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The machineType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for machineType to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
String The minCpuPlatform to set. |
Returns | |
---|---|
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;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for minCpuPlatform to set. |
Returns | |
---|---|
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)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final AllocationSpecificSKUAllocationReservedInstanceProperties.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
AllocationSpecificSKUAllocationReservedInstanceProperties.Builder |