Class InstanceGroupManagersCreateInstancesRequest.Builder (1.54.0)

public static final class InstanceGroupManagersCreateInstancesRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersCreateInstancesRequest.Builder> implements InstanceGroupManagersCreateInstancesRequestOrBuilder

InstanceGroupManagers.createInstances

Protobuf type google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest

Static Methods

getDescriptor()

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

Methods

addAllInstances(Iterable<? extends PerInstanceConfig> values)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

addInstances(PerInstanceConfig value)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

addInstances(PerInstanceConfig.Builder builderForValue)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

addInstances(int index, PerInstanceConfig value)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

addInstances(int index, PerInstanceConfig.Builder builderForValue)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.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 InstanceGroupManagersCreateInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

build()

public InstanceGroupManagersCreateInstancesRequest build()
Returns
Type Description
InstanceGroupManagersCreateInstancesRequest

buildPartial()

public InstanceGroupManagersCreateInstancesRequest buildPartial()
Returns
Type Description
InstanceGroupManagersCreateInstancesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstances()

public InstanceGroupManagersCreateInstancesRequest.Builder clearInstances()

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

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

Returns
Type Description
InstanceGroupManagersCreateInstancesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagersCreateInstancesRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersCreateInstancesRequest

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(InstanceGroupManagersCreateInstancesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeInstances(int index)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstances(int index, PerInstanceConfig value)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

setInstances(int index, PerInstanceConfig.Builder builderForValue)

public InstanceGroupManagersCreateInstancesRequest.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
InstanceGroupManagersCreateInstancesRequest.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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