public interface ListInstancesResponseOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getInstances(int index)
public abstract Instance getInstances(int index)If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
repeated .google.cloud.memorystore.v1.Instance instances = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
Instance |
|
getInstancesCount()
public abstract int getInstancesCount()If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
repeated .google.cloud.memorystore.v1.Instance instances = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getInstancesList()
public abstract List<Instance> getInstancesList()If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
repeated .google.cloud.memorystore.v1.Instance instances = 1;
| Returns | |
|---|---|
| Type | Description |
List<Instance> |
|
getInstancesOrBuilder(int index)
public abstract InstanceOrBuilder getInstancesOrBuilder(int index)If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
repeated .google.cloud.memorystore.v1.Instance instances = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
InstanceOrBuilder |
|
getInstancesOrBuilderList()
public abstract List<? extends InstanceOrBuilder> getInstancesOrBuilderList()If the {location} requested was "-" the response contains a list of instances from all locations. Instances in unreachable locations will be omitted.
repeated .google.cloud.memorystore.v1.Instance instances = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.memorystore.v1.InstanceOrBuilder> |
|
getNextPageToken()
public abstract String getNextPageToken() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public abstract ByteString getNextPageTokenBytes() A token, which can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
index |
intThe 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 |
intThe 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. |