[[["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 DataSourceGcpResourceOrBuilder (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.DataSourceGcpResourceOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.DataSourceGcpResourceOrBuilder) \n\n public interface DataSourceGcpResourceOrBuilder 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### getCloudSqlInstanceDatasourceProperties()\n\n public abstract CloudSqlInstanceDataSourceProperties getCloudSqlInstanceDatasourceProperties()\n\nOutput only. CloudSqlInstanceDataSourceProperties has a subset of Cloud\nSQL Instance properties that are useful at the Datasource level.\n\n`\n.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties cloud_sql_instance_datasource_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getCloudSqlInstanceDatasourcePropertiesOrBuilder()\n\n public abstract CloudSqlInstanceDataSourcePropertiesOrBuilder getCloudSqlInstanceDatasourcePropertiesOrBuilder()\n\nOutput only. CloudSqlInstanceDataSourceProperties has a subset of Cloud\nSQL Instance properties that are useful at the Datasource level.\n\n`\n.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties cloud_sql_instance_datasource_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getComputeInstanceDatasourceProperties()\n\n public abstract ComputeInstanceDataSourceProperties getComputeInstanceDatasourceProperties()\n\nComputeInstanceDataSourceProperties has a subset of Compute Instance\nproperties that are useful at the Datasource level.\n\n`\n.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;\n`\n\n### getComputeInstanceDatasourcePropertiesOrBuilder()\n\n public abstract ComputeInstanceDataSourcePropertiesOrBuilder getComputeInstanceDatasourcePropertiesOrBuilder()\n\nComputeInstanceDataSourceProperties has a subset of Compute Instance\nproperties that are useful at the Datasource level.\n\n`\n.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;\n`\n\n### getDiskDatasourceProperties()\n\n public abstract DiskDataSourceProperties getDiskDatasourceProperties()\n\nDiskDataSourceProperties has a subset of Disk properties that are useful\nat the Datasource level.\n\n`.google.cloud.backupdr.v1.DiskDataSourceProperties disk_datasource_properties = 7;`\n\n### getDiskDatasourcePropertiesOrBuilder()\n\n public abstract DiskDataSourcePropertiesOrBuilder getDiskDatasourcePropertiesOrBuilder()\n\nDiskDataSourceProperties has a subset of Disk properties that are useful\nat the Datasource level.\n\n`.google.cloud.backupdr.v1.DiskDataSourceProperties disk_datasource_properties = 7;`\n\n### getGcpResourcePropertiesCase()\n\n public abstract DataSourceGcpResource.GcpResourcePropertiesCase getGcpResourcePropertiesCase()\n\n### getGcpResourcename()\n\n public abstract String getGcpResourcename()\n\nOutput only. Full resource pathname URL of the source Google Cloud\nresource.\n\n`string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getGcpResourcenameBytes()\n\n public abstract ByteString getGcpResourcenameBytes()\n\nOutput only. Full resource pathname URL of the source Google Cloud\nresource.\n\n`string gcp_resourcename = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getLocation()\n\n public abstract String getLocation()\n\nLocation of the resource: \\\u003cregion\\\u003e/\\\u003czone\\\u003e/\"global\"/\"unspecified\".\n\n`string location = 2;`\n\n### getLocationBytes()\n\n public abstract ByteString getLocationBytes()\n\nLocation of the resource: \\\u003cregion\\\u003e/\\\u003czone\\\u003e/\"global\"/\"unspecified\".\n\n`string location = 2;`\n\n### getType()\n\n public abstract String getType()\n\nThe type of the Google Cloud resource. Use the Unified Resource Type,\neg. compute.googleapis.com/Instance.\n\n`string type = 3;`\n\n### getTypeBytes()\n\n public abstract ByteString getTypeBytes()\n\nThe type of the Google Cloud resource. Use the Unified Resource Type,\neg. compute.googleapis.com/Instance.\n\n`string type = 3;`\n\n### hasCloudSqlInstanceDatasourceProperties()\n\n public abstract boolean hasCloudSqlInstanceDatasourceProperties()\n\nOutput only. CloudSqlInstanceDataSourceProperties has a subset of Cloud\nSQL Instance properties that are useful at the Datasource level.\n\n`\n.google.cloud.backupdr.v1.CloudSqlInstanceDataSourceProperties cloud_sql_instance_datasource_properties = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasComputeInstanceDatasourceProperties()\n\n public abstract boolean hasComputeInstanceDatasourceProperties()\n\nComputeInstanceDataSourceProperties has a subset of Compute Instance\nproperties that are useful at the Datasource level.\n\n`\n.google.cloud.backupdr.v1.ComputeInstanceDataSourceProperties compute_instance_datasource_properties = 4;\n`\n\n### hasDiskDatasourceProperties()\n\n public abstract boolean hasDiskDatasourceProperties()\n\nDiskDataSourceProperties has a subset of Disk properties that are useful\nat the Datasource level.\n\n`.google.cloud.backupdr.v1.DiskDataSourceProperties disk_datasource_properties = 7;`"]]