public final class RestoreTableMetadata extends GeneratedMessageV3 implements RestoreTableMetadataOrBuilder
Metadata type for the long-running operation returned by
RestoreTable.
Protobuf type google.bigtable.admin.v2.RestoreTableMetadata
Static Fields
public static final int BACKUP_INFO_FIELD_NUMBER
Field Value
public static final int NAME_FIELD_NUMBER
Field Value
public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER
Field Value
public static final int PROGRESS_FIELD_NUMBER
Field Value
public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Static Methods
public static RestoreTableMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static RestoreTableMetadata.Builder newBuilder()
Returns
public static RestoreTableMetadata.Builder newBuilder(RestoreTableMetadata prototype)
Parameter
Returns
public static RestoreTableMetadata parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static RestoreTableMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RestoreTableMetadata parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
public static RestoreTableMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RestoreTableMetadata parseFrom(ByteString data)
Parameter
Returns
Exceptions
public static RestoreTableMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RestoreTableMetadata parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static RestoreTableMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RestoreTableMetadata parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static RestoreTableMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static RestoreTableMetadata parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
public static RestoreTableMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static Parser<RestoreTableMetadata> parser()
Returns
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public BackupInfo getBackupInfo()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Returns
public BackupInfoOrBuilder getBackupInfoOrBuilder()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Returns
public RestoreTableMetadata getDefaultInstanceForType()
Returns
Name of the table being created and restored to.
string name = 1;
Returns
Type | Description |
String | The name.
|
public ByteString getNameBytes()
Name of the table being created and restored to.
string name = 1;
Returns
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;
Returns
Type | Description |
String | The optimizeTableOperationName.
|
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;
Returns
Type | Description |
ByteString | The bytes for optimizeTableOperationName.
|
public Parser<RestoreTableMetadata> getParserForType()
Returns
Overrides
public OperationProgress getProgress()
The progress of the RestoreTable
operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Returns
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the RestoreTable
operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Returns
public int getSerializedSize()
Returns
Overrides
public RestoreTableMetadata.SourceInfoCase getSourceInfoCase()
Returns
public RestoreSourceType getSourceType()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Returns
public int getSourceTypeValue()
The type of the restore source.
.google.bigtable.admin.v2.RestoreSourceType source_type = 2;
Returns
Type | Description |
int | The enum numeric value on the wire for sourceType.
|
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
public boolean hasBackupInfo()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Returns
Type | Description |
boolean | Whether the backupInfo field is set.
|
public boolean hasProgress()
The progress of the RestoreTable
operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Returns
Type | Description |
boolean | Whether the progress field is set.
|
Returns
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
public final boolean isInitialized()
Returns
Overrides
public RestoreTableMetadata.Builder newBuilderForType()
Returns
protected RestoreTableMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public RestoreTableMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions