Interface DataSourceReferenceOrBuilder (0.39.0)

public interface DataSourceReferenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCreateTime()

public abstract Timestamp getCreateTime()

Output only. The time when the DataSourceReference was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
Timestamp

The createTime.

getCreateTimeOrBuilder()

public abstract TimestampOrBuilder getCreateTimeOrBuilder()

Output only. The time when the DataSourceReference was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
TimestampOrBuilder

getDataSource()

public abstract String getDataSource()

Output only. The resource name of the DataSource. Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}

string data_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The dataSource.

getDataSourceBackupConfigInfo()

public abstract DataSourceBackupConfigInfo getDataSourceBackupConfigInfo()

Output only. Information of backup configuration on the DataSource.

.google.cloud.backupdr.v1.DataSourceBackupConfigInfo data_source_backup_config_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataSourceBackupConfigInfo

The dataSourceBackupConfigInfo.

getDataSourceBackupConfigInfoOrBuilder()

public abstract DataSourceBackupConfigInfoOrBuilder getDataSourceBackupConfigInfoOrBuilder()

Output only. Information of backup configuration on the DataSource.

.google.cloud.backupdr.v1.DataSourceBackupConfigInfo data_source_backup_config_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataSourceBackupConfigInfoOrBuilder

getDataSourceBackupConfigState()

public abstract BackupConfigState getDataSourceBackupConfigState()

Output only. The backup configuration state of the DataSource.

.google.cloud.backupdr.v1.BackupConfigState data_source_backup_config_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
BackupConfigState

The dataSourceBackupConfigState.

getDataSourceBackupConfigStateValue()

public abstract int getDataSourceBackupConfigStateValue()

Output only. The backup configuration state of the DataSource.

.google.cloud.backupdr.v1.BackupConfigState data_source_backup_config_state = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for dataSourceBackupConfigState.

getDataSourceBackupCount()

public abstract long getDataSourceBackupCount()

Output only. Number of backups in the DataSource.

int64 data_source_backup_count = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The dataSourceBackupCount.

getDataSourceBytes()

public abstract ByteString getDataSourceBytes()

Output only. The resource name of the DataSource. Format: projects/{project}/locations/{location}/backupVaults/{backupVault}/dataSources/{dataSource}

string data_source = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for dataSource.

getDataSourceGcpResourceInfo()

public abstract DataSourceGcpResourceInfo getDataSourceGcpResourceInfo()

Output only. The GCP resource that the DataSource is associated with.

.google.cloud.backupdr.v1.DataSourceGcpResourceInfo data_source_gcp_resource_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataSourceGcpResourceInfo

The dataSourceGcpResourceInfo.

getDataSourceGcpResourceInfoOrBuilder()

public abstract DataSourceGcpResourceInfoOrBuilder getDataSourceGcpResourceInfoOrBuilder()

Output only. The GCP resource that the DataSource is associated with.

.google.cloud.backupdr.v1.DataSourceGcpResourceInfo data_source_gcp_resource_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
DataSourceGcpResourceInfoOrBuilder

getName()

public abstract String getName()

Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the DataSourceReference. Format: projects/{project}/locations/{location}/dataSourceReferences/{data_source_reference}

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getTotalStoredBytes()

public abstract long getTotalStoredBytes()

Output only. Total size of the storage used by all backup resources for the referenced datasource.

optional int64 total_stored_bytes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The totalStoredBytes.

hasCreateTime()

public abstract boolean hasCreateTime()

Output only. The time when the DataSourceReference was created.

.google.protobuf.Timestamp create_time = 3 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the createTime field is set.

hasDataSourceBackupConfigInfo()

public abstract boolean hasDataSourceBackupConfigInfo()

Output only. Information of backup configuration on the DataSource.

.google.cloud.backupdr.v1.DataSourceBackupConfigInfo data_source_backup_config_info = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataSourceBackupConfigInfo field is set.

hasDataSourceGcpResourceInfo()

public abstract boolean hasDataSourceGcpResourceInfo()

Output only. The GCP resource that the DataSource is associated with.

.google.cloud.backupdr.v1.DataSourceGcpResourceInfo data_source_gcp_resource_info = 7 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the dataSourceGcpResourceInfo field is set.

hasTotalStoredBytes()

public abstract boolean hasTotalStoredBytes()

Output only. Total size of the storage used by all backup resources for the referenced datasource.

optional int64 total_stored_bytes = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the totalStoredBytes field is set.