Class RestoreInfo (6.83.0)

public final class RestoreInfo extends GeneratedMessageV3 implements RestoreInfoOrBuilder

Information about the database restore.

Protobuf type google.spanner.admin.database.v1.RestoreInfo

Static Fields

BACKUP_INFO_FIELD_NUMBER

public static final int BACKUP_INFO_FIELD_NUMBER
Field Value
Type Description
int

SOURCE_TYPE_FIELD_NUMBER

public static final int SOURCE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static RestoreInfo getDefaultInstance()
Returns
Type Description
RestoreInfo

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static RestoreInfo.Builder newBuilder()
Returns
Type Description
RestoreInfo.Builder

newBuilder(RestoreInfo prototype)

public static RestoreInfo.Builder newBuilder(RestoreInfo prototype)
Parameter
Name Description
prototype RestoreInfo
Returns
Type Description
RestoreInfo.Builder

parseDelimitedFrom(InputStream input)

public static RestoreInfo parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RestoreInfo
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreInfo
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static RestoreInfo parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
RestoreInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static RestoreInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static RestoreInfo parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
RestoreInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static RestoreInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static RestoreInfo parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
RestoreInfo
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static RestoreInfo parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
RestoreInfo
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static RestoreInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreInfo
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static RestoreInfo parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
RestoreInfo
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static RestoreInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RestoreInfo
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<RestoreInfo> parser()
Returns
Type Description
Parser<RestoreInfo>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBackupInfo()

public BackupInfo getBackupInfo()

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

.google.spanner.admin.database.v1.BackupInfo backup_info = 2;

Returns
Type Description
BackupInfo

The backupInfo.

getBackupInfoOrBuilder()

public BackupInfoOrBuilder getBackupInfoOrBuilder()

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

.google.spanner.admin.database.v1.BackupInfo backup_info = 2;

Returns
Type Description
BackupInfoOrBuilder

getDefaultInstanceForType()

public RestoreInfo getDefaultInstanceForType()
Returns
Type Description
RestoreInfo

getParserForType()

public Parser<RestoreInfo> getParserForType()
Returns
Type Description
Parser<RestoreInfo>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSourceInfoCase()

public RestoreInfo.SourceInfoCase getSourceInfoCase()
Returns
Type Description
RestoreInfo.SourceInfoCase

getSourceType()

public RestoreSourceType getSourceType()

The type of the restore source.

.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;

Returns
Type Description
RestoreSourceType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The type of the restore source.

.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

hasBackupInfo()

public boolean hasBackupInfo()

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

.google.spanner.admin.database.v1.BackupInfo backup_info = 2;

Returns
Type Description
boolean

Whether the backupInfo field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public RestoreInfo.Builder newBuilderForType()
Returns
Type Description
RestoreInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected RestoreInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
RestoreInfo.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public RestoreInfo.Builder toBuilder()
Returns
Type Description
RestoreInfo.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException