Class RestoreTableRequest (2.67.1)
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
|
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
|
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.
Methods
equals(Object o)
public boolean equals(Object o)
Parameter |
Name |
Description |
o |
Object
|
Overrides
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
setTableId(String tableId)
public RestoreTableRequest setTableId(String tableId)
Parameter |
Name |
Description |
tableId |
String
|
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 |
|
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-10-11 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-10-11 UTC."],[],[]]