Class UpdateInstanceConfigMetadata.Builder (6.57.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceConfigMetadata build()
Returns
TypeDescription
UpdateInstanceConfigMetadata

buildPartial()

public UpdateInstanceConfigMetadata buildPartial()
Returns
TypeDescription
UpdateInstanceConfigMetadata

clear()

public UpdateInstanceConfigMetadata.Builder clear()
Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder
Overrides

clearCancelTime()

public UpdateInstanceConfigMetadata.Builder clearCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInstanceConfig()

public UpdateInstanceConfigMetadata.Builder clearInstanceConfig()

The desired instance config after updating.

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

Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearProgress()

public UpdateInstanceConfigMetadata.Builder clearProgress()

The progress of the UpdateInstanceConfig operation.

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

Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder

clone()

public UpdateInstanceConfigMetadata.Builder clone()
Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder
Overrides

getCancelTime()

public Timestamp getCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
Timestamp

The cancelTime.

getCancelTimeBuilder()

public Timestamp.Builder getCancelTimeBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
Builder

getCancelTimeOrBuilder()

public TimestampOrBuilder getCancelTimeOrBuilder()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateInstanceConfigMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateInstanceConfigMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getInstanceConfig()

public InstanceConfig getInstanceConfig()

The desired instance config after updating.

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

Returns
TypeDescription
InstanceConfig

The instanceConfig.

getInstanceConfigBuilder()

public InstanceConfig.Builder getInstanceConfigBuilder()

The desired instance config after updating.

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

Returns
TypeDescription
InstanceConfig.Builder

getInstanceConfigOrBuilder()

public InstanceConfigOrBuilder getInstanceConfigOrBuilder()

The desired instance config after updating.

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

Returns
TypeDescription
InstanceConfigOrBuilder

getProgress()

public OperationProgress getProgress()

The progress of the UpdateInstanceConfig operation.

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

Returns
TypeDescription
OperationProgress

The progress.

getProgressBuilder()

public OperationProgress.Builder getProgressBuilder()

The progress of the UpdateInstanceConfig operation.

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

Returns
TypeDescription
OperationProgress.Builder

getProgressOrBuilder()

public OperationProgressOrBuilder getProgressOrBuilder()

The progress of the UpdateInstanceConfig operation.

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

Returns
TypeDescription
OperationProgressOrBuilder

hasCancelTime()

public boolean hasCancelTime()

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

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

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

The time at which this operation was cancelled.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstanceConfigMetadata other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public UpdateInstanceConfigMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
UpdateInstanceConfigMetadata.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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