Interface RestoreParametersOrBuilder (0.3.0)

public interface RestoreParametersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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.