The list of DataSource 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. In case any location is unreachable,
the response will only return data sources in reachable locations
and the 'unreachable' field will be populated with a list of unreachable
locations.
The list of DataSource 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. In case any location is unreachable,
the response will only return data sources in reachable locations
and the 'unreachable' field will be populated with a list of unreachable
locations.
The list of DataSource 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. In case any location is unreachable,
the response will only return data sources in reachable locations
and the 'unreachable' field will be populated with a list of unreachable
locations.
The list of DataSource 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. In case any location is unreachable,
the response will only return data sources in reachable locations
and the 'unreachable' field will be populated with a list of unreachable
locations.
The list of DataSource 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. In case any location is unreachable,
the response will only return data sources in reachable locations
and the 'unreachable' field will be populated with a list of unreachable
locations.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[],[],null,["# Interface ListDataSourcesResponseOrBuilder (0.31.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.31.0 (latest)](/java/docs/reference/google-cloud-backupdr/latest/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.ListDataSourcesResponseOrBuilder) \n\n public interface ListDataSourcesResponseOrBuilder 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### getDataSources(int index)\n\n public abstract DataSource getDataSources(int index)\n\nThe list of DataSource instances in the project for the specified\nlocation.\n\nIf the '{location}' value in the request is \"-\", the response contains a\nlist of instances from all locations. In case any location is unreachable,\nthe response will only return data sources in reachable locations\nand the 'unreachable' field will be populated with a list of unreachable\nlocations.\n\n`repeated .google.cloud.backupdr.v1.DataSource data_sources = 1;`\n\n### getDataSourcesCount()\n\n public abstract int getDataSourcesCount()\n\nThe list of DataSource instances in the project for the specified\nlocation.\n\nIf the '{location}' value in the request is \"-\", the response contains a\nlist of instances from all locations. In case any location is unreachable,\nthe response will only return data sources in reachable locations\nand the 'unreachable' field will be populated with a list of unreachable\nlocations.\n\n`repeated .google.cloud.backupdr.v1.DataSource data_sources = 1;`\n\n### getDataSourcesList()\n\n public abstract List\u003cDataSource\u003e getDataSourcesList()\n\nThe list of DataSource instances in the project for the specified\nlocation.\n\nIf the '{location}' value in the request is \"-\", the response contains a\nlist of instances from all locations. In case any location is unreachable,\nthe response will only return data sources in reachable locations\nand the 'unreachable' field will be populated with a list of unreachable\nlocations.\n\n`repeated .google.cloud.backupdr.v1.DataSource data_sources = 1;`\n\n### getDataSourcesOrBuilder(int index)\n\n public abstract DataSourceOrBuilder getDataSourcesOrBuilder(int index)\n\nThe list of DataSource instances in the project for the specified\nlocation.\n\nIf the '{location}' value in the request is \"-\", the response contains a\nlist of instances from all locations. In case any location is unreachable,\nthe response will only return data sources in reachable locations\nand the 'unreachable' field will be populated with a list of unreachable\nlocations.\n\n`repeated .google.cloud.backupdr.v1.DataSource data_sources = 1;`\n\n### getDataSourcesOrBuilderList()\n\n public abstract List\u003c? extends DataSourceOrBuilder\u003e getDataSourcesOrBuilderList()\n\nThe list of DataSource instances in the project for the specified\nlocation.\n\nIf the '{location}' value in the request is \"-\", the response contains a\nlist of instances from all locations. In case any location is unreachable,\nthe response will only return data sources in reachable locations\nand the 'unreachable' field will be populated with a list of unreachable\nlocations.\n\n`repeated .google.cloud.backupdr.v1.DataSource data_sources = 1;`\n\n### getNextPageToken()\n\n public abstract String getNextPageToken()\n\nA token identifying a page of results the server should return.\n\n`string next_page_token = 2;`\n\n### getNextPageTokenBytes()\n\n public abstract ByteString getNextPageTokenBytes()\n\nA token identifying a page of results the server should return.\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;`"]]