public static final class BackupInfo.Builder extends 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(Descriptors.FieldDescriptor field,
Object value) |
BackupInfo |
build() |
BackupInfo |
buildPartial() |
BackupInfo.Builder |
clear() |
BackupInfo.Builder |
clearBackup()
Name of the backup.
|
BackupInfo.Builder |
clearCreateTime()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
BackupInfo.Builder |
clearField(Descriptors.FieldDescriptor field) |
BackupInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
BackupInfo.Builder |
clearSourceDatabase()
Name of the database the backup was created from.
|
BackupInfo.Builder |
clearVersionTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
BackupInfo.Builder |
clone() |
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.
|
Timestamp.Builder |
getCreateTimeBuilder()
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.
|
BackupInfo |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
String |
getSourceDatabase()
Name of the database the backup was created from.
|
ByteString |
getSourceDatabaseBytes()
Name of the database the backup was created from.
|
Timestamp |
getVersionTime()
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
Timestamp.Builder |
getVersionTimeBuilder()
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.
|
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() |
BackupInfo.Builder |
mergeCreateTime(Timestamp value)
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
BackupInfo.Builder |
mergeFrom(BackupInfo other) |
BackupInfo.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
BackupInfo.Builder |
mergeFrom(Message other) |
BackupInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
BackupInfo.Builder |
mergeVersionTime(Timestamp value)
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
BackupInfo.Builder |
setBackup(String value)
Name of the backup.
|
BackupInfo.Builder |
setBackupBytes(ByteString value)
Name of the backup.
|
BackupInfo.Builder |
setCreateTime(Timestamp.Builder builderForValue)
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
BackupInfo.Builder |
setCreateTime(Timestamp value)
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was
received.
|
BackupInfo.Builder |
setField(Descriptors.FieldDescriptor field,
Object value) |
BackupInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
Object value) |
BackupInfo.Builder |
setSourceDatabase(String value)
Name of the database the backup was created from.
|
BackupInfo.Builder |
setSourceDatabaseBytes(ByteString value)
Name of the database the backup was created from.
|
BackupInfo.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
BackupInfo.Builder |
setVersionTime(Timestamp.Builder builderForValue)
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
BackupInfo.Builder |
setVersionTime(Timestamp value)
The backup contains an externally consistent copy of `source_database` at
the timestamp specified by `version_time`.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeDelimitedFrom, mergeDelimitedFrom
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public BackupInfo build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public BackupInfo buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public BackupInfo.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<BackupInfo.Builder>
public BackupInfo.Builder mergeFrom(BackupInfo other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public BackupInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<BackupInfo.Builder>
IOException
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 BackupInfo.Builder setBackup(String value)
Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
value
- The backup to set.public BackupInfo.Builder clearBackup()
Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
public BackupInfo.Builder setBackupBytes(ByteString value)
Name of the backup.
string backup = 1 [(.google.api.resource_reference) = { ... }
value
- The bytes for backup to set.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 BackupInfo.Builder setVersionTime(Timestamp value)
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;
public BackupInfo.Builder setVersionTime(Timestamp.Builder builderForValue)
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;
public BackupInfo.Builder mergeVersionTime(Timestamp value)
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;
public BackupInfo.Builder clearVersionTime()
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;
public Timestamp.Builder getVersionTimeBuilder()
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;
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 BackupInfo.Builder setCreateTime(Timestamp value)
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
public BackupInfo.Builder setCreateTime(Timestamp.Builder builderForValue)
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
public BackupInfo.Builder mergeCreateTime(Timestamp value)
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
public BackupInfo.Builder clearCreateTime()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
public Timestamp.Builder getCreateTimeBuilder()
The time the [CreateBackup][google.spanner.admin.database.v1.DatabaseAdmin.CreateBackup] request was received.
.google.protobuf.Timestamp create_time = 2;
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 BackupInfo.Builder setSourceDatabase(String value)
Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
value
- The sourceDatabase to set.public BackupInfo.Builder clearSourceDatabase()
Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
public BackupInfo.Builder setSourceDatabaseBytes(ByteString value)
Name of the database the backup was created from.
string source_database = 3 [(.google.api.resource_reference) = { ... }
value
- The bytes for sourceDatabase to set.public final BackupInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
public final BackupInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<BackupInfo.Builder>
Copyright © 2022 Google LLC. All rights reserved.