[[["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 DataSourceReferenceOrBuilder (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.DataSourceReferenceOrBuilder)\n- [0.29.0](/java/docs/reference/google-cloud-backupdr/0.29.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.27.0](/java/docs/reference/google-cloud-backupdr/0.27.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.26.0](/java/docs/reference/google-cloud-backupdr/0.26.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.23.0](/java/docs/reference/google-cloud-backupdr/0.23.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.22.0](/java/docs/reference/google-cloud-backupdr/0.22.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.21.0](/java/docs/reference/google-cloud-backupdr/0.21.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.19.0](/java/docs/reference/google-cloud-backupdr/0.19.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.18.0](/java/docs/reference/google-cloud-backupdr/0.18.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.17.0](/java/docs/reference/google-cloud-backupdr/0.17.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.16.0](/java/docs/reference/google-cloud-backupdr/0.16.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.15.0](/java/docs/reference/google-cloud-backupdr/0.15.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.14.0](/java/docs/reference/google-cloud-backupdr/0.14.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.13.0](/java/docs/reference/google-cloud-backupdr/0.13.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.12.0](/java/docs/reference/google-cloud-backupdr/0.12.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.11.0](/java/docs/reference/google-cloud-backupdr/0.11.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.10.0](/java/docs/reference/google-cloud-backupdr/0.10.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.8.0](/java/docs/reference/google-cloud-backupdr/0.8.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.7.0](/java/docs/reference/google-cloud-backupdr/0.7.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.6.0](/java/docs/reference/google-cloud-backupdr/0.6.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.5.0](/java/docs/reference/google-cloud-backupdr/0.5.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.4.0](/java/docs/reference/google-cloud-backupdr/0.4.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.3.0](/java/docs/reference/google-cloud-backupdr/0.3.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.2.0](/java/docs/reference/google-cloud-backupdr/0.2.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder)\n- [0.1.0](/java/docs/reference/google-cloud-backupdr/0.1.0/com.google.cloud.backupdr.v1.DataSourceReferenceOrBuilder) \n\n public interface DataSourceReferenceOrBuilder 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### getCreateTime()\n\n public abstract Timestamp getCreateTime()\n\nOutput only. The time when the DataSourceReference was created.\n\n`.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getCreateTimeOrBuilder()\n\n public abstract TimestampOrBuilder getCreateTimeOrBuilder()\n\nOutput only. The time when the DataSourceReference was created.\n\n`.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDataSource()\n\n public abstract String getDataSource()\n\nOutput only. The resource name of the DataSource.\nFormat:\nprojects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}\n\n`\nstring data_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }\n`\n\n### getDataSourceBackupConfigInfo()\n\n public abstract DataSourceBackupConfigInfo getDataSourceBackupConfigInfo()\n\nOutput only. Information of backup configuration on the DataSource.\n\n`\n.google.cloud.backupdr.v1.DataSourceBackupConfigInfo data_source_backup_config_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDataSourceBackupConfigInfoOrBuilder()\n\n public abstract DataSourceBackupConfigInfoOrBuilder getDataSourceBackupConfigInfoOrBuilder()\n\nOutput only. Information of backup configuration on the DataSource.\n\n`\n.google.cloud.backupdr.v1.DataSourceBackupConfigInfo data_source_backup_config_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDataSourceBackupConfigState()\n\n public abstract BackupConfigState getDataSourceBackupConfigState()\n\nOutput only. The backup configuration state of the DataSource.\n\n`\n.google.cloud.backupdr.v1.BackupConfigState data_source_backup_config_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDataSourceBackupConfigStateValue()\n\n public abstract int getDataSourceBackupConfigStateValue()\n\nOutput only. The backup configuration state of the DataSource.\n\n`\n.google.cloud.backupdr.v1.BackupConfigState data_source_backup_config_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDataSourceBackupCount()\n\n public abstract long getDataSourceBackupCount()\n\nOutput only. Number of backups in the DataSource.\n\n`int64 data_source_backup_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];`\n\n### getDataSourceBytes()\n\n public abstract ByteString getDataSourceBytes()\n\nOutput only. The resource name of the DataSource.\nFormat:\nprojects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}\n\n`\nstring data_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }\n`\n\n### getDataSourceGcpResourceInfo()\n\n public abstract DataSourceGcpResourceInfo getDataSourceGcpResourceInfo()\n\nOutput only. The GCP resource that the DataSource is associated with.\n\n`\n.google.cloud.backupdr.v1.DataSourceGcpResourceInfo data_source_gcp_resource_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getDataSourceGcpResourceInfoOrBuilder()\n\n public abstract DataSourceGcpResourceInfoOrBuilder getDataSourceGcpResourceInfoOrBuilder()\n\nOutput only. The GCP resource that the DataSource is associated with.\n\n`\n.google.cloud.backupdr.v1.DataSourceGcpResourceInfo data_source_gcp_resource_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### getName()\n\n public abstract String getName()\n\nIdentifier. The resource name of the DataSourceReference.\nFormat:\nprojects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}\n\n`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`\n\n### getNameBytes()\n\n public abstract ByteString getNameBytes()\n\nIdentifier. The resource name of the DataSourceReference.\nFormat:\nprojects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}\n\n`string name = 1 [(.google.api.field_behavior) = IDENTIFIER];`\n\n### hasCreateTime()\n\n public abstract boolean hasCreateTime()\n\nOutput only. The time when the DataSourceReference was created.\n\n`.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasDataSourceBackupConfigInfo()\n\n public abstract boolean hasDataSourceBackupConfigInfo()\n\nOutput only. Information of backup configuration on the DataSource.\n\n`\n.google.cloud.backupdr.v1.DataSourceBackupConfigInfo data_source_backup_config_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`\n\n### hasDataSourceGcpResourceInfo()\n\n public abstract boolean hasDataSourceGcpResourceInfo()\n\nOutput only. The GCP resource that the DataSource is associated with.\n\n`\n.google.cloud.backupdr.v1.DataSourceGcpResourceInfo data_source_gcp_resource_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];\n`"]]