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 booleanequals(Object o)inthashCode()static RestoreTableRequestof(String sourceClusterId, String sourceBackupId)Create aRestoreTableRequestobject.static RestoreTableRequestof(String sourceInstanceId, String sourceClusterId, String sourceBackupId)Create aRestoreTableRequestobject.static RestoreTableRequestof(String sourceInstanceId, String sourceClusterId, String sourceBackupId, String sourceProjectId)Create aRestoreTableRequestobject.RestoreTableRequestsetTableId(String tableId)RestoreTableRequesttoProto(String projectId, String instanceId)
-
-
-
Method Detail
-
of
public static RestoreTableRequest of(String sourceClusterId, String sourceBackupId)
Create aRestoreTableRequestobject. 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, useofmethod. To restore a table from a backup in another project, useofmethod.
-
of
public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId)
Create aRestoreTableRequestobject. 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, useofmethod.
-
of
public static RestoreTableRequest of(String sourceInstanceId, String sourceClusterId, String sourceBackupId, String sourceProjectId)
Create aRestoreTableRequestobject. 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)
-
-