Interface RestoreParametersOrBuilder (0.19.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
TypeDescription
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
TypeDescription
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract RestoreParameters.SourceCase getSourceCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the sourceSnapshot field is set.