Class RestoreInfo (2.17.1)

public final class RestoreInfo extends GeneratedMessageV3 implements RestoreInfoOrBuilder

Information about a table restore.

Protobuf type google.bigtable.admin.v2.RestoreInfo

Static Fields

BACKUP_INFO_FIELD_NUMBER

public static final int BACKUP_INFO_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 RestoreInfo getDefaultInstance()
Returns
TypeDescription
RestoreInfo

getDescriptor()

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

newBuilder()

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

newBuilder(RestoreInfo prototype)

public static RestoreInfo.Builder newBuilder(RestoreInfo prototype)
Parameter
NameDescription
prototypeRestoreInfo
Returns
TypeDescription
RestoreInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getBackupInfo()

public BackupInfo getBackupInfo()

Information about the backup used to restore the table. The backup may no longer exist.

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

Returns
TypeDescription
BackupInfo

The backupInfo.

getBackupInfoOrBuilder()

public BackupInfoOrBuilder getBackupInfoOrBuilder()

Information about the backup used to restore the table. The backup may no longer exist.

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

Returns
TypeDescription
BackupInfoOrBuilder

getDefaultInstanceForType()

public RestoreInfo getDefaultInstanceForType()
Returns
TypeDescription
RestoreInfo

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getSourceInfoCase()

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

getSourceType()

public RestoreSourceType getSourceType()

The type of the restore source.

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

Returns
TypeDescription
RestoreSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The type of the restore source.

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

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()

Information about the backup used to restore the table. The backup may no longer exist.

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

Returns
TypeDescription
boolean

Whether the backupInfo 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 RestoreInfo.Builder newBuilderForType()
Returns
TypeDescription
RestoreInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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