public static final class InstancesSetMachineResourcesRequest.Builder extends GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder> implements InstancesSetMachineResourcesRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstancesSetMachineResourcesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
public InstancesSetMachineResourcesRequest.Builder addAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.cloud.compute.v1.AcceleratorConfig>
|
addGuestAccelerators(AcceleratorConfig value)
public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
addGuestAccelerators(int index, AcceleratorConfig value)
public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(int index, AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
public InstancesSetMachineResourcesRequest.Builder addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
addGuestAcceleratorsBuilder()
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
addGuestAcceleratorsBuilder(int index)
public AcceleratorConfig.Builder addGuestAcceleratorsBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstancesSetMachineResourcesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public InstancesSetMachineResourcesRequest build()
buildPartial()
public InstancesSetMachineResourcesRequest buildPartial()
clear()
public InstancesSetMachineResourcesRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstancesSetMachineResourcesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearGuestAccelerators()
public InstancesSetMachineResourcesRequest.Builder clearGuestAccelerators()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
clearOneof(Descriptors.OneofDescriptor oneof)
public InstancesSetMachineResourcesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public InstancesSetMachineResourcesRequest.Builder clone()
Overrides
getDefaultInstanceForType()
public InstancesSetMachineResourcesRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getGuestAccelerators(int index)
public AcceleratorConfig getGuestAccelerators(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Parameter |
---|
Name | Description |
index | int
|
getGuestAcceleratorsBuilder(int index)
public AcceleratorConfig.Builder getGuestAcceleratorsBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Parameter |
---|
Name | Description |
index | int
|
getGuestAcceleratorsBuilderList()
public List<AcceleratorConfig.Builder> getGuestAcceleratorsBuilderList()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
getGuestAcceleratorsCount()
public int getGuestAcceleratorsCount()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Returns |
---|
Type | Description |
int | |
getGuestAcceleratorsList()
public List<AcceleratorConfig> getGuestAcceleratorsList()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
getGuestAcceleratorsOrBuilder(int index)
public AcceleratorConfigOrBuilder getGuestAcceleratorsOrBuilder(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Parameter |
---|
Name | Description |
index | int
|
getGuestAcceleratorsOrBuilderList()
public List<? extends AcceleratorConfigOrBuilder> getGuestAcceleratorsOrBuilderList()
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.AcceleratorConfigOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(InstancesSetMachineResourcesRequest other)
public InstancesSetMachineResourcesRequest.Builder mergeFrom(InstancesSetMachineResourcesRequest other)
public InstancesSetMachineResourcesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public InstancesSetMachineResourcesRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstancesSetMachineResourcesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeGuestAccelerators(int index)
public InstancesSetMachineResourcesRequest.Builder removeGuestAccelerators(int index)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public InstancesSetMachineResourcesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setGuestAccelerators(int index, AcceleratorConfig value)
public InstancesSetMachineResourcesRequest.Builder setGuestAccelerators(int index, AcceleratorConfig value)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
public InstancesSetMachineResourcesRequest.Builder setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstancesSetMachineResourcesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstancesSetMachineResourcesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides