Interface TargetPoolsAddInstanceRequestOrBuilder (1.40.0)

public interface TargetPoolsAddInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstances(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
InstanceReference

getInstancesCount()

public abstract 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
TypeDescription
int

getInstancesList()

public abstract 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;

Returns
TypeDescription
List<InstanceReference>

getInstancesOrBuilder(int index)

public abstract 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
NameDescription
indexint
Returns
TypeDescription
InstanceReferenceOrBuilder

getInstancesOrBuilderList()

public abstract 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
TypeDescription
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder>