public final class RestoreInfo extends GeneratedMessageV3 implements RestoreInfoOrBuilder
Information about the database restore.
Protobuf type google.spanner.admin.database.v1.RestoreInfo
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RestoreInfoImplements
RestoreInfoOrBuilderStatic Fields
BACKUP_INFO_FIELD_NUMBER
public static final int BACKUP_INFO_FIELD_NUMBER
Type | Description |
int |
SOURCE_TYPE_FIELD_NUMBER
public static final int SOURCE_TYPE_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static RestoreInfo getDefaultInstance()
Type | Description |
RestoreInfo |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static RestoreInfo.Builder newBuilder()
Type | Description |
RestoreInfo.Builder |
newBuilder(RestoreInfo prototype)
public static RestoreInfo.Builder newBuilder(RestoreInfo prototype)
Name | Description |
prototype | RestoreInfo |
Type | Description |
RestoreInfo.Builder |
parseDelimitedFrom(InputStream input)
public static RestoreInfo parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RestoreInfo |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RestoreInfo parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RestoreInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RestoreInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RestoreInfo parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RestoreInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RestoreInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RestoreInfo parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RestoreInfo |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RestoreInfo parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RestoreInfo |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RestoreInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RestoreInfo parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RestoreInfo |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RestoreInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RestoreInfo> parser()
Type | Description |
Parser<RestoreInfo> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
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;
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;
Type | Description |
BackupInfoOrBuilder |
getDefaultInstanceForType()
public RestoreInfo getDefaultInstanceForType()
Type | Description |
RestoreInfo |
getParserForType()
public Parser<RestoreInfo> getParserForType()
Type | Description |
Parser<RestoreInfo> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getSourceInfoCase()
public RestoreInfo.SourceInfoCase getSourceInfoCase()
Type | Description |
RestoreInfo.SourceInfoCase |
getSourceType()
public RestoreSourceType getSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Type | Description |
RestoreSourceType | The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Type | Description |
int | The enum numeric value on the wire for sourceType. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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;
Type | Description |
boolean | Whether the backupInfo 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 |
newBuilderForType()
public RestoreInfo.Builder newBuilderForType()
Type | Description |
RestoreInfo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RestoreInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RestoreInfo.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public RestoreInfo.Builder toBuilder()
Type | Description |
RestoreInfo.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |