Interface ListInstancesResponseOrBuilder (1.16.0)

public interface ListInstancesResponseOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getInstances(int index)

public abstract Instance getInstances(int index)

A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

repeated .google.cloud.filestore.v1.Instance instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Instance

getInstancesCount()

public abstract int getInstancesCount()

A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

repeated .google.cloud.filestore.v1.Instance instances = 1;

Returns
TypeDescription
int

getInstancesList()

public abstract List<Instance> getInstancesList()

A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

repeated .google.cloud.filestore.v1.Instance instances = 1;

Returns
TypeDescription
List<Instance>

getInstancesOrBuilder(int index)

public abstract InstanceOrBuilder getInstancesOrBuilder(int index)

A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

repeated .google.cloud.filestore.v1.Instance instances = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
InstanceOrBuilder

getInstancesOrBuilderList()

public abstract List<? extends InstanceOrBuilder> getInstancesOrBuilderList()

A list of instances in the project for the specified location. If the {location} value in the request is "-", the response contains a list of instances from all locations. If any location is unreachable, the response will only return instances in reachable locations and the "unreachable" field will be populated with a list of unreachable locations.

repeated .google.cloud.filestore.v1.Instance instances = 1;

Returns
TypeDescription
List<? extends com.google.cloud.filestore.v1.InstanceOrBuilder>

getNextPageToken()

public abstract String getNextPageToken()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public abstract ByteString getNextPageTokenBytes()

The token you can use to retrieve the next page of results. Not returned if there are no more results in the list.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getUnreachable(int index)

public abstract String getUnreachable(int index)

Locations that could not be reached.

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)

Locations that could not be reached.

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()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
int

The count of unreachable.

getUnreachableList()

public abstract List<String> getUnreachableList()

Locations that could not be reached.

repeated string unreachable = 3;

Returns
TypeDescription
List<String>

A list containing the unreachable.