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.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder> implements InstancesSetMachineResourcesRequestOrBuilder
Protobuf typegoogle.cloud.compute.v1.InstancesSetMachineResourcesRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description InstancesSetMachineResourcesRequest.BuilderaddAllGuestAccelerators(Iterable<? extends AcceleratorConfig> values)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuilderaddGuestAccelerators(int index, AcceleratorConfig value)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuilderaddGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuilderaddGuestAccelerators(AcceleratorConfig value)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuilderaddGuestAccelerators(AcceleratorConfig.Builder builderForValue)A list of the type and count of accelerator cards attached to the instance.AcceleratorConfig.BuilderaddGuestAcceleratorsBuilder()A list of the type and count of accelerator cards attached to the instance.AcceleratorConfig.BuilderaddGuestAcceleratorsBuilder(int index)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstancesSetMachineResourcesRequestbuild()InstancesSetMachineResourcesRequestbuildPartial()InstancesSetMachineResourcesRequest.Builderclear()InstancesSetMachineResourcesRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)InstancesSetMachineResourcesRequest.BuilderclearGuestAccelerators()A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)InstancesSetMachineResourcesRequest.Builderclone()InstancesSetMachineResourcesRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()AcceleratorConfiggetGuestAccelerators(int index)A list of the type and count of accelerator cards attached to the instance.AcceleratorConfig.BuildergetGuestAcceleratorsBuilder(int index)A list of the type and count of accelerator cards attached to the instance.List<AcceleratorConfig.Builder>getGuestAcceleratorsBuilderList()A list of the type and count of accelerator cards attached to the instance.intgetGuestAcceleratorsCount()A list of the type and count of accelerator cards attached to the instance.List<AcceleratorConfig>getGuestAcceleratorsList()A list of the type and count of accelerator cards attached to the instance.AcceleratorConfigOrBuildergetGuestAcceleratorsOrBuilder(int index)A list of the type and count of accelerator cards attached to the instance.List<? extends AcceleratorConfigOrBuilder>getGuestAcceleratorsOrBuilderList()A list of the type and count of accelerator cards attached to the instance.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()InstancesSetMachineResourcesRequest.BuildermergeFrom(InstancesSetMachineResourcesRequest other)InstancesSetMachineResourcesRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)InstancesSetMachineResourcesRequest.BuildermergeFrom(com.google.protobuf.Message other)InstancesSetMachineResourcesRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)InstancesSetMachineResourcesRequest.BuilderremoveGuestAccelerators(int index)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)InstancesSetMachineResourcesRequest.BuildersetGuestAccelerators(int index, AcceleratorConfig value)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuildersetGuestAccelerators(int index, AcceleratorConfig.Builder builderForValue)A list of the type and count of accelerator cards attached to the instance.InstancesSetMachineResourcesRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)InstancesSetMachineResourcesRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
clear
public InstancesSetMachineResourcesRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.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.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
getDefaultInstanceForType
public InstancesSetMachineResourcesRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public InstancesSetMachineResourcesRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public InstancesSetMachineResourcesRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public InstancesSetMachineResourcesRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
setField
public InstancesSetMachineResourcesRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
clearField
public InstancesSetMachineResourcesRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
clearOneof
public InstancesSetMachineResourcesRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
setRepeatedField
public InstancesSetMachineResourcesRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
addRepeatedField
public InstancesSetMachineResourcesRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
mergeFrom
public InstancesSetMachineResourcesRequest.Builder mergeFrom(com.google.protobuf.Message other)
- 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.GeneratedMessageV3.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
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;- 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
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;- 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
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
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
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;
-
removeGuestAccelerators
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;
-
getGuestAcceleratorsBuilder
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;
-
getGuestAcceleratorsOrBuilder
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;- Specified by:
getGuestAcceleratorsOrBuilderin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
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;- Specified by:
getGuestAcceleratorsOrBuilderListin interfaceInstancesSetMachineResourcesRequestOrBuilder
-
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
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;
-
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;
-
setUnknownFields
public final InstancesSetMachineResourcesRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
mergeUnknownFields
public final InstancesSetMachineResourcesRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<InstancesSetMachineResourcesRequest.Builder>
-
-