Package com.google.bigtable.admin.v2
Interface RestoreTableMetadataOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
RestoreTableMetadata,RestoreTableMetadata.Builder
public interface RestoreTableMetadataOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescription.google.bigtable.admin.v2.BackupInfo backup_info = 3;.google.bigtable.admin.v2.BackupInfo backup_info = 3;getName()Name of the table being created and restored to.com.google.protobuf.ByteStringName of the table being created and restored to.If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table.com.google.protobuf.ByteStringIf exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table.The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.The type of the restore source.intThe type of the restore source.boolean.google.bigtable.admin.v2.BackupInfo backup_info = 3;booleanThe progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getName
String getName()Name of the table being created and restored to.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()Name of the table being created and restored to.
string name = 1;- Returns:
- The bytes for name.
-
getSourceTypeValue
int getSourceTypeValue()The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;- Returns:
- The enum numeric value on the wire for sourceType.
-
getSourceType
RestoreSourceType getSourceType()The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;- Returns:
- The sourceType.
-
hasBackupInfo
boolean hasBackupInfo().google.bigtable.admin.v2.BackupInfo backup_info = 3;- Returns:
- Whether the backupInfo field is set.
-
getBackupInfo
BackupInfo getBackupInfo().google.bigtable.admin.v2.BackupInfo backup_info = 3;- Returns:
- The backupInfo.
-
getBackupInfoOrBuilder
BackupInfoOrBuilder getBackupInfoOrBuilder().google.bigtable.admin.v2.BackupInfo backup_info = 3; -
getOptimizeTableOperationName
String getOptimizeTableOperationName()If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is [OptimizeRestoreTableMetadata][]. The response type is [Empty][google.protobuf.Empty]. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.
string optimize_table_operation_name = 4;- Returns:
- The optimizeTableOperationName.
-
getOptimizeTableOperationNameBytes
com.google.protobuf.ByteString getOptimizeTableOperationNameBytes()If exists, the name of the long-running operation that will be used to track the post-restore optimization process to optimize the performance of the restored table. The metadata type of the long-running operation is [OptimizeRestoreTableMetadata][]. The response type is [Empty][google.protobuf.Empty]. This long-running operation may be automatically created by the system if applicable after the RestoreTable long-running operation completes successfully. This operation may not be created if the table is already optimized or the restore was not successful.
string optimize_table_operation_name = 4;- Returns:
- The bytes for optimizeTableOperationName.
-
hasProgress
boolean hasProgress()The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;- Returns:
- Whether the progress field is set.
-
getProgress
OperationProgress getProgress()The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;- Returns:
- The progress.
-
getProgressOrBuilder
OperationProgressOrBuilder getProgressOrBuilder()The progress of the [RestoreTable][google.bigtable.admin.v2.BigtableTableAdmin.RestoreTable] operation.
.google.bigtable.admin.v2.OperationProgress progress = 5; -
getSourceInfoCase
RestoreTableMetadata.SourceInfoCase getSourceInfoCase()
-