Interface RestoreParametersOrBuilder (0.10.0)

public interface RestoreParametersOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

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.

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.