public static final class TargetPoolsAddInstanceRequest.Builder extends GeneratedMessageV3.Builder<TargetPoolsAddInstanceRequest.Builder> implements TargetPoolsAddInstanceRequestOrBuilder
Protobuf type google.cloud.compute.v1.TargetPoolsAddInstanceRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolsAddInstanceRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public TargetPoolsAddInstanceRequest build()
buildPartial()
public TargetPoolsAddInstanceRequest buildPartial()
clear()
public TargetPoolsAddInstanceRequest.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public TargetPoolsAddInstanceRequest.Builder clearField(Descriptors.FieldDescriptor field)
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
clearOneof(Descriptors.OneofDescriptor oneof)
public TargetPoolsAddInstanceRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public TargetPoolsAddInstanceRequest.Builder clone()
Overrides
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Returns |
---|
Type | Description |
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.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
mergeUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolsAddInstanceRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public TargetPoolsAddInstanceRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
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: - https://www.googleapis.com/compute/v1/projects/project-id/zones/zone /instances/instance-name - projects/project-id/zones/zone/instances/instance-name - zones/zone/instances/instance-name
repeated .google.cloud.compute.v1.InstanceReference instances = 29097598;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public TargetPoolsAddInstanceRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final TargetPoolsAddInstanceRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides