Class InstanceGroupManagersCreateInstancesRequest.Builder (1.17.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.PerInstanceConfig>
Returns
TypeDescription
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
NameDescription
valuePerInstanceConfig
Returns
TypeDescription
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
NameDescription
builderForValuePerInstanceConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePerInstanceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePerInstanceConfig.Builder
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder

addInstancesBuilder()

public PerInstanceConfig.Builder addInstancesBuilder()

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PerInstanceConfig.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagersCreateInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

build()

public InstanceGroupManagersCreateInstancesRequest build()
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest

buildPartial()

public InstanceGroupManagersCreateInstancesRequest buildPartial()
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest

clear()

public InstanceGroupManagersCreateInstancesRequest.Builder clear()
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public InstanceGroupManagersCreateInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupManagersCreateInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

clone()

public InstanceGroupManagersCreateInstancesRequest.Builder clone()
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

getDefaultInstanceForType()

public InstanceGroupManagersCreateInstancesRequest getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<Builder>

getInstancesCount()

public int getInstancesCount()

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

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

Returns
TypeDescription
int

getInstancesList()

public List<PerInstanceConfig> getInstancesList()

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

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

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
PerInstanceConfigOrBuilder

getInstancesOrBuilderList()

public List<? extends PerInstanceConfigOrBuilder> getInstancesOrBuilderList()

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

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

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

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupManagersCreateInstancesRequest other)

public InstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(InstanceGroupManagersCreateInstancesRequest other)
Parameter
NameDescription
otherInstanceGroupManagersCreateInstancesRequest
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public InstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public InstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagersCreateInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public InstanceGroupManagersCreateInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint
valuePerInstanceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePerInstanceConfig.Builder
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder

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

public InstanceGroupManagersCreateInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagersCreateInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
InstanceGroupManagersCreateInstancesRequest.Builder
Overrides