Class RegionInstanceGroupManagersCreateInstancesRequest.Builder (1.52.0)

public static final class RegionInstanceGroupManagersCreateInstancesRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupManagersCreateInstancesRequest.Builder> implements RegionInstanceGroupManagersCreateInstancesRequestOrBuilder

RegionInstanceGroupManagers.createInstances

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersCreateInstancesRequest

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegionInstanceGroupManagersCreateInstancesRequest.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addAllInstances(Iterable<? extends PerInstanceConfig> values)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder addAllInstances(Iterable<? extends PerInstanceConfig> values)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.PerInstanceConfig>
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

addInstances(PerInstanceConfig value)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder addInstances(PerInstanceConfig value)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
value PerInstanceConfig
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

addInstances(PerInstanceConfig.Builder builderForValue)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder addInstances(PerInstanceConfig.Builder builderForValue)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
builderForValue PerInstanceConfig.Builder
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

addInstances(int index, PerInstanceConfig value)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder addInstances(int index, PerInstanceConfig value)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameters
Name Description
index int
value PerInstanceConfig
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

addInstances(int index, PerInstanceConfig.Builder builderForValue)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder addInstances(int index, PerInstanceConfig.Builder builderForValue)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameters
Name Description
index int
builderForValue PerInstanceConfig.Builder
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

addInstancesBuilder()

public PerInstanceConfig.Builder addInstancesBuilder()

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Returns
Type Description
PerInstanceConfig.Builder

addInstancesBuilder(int index)

public PerInstanceConfig.Builder addInstancesBuilder(int index)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PerInstanceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

build()

public RegionInstanceGroupManagersCreateInstancesRequest build()
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest

buildPartial()

public RegionInstanceGroupManagersCreateInstancesRequest buildPartial()
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest

clear()

public RegionInstanceGroupManagersCreateInstancesRequest.Builder clear()
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

clearInstances()

public RegionInstanceGroupManagersCreateInstancesRequest.Builder clearInstances()

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

clone()

public RegionInstanceGroupManagersCreateInstancesRequest.Builder clone()
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

getDefaultInstanceForType()

public RegionInstanceGroupManagersCreateInstancesRequest getDefaultInstanceForType()
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getInstances(int index)

public PerInstanceConfig getInstances(int index)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PerInstanceConfig

getInstancesBuilder(int index)

public PerInstanceConfig.Builder getInstancesBuilder(int index)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PerInstanceConfig.Builder

getInstancesBuilderList()

public List<PerInstanceConfig.Builder> getInstancesBuilderList()

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Returns
Type Description
List<Builder>

getInstancesCount()

public int getInstancesCount()

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Returns
Type Description
int

getInstancesList()

public List<PerInstanceConfig> getInstancesList()

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Returns
Type Description
List<PerInstanceConfig>

getInstancesOrBuilder(int index)

public PerInstanceConfigOrBuilder getInstancesOrBuilder(int index)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
PerInstanceConfigOrBuilder

getInstancesOrBuilderList()

public List<? extends PerInstanceConfigOrBuilder> getInstancesOrBuilderList()

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.PerInstanceConfigOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionInstanceGroupManagersCreateInstancesRequest other)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(RegionInstanceGroupManagersCreateInstancesRequest other)
Parameter
Name Description
other RegionInstanceGroupManagersCreateInstancesRequest
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupManagersCreateInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

removeInstances(int index)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder removeInstances(int index)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameter
Name Description
index int
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

setInstances(int index, PerInstanceConfig value)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder setInstances(int index, PerInstanceConfig value)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameters
Name Description
index int
value PerInstanceConfig
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

setInstances(int index, PerInstanceConfig.Builder builderForValue)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder setInstances(int index, PerInstanceConfig.Builder builderForValue)

[Required] List of specifications of per-instance configs.

repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;

Parameters
Name Description
index int
builderForValue PerInstanceConfig.Builder
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RegionInstanceGroupManagersCreateInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupManagersCreateInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides