public static final class RestoreTableMetadata.Builder extends GeneratedMessageV3.Builder<RestoreTableMetadata.Builder> implements RestoreTableMetadataOrBuilder
Metadata type for the long-running operation returned by RestoreTable.
Protobuf type google.bigtable.admin.v2.RestoreTableMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreTableMetadata.BuilderImplements
RestoreTableMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreTableMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreTableMetadata.Builder |
build()
public RestoreTableMetadata build()
Type | Description |
RestoreTableMetadata |
buildPartial()
public RestoreTableMetadata buildPartial()
Type | Description |
RestoreTableMetadata |
clear()
public RestoreTableMetadata.Builder clear()
Type | Description |
RestoreTableMetadata.Builder |
clearBackupInfo()
public RestoreTableMetadata.Builder clearBackupInfo()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
RestoreTableMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreTableMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RestoreTableMetadata.Builder |
clearName()
public RestoreTableMetadata.Builder clearName()
Name of the table being created and restored to.
string name = 1;
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreTableMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RestoreTableMetadata.Builder |
clearOptimizeTableOperationName()
public RestoreTableMetadata.Builder clearOptimizeTableOperationName()
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. 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;
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
clearProgress()
public RestoreTableMetadata.Builder clearProgress()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
RestoreTableMetadata.Builder |
clearSourceInfo()
public RestoreTableMetadata.Builder clearSourceInfo()
Type | Description |
RestoreTableMetadata.Builder |
clearSourceType()
public RestoreTableMetadata.Builder clearSourceType()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
clone()
public RestoreTableMetadata.Builder clone()
Type | Description |
RestoreTableMetadata.Builder |
getBackupInfo()
public BackupInfo getBackupInfo()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
BackupInfo | The backupInfo. |
getBackupInfoBuilder()
public BackupInfo.Builder getBackupInfoBuilder()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
BackupInfo.Builder |
getBackupInfoOrBuilder()
public BackupInfoOrBuilder getBackupInfoOrBuilder()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
BackupInfoOrBuilder |
getDefaultInstanceForType()
public RestoreTableMetadata getDefaultInstanceForType()
Type | Description |
RestoreTableMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Name of the table being created and restored to.
string name = 1;
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the table being created and restored to.
string name = 1;
Type | Description |
ByteString | The bytes for name. |
getOptimizeTableOperationName()
public 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. 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;
Type | Description |
String | The optimizeTableOperationName. |
getOptimizeTableOperationNameBytes()
public 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. 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;
Type | Description |
ByteString | The bytes for optimizeTableOperationName. |
getProgress()
public OperationProgress getProgress()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
OperationProgress | The progress. |
getProgressBuilder()
public OperationProgress.Builder getProgressBuilder()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
OperationProgress.Builder |
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
OperationProgressOrBuilder |
getSourceInfoCase()
public RestoreTableMetadata.SourceInfoCase getSourceInfoCase()
Type | Description |
RestoreTableMetadata.SourceInfoCase |
getSourceType()
public RestoreSourceType getSourceType()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Type | Description |
RestoreSourceType | The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Type | Description |
int | The enum numeric value on the wire for sourceType. |
hasBackupInfo()
public boolean hasBackupInfo()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
boolean | Whether the backupInfo field is set. |
hasProgress()
public boolean hasProgress()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
boolean | Whether the progress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeBackupInfo(BackupInfo value)
public RestoreTableMetadata.Builder mergeBackupInfo(BackupInfo value)
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Name | Description |
value | BackupInfo |
Type | Description |
RestoreTableMetadata.Builder |
mergeFrom(RestoreTableMetadata other)
public RestoreTableMetadata.Builder mergeFrom(RestoreTableMetadata other)
Name | Description |
other | RestoreTableMetadata |
Type | Description |
RestoreTableMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreTableMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreTableMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RestoreTableMetadata.Builder |
mergeProgress(OperationProgress value)
public RestoreTableMetadata.Builder mergeProgress(OperationProgress value)
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Name | Description |
value | OperationProgress |
Type | Description |
RestoreTableMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreTableMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreTableMetadata.Builder |
setBackupInfo(BackupInfo value)
public RestoreTableMetadata.Builder setBackupInfo(BackupInfo value)
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Name | Description |
value | BackupInfo |
Type | Description |
RestoreTableMetadata.Builder |
setBackupInfo(BackupInfo.Builder builderForValue)
public RestoreTableMetadata.Builder setBackupInfo(BackupInfo.Builder builderForValue)
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Name | Description |
builderForValue | BackupInfo.Builder |
Type | Description |
RestoreTableMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreTableMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreTableMetadata.Builder |
setName(String value)
public RestoreTableMetadata.Builder setName(String value)
Name of the table being created and restored to.
string name = 1;
Name | Description |
value | String The name to set. |
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public RestoreTableMetadata.Builder setNameBytes(ByteString value)
Name of the table being created and restored to.
string name = 1;
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
setOptimizeTableOperationName(String value)
public RestoreTableMetadata.Builder setOptimizeTableOperationName(String value)
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. 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;
Name | Description |
value | String The optimizeTableOperationName to set. |
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
setOptimizeTableOperationNameBytes(ByteString value)
public RestoreTableMetadata.Builder setOptimizeTableOperationNameBytes(ByteString value)
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. 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;
Name | Description |
value | ByteString The bytes for optimizeTableOperationName to set. |
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
setProgress(OperationProgress value)
public RestoreTableMetadata.Builder setProgress(OperationProgress value)
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Name | Description |
value | OperationProgress |
Type | Description |
RestoreTableMetadata.Builder |
setProgress(OperationProgress.Builder builderForValue)
public RestoreTableMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Name | Description |
builderForValue | OperationProgress.Builder |
Type | Description |
RestoreTableMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreTableMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RestoreTableMetadata.Builder |
setSourceType(RestoreSourceType value)
public RestoreTableMetadata.Builder setSourceType(RestoreSourceType value)
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Name | Description |
value | RestoreSourceType The sourceType to set. |
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
setSourceTypeValue(int value)
public RestoreTableMetadata.Builder setSourceTypeValue(int value)
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Name | Description |
value | int The enum numeric value on the wire for sourceType to set. |
Type | Description |
RestoreTableMetadata.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreTableMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreTableMetadata.Builder |