Class RestoreTableRequest
java.lang.Object
com.google.cloud.bigtable.admin.v2.models.RestoreTableRequest
Fluent wrapper for
RestoreTableRequest-
Method Summary
Modifier and TypeMethodDescriptionbooleaninthashCode()static RestoreTableRequestCreate aRestoreTableRequestobject.static RestoreTableRequestCreate aRestoreTableRequestobject.static RestoreTableRequestCreate aRestoreTableRequestobject.setTableId(String tableId)
-
Method Details
-
of
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
-
equals
-
hashCode
public int hashCode() -
toProto
@InternalApi public RestoreTableRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)
-