Class UpdateInstanceMetadata.Builder (6.25.1)

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UpdateInstanceMetadata build()
Returns
TypeDescription
UpdateInstanceMetadata

buildPartial()

public UpdateInstanceMetadata buildPartial()
Returns
TypeDescription
UpdateInstanceMetadata

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearInstance()

public UpdateInstanceMetadata.Builder clearInstance()

The desired end state of the update.

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

Returns
TypeDescription
UpdateInstanceMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public UpdateInstanceMetadata.Builder clearStartTime()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
UpdateInstanceMetadata.Builder

clone()

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

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

.google.protobuf.Timestamp cancel_time = 3;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public UpdateInstanceMetadata getDefaultInstanceForType()
Returns
TypeDescription
UpdateInstanceMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

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

.google.protobuf.Timestamp end_time = 4;

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

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

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

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getInstance()

public Instance getInstance()

The desired end state of the update.

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

Returns
TypeDescription
Instance

The instance.

getInstanceBuilder()

public Instance.Builder getInstanceBuilder()

The desired end state of the update.

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

Returns
TypeDescription
Instance.Builder

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

The desired end state of the update.

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

Returns
TypeDescription
InstanceOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which UpdateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

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

Whether the startTime 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 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
NameDescription
valueTimestamp
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateInstanceMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(UpdateInstanceMetadata other)

public UpdateInstanceMetadata.Builder mergeFrom(UpdateInstanceMetadata other)
Parameter
NameDescription
otherUpdateInstanceMetadata
Returns
TypeDescription
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
NameDescription
valueInstance
Returns
TypeDescription
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
NameDescription
valueTimestamp
Returns
TypeDescription
UpdateInstanceMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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