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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RestoreInfo.BuilderImplements
RestoreInfoOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RestoreInfo.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreInfo.Builder |
build()
public RestoreInfo build()
Type | Description |
RestoreInfo |
buildPartial()
public RestoreInfo buildPartial()
Type | Description |
RestoreInfo |
clear()
public RestoreInfo.Builder clear()
Type | Description |
RestoreInfo.Builder |
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;
Type | Description |
RestoreInfo.Builder |
clearField(Descriptors.FieldDescriptor field)
public RestoreInfo.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RestoreInfo.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RestoreInfo.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RestoreInfo.Builder |
clearSourceInfo()
public RestoreInfo.Builder clearSourceInfo()
Type | Description |
RestoreInfo.Builder |
clearSourceType()
public RestoreInfo.Builder clearSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Type | Description |
RestoreInfo.Builder | This builder for chaining. |
clone()
public RestoreInfo.Builder clone()
Type | Description |
RestoreInfo.Builder |
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;
Type | Description |
BackupInfo | The backupInfo. |
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;
Type | Description |
BackupInfo.Builder |
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;
Type | Description |
BackupInfoOrBuilder |
getDefaultInstanceForType()
public RestoreInfo getDefaultInstanceForType()
Type | Description |
RestoreInfo |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSourceInfoCase()
public RestoreInfo.SourceInfoCase getSourceInfoCase()
Type | Description |
RestoreInfo.SourceInfoCase |
getSourceType()
public RestoreSourceType getSourceType()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Type | Description |
RestoreSourceType | The sourceType. |
getSourceTypeValue()
public int getSourceTypeValue()
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
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;
Type | Description |
boolean | Whether the backupInfo field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | BackupInfo |
Type | Description |
RestoreInfo.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RestoreInfo.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RestoreInfo.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RestoreInfo.Builder |
mergeFrom(RestoreInfo other)
public RestoreInfo.Builder mergeFrom(RestoreInfo other)
Name | Description |
other | RestoreInfo |
Type | Description |
RestoreInfo.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInfo.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreInfo.Builder |
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;
Name | Description |
value | BackupInfo |
Type | Description |
RestoreInfo.Builder |
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;
Name | Description |
builderForValue | BackupInfo.Builder |
Type | Description |
RestoreInfo.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RestoreInfo.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RestoreInfo.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RestoreInfo.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RestoreInfo.Builder |
setSourceType(RestoreSourceType value)
public RestoreInfo.Builder setSourceType(RestoreSourceType value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Name | Description |
value | RestoreSourceType The sourceType to set. |
Type | Description |
RestoreInfo.Builder | This builder for chaining. |
setSourceTypeValue(int value)
public RestoreInfo.Builder setSourceTypeValue(int value)
The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
Name | Description |
value | int The enum numeric value on the wire for sourceType to set. |
Type | Description |
RestoreInfo.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RestoreInfo.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RestoreInfo.Builder |