Interface RestoreTableRequestOrBuilder (2.5.3)

public interface RestoreTableRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBackup()

public abstract String getBackup()

Name of the backup from which to restore. Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

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

Returns
TypeDescription
String

The backup.

getBackupBytes()

public abstract ByteString getBackupBytes()

Name of the backup from which to restore. Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

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

Returns
TypeDescription
ByteString

The bytes for backup.

getParent()

public abstract String getParent()

Required. The name of the instance in which to create the restored table. This instance must be in the same project as the source backup. Values are of the form projects/<project>/instances/<instance>.

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

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. The name of the instance in which to create the restored table. This instance must be in the same project as the source backup. Values are of the form projects/<project>/instances/<instance>.

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

Returns
TypeDescription
ByteString

The bytes for parent.

getSourceCase()

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

getTableId()

public abstract String getTableId()

Required. The id of the table to create and restore to. This table must not already exist. The table_id appended to parent forms the full table name of the form projects/<project>/instances/<instance>/tables/<table_id>.

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

Returns
TypeDescription
String

The tableId.

getTableIdBytes()

public abstract ByteString getTableIdBytes()

Required. The id of the table to create and restore to. This table must not already exist. The table_id appended to parent forms the full table name of the form projects/<project>/instances/<instance>/tables/<table_id>.

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

Returns
TypeDescription
ByteString

The bytes for tableId.

hasBackup()

public abstract boolean hasBackup()

Name of the backup from which to restore. Values are of the form projects/<project>/instances/<instance>/clusters/<cluster>/backups/<backup>.

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

Returns
TypeDescription
boolean

Whether the backup field is set.