Send feedback
Class InstanceGroupsAddInstancesRequest.Builder (1.17.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 1.17.0 keyboard_arrow_down
public static final class InstanceGroupsAddInstancesRequest . Builder extends GeneratedMessageV3 . Builder<InstanceGroupsAddInstancesRequest . Builder > implements InstanceGroupsAddInstancesRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupsAddInstancesRequest
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 ()
Returns
Methods
addAllInstances(Iterable<? extends InstanceReference> values)
public InstanceGroupsAddInstancesRequest . Builder addAllInstances ( Iterable <? extends InstanceReference > values )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Name Description values Iterable <? extends com.google.cloud.compute.v1.InstanceReference >
Returns
addInstances(InstanceReference value)
public InstanceGroupsAddInstancesRequest . Builder addInstances ( InstanceReference value )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
addInstances(InstanceReference.Builder builderForValue)
public InstanceGroupsAddInstancesRequest . Builder addInstances ( InstanceReference . Builder builderForValue )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
addInstances(int index, InstanceReference value)
public InstanceGroupsAddInstancesRequest . Builder addInstances ( int index , InstanceReference value )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameters
Returns
addInstances(int index, InstanceReference.Builder builderForValue)
public InstanceGroupsAddInstancesRequest . Builder addInstances ( int index , InstanceReference . Builder builderForValue )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameters
Returns
addInstancesBuilder()
public InstanceReference . Builder addInstancesBuilder ()
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
addInstancesBuilder(int index)
public InstanceReference . Builder addInstancesBuilder ( int index )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsAddInstancesRequest . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public InstanceGroupsAddInstancesRequest build ()
Returns
buildPartial()
public InstanceGroupsAddInstancesRequest buildPartial ()
Returns
clear()
public InstanceGroupsAddInstancesRequest . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupsAddInstancesRequest . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearInstances()
public InstanceGroupsAddInstancesRequest . Builder clearInstances ()
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupsAddInstancesRequest . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
clone()
public InstanceGroupsAddInstancesRequest . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public InstanceGroupsAddInstancesRequest getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
getInstances(int index)
public InstanceReference getInstances ( int index )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
getInstancesBuilder(int index)
public InstanceReference . Builder getInstancesBuilder ( int index )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
getInstancesBuilderList()
public List<InstanceReference . Builder > getInstancesBuilderList ()
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
getInstancesCount()
public int getInstancesCount ()
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
getInstancesList()
public List<InstanceReference> getInstancesList ()
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
getInstancesOrBuilder(int index)
public InstanceReferenceOrBuilder getInstancesOrBuilder ( int index )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
getInstancesOrBuilderList()
public List <? extends InstanceReferenceOrBuilder > getInstancesOrBuilderList ()
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns
Type Description List <? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder >
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(InstanceGroupsAddInstancesRequest other)
public InstanceGroupsAddInstancesRequest . Builder mergeFrom ( InstanceGroupsAddInstancesRequest other )
Parameter
Returns
public InstanceGroupsAddInstancesRequest . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceGroupsAddInstancesRequest . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsAddInstancesRequest . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
removeInstances(int index)
public InstanceGroupsAddInstancesRequest . Builder removeInstances ( int index )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsAddInstancesRequest . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
setInstances(int index, InstanceReference value)
public InstanceGroupsAddInstancesRequest . Builder setInstances ( int index , InstanceReference value )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameters
Returns
setInstances(int index, InstanceReference.Builder builderForValue)
public InstanceGroupsAddInstancesRequest . Builder setInstances ( int index , InstanceReference . Builder builderForValue )
The list of instances to add to the instance group.
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameters
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupsAddInstancesRequest . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsAddInstancesRequest . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]