Send feedback
Class OptimizeRestoredDatabaseMetadata.Builder
Stay organized with collections
Save and categorize content based on your preferences.
Version 6.14.1 keyboard_arrow_down
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
Methods
public OptimizeRestoredDatabaseMetadata . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public OptimizeRestoredDatabaseMetadata build ()
Returns
public OptimizeRestoredDatabaseMetadata buildPartial ()
Returns
public OptimizeRestoredDatabaseMetadata . Builder clear ()
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder clearName ()
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
public OptimizeRestoredDatabaseMetadata . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder clearProgress ()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns
public OptimizeRestoredDatabaseMetadata . Builder clone ()
Returns
Overrides
public OptimizeRestoredDatabaseMetadata getDefaultInstanceForType ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns
public Descriptors . Descriptor getDescriptorForType ()
Returns
Overrides
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
Type Description String The name.
public ByteString getNameBytes ()
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Returns
public OperationProgress getProgress ()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns
public OperationProgress . Builder getProgressBuilder ()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns
public OperationProgressOrBuilder getProgressOrBuilder ()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns
public boolean hasProgress ()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns
Type Description boolean Whether the progress field is set.
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns
Overrides
public final boolean isInitialized ()
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
public OptimizeRestoredDatabaseMetadata . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder mergeFrom ( OptimizeRestoredDatabaseMetadata other )
Parameter
Returns
public OptimizeRestoredDatabaseMetadata . Builder mergeProgress ( OperationProgress value )
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Parameter
Returns
public final OptimizeRestoredDatabaseMetadata . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
public OptimizeRestoredDatabaseMetadata . Builder setName ( String value )
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name Description value String
The name to set.
Returns
public OptimizeRestoredDatabaseMetadata . Builder setNameBytes ( ByteString value )
Name of the restored database being optimized.
string name = 1 [(.google.api.resource_reference) = { ... }
Parameter
Name Description value ByteString
The bytes for name to set.
Returns
public OptimizeRestoredDatabaseMetadata . Builder setProgress ( OperationProgress value )
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Parameter
Returns
public OptimizeRestoredDatabaseMetadata . Builder setProgress ( OperationProgress . Builder builderForValue )
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Parameter
Returns
public OptimizeRestoredDatabaseMetadata . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
public final OptimizeRestoredDatabaseMetadata . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-01-27 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-27 UTC."],[],[]]