public static final class UpdateDatabaseMetadata.Builder extends GeneratedMessageV3.Builder<UpdateDatabaseMetadata.Builder> implements UpdateDatabaseMetadataOrBuilder
Metadata type for the operation returned by
UpdateDatabase.
Protobuf type google.spanner.admin.database.v1.UpdateDatabaseMetadata
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public UpdateDatabaseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateDatabaseMetadata build()
public UpdateDatabaseMetadata buildPartial()
public UpdateDatabaseMetadata.Builder clear()
Overrides
public UpdateDatabaseMetadata.Builder clearCancelTime()
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.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public UpdateDatabaseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public UpdateDatabaseMetadata.Builder clearProgress()
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public UpdateDatabaseMetadata.Builder clearRequest()
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
public UpdateDatabaseMetadata.Builder clone()
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 Timestamp.Builder getCancelTimeBuilder()
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 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 Descriptors.Descriptor getDescriptorForType()
Overrides
public OperationProgress getProgress()
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public OperationProgress.Builder getProgressBuilder()
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 UpdateDatabaseRequest.Builder getRequestBuilder()
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 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public UpdateDatabaseMetadata.Builder mergeCancelTime(Timestamp value)
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.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public UpdateDatabaseMetadata.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
public UpdateDatabaseMetadata.Builder mergeFrom(UpdateDatabaseMetadata other)
public UpdateDatabaseMetadata.Builder mergeProgress(OperationProgress value)
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public UpdateDatabaseMetadata.Builder mergeRequest(UpdateDatabaseRequest value)
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
public final UpdateDatabaseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public UpdateDatabaseMetadata.Builder setCancelTime(Timestamp value)
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.Builder setCancelTime(Timestamp.Builder builderForValue)
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;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
public UpdateDatabaseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public UpdateDatabaseMetadata.Builder setProgress(OperationProgress value)
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public UpdateDatabaseMetadata.Builder setProgress(OperationProgress.Builder builderForValue)
The progress of the
UpdateDatabase
operation.
.google.spanner.admin.database.v1.OperationProgress progress = 2;
public UpdateDatabaseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public UpdateDatabaseMetadata.Builder setRequest(UpdateDatabaseRequest value)
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
public UpdateDatabaseMetadata.Builder setRequest(UpdateDatabaseRequest.Builder builderForValue)
The request for
UpdateDatabase.
.google.spanner.admin.database.v1.UpdateDatabaseRequest request = 1;
public final UpdateDatabaseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides