Send feedback Class OptimizeRestoredDatabaseMetadata Stay organized with collections Save and categorize content based on your preferences.
Version 6.14.1keyboard_arrow_down
public final class OptimizeRestoredDatabaseMetadata extends GeneratedMessageV3 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
Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int PROGRESS_FIELD_NUMBER
Field Value Methods
public boolean equals ( Object obj )
Parameter Returns Overrides
public static OptimizeRestoredDatabaseMetadata getDefaultInstance ()
Returns
public OptimizeRestoredDatabaseMetadata getDefaultInstanceForType ()
Returns
public static final Descriptors . Descriptor getDescriptor ()
Returns 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 Parser<OptimizeRestoredDatabaseMetadata> getParserForType ()
Returns Overrides
public OperationProgress getProgress ()
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 int getSerializedSize ()
Returns Overrides
public final UnknownFieldSet getUnknownFields ()
Returns Overrides
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.
Returns Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Returns Overrides
public final boolean isInitialized ()
Returns Overrides
public static OptimizeRestoredDatabaseMetadata . Builder newBuilder ()
Returns
public static OptimizeRestoredDatabaseMetadata . Builder newBuilder ( OptimizeRestoredDatabaseMetadata )
Parameter Returns
public OptimizeRestoredDatabaseMetadata . Builder newBuilderForType ()
Returns
protected OptimizeRestoredDatabaseMetadata . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Parameter Returns Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Parameter Returns Overrides
public static OptimizeRestoredDatabaseMetadata parseDelimitedFrom ( InputStream input )
Parameter Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( byte [] data )
Parameter Name Description data byte []
Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( ByteString data )
Parameter Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( CodedInputStream input )
Parameter Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( InputStream input )
Parameter Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( ByteBuffer data )
Parameter Returns Exceptions
public static OptimizeRestoredDatabaseMetadata parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
Parameters Returns Exceptions
public static Parser<OptimizeRestoredDatabaseMetadata> parser ()
Returns
public OptimizeRestoredDatabaseMetadata . Builder toBuilder ()
Returns
public void writeTo ( CodedOutputStream output )
Parameter Overrides Exceptions 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-06-11 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-06-11 UTC."],[],[]]