public static final class OptimizeRestoredDatabaseMetadata.Builder extends GeneratedMessageV3.Builder<OptimizeRestoredDatabaseMetadata.Builder> implements OptimizeRestoredDatabaseMetadataOrBuilder
Metadata type for the long-running operation used to track the progress of optimizations performed on a newly restored database. This long-running operation is automatically created by the system after the successful completion of a database restore, and cannot be cancelled.
Protobuf type google.spanner.admin.database.v1.OptimizeRestoredDatabaseMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > OptimizeRestoredDatabaseMetadata.BuilderImplements
OptimizeRestoredDatabaseMetadataOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OptimizeRestoredDatabaseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
build()
public OptimizeRestoredDatabaseMetadata build()
Type | Description |
OptimizeRestoredDatabaseMetadata |
buildPartial()
public OptimizeRestoredDatabaseMetadata buildPartial()
Type | Description |
OptimizeRestoredDatabaseMetadata |
clear()
public OptimizeRestoredDatabaseMetadata.Builder clear()
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public OptimizeRestoredDatabaseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
clearName()
public OptimizeRestoredDatabaseMetadata.Builder clearName()
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder | This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public OptimizeRestoredDatabaseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
clearProgress()
public OptimizeRestoredDatabaseMetadata.Builder clearProgress()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
clone()
public OptimizeRestoredDatabaseMetadata.Builder clone()
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
getDefaultInstanceForType()
public OptimizeRestoredDatabaseMetadata getDefaultInstanceForType()
Type | Description |
OptimizeRestoredDatabaseMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getName()
public String getName()
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
String | The name. |
getNameBytes()
public ByteString getNameBytes()
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for name. |
getProgress()
public OperationProgress getProgress()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
OperationProgress | The progress. |
getProgressBuilder()
public OperationProgress.Builder getProgressBuilder()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
OperationProgress.Builder |
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
OperationProgressOrBuilder |
hasProgress()
public boolean hasProgress()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
boolean | Whether the progress field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public OptimizeRestoredDatabaseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public OptimizeRestoredDatabaseMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
mergeFrom(OptimizeRestoredDatabaseMetadata other)
public OptimizeRestoredDatabaseMetadata.Builder mergeFrom(OptimizeRestoredDatabaseMetadata other)
Name | Description |
other | OptimizeRestoredDatabaseMetadata |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
mergeProgress(OperationProgress value)
public OptimizeRestoredDatabaseMetadata.Builder mergeProgress(OperationProgress value)
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Name | Description |
value | OperationProgress |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OptimizeRestoredDatabaseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public OptimizeRestoredDatabaseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
setName(String value)
public OptimizeRestoredDatabaseMetadata.Builder setName(String value)
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | String The name to set. |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder | This builder for chaining. |
setNameBytes(ByteString value)
public OptimizeRestoredDatabaseMetadata.Builder setNameBytes(ByteString value)
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for name to set. |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder | This builder for chaining. |
setProgress(OperationProgress value)
public OptimizeRestoredDatabaseMetadata.Builder setProgress(OperationProgress value)
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Name | Description |
value | OperationProgress |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
setProgress(OperationProgress.Builder builderForValue)
public OptimizeRestoredDatabaseMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Name | Description |
builderForValue | OperationProgress.Builder |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OptimizeRestoredDatabaseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final OptimizeRestoredDatabaseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |