Class UpdateInstanceConfigMetadata.Builder (6.68.0)

public static final class UpdateInstanceConfigMetadata.Builder extends GeneratedMessageV3.Builder<UpdateInstanceConfigMetadata.Builder> implements UpdateInstanceConfigMetadataOrBuilder

Metadata type for the operation returned by UpdateInstanceConfig.

Protobuf type google.spanner.admin.instance.v1.UpdateInstanceConfigMetadata

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceConfigMetadata build()
Returns
Type Description
UpdateInstanceConfigMetadata

buildPartial()

public UpdateInstanceConfigMetadata buildPartial()
Returns
Type Description
UpdateInstanceConfigMetadata

clear()

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

clearCancelTime()

public UpdateInstanceConfigMetadata.Builder clearCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
UpdateInstanceConfigMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfig()

public UpdateInstanceConfigMetadata.Builder clearInstanceConfig()

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
UpdateInstanceConfigMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgress()

public UpdateInstanceConfigMetadata.Builder clearProgress()

The progress of the UpdateInstanceConfig operation.

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

Returns
Type Description
UpdateInstanceConfigMetadata.Builder

clone()

public UpdateInstanceConfigMetadata.Builder clone()
Returns
Type Description
UpdateInstanceConfigMetadata.Builder
Overrides

getCancelTime()

public Timestamp getCancelTime()

The time at which this operation was cancelled.

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

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
Builder

getCancelTimeOrBuilder()

public TimestampOrBuilder getCancelTimeOrBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateInstanceConfigMetadata getDefaultInstanceForType()
Returns
Type Description
UpdateInstanceConfigMetadata

getDescriptorForType()

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

getInstanceConfig()

public InstanceConfig getInstanceConfig()

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
InstanceConfigOrBuilder

getProgress()

public OperationProgress getProgress()

The progress of the UpdateInstanceConfig operation.

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

Returns
Type Description
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the UpdateInstanceConfig operation.

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

Returns
Type Description
OperationProgress.Builder

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the UpdateInstanceConfig operation.

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

Returns
Type Description
OperationProgressOrBuilder

hasCancelTime()

public boolean hasCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
boolean

Whether the cancelTime field is set.

hasInstanceConfig()

public boolean hasInstanceConfig()

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Returns
Type Description
boolean

Whether the instanceConfig field is set.

hasProgress()

public boolean hasProgress()

The progress of the UpdateInstanceConfig operation.

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

Returns
Type Description
boolean

Whether the progress 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 UpdateInstanceConfigMetadata.Builder mergeCancelTime(Timestamp value)

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstanceConfigMetadata other)

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

mergeInstanceConfig(InstanceConfig value)

public UpdateInstanceConfigMetadata.Builder mergeInstanceConfig(InstanceConfig value)

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

mergeProgress(OperationProgress value)

public UpdateInstanceConfigMetadata.Builder mergeProgress(OperationProgress value)

The progress of the UpdateInstanceConfig operation.

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

Parameter
Name Description
value OperationProgress
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCancelTime(Timestamp value)

public UpdateInstanceConfigMetadata.Builder setCancelTime(Timestamp value)

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

public UpdateInstanceConfigMetadata.Builder setCancelTime(Timestamp.Builder builderForValue)

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstanceConfig(InstanceConfig value)

public UpdateInstanceConfigMetadata.Builder setInstanceConfig(InstanceConfig value)

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Parameter
Name Description
value InstanceConfig
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

setInstanceConfig(InstanceConfig.Builder builderForValue)

public UpdateInstanceConfigMetadata.Builder setInstanceConfig(InstanceConfig.Builder builderForValue)

The desired instance config after updating.

.google.spanner.admin.instance.v1.InstanceConfig instance_config = 1;

Parameter
Name Description
builderForValue InstanceConfig.Builder
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

setProgress(OperationProgress value)

public UpdateInstanceConfigMetadata.Builder setProgress(OperationProgress value)

The progress of the UpdateInstanceConfig operation.

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

Parameter
Name Description
value OperationProgress
Returns
Type Description
UpdateInstanceConfigMetadata.Builder

setProgress(OperationProgress.Builder builderForValue)

public UpdateInstanceConfigMetadata.Builder setProgress(OperationProgress.Builder builderForValue)

The progress of the UpdateInstanceConfig operation.

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

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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