Class UpdateInstanceMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
com.google.spanner.admin.instance.v1.UpdateInstanceMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateInstanceMetadataOrBuilder,Cloneable
- Enclosing class:
- UpdateInstanceMetadata
public static final class UpdateInstanceMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
implements UpdateInstanceMetadataOrBuilder
Metadata type for the operation returned by [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance].Protobuf type
google.spanner.admin.instance.v1.UpdateInstanceMetadata-
Method Summary
Modifier and TypeMethodDescriptionaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()The time at which this operation was cancelled.The time at which this operation failed or was completed successfully.The expected fulfillment period of this update operation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The desired end state of the update.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.clone()com.google.protobuf.TimestampThe time at which this operation was cancelled.com.google.protobuf.Timestamp.BuilderThe time at which this operation was cancelled.com.google.protobuf.TimestampOrBuilderThe time at which this operation was cancelled.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampThe time at which this operation failed or was completed successfully.com.google.protobuf.Timestamp.BuilderThe time at which this operation failed or was completed successfully.com.google.protobuf.TimestampOrBuilderThe time at which this operation failed or was completed successfully.The expected fulfillment period of this update operation.intThe expected fulfillment period of this update operation.The desired end state of the update.The desired end state of the update.The desired end state of the update.com.google.protobuf.TimestampThe time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.com.google.protobuf.Timestamp.BuilderThe time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.com.google.protobuf.TimestampOrBuilderThe time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.booleanThe time at which this operation was cancelled.booleanThe time at which this operation failed or was completed successfully.booleanThe desired end state of the update.booleanThe time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeCancelTime(com.google.protobuf.Timestamp value) The time at which this operation was cancelled.mergeEndTime(com.google.protobuf.Timestamp value) The time at which this operation failed or was completed successfully.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(UpdateInstanceMetadata other) mergeInstance(Instance value) The desired end state of the update.mergeStartTime(com.google.protobuf.Timestamp value) The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) setCancelTime(com.google.protobuf.Timestamp value) The time at which this operation was cancelled.setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which this operation was cancelled.setEndTime(com.google.protobuf.Timestamp value) The time at which this operation failed or was completed successfully.setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which this operation failed or was completed successfully.The expected fulfillment period of this update operation.setExpectedFulfillmentPeriodValue(int value) The expected fulfillment period of this update operation.setInstance(Instance value) The desired end state of the update.setInstance(Instance.Builder builderForValue) The desired end state of the update.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTime(com.google.protobuf.Timestamp value) The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
setField
public UpdateInstanceMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
clearField
public UpdateInstanceMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
clearOneof
public UpdateInstanceMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
setRepeatedField
public UpdateInstanceMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
addRepeatedField
public UpdateInstanceMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateInstanceMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
mergeFrom
public UpdateInstanceMetadata.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateInstanceMetadata.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;- Specified by:
hasInstancein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;- Specified by:
getInstancein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- The instance.
-
setInstance
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1; -
setInstance
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1; -
mergeInstance
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1; -
clearInstance
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1; -
getInstanceBuilder
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1; -
getInstanceOrBuilder
The desired end state of the update.
.google.spanner.admin.instance.v1.Instance instance = 1;- Specified by:
getInstanceOrBuilderin interfaceUpdateInstanceMetadataOrBuilder
-
hasStartTime
public boolean hasStartTime()The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
hasStartTimein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- The startTime.
-
setStartTime
The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
setStartTime
public UpdateInstanceMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
mergeStartTime
The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
clearStartTime
The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time at which [UpdateInstance][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimeOrBuilderin interfaceUpdateInstanceMetadataOrBuilder
-
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;- Specified by:
hasCancelTimein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- Whether the cancelTime field is set.
-
getCancelTime
public com.google.protobuf.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;- Specified by:
getCancelTimein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- The cancelTime.
-
setCancelTime
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; -
setCancelTime
public UpdateInstanceMetadata.Builder setCancelTime(com.google.protobuf.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; -
mergeCancelTime
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; -
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; -
getCancelTimeBuilder
public com.google.protobuf.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; -
getCancelTimeOrBuilder
public com.google.protobuf.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;- Specified by:
getCancelTimeOrBuilderin interfaceUpdateInstanceMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;- Specified by:
hasEndTimein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- Whether the endTime field is set.
-
getEndTime
public com.google.protobuf.Timestamp getEndTime()The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;- Specified by:
getEndTimein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
setEndTime
public UpdateInstanceMetadata.Builder setEndTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
mergeEndTime
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
clearEndTime
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
getEndTimeBuilder
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder()The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
getEndTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder()The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;- Specified by:
getEndTimeOrBuilderin interfaceUpdateInstanceMetadataOrBuilder
-
getExpectedFulfillmentPeriodValue
public int getExpectedFulfillmentPeriodValue()The expected fulfillment period of this update operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Specified by:
getExpectedFulfillmentPeriodValuein interfaceUpdateInstanceMetadataOrBuilder- Returns:
- The enum numeric value on the wire for expectedFulfillmentPeriod.
-
setExpectedFulfillmentPeriodValue
The expected fulfillment period of this update operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Parameters:
value- The enum numeric value on the wire for expectedFulfillmentPeriod to set.- Returns:
- This builder for chaining.
-
getExpectedFulfillmentPeriod
The expected fulfillment period of this update operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Specified by:
getExpectedFulfillmentPeriodin interfaceUpdateInstanceMetadataOrBuilder- Returns:
- The expectedFulfillmentPeriod.
-
setExpectedFulfillmentPeriod
The expected fulfillment period of this update operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Parameters:
value- The expectedFulfillmentPeriod to set.- Returns:
- This builder for chaining.
-
clearExpectedFulfillmentPeriod
The expected fulfillment period of this update operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final UpdateInstanceMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-
mergeUnknownFields
public final UpdateInstanceMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstanceMetadata.Builder>
-