Class UpdateDatabaseMetadata.Builder (6.69.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

build()

public UpdateDatabaseMetadata build()
Returns
Type Description
UpdateDatabaseMetadata

buildPartial()

public UpdateDatabaseMetadata buildPartial()
Returns
Type Description
UpdateDatabaseMetadata

clear()

public UpdateDatabaseMetadata.Builder clear()
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

clearCancelTime()

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;

Returns
Type Description
UpdateDatabaseMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatabaseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatabaseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

clearProgress()

public UpdateDatabaseMetadata.Builder clearProgress()

The progress of the UpdateDatabase operation.

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

Returns
Type Description
UpdateDatabaseMetadata.Builder

clearRequest()

public UpdateDatabaseMetadata.Builder clearRequest()

The request for UpdateDatabase.

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

Returns
Type Description
UpdateDatabaseMetadata.Builder

clone()

public UpdateDatabaseMetadata.Builder clone()
Returns
Type Description
UpdateDatabaseMetadata.Builder
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
Type Description
Timestamp

The cancelTime.

getCancelTimeBuilder()

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;

Returns
Type Description
Builder

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
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateDatabaseMetadata getDefaultInstanceForType()
Returns
Type Description
UpdateDatabaseMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getProgress()

public OperationProgress getProgress()

The progress of the UpdateDatabase operation.

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

Returns
Type Description
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the UpdateDatabase operation.

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

Returns
Type Description
OperationProgress.Builder

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the UpdateDatabase operation.

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

Returns
Type Description
OperationProgressOrBuilder

getRequest()

public UpdateDatabaseRequest getRequest()

The request for UpdateDatabase.

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

Returns
Type Description
UpdateDatabaseRequest

The request.

getRequestBuilder()

public UpdateDatabaseRequest.Builder getRequestBuilder()

The request for UpdateDatabase.

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

Returns
Type Description
UpdateDatabaseRequest.Builder

getRequestOrBuilder()

public UpdateDatabaseRequestOrBuilder getRequestOrBuilder()

The request for UpdateDatabase.

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

Returns
Type Description
UpdateDatabaseRequestOrBuilder

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
Type Description
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
Type Description
boolean

Whether the progress field is set.

hasRequest()

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCancelTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateDatabaseMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatabaseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public UpdateDatabaseMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

mergeFrom(UpdateDatabaseMetadata other)

public UpdateDatabaseMetadata.Builder mergeFrom(UpdateDatabaseMetadata other)
Parameter
Name Description
other UpdateDatabaseMetadata
Returns
Type Description
UpdateDatabaseMetadata.Builder

mergeProgress(OperationProgress value)

public UpdateDatabaseMetadata.Builder mergeProgress(OperationProgress value)

The progress of the UpdateDatabase operation.

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

Parameter
Name Description
value OperationProgress
Returns
Type Description
UpdateDatabaseMetadata.Builder

mergeRequest(UpdateDatabaseRequest value)

public UpdateDatabaseMetadata.Builder mergeRequest(UpdateDatabaseRequest value)

The request for UpdateDatabase.

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

Parameter
Name Description
value UpdateDatabaseRequest
Returns
Type Description
UpdateDatabaseMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

setCancelTime(Timestamp value)

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;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateDatabaseMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

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
Returns
Type Description
UpdateDatabaseMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

setProgress(OperationProgress value)

public UpdateDatabaseMetadata.Builder setProgress(OperationProgress value)

The progress of the UpdateDatabase operation.

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

Parameter
Name Description
value OperationProgress
Returns
Type Description
UpdateDatabaseMetadata.Builder

setProgress(OperationProgress.Builder builderForValue)

public UpdateDatabaseMetadata.Builder setProgress(OperationProgress.Builder builderForValue)

The progress of the UpdateDatabase operation.

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

Parameter
Name Description
builderForValue OperationProgress.Builder
Returns
Type Description
UpdateDatabaseMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public UpdateDatabaseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides

setRequest(UpdateDatabaseRequest value)

public UpdateDatabaseMetadata.Builder setRequest(UpdateDatabaseRequest value)

The request for UpdateDatabase.

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

Parameter
Name Description
value UpdateDatabaseRequest
Returns
Type Description
UpdateDatabaseMetadata.Builder

setRequest(UpdateDatabaseRequest.Builder builderForValue)

public UpdateDatabaseMetadata.Builder setRequest(UpdateDatabaseRequest.Builder builderForValue)

The request for UpdateDatabase.

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

Parameter
Name Description
builderForValue UpdateDatabaseRequest.Builder
Returns
Type Description
UpdateDatabaseMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
UpdateDatabaseMetadata.Builder
Overrides