Class UpdateInstancePartitionMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
com.google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,UpdateInstancePartitionMetadataOrBuilder,Cloneable
- Enclosing class:
- UpdateInstancePartitionMetadata
public static final class UpdateInstancePartitionMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
implements UpdateInstancePartitionMetadataOrBuilder
Metadata type for the operation returned by [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition].Protobuf type
google.spanner.admin.instance.v1.UpdateInstancePartitionMetadata-
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.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 [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] 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 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 [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.com.google.protobuf.Timestamp.BuilderThe time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.com.google.protobuf.TimestampOrBuilderThe time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] 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 [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] 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) The desired end state of the update.mergeStartTime(com.google.protobuf.Timestamp value) The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] 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 desired end state of the update.setInstancePartition(InstancePartition.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 [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] 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<UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
-
setField
public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
-
clearField
public UpdateInstancePartitionMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
-
clearOneof
public UpdateInstancePartitionMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
-
setRepeatedField
public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
-
addRepeatedField
public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<UpdateInstancePartitionMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
-
mergeFrom
public UpdateInstancePartitionMetadata.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<UpdateInstancePartitionMetadata.Builder>- Throws:
IOException
-
hasInstancePartition
public boolean hasInstancePartition()The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;- Specified by:
hasInstancePartitionin interfaceUpdateInstancePartitionMetadataOrBuilder- Returns:
- Whether the instancePartition field is set.
-
getInstancePartition
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;- Specified by:
getInstancePartitionin interfaceUpdateInstancePartitionMetadataOrBuilder- Returns:
- The instancePartition.
-
setInstancePartition
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; -
setInstancePartition
public UpdateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition.Builder builderForValue) The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; -
mergeInstancePartition
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; -
clearInstancePartition
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; -
getInstancePartitionBuilder
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1; -
getInstancePartitionOrBuilder
The desired end state of the update.
.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;- Specified by:
getInstancePartitionOrBuilderin interfaceUpdateInstancePartitionMetadataOrBuilder
-
hasStartTime
public boolean hasStartTime()The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
hasStartTimein interfaceUpdateInstancePartitionMetadataOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimein interfaceUpdateInstancePartitionMetadataOrBuilder- Returns:
- The startTime.
-
setStartTime
The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2; -
setStartTime
public UpdateInstancePartitionMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2; -
mergeStartTime
The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2; -
clearStartTime
The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time at which [UpdateInstancePartition][google.spanner.admin.instance.v1.InstanceAdmin.UpdateInstancePartition] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimeOrBuilderin interfaceUpdateInstancePartitionMetadataOrBuilder
-
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 interfaceUpdateInstancePartitionMetadataOrBuilder- 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 interfaceUpdateInstancePartitionMetadataOrBuilder- 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 UpdateInstancePartitionMetadata.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 interfaceUpdateInstancePartitionMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;- Specified by:
hasEndTimein interfaceUpdateInstancePartitionMetadataOrBuilder- 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 interfaceUpdateInstancePartitionMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
setEndTime
public UpdateInstancePartitionMetadata.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 interfaceUpdateInstancePartitionMetadataOrBuilder
-
setUnknownFields
public final UpdateInstancePartitionMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
-
mergeUnknownFields
public final UpdateInstancePartitionMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<UpdateInstancePartitionMetadata.Builder>
-