Class UpdateInstancePartitionMetadata.Builder (6.74.0)

public static final class UpdateInstancePartitionMetadata.Builder extends GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder> implements UpdateInstancePartitionMetadataOrBuilder

Metadata type for the operation returned by UpdateInstancePartition.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstancePartitionMetadata build()
Returns
Type Description
UpdateInstancePartitionMetadata

buildPartial()

public UpdateInstancePartitionMetadata buildPartial()
Returns
Type Description
UpdateInstancePartitionMetadata

clear()

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

clearCancelTime()

public UpdateInstancePartitionMetadata.Builder clearCancelTime()

The time at which this operation was cancelled. If set, this operation is in the process of undoing itself (which is guaranteed to succeed) and cannot be cancelled again.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
UpdateInstancePartitionMetadata.Builder

clearEndTime()

public UpdateInstancePartitionMetadata.Builder clearEndTime()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
UpdateInstancePartitionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInstancePartition()

public UpdateInstancePartitionMetadata.Builder clearInstancePartition()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
UpdateInstancePartitionMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public UpdateInstancePartitionMetadata.Builder clearStartTime()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
UpdateInstancePartitionMetadata.Builder

clone()

public UpdateInstancePartitionMetadata.Builder clone()
Returns
Type Description
UpdateInstancePartitionMetadata.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 guaranteed to succeed) and cannot be cancelled again.

.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 guaranteed to succeed) and cannot be cancelled again.

.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 guaranteed to succeed) and cannot be cancelled again.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateInstancePartitionMetadata getDefaultInstanceForType()
Returns
Type Description
UpdateInstancePartitionMetadata

getDescriptorForType()

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

getEndTime()

public Timestamp getEndTime()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Timestamp

The endTime.

getEndTimeBuilder()

public Timestamp.Builder getEndTimeBuilder()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getInstancePartition()

public InstancePartition getInstancePartition()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartition

The instancePartition.

getInstancePartitionBuilder()

public InstancePartition.Builder getInstancePartitionBuilder()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartition.Builder

getInstancePartitionOrBuilder()

public InstancePartitionOrBuilder getInstancePartitionOrBuilder()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartitionOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
TimestampOrBuilder

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 guaranteed to succeed) and cannot be cancelled again.

.google.protobuf.Timestamp cancel_time = 3;

Returns
Type Description
boolean

Whether the cancelTime field is set.

hasEndTime()

public boolean hasEndTime()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
boolean

Whether the endTime field is set.

hasInstancePartition()

public boolean hasInstancePartition()

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
boolean

Whether the instancePartition field is set.

hasStartTime()

public boolean hasStartTime()

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
boolean

Whether the startTime 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 UpdateInstancePartitionMetadata.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 guaranteed to succeed) and cannot be cancelled again.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

mergeEndTime(Timestamp value)

public UpdateInstancePartitionMetadata.Builder mergeEndTime(Timestamp value)

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstancePartitionMetadata other)

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

mergeInstancePartition(InstancePartition value)

public UpdateInstancePartitionMetadata.Builder mergeInstancePartition(InstancePartition value)

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Parameter
Name Description
value InstancePartition
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

mergeStartTime(Timestamp value)

public UpdateInstancePartitionMetadata.Builder mergeStartTime(Timestamp value)

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCancelTime(Timestamp value)

public UpdateInstancePartitionMetadata.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 guaranteed to succeed) and cannot be cancelled again.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

public UpdateInstancePartitionMetadata.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 guaranteed to succeed) and cannot be cancelled again.

.google.protobuf.Timestamp cancel_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setEndTime(Timestamp value)

public UpdateInstancePartitionMetadata.Builder setEndTime(Timestamp value)

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public UpdateInstancePartitionMetadata.Builder setEndTime(Timestamp.Builder builderForValue)

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstancePartition(InstancePartition value)

public UpdateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition value)

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Parameter
Name Description
value InstancePartition
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setInstancePartition(InstancePartition.Builder builderForValue)

public UpdateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition.Builder builderForValue)

The desired end state of the update.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Parameter
Name Description
builderForValue InstancePartition.Builder
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

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

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

setStartTime(Timestamp value)

public UpdateInstancePartitionMetadata.Builder setStartTime(Timestamp value)

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public UpdateInstancePartitionMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which UpdateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateInstancePartitionMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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