If the location_id in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the name field
set to a value of the form
projects/{project_id}/locations/{location_id}/backupCollections/- and the
status field set to ERROR and status_message field set to "location not
available for ListBackupCollections".
If the location_id in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the name field
set to a value of the form
projects/{project_id}/locations/{location_id}/backupCollections/- and the
status field set to ERROR and status_message field set to "location not
available for ListBackupCollections".
If the location_id in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the name field
set to a value of the form
projects/{project_id}/locations/{location_id}/backupCollections/- and the
status field set to ERROR and status_message field set to "location not
available for ListBackupCollections".
If the location_id in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the name field
set to a value of the form
projects/{project_id}/locations/{location_id}/backupCollections/- and the
status field set to ERROR and status_message field set to "location not
available for ListBackupCollections".
If the location_id in the parent field of the request is "-", all regions
available to the project are queried, and the results aggregated.
If in such an aggregated query a location is unavailable, a placeholder
backupCollection entry is included in the response with the name field
set to a value of the form
projects/{project_id}/locations/{location_id}/backupCollections/- and the
status field set to ERROR and status_message field set to "location not
available for ListBackupCollections".
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-16 UTC."],[],[],null,["# Interface ListBackupCollectionsResponseOrBuilder (0.18.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.18.0 (latest)](/java/docs/reference/google-cloud-valkey/latest/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-valkey/0.16.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-valkey/0.14.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-valkey/0.13.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-valkey/0.10.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.9.0](/java/docs/reference/google-cloud-valkey/0.9.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-valkey/0.8.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-valkey/0.6.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-valkey/0.5.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-valkey/0.4.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-valkey/0.3.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-valkey/0.2.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-valkey/0.1.0/com.google.cloud.memorystore.v1.ListBackupCollectionsResponseOrBuilder) \n\n public interface ListBackupCollectionsResponseOrBuilder extends MessageOrBuilder\n\nImplements\n----------\n\n[MessageOrBuilder](https://cloud.google.com/java/docs/reference/protobuf/latest/com.google.protobuf.MessageOrBuilder.html)\n\nMethods\n-------\n\n### getBackupCollections(int index)\n\n public abstract BackupCollection getBackupCollections(int index)\n\nA list of backupCollections in the project.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a placeholder\nbackupCollection entry is included in the response with the `name` field\nset to a value of the form\n`projects/{project_id}/locations/{location_id}/backupCollections/`- and the\n`status` field set to ERROR and `status_message` field set to \"location not\navailable for ListBackupCollections\".\n\n`repeated .google.cloud.memorystore.v1.BackupCollection backup_collections = 1;`\n\n### getBackupCollectionsCount()\n\n public abstract int getBackupCollectionsCount()\n\nA list of backupCollections in the project.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a placeholder\nbackupCollection entry is included in the response with the `name` field\nset to a value of the form\n`projects/{project_id}/locations/{location_id}/backupCollections/`- and the\n`status` field set to ERROR and `status_message` field set to \"location not\navailable for ListBackupCollections\".\n\n`repeated .google.cloud.memorystore.v1.BackupCollection backup_collections = 1;`\n\n### getBackupCollectionsList()\n\n public abstract List\u003cBackupCollection\u003e getBackupCollectionsList()\n\nA list of backupCollections in the project.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a placeholder\nbackupCollection entry is included in the response with the `name` field\nset to a value of the form\n`projects/{project_id}/locations/{location_id}/backupCollections/`- and the\n`status` field set to ERROR and `status_message` field set to \"location not\navailable for ListBackupCollections\".\n\n`repeated .google.cloud.memorystore.v1.BackupCollection backup_collections = 1;`\n\n### getBackupCollectionsOrBuilder(int index)\n\n public abstract BackupCollectionOrBuilder getBackupCollectionsOrBuilder(int index)\n\nA list of backupCollections in the project.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a placeholder\nbackupCollection entry is included in the response with the `name` field\nset to a value of the form\n`projects/{project_id}/locations/{location_id}/backupCollections/`- and the\n`status` field set to ERROR and `status_message` field set to \"location not\navailable for ListBackupCollections\".\n\n`repeated .google.cloud.memorystore.v1.BackupCollection backup_collections = 1;`\n\n### getBackupCollectionsOrBuilderList()\n\n public abstract List\u003c? extends BackupCollectionOrBuilder\u003e getBackupCollectionsOrBuilderList()\n\nA list of backupCollections in the project.\n\nIf the `location_id` in the parent field of the request is \"-\", all regions\navailable to the project are queried, and the results aggregated.\nIf in such an aggregated query a location is unavailable, a placeholder\nbackupCollection entry is included in the response with the `name` field\nset to a value of the form\n`projects/{project_id}/locations/{location_id}/backupCollections/`- and the\n`status` field set to ERROR and `status_message` field set to \"location not\navailable for ListBackupCollections\".\n\n`repeated .google.cloud.memorystore.v1.BackupCollection backup_collections = 1;`\n\n### getNextPageToken()\n\n public abstract String getNextPageToken()\n\nToken to retrieve the next page of results, or empty if there are no more\nresults in the list.\n\n`string next_page_token = 2;`\n\n### getNextPageTokenBytes()\n\n public abstract ByteString getNextPageTokenBytes()\n\nToken to retrieve the next page of results, or empty if there are no more\nresults in the list.\n\n`string next_page_token = 2;`\n\n### getUnreachable(int index)\n\n public abstract String getUnreachable(int index)\n\nLocations that could not be reached.\n\n`repeated string unreachable = 3;`\n\n### getUnreachableBytes(int index)\n\n public abstract ByteString getUnreachableBytes(int index)\n\nLocations that could not be reached.\n\n`repeated string unreachable = 3;`\n\n### getUnreachableCount()\n\n public abstract int getUnreachableCount()\n\nLocations that could not be reached.\n\n`repeated string unreachable = 3;`\n\n### getUnreachableList()\n\n public abstract List\u003cString\u003e getUnreachableList()\n\nLocations that could not be reached.\n\n`repeated string unreachable = 3;`"]]