Class RegionInstanceGroupManagersCreateInstancesRequest.Builder (1.9.1)

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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.PerInstanceConfig>
Returns
TypeDescription
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
NameDescription
valuePerInstanceConfig
Returns
TypeDescription
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
NameDescription
builderForValuePerInstanceConfig.Builder
Returns
TypeDescription
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
NameDescription
indexint
valuePerInstanceConfig
Returns
TypeDescription
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
NameDescription
indexint
builderForValuePerInstanceConfig.Builder
Returns
TypeDescription
RegionInstanceGroupManagersCreateInstancesRequest.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 RegionInstanceGroupManagersCreateInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionInstanceGroupManagersCreateInstancesRequest.Builder
Overrides

build()

public RegionInstanceGroupManagersCreateInstancesRequest build()
Returns
TypeDescription
RegionInstanceGroupManagersCreateInstancesRequest

buildPartial()

public RegionInstanceGroupManagersCreateInstancesRequest buildPartial()
Returns
TypeDescription
RegionInstanceGroupManagersCreateInstancesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionInstanceGroupManagersCreateInstancesRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionInstanceGroupManagersCreateInstancesRequest

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

public RegionInstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(RegionInstanceGroupManagersCreateInstancesRequest other)
Parameter
NameDescription
otherRegionInstanceGroupManagersCreateInstancesRequest
Returns
TypeDescription
RegionInstanceGroupManagersCreateInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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