Class UpdateInstanceMetadata.Builder (6.74.0)

public static final class UpdateInstanceMetadata.Builder extends GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder> implements UpdateInstanceMetadataOrBuilder

Metadata type for the operation returned by UpdateInstance.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceMetadata build()
Returns
Type Description
UpdateInstanceMetadata

buildPartial()

public UpdateInstanceMetadata buildPartial()
Returns
Type Description
UpdateInstanceMetadata

clear()

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

clearCancelTime()

public UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

clearEndTime()

public UpdateInstanceMetadata.Builder clearEndTime()

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

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
UpdateInstanceMetadata.Builder

clearExpectedFulfillmentPeriod()

public UpdateInstanceMetadata.Builder clearExpectedFulfillmentPeriod()

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
UpdateInstanceMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public UpdateInstanceMetadata.Builder clearInstance()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
UpdateInstanceMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public UpdateInstanceMetadata.Builder clearStartTime()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
UpdateInstanceMetadata.Builder

clone()

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

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

getExpectedFulfillmentPeriod()

public FulfillmentPeriod getExpectedFulfillmentPeriod()

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
FulfillmentPeriod

The expectedFulfillmentPeriod.

getExpectedFulfillmentPeriodValue()

public int getExpectedFulfillmentPeriodValue()

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
int

The enum numeric value on the wire for expectedFulfillmentPeriod.

getInstance()

public Instance getInstance()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
Instance

The instance.

getInstanceBuilder()

public Instance.Builder getInstanceBuilder()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
Instance.Builder

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
InstanceOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which UpdateInstance 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.

hasInstance()

public boolean hasInstance()

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
Type Description
boolean

Whether the instance field is set.

hasStartTime()

public boolean hasStartTime()

The time at which UpdateInstance 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 UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

mergeEndTime(Timestamp value)

public UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstanceMetadata other)

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

mergeInstance(Instance value)

public UpdateInstanceMetadata.Builder mergeInstance(Instance value)

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Parameter
Name Description
value Instance
Returns
Type Description
UpdateInstanceMetadata.Builder

mergeStartTime(Timestamp value)

public UpdateInstanceMetadata.Builder mergeStartTime(Timestamp value)

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstanceMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCancelTime(Timestamp value)

public UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

public UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

setEndTime(Timestamp value)

public UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public UpdateInstanceMetadata.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
UpdateInstanceMetadata.Builder

setExpectedFulfillmentPeriod(FulfillmentPeriod value)

public UpdateInstanceMetadata.Builder setExpectedFulfillmentPeriod(FulfillmentPeriod value)

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Parameter
Name Description
value FulfillmentPeriod

The expectedFulfillmentPeriod to set.

Returns
Type Description
UpdateInstanceMetadata.Builder

This builder for chaining.

setExpectedFulfillmentPeriodValue(int value)

public UpdateInstanceMetadata.Builder setExpectedFulfillmentPeriodValue(int value)

The expected fulfillment period of this update operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for expectedFulfillmentPeriod to set.

Returns
Type Description
UpdateInstanceMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstance(Instance value)

public UpdateInstanceMetadata.Builder setInstance(Instance value)

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Parameter
Name Description
value Instance
Returns
Type Description
UpdateInstanceMetadata.Builder

setInstance(Instance.Builder builderForValue)

public UpdateInstanceMetadata.Builder setInstance(Instance.Builder builderForValue)

The desired end state of the update.

.google.spanner.admin.instance.v1.Instance instance = 1;

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
UpdateInstanceMetadata.Builder

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

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

setStartTime(Timestamp value)

public UpdateInstanceMetadata.Builder setStartTime(Timestamp value)

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
UpdateInstanceMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public UpdateInstanceMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UpdateInstanceMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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