public static final class BackupInfo.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder> implements BackupInfoOrBuilder
Information about a backup.Protobuf type
google.spanner.admin.database.v1.BackupInfo| Modifier and Type | Method and Description |
|---|---|
BackupInfo.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackupInfo |
build() |
BackupInfo |
buildPartial() |
BackupInfo.Builder |
clear() |
BackupInfo.Builder |
clearBackup()
Name of the backup.
|
BackupInfo.Builder |
clearCreateTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
BackupInfo.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BackupInfo.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BackupInfo.Builder |
clearSourceDatabase()
Name of the database the backup was created from.
|
BackupInfo.Builder |
clone() |
String |
getBackup()
Name of the backup.
|
com.google.protobuf.ByteString |
getBackupBytes()
Name of the backup.
|
com.google.protobuf.Timestamp |
getCreateTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
com.google.protobuf.Timestamp.Builder |
getCreateTimeBuilder()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
com.google.protobuf.TimestampOrBuilder |
getCreateTimeOrBuilder()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
BackupInfo |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getSourceDatabase()
Name of the database the backup was created from.
|
com.google.protobuf.ByteString |
getSourceDatabaseBytes()
Name of the database the backup was created from.
|
boolean |
hasCreateTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BackupInfo.Builder |
mergeCreateTime(com.google.protobuf.Timestamp value)
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
BackupInfo.Builder |
mergeFrom(BackupInfo other) |
BackupInfo.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BackupInfo.Builder |
mergeFrom(com.google.protobuf.Message other) |
BackupInfo.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BackupInfo.Builder |
setBackup(String value)
Name of the backup.
|
BackupInfo.Builder |
setBackupBytes(com.google.protobuf.ByteString value)
Name of the backup.
|
BackupInfo.Builder |
setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
BackupInfo.Builder |
setCreateTime(com.google.protobuf.Timestamp value)
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `create_time`.
|
BackupInfo.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
BackupInfo.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
BackupInfo.Builder |
setSourceDatabase(String value)
Name of the database the backup was created from.
|
BackupInfo.Builder |
setSourceDatabaseBytes(com.google.protobuf.ByteString value)
Name of the database the backup was created from.
|
BackupInfo.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic BackupInfo build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic BackupInfo buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic BackupInfo.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackupInfo.Builder>public BackupInfo.Builder mergeFrom(BackupInfo other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public BackupInfo.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<BackupInfo.Builder>IOExceptionpublic String getBackup()
Name of the backup.
string backup = 1;getBackup in interface BackupInfoOrBuilderpublic com.google.protobuf.ByteString getBackupBytes()
Name of the backup.
string backup = 1;getBackupBytes in interface BackupInfoOrBuilderpublic BackupInfo.Builder setBackup(String value)
Name of the backup.
string backup = 1;value - The backup to set.public BackupInfo.Builder clearBackup()
Name of the backup.
string backup = 1;public BackupInfo.Builder setBackupBytes(com.google.protobuf.ByteString value)
Name of the backup.
string backup = 1;value - The bytes for backup to set.public boolean hasCreateTime()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;hasCreateTime in interface BackupInfoOrBuilderpublic com.google.protobuf.Timestamp getCreateTime()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;getCreateTime in interface BackupInfoOrBuilderpublic BackupInfo.Builder setCreateTime(com.google.protobuf.Timestamp value)
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;public BackupInfo.Builder setCreateTime(com.google.protobuf.Timestamp.Builder builderForValue)
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;public BackupInfo.Builder mergeCreateTime(com.google.protobuf.Timestamp value)
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;public BackupInfo.Builder clearCreateTime()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;public com.google.protobuf.Timestamp.Builder getCreateTimeBuilder()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;public com.google.protobuf.TimestampOrBuilder getCreateTimeOrBuilder()
The backup contains an externally consistent copy of `source_database` at the timestamp specified by `create_time`.
.google.protobuf.Timestamp create_time = 2;getCreateTimeOrBuilder in interface BackupInfoOrBuilderpublic String getSourceDatabase()
Name of the database the backup was created from.
string source_database = 3;getSourceDatabase in interface BackupInfoOrBuilderpublic com.google.protobuf.ByteString getSourceDatabaseBytes()
Name of the database the backup was created from.
string source_database = 3;getSourceDatabaseBytes in interface BackupInfoOrBuilderpublic BackupInfo.Builder setSourceDatabase(String value)
Name of the database the backup was created from.
string source_database = 3;value - The sourceDatabase to set.public BackupInfo.Builder clearSourceDatabase()
Name of the database the backup was created from.
string source_database = 3;public BackupInfo.Builder setSourceDatabaseBytes(com.google.protobuf.ByteString value)
Name of the database the backup was created from.
string source_database = 3;value - The bytes for sourceDatabase to set.public final BackupInfo.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>public final BackupInfo.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<BackupInfo.Builder>Copyright © 2020 Google LLC. All rights reserved.