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