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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public RestoreInfo build()
buildPartial()
public RestoreInfo buildPartial()
clear()
public RestoreInfo.Builder clear()
Overrides
clearBackupInfo()
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;
clearField(Descriptors.FieldDescriptor field)
public RestoreInfo.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSourceInfo()
public RestoreInfo.Builder clearSourceInfo()
clearSourceType()
public RestoreInfo.Builder clearSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
clone()
public RestoreInfo.Builder clone()
Overrides
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;
getBackupInfoBuilder()
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;
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;
getDefaultInstanceForType()
public RestoreInfo getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSourceInfoCase()
public RestoreInfo.SourceInfoCase getSourceInfoCase()
getSourceType()
public RestoreSourceType getSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
getSourceTypeValue()
public int getSourceTypeValue()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for sourceType.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the backupInfo field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeBackupInfo(BackupInfo value)
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 mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public RestoreInfo.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(RestoreInfo other)
public RestoreInfo.Builder mergeFrom(RestoreInfo other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setBackupInfo(BackupInfo value)
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;
setBackupInfo(BackupInfo.Builder builderForValue)
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;
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSourceType(RestoreSourceType value)
public RestoreInfo.Builder setSourceType(RestoreSourceType value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
setSourceTypeValue(int value)
public RestoreInfo.Builder setSourceTypeValue(int value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for sourceType to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides