Interface AutoProtectionDetailsOrBuilder (0.58.0)

public interface AutoProtectionDetailsOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackupPlanAssociation()

public abstract String getBackupPlanAssociation()

Output only. Resource name of backup plan association linked to the resource, if any. Format: projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

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

Returns
Type Description
String

The backupPlanAssociation.

getBackupPlanAssociationBytes()

public abstract ByteString getBackupPlanAssociationBytes()

Output only. Resource name of backup plan association linked to the resource, if any. Format: projects/{project}/locations/{location}/backupPlanAssociations/{backupPlanAssociationId}

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

Returns
Type Description
ByteString

The bytes for backupPlanAssociation.

getDataSource()

public abstract String getDataSource()

Output only. Resource name of the datasource linked to the resource, if any. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{dataSourceId}

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

Returns
Type Description
String

The dataSource.

getDataSourceBytes()

public abstract ByteString getDataSourceBytes()

Output only. Resource name of the datasource linked to the resource, if any. Format: projects/{project}/locations/{location}/backupVaults/{backupVaultId}/dataSources/{dataSourceId}

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

Returns
Type Description
ByteString

The bytes for dataSource.

getError()

public abstract Status getError()

Output only. Error during last sync for protection/unprotection, if any.

.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.Status

The error.

getErrorOrBuilder()

public abstract StatusOrBuilder getErrorOrBuilder()

Output only. Error during last sync for protection/unprotection, if any.

.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
com.google.rpc.StatusOrBuilder

getState()

public abstract AutoProtectionDetails.State getState()

Output only. Protection state of the resource from the current binding's perspective. Output only.

.google.cloud.backupdr.v1beta.AutoProtectionDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
AutoProtectionDetails.State

The state.

getStateValue()

public abstract int getStateValue()

Output only. Protection state of the resource from the current binding's perspective. Output only.

.google.cloud.backupdr.v1beta.AutoProtectionDetails.State state = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for state.

hasError()

public abstract boolean hasError()

Output only. Error during last sync for protection/unprotection, if any.

.google.rpc.Status error = 4 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

Whether the error field is set.