public static final class RestoreInfo.Builder extends GeneratedMessage.Builder<RestoreInfo.Builder> implements RestoreInfoOrBuilderInformation about the database restore.
Protobuf type google.spanner.admin.database.v1.RestoreInfo
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > RestoreInfo.BuilderImplements
RestoreInfoOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public RestoreInfo build()| Returns | |
|---|---|
| Type | Description |
RestoreInfo |
|
buildPartial()
public RestoreInfo buildPartial()| Returns | |
|---|---|
| Type | Description |
RestoreInfo |
|
clear()
public RestoreInfo.Builder clear()| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
|
clearSourceInfo()
public RestoreInfo.Builder clearSourceInfo()| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
|
clearSourceType()
public RestoreInfo.Builder clearSourceType()The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| 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;
| Returns | |
|---|---|
| Type | Description |
BackupInfoOrBuilder |
|
getDefaultInstanceForType()
public RestoreInfo getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
RestoreInfo |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getSourceInfoCase()
public RestoreInfo.SourceInfoCase getSourceInfoCase()| Returns | |
|---|---|
| Type | Description |
RestoreInfo.SourceInfoCase |
|
getSourceType()
public RestoreSourceType getSourceType()The type of the restore source.
.google.spanner.admin.database.v1.RestoreSourceType source_type = 1;
| Returns | |
|---|---|
| Type | Description |
RestoreSourceType |
The sourceType. |
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupInfo |
| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RestoreInfo.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public RestoreInfo.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
|
mergeFrom(RestoreInfo other)
public RestoreInfo.Builder mergeFrom(RestoreInfo other)| Parameter | |
|---|---|
| Name | Description |
other |
RestoreInfo |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
BackupInfo |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
BackupInfo.Builder |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
RestoreSourceTypeThe sourceType to set. |
| Returns | |
|---|---|
| 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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe enum numeric value on the wire for sourceType to set. |
| Returns | |
|---|---|
| Type | Description |
RestoreInfo.Builder |
This builder for chaining. |