public final class UpdateDatabaseMetadata extends GeneratedMessageV3 implements UpdateDatabaseMetadataOrBuilder
Metadata type for the operation returned by
UpdateDatabase.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
public static final int CANCEL_TIME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int PROGRESS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
public static final int REQUEST_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
public static UpdateDatabaseMetadata getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static UpdateDatabaseMetadata.Builder newBuilder()
public static UpdateDatabaseMetadata.Builder newBuilder(UpdateDatabaseMetadata prototype)
public static UpdateDatabaseMetadata parseDelimitedFrom(InputStream input)
public static UpdateDatabaseMetadata parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseMetadata parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
public static UpdateDatabaseMetadata parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseMetadata parseFrom(ByteString data)
public static UpdateDatabaseMetadata parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseMetadata parseFrom(CodedInputStream input)
public static UpdateDatabaseMetadata parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseMetadata parseFrom(InputStream input)
public static UpdateDatabaseMetadata parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static UpdateDatabaseMetadata parseFrom(ByteBuffer data)
public static UpdateDatabaseMetadata parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<UpdateDatabaseMetadata> parser()
Methods
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
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 |
---|
Type | Description |
Timestamp | The cancelTime.
|
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;
public UpdateDatabaseMetadata getDefaultInstanceForType()
public Parser<UpdateDatabaseMetadata> getParserForType()
Overrides
public OperationProgress getProgress()
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public OperationProgressOrBuilder getProgressOrBuilder()
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public UpdateDatabaseRequest getRequest()
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
public UpdateDatabaseRequestOrBuilder getRequestOrBuilder()
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
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 |
---|
Type | Description |
boolean | Whether the cancelTime field is set.
|
public boolean hasProgress()
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
Returns |
---|
Type | Description |
boolean | Whether the progress field is set.
|
public boolean hasRequest()
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
Returns |
---|
Type | Description |
boolean | Whether the request field is set.
|
Returns |
---|
Type | Description |
int | |
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateDatabaseMetadata.Builder newBuilderForType()
protected UpdateDatabaseMetadata.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
public UpdateDatabaseMetadata.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides