Interface RestoreInstanceRequestOrBuilder (1.13.0)

public interface RestoreInstanceRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileShare()

public abstract String getFileShare()

Required. Name of the file share in the Filestore instance that the snapshot is being restored to.

string file_share = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The fileShare.

getFileShareBytes()

public abstract ByteString getFileShareBytes()

Required. Name of the file share in the Filestore instance that the snapshot is being restored to.

string file_share = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for fileShare.

getName()

public abstract String getName()

Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Required. The resource name of the instance, in the format projects/{project_id}/locations/{location_id}/instances/{instance_id}.

string name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for name.

getSourceBackup()

public abstract String getSourceBackup()

The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.

string source_backup = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The sourceBackup.

getSourceBackupBytes()

public abstract ByteString getSourceBackupBytes()

The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.

string source_backup = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for sourceBackup.

getSourceCase()

public abstract RestoreInstanceRequest.SourceCase getSourceCase()
Returns
TypeDescription
RestoreInstanceRequest.SourceCase

getSourceSnapshot()

public abstract String getSourceSnapshot()

The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}.

string source_snapshot = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The sourceSnapshot.

getSourceSnapshotBytes()

public abstract ByteString getSourceSnapshotBytes()

The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}.

string source_snapshot = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for sourceSnapshot.

hasSourceBackup()

public abstract boolean hasSourceBackup()

The resource name of the backup, in the format projects/{project_id}/locations/{location_id}/backups/{backup_id}.

string source_backup = 4 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the sourceBackup field is set.

hasSourceSnapshot()

public abstract boolean hasSourceSnapshot()

The resource name of the snapshot, in the format projects/{project_id}/locations/{location_id}/snapshots/{snapshot_id}.

string source_snapshot = 3 [(.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the sourceSnapshot field is set.