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
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > UpdateInstanceMetadata.BuilderImplements
UpdateInstanceMetadataOrBuilderMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstanceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateInstanceMetadata.Builder |
build()
public UpdateInstanceMetadata build()
Type | Description |
UpdateInstanceMetadata |
buildPartial()
public UpdateInstanceMetadata buildPartial()
Type | Description |
UpdateInstanceMetadata |
clear()
public UpdateInstanceMetadata.Builder clear()
Type | Description |
UpdateInstanceMetadata.Builder |
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;
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;
Type | Description |
UpdateInstanceMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public UpdateInstanceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
UpdateInstanceMetadata.Builder |
clearInstance()
public UpdateInstanceMetadata.Builder clearInstance()
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
UpdateInstanceMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public UpdateInstanceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
UpdateInstanceMetadata.Builder |
clearStartTime()
public UpdateInstanceMetadata.Builder clearStartTime()
The time at which UpdateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
UpdateInstanceMetadata.Builder |
clone()
public UpdateInstanceMetadata.Builder clone()
Type | Description |
UpdateInstanceMetadata.Builder |
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;
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;
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;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public UpdateInstanceMetadata getDefaultInstanceForType()
Type | Description |
UpdateInstanceMetadata |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
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;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Type | Description |
TimestampOrBuilder |
getInstance()
public Instance getInstance()
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;
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;
Type | Description |
Instance.Builder |
getInstanceOrBuilder()
public InstanceOrBuilder getInstanceOrBuilder()
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
InstanceOrBuilder |
getStartTime()
public Timestamp getStartTime()
The time at which UpdateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The time at which UpdateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time at which UpdateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
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;
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;
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;
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;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
value | Timestamp |
Type | Description |
UpdateInstanceMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public UpdateInstanceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
UpdateInstanceMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public UpdateInstanceMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
UpdateInstanceMetadata.Builder |
mergeFrom(UpdateInstanceMetadata other)
public UpdateInstanceMetadata.Builder mergeFrom(UpdateInstanceMetadata other)
Name | Description |
other | UpdateInstanceMetadata |
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;
Name | Description |
value | Instance |
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;
Name | Description |
value | Timestamp |
Type | Description |
UpdateInstanceMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstanceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateInstanceMetadata.Builder |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
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;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
UpdateInstanceMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public UpdateInstanceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
UpdateInstanceMetadata.Builder |
setInstance(Instance value)
public UpdateInstanceMetadata.Builder setInstance(Instance value)
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;
Name | Description |
value | Instance |
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;
Name | Description |
builderForValue | Instance.Builder |
Type | Description |
UpdateInstanceMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public UpdateInstanceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
UpdateInstanceMetadata.Builder |
setStartTime(Timestamp value)
public UpdateInstanceMetadata.Builder setStartTime(Timestamp value)
The time at which UpdateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Name | Description |
value | Timestamp |
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;
Name | Description |
builderForValue | Builder |
Type | Description |
UpdateInstanceMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final UpdateInstanceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
UpdateInstanceMetadata.Builder |