Class UpdateDatabaseMetadata.Builder (6.50.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides

build()

public UpdateDatabaseMetadata build()
Returns
TypeDescription
UpdateDatabaseMetadata

buildPartial()

public UpdateDatabaseMetadata buildPartial()
Returns
TypeDescription
UpdateDatabaseMetadata

clear()

public UpdateDatabaseMetadata.Builder clear()
Returns
TypeDescription
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
TypeDescription
UpdateDatabaseMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public UpdateDatabaseMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public UpdateDatabaseMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides

clearProgress()

public UpdateDatabaseMetadata.Builder clearProgress()

The progress of the UpdateDatabase operation.

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

Returns
TypeDescription
UpdateDatabaseMetadata.Builder

clearRequest()

public UpdateDatabaseMetadata.Builder clearRequest()

The request for UpdateDatabase.

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

Returns
TypeDescription
UpdateDatabaseMetadata.Builder

clone()

public UpdateDatabaseMetadata.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateDatabaseMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateDatabaseMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getProgress()

public OperationProgress getProgress()

The progress of the UpdateDatabase operation.

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

Returns
TypeDescription
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the UpdateDatabase operation.

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

Returns
TypeDescription
OperationProgress.Builder

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.

getRequestBuilder()

public UpdateDatabaseRequest.Builder getRequestBuilder()

The request for UpdateDatabase.

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

Returns
TypeDescription
UpdateDatabaseRequest.Builder

getRequestOrBuilder()

public UpdateDatabaseRequestOrBuilder getRequestOrBuilder()

The request for UpdateDatabase.

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

Returns
TypeDescription
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
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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public UpdateDatabaseMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public UpdateDatabaseMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides

mergeFrom(UpdateDatabaseMetadata other)

public UpdateDatabaseMetadata.Builder mergeFrom(UpdateDatabaseMetadata other)
Parameter
NameDescription
otherUpdateDatabaseMetadata
Returns
TypeDescription
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
NameDescription
valueOperationProgress
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

mergeRequest(UpdateDatabaseRequest value)

public UpdateDatabaseMetadata.Builder mergeRequest(UpdateDatabaseRequest value)

The request for UpdateDatabase.

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

Parameter
NameDescription
valueUpdateDatabaseRequest
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
builderForValueBuilder
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public UpdateDatabaseMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueOperationProgress
Returns
TypeDescription
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
NameDescription
builderForValueOperationProgress.Builder
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

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

public UpdateDatabaseMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueUpdateDatabaseRequest
Returns
TypeDescription
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
NameDescription
builderForValueUpdateDatabaseRequest.Builder
Returns
TypeDescription
UpdateDatabaseMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final UpdateDatabaseMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
UpdateDatabaseMetadata.Builder
Overrides