Class RestoreTableRequest (2.39.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
Name Description
sourceClusterId String
sourceBackupId String
Returns
Type Description
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
Name Description
sourceInstanceId String
sourceClusterId String
sourceBackupId String
Returns
Type Description
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
Name Description
sourceInstanceId String
sourceClusterId String
sourceBackupId String
sourceProjectId String
Returns
Type Description
RestoreTableRequest

Methods

equals(Object o)

public boolean equals(Object o)
Parameter
Name Description
o Object
Returns
Type Description
boolean
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

setTableId(String tableId)

public RestoreTableRequest setTableId(String tableId)
Parameter
Name Description
tableId String
Returns
Type Description
RestoreTableRequest

toProto(String projectId, String instanceId)

public RestoreTableRequest toProto(String projectId, String instanceId)
Parameters
Name Description
projectId String
instanceId String
Returns
Type Description
com.google.bigtable.admin.v2.RestoreTableRequest