Class RestoreTableMetadata (2.13.0)

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

BACKUP_INFO_FIELD_NUMBER

public static final int BACKUP_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER

public static final int OPTIMIZE_TABLE_OPERATION_NAME_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static RestoreTableMetadata getDefaultInstance()
Returns
TypeDescription
RestoreTableMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static RestoreTableMetadata.Builder newBuilder()
Returns
TypeDescription
RestoreTableMetadata.Builder

newBuilder(RestoreTableMetadata prototype)

public static RestoreTableMetadata.Builder newBuilder(RestoreTableMetadata prototype)
Parameter
NameDescription
prototypeRestoreTableMetadata
Returns
TypeDescription
RestoreTableMetadata.Builder

parseDelimitedFrom(InputStream input)

public static RestoreTableMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreTableMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static RestoreTableMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RestoreTableMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RestoreTableMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RestoreTableMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RestoreTableMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreTableMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static RestoreTableMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreTableMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static RestoreTableMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RestoreTableMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RestoreTableMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<RestoreTableMetadata> parser()
Returns
TypeDescription
Parser<RestoreTableMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getBackupInfo()

public BackupInfo getBackupInfo()

.google.bigtable.admin.v2.BackupInfo backup_info = 3;

Returns
TypeDescription
BackupInfo

The backupInfo.

getBackupInfoOrBuilder()

public BackupInfoOrBuilder getBackupInfoOrBuilder()

.google.bigtable.admin.v2.BackupInfo backup_info = 3;

Returns
TypeDescription
BackupInfoOrBuilder

getDefaultInstanceForType()

public RestoreTableMetadata getDefaultInstanceForType()
Returns
TypeDescription
RestoreTableMetadata

getName()

public String getName()

Name of the table being created and restored to.

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the table being created and restored to.

string name = 1;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
ByteString

The bytes for optimizeTableOperationName.

getParserForType()

public Parser<RestoreTableMetadata> getParserForType()
Returns
TypeDescription
Parser<RestoreTableMetadata>
Overrides

getProgress()

public OperationProgress getProgress()

The progress of the RestoreTable operation.

.google.bigtable.admin.v2.OperationProgress progress = 5;

Returns
TypeDescription
OperationProgress

The progress.

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the RestoreTable operation.

.google.bigtable.admin.v2.OperationProgress progress = 5;

Returns
TypeDescription
OperationProgressOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceInfoCase()

public RestoreTableMetadata.SourceInfoCase getSourceInfoCase()
Returns
TypeDescription
RestoreTableMetadata.SourceInfoCase

getSourceType()

public RestoreSourceType getSourceType()

The type of the restore source.

.google.bigtable.admin.v2.RestoreSourceType source_type = 2;

Returns
TypeDescription
RestoreSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The type of the restore source.

.google.bigtable.admin.v2.RestoreSourceType source_type = 2;

Returns
TypeDescription
int

The enum numeric value on the wire for sourceType.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hasBackupInfo()

public boolean hasBackupInfo()

.google.bigtable.admin.v2.BackupInfo backup_info = 3;

Returns
TypeDescription
boolean

Whether the backupInfo field is set.

hasProgress()

public boolean hasProgress()

The progress of the RestoreTable operation.

.google.bigtable.admin.v2.OperationProgress progress = 5;

Returns
TypeDescription
boolean

Whether the progress field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public RestoreTableMetadata.Builder newBuilderForType()
Returns
TypeDescription
RestoreTableMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RestoreTableMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
RestoreTableMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public RestoreTableMetadata.Builder toBuilder()
Returns
TypeDescription
RestoreTableMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException