public static final class InstanceGroupManagersCreateInstancesRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersCreateInstancesRequest.Builder> implements InstanceGroupManagersCreateInstancesRequestOrBuilder
InstanceGroupManagers.createInstances
Protobuf type google.cloud.compute.v1.InstanceGroupManagersCreateInstancesRequest
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
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
Returns
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
Returns
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
Returns
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
Returns
addInstancesBuilder()
public PerInstanceConfig.Builder addInstancesBuilder()
[Required] List of specifications of per-instance configs.
repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;
Returns
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
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagersCreateInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstanceGroupManagersCreateInstancesRequest build()
Returns
buildPartial()
public InstanceGroupManagersCreateInstancesRequest buildPartial()
Returns
clear()
public InstanceGroupManagersCreateInstancesRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupManagersCreateInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstances()
public InstanceGroupManagersCreateInstancesRequest.Builder clearInstances()
[Required] List of specifications of per-instance configs.
repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupManagersCreateInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InstanceGroupManagersCreateInstancesRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstanceGroupManagersCreateInstancesRequest getDefaultInstanceForType()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
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
Returns
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
Returns
getInstancesBuilderList()
public List<PerInstanceConfig.Builder> getInstancesBuilderList()
[Required] List of specifications of per-instance configs.
repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;
Returns
getInstancesCount()
public int getInstancesCount()
[Required] List of specifications of per-instance configs.
repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;
Returns
getInstancesList()
public List<PerInstanceConfig> getInstancesList()
[Required] List of specifications of per-instance configs.
repeated .google.cloud.compute.v1.PerInstanceConfig instances = 29097598;
Returns
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
Returns
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstanceGroupManagersCreateInstancesRequest other)
public InstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(InstanceGroupManagersCreateInstancesRequest other)
Parameter
Returns
public InstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceGroupManagersCreateInstancesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagersCreateInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupManagersCreateInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupManagersCreateInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupManagersCreateInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides