Class UpdateDatabaseMetadata (6.55.0)

public final class UpdateDatabaseMetadata extends GeneratedMessageV3 implements UpdateDatabaseMetadataOrBuilder

Metadata type for the operation returned by UpdateDatabase.

Protobuf type google.spanner.admin.database.v1.UpdateDatabaseMetadata

Static Fields

CANCEL_TIME_FIELD_NUMBER

public static final int CANCEL_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

PROGRESS_FIELD_NUMBER

public static final int PROGRESS_FIELD_NUMBER
Field Value
TypeDescription
int

REQUEST_FIELD_NUMBER

public static final int REQUEST_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static UpdateDatabaseMetadata getDefaultInstance()
Returns
TypeDescription
UpdateDatabaseMetadata

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static UpdateDatabaseMetadata.Builder newBuilder()
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

newBuilder(UpdateDatabaseMetadata prototype)

public static UpdateDatabaseMetadata.Builder newBuilder(UpdateDatabaseMetadata prototype)
Parameter
NameDescription
prototypeUpdateDatabaseMetadata
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

parseDelimitedFrom(InputStream input)

public static UpdateDatabaseMetadata parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDatabaseMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static UpdateDatabaseMetadata parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static UpdateDatabaseMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static UpdateDatabaseMetadata parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static UpdateDatabaseMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static UpdateDatabaseMetadata parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDatabaseMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static UpdateDatabaseMetadata parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static UpdateDatabaseMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static UpdateDatabaseMetadata parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static UpdateDatabaseMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<UpdateDatabaseMetadata> parser()
Returns
TypeDescription
Parser<UpdateDatabaseMetadata>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getCancelTime()

public Timestamp getCancelTime()

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
Timestamp

The cancelTime.

getCancelTimeOrBuilder()

public TimestampOrBuilder getCancelTimeOrBuilder()

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateDatabaseMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatabaseMetadata

getParserForType()

public Parser<UpdateDatabaseMetadata> getParserForType()
Returns
TypeDescription
Parser<UpdateDatabaseMetadata>
Overrides

getProgress()

public OperationProgress getProgress()

The progress of the UpdateDatabase operation.

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

Returns
TypeDescription
OperationProgress

The progress.

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the UpdateDatabase operation.

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

Returns
TypeDescription
OperationProgressOrBuilder

getRequest()

public UpdateDatabaseRequest getRequest()

The request for UpdateDatabase.

.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;

Returns
TypeDescription
UpdateDatabaseRequest

The request.

getRequestOrBuilder()

public UpdateDatabaseRequestOrBuilder getRequestOrBuilder()

The request for UpdateDatabase.

.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;

Returns
TypeDescription
UpdateDatabaseRequestOrBuilder

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hasCancelTime()

public boolean hasCancelTime()

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is best-effort).

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
boolean

Whether the cancelTime field is set.

hasProgress()

public boolean hasProgress()

The progress of the UpdateDatabase operation.

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

Returns
TypeDescription
boolean

Whether the progress field is set.

hasRequest()

public boolean hasRequest()

The request for UpdateDatabase.

.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;

Returns
TypeDescription
boolean

Whether the request field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public UpdateDatabaseMetadata.Builder newBuilderForType()
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected UpdateDatabaseMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public UpdateDatabaseMetadata.Builder toBuilder()
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException