Interface RestoreParametersOrBuilder (0.34.0)

public interface RestoreParametersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getSourceBackup()

public abstract String getSourceBackup()

Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

string source_backup = 2;

Returns
Type Description
String

The sourceBackup.

getSourceBackupBytes()

public abstract ByteString getSourceBackupBytes()

Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

string source_backup = 2;

Returns
Type Description
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract RestoreParameters.SourceCase getSourceCase()
Returns
Type Description
RestoreParameters.SourceCase

getSourceSnapshot()

public abstract String getSourceSnapshot()

Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

string source_snapshot = 1;

Returns
Type Description
String

The sourceSnapshot.

getSourceSnapshotBytes()

public abstract ByteString getSourceSnapshotBytes()

Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

string source_snapshot = 1;

Returns
Type Description
ByteString

The bytes for sourceSnapshot.

hasSourceBackup()

public abstract boolean hasSourceBackup()

Full name of the backup resource. Format: projects/{project}/locations/{location}/backupVaults/{backup_vault_id}/backups/{backup_id}

string source_backup = 2;

Returns
Type Description
boolean

Whether the sourceBackup field is set.

hasSourceSnapshot()

public abstract boolean hasSourceSnapshot()

Full name of the snapshot resource. Format: projects/{project}/locations/{location}/volumes/{volume}/snapshots/{snapshot}

string source_snapshot = 1;

Returns
Type Description
boolean

Whether the sourceSnapshot field is set.