Class OptimizeRestoredDatabaseMetadata (6.77.0)

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

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > OptimizeRestoredDatabaseMetadata

Static Fields

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static OptimizeRestoredDatabaseMetadata getDefaultInstance()
Returns
Type Description
OptimizeRestoredDatabaseMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static OptimizeRestoredDatabaseMetadata.Builder newBuilder()
Returns
Type Description
OptimizeRestoredDatabaseMetadata.Builder

newBuilder(OptimizeRestoredDatabaseMetadata prototype)

public static OptimizeRestoredDatabaseMetadata.Builder newBuilder(OptimizeRestoredDatabaseMetadata prototype)
Parameter
Name Description
prototype OptimizeRestoredDatabaseMetadata
Returns
Type Description
OptimizeRestoredDatabaseMetadata.Builder

parseDelimitedFrom(InputStream input)

public static OptimizeRestoredDatabaseMetadata parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OptimizeRestoredDatabaseMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static OptimizeRestoredDatabaseMetadata parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static OptimizeRestoredDatabaseMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static OptimizeRestoredDatabaseMetadata parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static OptimizeRestoredDatabaseMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static OptimizeRestoredDatabaseMetadata parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static OptimizeRestoredDatabaseMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static OptimizeRestoredDatabaseMetadata parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static OptimizeRestoredDatabaseMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static OptimizeRestoredDatabaseMetadata parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static OptimizeRestoredDatabaseMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
OptimizeRestoredDatabaseMetadata
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<OptimizeRestoredDatabaseMetadata> parser()
Returns
Type Description
Parser<OptimizeRestoredDatabaseMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public OptimizeRestoredDatabaseMetadata getDefaultInstanceForType()
Returns
Type Description
OptimizeRestoredDatabaseMetadata

getName()

public String getName()

Name of the restored database being optimized.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Name of the restored database being optimized.

string name = 1 [(.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for name.

getParserForType()

public Parser<OptimizeRestoredDatabaseMetadata> getParserForType()
Returns
Type Description
Parser<OptimizeRestoredDatabaseMetadata>
Overrides

getProgress()

public OperationProgress getProgress()

The progress of the post-restore optimizations.

.google.spanner.admin.database.v1.OperationProgress progress = 2;

Returns
Type Description
OperationProgress

The progress.

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the post-restore optimizations.

.google.spanner.admin.database.v1.OperationProgress progress = 2;

Returns
Type Description
OperationProgressOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasProgress()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public OptimizeRestoredDatabaseMetadata.Builder newBuilderForType()
Returns
Type Description
OptimizeRestoredDatabaseMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected OptimizeRestoredDatabaseMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
OptimizeRestoredDatabaseMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public OptimizeRestoredDatabaseMetadata.Builder toBuilder()
Returns
Type Description
OptimizeRestoredDatabaseMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException