public static final class TargetPoolsAddInstanceRequest.Builder extends GeneratedMessage.Builder<TargetPoolsAddInstanceRequest.Builder> implements TargetPoolsAddInstanceRequestOrBuilder
Protobuf type google.cloud.compute.v1.TargetPoolsAddInstanceRequest
Inherited Members
com.google.protobuf.GeneratedMessage.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessage.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessage.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessage.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
com.google.protobuf.GeneratedMessage.Builder.setUnknownFieldsProto3(com.google.protobuf.UnknownFieldSet)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllInstances(Iterable<? extends InstanceReference> values)
public TargetPoolsAddInstanceRequest.Builder addAllInstances(Iterable<? extends InstanceReference> values)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Parameter |
| Name |
Description |
values |
Iterable<? extends com.google.cloud.compute.v1.InstanceReference>
|
addInstances(InstanceReference value)
public TargetPoolsAddInstanceRequest.Builder addInstances(InstanceReference value)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
addInstances(InstanceReference.Builder builderForValue)
public TargetPoolsAddInstanceRequest.Builder addInstances(InstanceReference.Builder builderForValue)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
addInstances(int index, InstanceReference value)
public TargetPoolsAddInstanceRequest.Builder addInstances(int index, InstanceReference value)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
addInstances(int index, InstanceReference.Builder builderForValue)
public TargetPoolsAddInstanceRequest.Builder addInstances(int index, InstanceReference.Builder builderForValue)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
addInstancesBuilder()
public InstanceReference.Builder addInstancesBuilder()
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
addInstancesBuilder(int index)
public InstanceReference.Builder addInstancesBuilder(int index)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
build()
public TargetPoolsAddInstanceRequest build()
buildPartial()
public TargetPoolsAddInstanceRequest buildPartial()
clear()
public TargetPoolsAddInstanceRequest.Builder clear()
Overrides
clearInstances()
public TargetPoolsAddInstanceRequest.Builder clearInstances()
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
getDefaultInstanceForType()
public TargetPoolsAddInstanceRequest getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getInstances(int index)
public InstanceReference getInstances(int index)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
getInstancesBuilder(int index)
public InstanceReference.Builder getInstancesBuilder(int index)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
getInstancesBuilderList()
public List<InstanceReference.Builder> getInstancesBuilderList()
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
getInstancesCount()
public int getInstancesCount()
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Returns |
| Type |
Description |
int |
|
getInstancesList()
public List<InstanceReference> getInstancesList()
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
getInstancesOrBuilder(int index)
public InstanceReferenceOrBuilder getInstancesOrBuilder(int index)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
getInstancesOrBuilderList()
public List<? extends InstanceReferenceOrBuilder> getInstancesOrBuilderList()
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Returns |
| Type |
Description |
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(TargetPoolsAddInstanceRequest other)
public TargetPoolsAddInstanceRequest.Builder mergeFrom(TargetPoolsAddInstanceRequest other)
public TargetPoolsAddInstanceRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public TargetPoolsAddInstanceRequest.Builder mergeFrom(Message other)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
removeInstances(int index)
public TargetPoolsAddInstanceRequest.Builder removeInstances(int index)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
| Parameter |
| Name |
Description |
index |
int
|
setInstances(int index, InstanceReference value)
public TargetPoolsAddInstanceRequest.Builder setInstances(int index, InstanceReference value)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
setInstances(int index, InstanceReference.Builder builderForValue)
public TargetPoolsAddInstanceRequest.Builder setInstances(int index, InstanceReference.Builder builderForValue)
A full or partial URL to an instance to add to this target pool. This can
be a full or partial URL. For example, the following are valid URLs:
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;