Interface TargetPoolsAddInstanceRequestOrBuilder (1.58.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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.cloud.compute.v1.InstanceReferenceOrBuilder>