public static final class RestoreInfo.Builder extends GeneratedMessageV3.Builder<RestoreInfo.Builder> implements RestoreInfoOrBuilder
Information about the database restore.Protobuf type
google.spanner.admin.database.v1.RestoreInfo
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<RestoreInfo.Builder>
public RestoreInfo.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public RestoreInfo build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public RestoreInfo buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public RestoreInfo.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder mergeFrom(RestoreInfo other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public RestoreInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<RestoreInfo.Builder>
IOException
public RestoreInfo.SourceInfoCase getSourceInfoCase()
getSourceInfoCase
in interface RestoreInfoOrBuilder
public RestoreInfo.Builder clearSourceInfo()
public int getSourceTypeValue()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
getSourceTypeValue
in interface RestoreInfoOrBuilder
public RestoreInfo.Builder setSourceTypeValue(int value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
value
- The enum numeric value on the wire for sourceType to set.public RestoreSourceType getSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
getSourceType
in interface RestoreInfoOrBuilder
public RestoreInfo.Builder setSourceType(RestoreSourceType value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
value
- The sourceType to set.public RestoreInfo.Builder clearSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
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;
hasBackupInfo
in interface RestoreInfoOrBuilder
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;
getBackupInfo
in interface RestoreInfoOrBuilder
public RestoreInfo.Builder setBackupInfo(BackupInfo value)
Information about the backup used to restore the database. The backup may no longer exist.
.google.spanner.admin.database.v1.BackupInfo backup_info = 2;
public RestoreInfo.Builder setBackupInfo(BackupInfo.Builder builderForValue)
Information about the backup used to restore the database. The backup may no longer exist.
.google.spanner.admin.database.v1.BackupInfo backup_info = 2;
public RestoreInfo.Builder mergeBackupInfo(BackupInfo value)
Information about the backup used to restore the database. The backup may no longer exist.
.google.spanner.admin.database.v1.BackupInfo backup_info = 2;
public RestoreInfo.Builder clearBackupInfo()
Information about the backup used to restore the database. The backup may no longer exist.
.google.spanner.admin.database.v1.BackupInfo backup_info = 2;
public BackupInfo.Builder getBackupInfoBuilder()
Information about the backup used to restore the database. The backup may no longer exist.
.google.spanner.admin.database.v1.BackupInfo backup_info = 2;
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;
getBackupInfoOrBuilder
in interface RestoreInfoOrBuilder
public final RestoreInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
public final RestoreInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<RestoreInfo.Builder>
Copyright © 2022 Google LLC. All rights reserved.