Interface ListInstancesResponseOrBuilder (2.55.0)

public interface ListInstancesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getNextPageToken()

public abstract String getNextPageToken()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

Token to retrieve the next page of results, or empty if there are no more results in the list.

string next_page_token = 2;

Returns
Type Description
ByteString

The bytes for nextPageToken.

getResources(int index)

public abstract Instance getResources(int index)

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memcache.v1beta2.Instance resources = 1;

Parameter
Name Description
index int
Returns
Type Description
Instance

getResourcesCount()

public abstract int getResourcesCount()

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memcache.v1beta2.Instance resources = 1;

Returns
Type Description
int

getResourcesList()

public abstract List<Instance> getResourcesList()

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memcache.v1beta2.Instance resources = 1;

Returns
Type Description
List<Instance>

getResourcesOrBuilder(int index)

public abstract InstanceOrBuilder getResourcesOrBuilder(int index)

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memcache.v1beta2.Instance resources = 1;

Parameter
Name Description
index int
Returns
Type Description
InstanceOrBuilder

getResourcesOrBuilderList()

public abstract List<? extends InstanceOrBuilder> getResourcesOrBuilderList()

A list of Memcached instances in the project in the specified location, or across all locations.

If the location_id in the parent field of the request is "-", all regions available to the project are queried, and the results aggregated.

repeated .google.cloud.memcache.v1beta2.Instance resources = 1;

Returns
Type Description
List<? extends com.google.cloud.memcache.v1beta2.InstanceOrBuilder>

getUnreachable(int index)

public abstract String getUnreachable(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public abstract ByteString getUnreachableBytes(int index)

Locations that could not be reached.

repeated string unreachable = 3;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public abstract int getUnreachableCount()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
Type Description
List<String>

A list containing the unreachable.