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
Static Fields
public static final int NAME_FIELD_NUMBER
Field Value
public static final int PROGRESS_FIELD_NUMBER
Field Value
Static Methods
public static OptimizeRestoredDatabaseMetadata getDefaultInstance()
Returns
public static final Descriptors.Descriptor getDescriptor()
Returns
public static OptimizeRestoredDatabaseMetadata.Builder newBuilder()
Returns
public static OptimizeRestoredDatabaseMetadata.Builder newBuilder(OptimizeRestoredDatabaseMetadata prototype)
Parameter
Returns
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
Methods
public boolean equals(Object obj)
Parameter
Returns
Overrides
public OptimizeRestoredDatabaseMetadata getDefaultInstanceForType()
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 OptimizeRestoredDatabaseMetadata.Builder newBuilderForType()
Returns
protected OptimizeRestoredDatabaseMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
public OptimizeRestoredDatabaseMetadata.Builder toBuilder()
Returns
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions