Interface ListInstancesResponseOrBuilder (6.89.0)

public interface ListInstancesResponseOrBuilder extends MessageOrBuilder

Methods

getInstances(int index)

public abstract Instance getInstances(int index)

The list of requested instances.

repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance

getInstancesCount()

public abstract int getInstancesCount()

The list of requested instances.

repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Returns
TypeDescription
int

getInstancesList()

public abstract List<Instance> getInstancesList()

The list of requested instances.

repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Returns
TypeDescription
List<Instance>

getInstancesOrBuilder(int index)

public abstract InstanceOrBuilder getInstancesOrBuilder(int index)

The list of requested instances.

repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOrBuilder

getInstancesOrBuilderList()

public abstract List<? extends InstanceOrBuilder> getInstancesOrBuilderList()

The list of requested instances.

repeated .google.spanner.admin.instance.v1.Instance instances = 1;

Returns
TypeDescription
List<? extends com.google.spanner.admin.instance.v1.InstanceOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

next_page_token can be sent in a subsequent ListInstances call to fetch more of the matching instances.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

next_page_token can be sent in a subsequent ListInstances call to fetch more of the matching instances.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public abstract String getUnreachable(int index)

The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
String

The unreachable at the given index.

getUnreachableBytes(int index)

public abstract ByteString getUnreachableBytes(int index)

The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline.

repeated string unreachable = 3;

Parameter
NameDescription
indexint

The index of the value to return.

Returns
TypeDescription
ByteString

The bytes of the unreachable at the given index.

getUnreachableCount()

public abstract int getUnreachableCount()

The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

The list of unreachable instances. It includes the names of instances whose metadata could not be retrieved within instance_deadline.

repeated string unreachable = 3;

Returns
TypeDescription
List<String>

A list containing the unreachable.