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 > OptimizeRestoredDatabaseMetadataImplements
OptimizeRestoredDatabaseMetadataOrBuilderFields
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
Type | Description |
int |
PROGRESS_FIELD_NUMBER
public static final int PROGRESS_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static OptimizeRestoredDatabaseMetadata getDefaultInstance()
Type | Description |
OptimizeRestoredDatabaseMetadata |
getDefaultInstanceForType()
public OptimizeRestoredDatabaseMetadata getDefaultInstanceForType()
Type | Description |
OptimizeRestoredDatabaseMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
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. |
getParserForType()
public Parser<OptimizeRestoredDatabaseMetadata> getParserForType()
Type | Description |
Parser<OptimizeRestoredDatabaseMetadata> |
getProgress()
public OperationProgress getProgress()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
OperationProgress | The progress. |
getProgressOrBuilder()
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the post-restore optimizations.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Type | Description |
OperationProgressOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
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. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static OptimizeRestoredDatabaseMetadata.Builder newBuilder()
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
newBuilder(OptimizeRestoredDatabaseMetadata prototype)
public static OptimizeRestoredDatabaseMetadata.Builder newBuilder(OptimizeRestoredDatabaseMetadata prototype)
Name | Description |
prototype | OptimizeRestoredDatabaseMetadata |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
newBuilderForType()
public OptimizeRestoredDatabaseMetadata.Builder newBuilderForType()
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected OptimizeRestoredDatabaseMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static OptimizeRestoredDatabaseMetadata parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OptimizeRestoredDatabaseMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
IOException |
parseFrom(byte[] data)
public static OptimizeRestoredDatabaseMetadata parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static OptimizeRestoredDatabaseMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static OptimizeRestoredDatabaseMetadata parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static OptimizeRestoredDatabaseMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static OptimizeRestoredDatabaseMetadata parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static OptimizeRestoredDatabaseMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
IOException |
parseFrom(InputStream input)
public static OptimizeRestoredDatabaseMetadata parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static OptimizeRestoredDatabaseMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static OptimizeRestoredDatabaseMetadata parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static OptimizeRestoredDatabaseMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
OptimizeRestoredDatabaseMetadata |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<OptimizeRestoredDatabaseMetadata> parser()
Type | Description |
Parser<OptimizeRestoredDatabaseMetadata> |
toBuilder()
public OptimizeRestoredDatabaseMetadata.Builder toBuilder()
Type | Description |
OptimizeRestoredDatabaseMetadata.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |