public final class BackupInfo extends GeneratedMessageV3 implements BackupInfoOrBuilder
Information about a backup.Protobuf type
google.spanner.admin.database.v1.BackupInfo
Modifier and Type | Class and Description |
---|---|
static class |
BackupInfo.Builder
Information about a backup.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameter
AbstractMessageLite.InternalOneOfEnum
Modifier and Type | Field and Description |
---|---|
static int |
BACKUP_FIELD_NUMBER |
static int |
CREATE_TIME_FIELD_NUMBER |
static int |
SOURCE_DATABASE_FIELD_NUMBER |
static int |
VERSION_TIME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
Modifier and Type | Method and Description |
---|---|
boolean |
equals(Object obj) |
String |
getBackup()
Name of the backup.
|
ByteString |
getBackupBytes()
Name of the backup.
|
Timestamp |
getCreateTime()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
TimestampOrBuilder |
getCreateTimeOrBuilder()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
static BackupInfo |
getDefaultInstance() |
BackupInfo |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Parser<BackupInfo> |
getParserForType() |
int |
getSerializedSize() |
String |
getSourceDatabase()
Name of the database the backup was created from.
|
ByteString |
getSourceDatabaseBytes()
Name of the database the backup was created from.
|
UnknownFieldSet |
getUnknownFields() |
Timestamp |
getVersionTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
TimestampOrBuilder |
getVersionTimeOrBuilder()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
boolean |
hasCreateTime()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
int |
hashCode() |
boolean |
hasVersionTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static BackupInfo.Builder |
newBuilder() |
static BackupInfo.Builder |
newBuilder(BackupInfo prototype) |
BackupInfo.Builder |
newBuilderForType() |
protected BackupInfo.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused) |
static BackupInfo |
parseDelimitedFrom(InputStream input) |
static BackupInfo |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static BackupInfo |
parseFrom(byte[] data) |
static BackupInfo |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static BackupInfo |
parseFrom(ByteBuffer data) |
static BackupInfo |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static BackupInfo |
parseFrom(ByteString data) |
static BackupInfo |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static BackupInfo |
parseFrom(CodedInputStream input) |
static BackupInfo |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static BackupInfo |
parseFrom(InputStream input) |
static BackupInfo |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<BackupInfo> |
parser() |
BackupInfo.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public static final int BACKUP_FIELD_NUMBER
public static final int VERSION_TIME_FIELD_NUMBER
public static final int CREATE_TIME_FIELD_NUMBER
public static final int SOURCE_DATABASE_FIELD_NUMBER
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance
in class GeneratedMessageV3
public final UnknownFieldSet getUnknownFields()
getUnknownFields
in interface MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public String getBackup()
Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
getBackup
in interface BackupInfoOrBuilder
public ByteString getBackupBytes()
Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
getBackupBytes
in interface BackupInfoOrBuilder
public boolean hasVersionTime()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.
.google.protobuf.Timestamp version_time = 4;
hasVersionTime
in interface BackupInfoOrBuilder
public Timestamp getVersionTime()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.
.google.protobuf.Timestamp version_time = 4;
getVersionTime
in interface BackupInfoOrBuilder
public TimestampOrBuilder getVersionTimeOrBuilder()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `version_time`. If the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request did not specify `version_time`, the `version_time` of the backup is equivalent to the `create_time`.
.google.protobuf.Timestamp version_time = 4;
getVersionTimeOrBuilder
in interface BackupInfoOrBuilder
public boolean hasCreateTime()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
hasCreateTime
in interface BackupInfoOrBuilder
public Timestamp getCreateTime()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
getCreateTime
in interface BackupInfoOrBuilder
public TimestampOrBuilder getCreateTimeOrBuilder()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
getCreateTimeOrBuilder
in interface BackupInfoOrBuilder
public String getSourceDatabase()
Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
getSourceDatabase
in interface BackupInfoOrBuilder
public ByteString getSourceDatabaseBytes()
Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
getSourceDatabaseBytes
in interface BackupInfoOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static BackupInfo parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BackupInfo parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BackupInfo parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BackupInfo parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BackupInfo parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BackupInfo parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static BackupInfo parseFrom(InputStream input) throws IOException
IOException
public static BackupInfo parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BackupInfo parseDelimitedFrom(InputStream input) throws IOException
IOException
public static BackupInfo parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static BackupInfo parseFrom(CodedInputStream input) throws IOException
IOException
public static BackupInfo parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public BackupInfo.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static BackupInfo.Builder newBuilder()
public static BackupInfo.Builder newBuilder(BackupInfo prototype)
public BackupInfo.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected BackupInfo.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static BackupInfo getDefaultInstance()
public static Parser<BackupInfo> parser()
public Parser<BackupInfo> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public BackupInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2022 Google LLC. All rights reserved.