Class RestoreTableRequest
- java.lang.Object
-
- com.google.cloud.bigtable.admin.v2.models.RestoreTableRequest
-
public final class RestoreTableRequest extends Object
Fluent wrapper forRestoreTableRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(Object o)
int
hashCode()
static RestoreTableRequest
of(String sourceClusterId, String sourceBackupId)
Create aRestoreTableRequest
object.static RestoreTableRequest
of(String sourceInstanceId, String sourceClusterId, String sourceBackupId)
Create aRestoreTableRequest
object.static RestoreTableRequest
of(String sourceInstanceId, String sourceClusterId, String sourceBackupId, String sourceProjectId)
Create aRestoreTableRequest
object.RestoreTableRequest
setTableId(String tableId)
RestoreTableRequest
toProto(String projectId, String instanceId)
-
-
-
Method Detail
-
of
public static RestoreTableRequest of(String sourceClusterId, String sourceBackupId)
Create aRestoreTableRequest
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, useof
method. To restore a table from a backup in another project, useof
method.
-
of
public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId)
Create aRestoreTableRequest
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, useof
method.
-
of
public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId, String sourceProjectId)
Create aRestoreTableRequest
object. The source backup could locate in the same or a different instance and/or project.
-
setTableId
public RestoreTableRequest setTableId(String tableId)
-
toProto
@InternalApi public RestoreTableRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
-
-