Package com.google.cloud.compute.v1
Class InstancesSetMachineResourcesRequest.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
com.google.cloud.compute.v1.InstancesSetMachineResourcesRequest.Builder
- All Implemented Interfaces:
InstancesSetMachineResourcesRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- InstancesSetMachineResourcesRequest
public static final class InstancesSetMachineResourcesRequest.Builder
extends com.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
implements InstancesSetMachineResourcesRequestOrBuilder
Protobuf type
google.cloud.compute.v1.InstancesSetMachineResourcesRequest-
Method Summary
Modifier and TypeMethodDescriptionaddAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values) A list of the type and count of accelerator cards attached to the instance.addGuestAccelerators(int index, AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.addGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.addGuestAccelerators(AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.addGuestAcceleratorsBuilder(int index) A list of the type and count of accelerator cards attached to the instance.build()clear()A list of the type and count of accelerator cards attached to the instance.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetGuestAccelerators(int index) A list of the type and count of accelerator cards attached to the instance.getGuestAcceleratorsBuilder(int index) A list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.intA list of the type and count of accelerator cards attached to the instance.A list of the type and count of accelerator cards attached to the instance.getGuestAcceleratorsOrBuilder(int index) A list of the type and count of accelerator cards attached to the instance.List<? extends AcceleratorConfigOrBuilder>A list of the type and count of accelerator cards attached to the instance.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeGuestAccelerators(int index) A list of the type and count of accelerator cards attached to the instance.setGuestAccelerators(int index, AcceleratorConfig value) A list of the type and count of accelerator cards attached to the instance.setGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue) A list of the type and count of accelerator cards attached to the instance.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
-
mergeFrom
public InstancesSetMachineResourcesRequest.Builder mergeFrom(InstancesSetMachineResourcesRequest other) -
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage.Builder<InstancesSetMachineResourcesRequest.Builder>
-
mergeFrom
public InstancesSetMachineResourcesRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<InstancesSetMachineResourcesRequest.Builder>- Throws:
IOException
-
getGuestAcceleratorsList
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsListin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
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;- Specified by:
getGuestAcceleratorsCountin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
getGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
setGuestAccelerators
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
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; -
addGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
addGuestAccelerators
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
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
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; -
addAllGuestAccelerators
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; -
clearGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
removeGuestAccelerators
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilder
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsOrBuilder
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
getGuestAcceleratorsOrBuilderList
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
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
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119; -
getGuestAcceleratorsBuilderList
A list of the type and count of accelerator cards attached to the instance.
repeated .google.cloud.compute.v1.AcceleratorConfig guest_accelerators = 463595119;
-