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
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RestoreTableMetadataImplements
RestoreTableMetadataOrBuilderFields
BACKUP_INFO_FIELD_NUMBER
public static final int BACKUP_INFO_FIELD_NUMBER
Type | Description |
int |
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER
public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER
Type | Description |
int |
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Type | Description |
int |
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getBackupInfo()
public BackupInfo getBackupInfo()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
BackupInfo | The backupInfo. |
getBackupInfoOrBuilder()
public BackupInfoOrBuilder getBackupInfoOrBuilder()
.google.bigtable.admin.v2.BackupInfo backup_info = 3;
Type | Description |
BackupInfoOrBuilder |
getDefaultInstance()
public static RestoreTableMetadata getDefaultInstance()
Type | Description |
RestoreTableMetadata |
getDefaultInstanceForType()
public RestoreTableMetadata getDefaultInstanceForType()
Type | Description |
RestoreTableMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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. |
getParserForType()
public Parser<RestoreTableMetadata> getParserForType()
Type | Description |
Parser<RestoreTableMetadata> |
getProgress()
public OperationProgress getProgress()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
OperationProgress | The progress. |
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the RestoreTable operation.
.google.bigtable.admin.v2.OperationProgress progress = 5;
Type | Description |
OperationProgressOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static RestoreTableMetadata.Builder newBuilder()
Type | Description |
RestoreTableMetadata.Builder |
newBuilder(RestoreTableMetadata prototype)
public static RestoreTableMetadata.Builder newBuilder(RestoreTableMetadata prototype)
Name | Description |
prototype | RestoreTableMetadata |
Type | Description |
RestoreTableMetadata.Builder |
newBuilderForType()
public RestoreTableMetadata.Builder newBuilderForType()
Type | Description |
RestoreTableMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestoreTableMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RestoreTableMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static RestoreTableMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RestoreTableMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTableMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RestoreTableMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RestoreTableMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreTableMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RestoreTableMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RestoreTableMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreTableMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RestoreTableMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RestoreTableMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTableMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RestoreTableMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RestoreTableMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreTableMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RestoreTableMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RestoreTableMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreTableMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreTableMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RestoreTableMetadata> parser()
Type | Description |
Parser<RestoreTableMetadata> |
toBuilder()
public RestoreTableMetadata.Builder toBuilder()
Type | Description |
RestoreTableMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |