Class RestoreTableRequest

java.lang.Object
com.google.cloud.bigtable.admin.v2.models.RestoreTableRequest

public final class RestoreTableRequest extends Object
Fluent wrapper for RestoreTableRequest
  • Method Details

    • of

      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.
    • of

      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.
    • of

      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.
    • setTableId

      public RestoreTableRequest setTableId(String tableId)
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toProto

      @InternalApi public com.google.bigtable.admin.v2.RestoreTableRequest toProto(@Nonnull String projectId, @Nonnull String instanceId)