Class RestoreTableRequest (2.32.0)

public final class RestoreTableRequest

Fluent wrapper for com.google.bigtable.admin.v2.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 and project as the destination table. To restore a table from a backup in another instance, use of method. To restore a table from a backup in another project, 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 the same or a different instance but the same project as the destination table. To restore a table from a backup in another project, use of method.

Parameters
NameDescription
sourceInstanceIdString
sourceClusterIdString
sourceBackupIdString
Returns
TypeDescription
RestoreTableRequest

of(String sourceInstanceId, String sourceClusterId, String sourceBackupId, String sourceProjectId)

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

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

Parameters
NameDescription
sourceInstanceIdString
sourceClusterIdString
sourceBackupIdString
sourceProjectIdString
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
com.google.bigtable.admin.v2.RestoreTableRequest