Class RestoreTableRequest (2.7.0)

public final class RestoreTableRequest

Inheritance

Object > RestoreTableRequest

Static Methods

of(String sourceClusterId, String sourceBackupId)

public static RestoreTableRequest of(String sourceClusterId, String sourceBackupId)

Create a RestoreTableRequest object. It assumes the source backup locates in the same instance as the destination table. To restore a table from a backup in another instance, use of method.

Parameters
NameDescription
sourceClusterIdString
sourceBackupIdString
Returns
TypeDescription
RestoreTableRequest

of(String sourceInstanceId, String sourceClusterId, String sourceBackupId)

public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId)

Create a RestoreTableRequest object. The source backup could locate in a the same or a different instance.

Parameters
NameDescription
sourceInstanceIdString
sourceClusterIdString
sourceBackupIdString
Returns
TypeDescription
RestoreTableRequest

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
NameDescription
oObject
Returns
TypeDescription
boolean
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

setTableId(String tableId)

public RestoreTableRequest setTableId(String tableId)
Parameter
NameDescription
tableIdString
Returns
TypeDescription
RestoreTableRequest

toProto(String projectId, String instanceId)

public RestoreTableRequest toProto(String projectId, String instanceId)
Parameters
NameDescription
projectIdString
instanceIdString
Returns
TypeDescription
RestoreTableRequest