Required. The project and location for which to retrieve data
sources information, in the format
'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
locations map to Google Cloud regions, for example us-central1.
To retrieve data sources for all locations, use "-" for the
'{location}' value.
Required. The project and location for which to retrieve data
sources information, in the format
'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,
locations map to Google Cloud regions, for example us-central1.
To retrieve data sources for all locations, use "-" for the
'{location}' value.
[[["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 ListDataSourcesRequestOrBuilder (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.ListDataSourcesRequestOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.ListDataSourcesRequestOrBuilder) \n\n public interface ListDataSourcesRequestOrBuilder 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### getFilter()\n\n public abstract String getFilter()\n\nOptional. Filtering results.\n\n`string filter = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getFilterBytes()\n\n public abstract ByteString getFilterBytes()\n\nOptional. Filtering results.\n\n`string filter = 4 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getOrderBy()\n\n public abstract String getOrderBy()\n\nOptional. Hint for how to order the results.\n\n`string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getOrderByBytes()\n\n public abstract ByteString getOrderByBytes()\n\nOptional. Hint for how to order the results.\n\n`string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getPageSize()\n\n public abstract int getPageSize()\n\nOptional. Requested page size. Server may return fewer items than\nrequested. If unspecified, server will pick an appropriate default.\n\n`int32 page_size = 2 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getPageToken()\n\n public abstract String getPageToken()\n\nOptional. A token identifying a page of results the server should return.\n\n`string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getPageTokenBytes()\n\n public abstract ByteString getPageTokenBytes()\n\nOptional. A token identifying a page of results the server should return.\n\n`string page_token = 3 [(.google.api.field_behavior) = OPTIONAL];`\n\n### getParent()\n\n public abstract String getParent()\n\nRequired. The project and location for which to retrieve data\nsources information, in the format\n'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,\nlocations map to Google Cloud regions, for example **us-central1**.\nTo retrieve data sources for all locations, use \"-\" for the\n'{location}' value.\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`\n\n### getParentBytes()\n\n public abstract ByteString getParentBytes()\n\nRequired. The project and location for which to retrieve data\nsources information, in the format\n'projects/{project_id}/locations/{location}'. In Cloud Backup and DR,\nlocations map to Google Cloud regions, for example **us-central1**.\nTo retrieve data sources for all locations, use \"-\" for the\n'{location}' value.\n\n`\nstring parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }\n`"]]