Class CreateInstanceMetadata.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
com.google.spanner.admin.instance.v1.CreateInstanceMetadata.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,CreateInstanceMetadataOrBuilder,Cloneable
- Enclosing class:
- CreateInstanceMetadata
public static final class CreateInstanceMetadata.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
implements CreateInstanceMetadataOrBuilder
Metadata type for the operation returned by [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance].Protobuf type
google.spanner.admin.instance.v1.CreateInstanceMetadata-
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 create operation.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The instance being created.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] 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 create operation.intThe expected fulfillment period of this create operation.The instance being created.The instance being created.The instance being created.com.google.protobuf.TimestampThe time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.com.google.protobuf.Timestamp.BuilderThe time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.com.google.protobuf.TimestampOrBuilderThe time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.booleanThe time at which this operation was cancelled.booleanThe time at which this operation failed or was completed successfully.booleanThe instance being created.booleanThe time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] 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(CreateInstanceMetadata other) mergeInstance(Instance value) The instance being created.mergeStartTime(com.google.protobuf.Timestamp value) The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] 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 create operation.setExpectedFulfillmentPeriodValue(int value) The expected fulfillment period of this create operation.setInstance(Instance value) The instance being created.setInstance(Instance.Builder builderForValue) The instance being created.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) setStartTime(com.google.protobuf.Timestamp value) The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] 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<CreateInstanceMetadata.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<CreateInstanceMetadata.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<CreateInstanceMetadata.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<CreateInstanceMetadata.Builder>
-
setField
public CreateInstanceMetadata.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<CreateInstanceMetadata.Builder>
-
clearField
public CreateInstanceMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
clearOneof
public CreateInstanceMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
setRepeatedField
public CreateInstanceMetadata.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<CreateInstanceMetadata.Builder>
-
addRepeatedField
public CreateInstanceMetadata.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<CreateInstanceMetadata.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<CreateInstanceMetadata.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
mergeFrom
public CreateInstanceMetadata.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<CreateInstanceMetadata.Builder>- Throws:
IOException
-
hasInstance
public boolean hasInstance()The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;- Specified by:
hasInstancein interfaceCreateInstanceMetadataOrBuilder- Returns:
- Whether the instance field is set.
-
getInstance
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;- Specified by:
getInstancein interfaceCreateInstanceMetadataOrBuilder- Returns:
- The instance.
-
setInstance
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1; -
setInstance
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1; -
mergeInstance
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1; -
clearInstance
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1; -
getInstanceBuilder
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1; -
getInstanceOrBuilder
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;- Specified by:
getInstanceOrBuilderin interfaceCreateInstanceMetadataOrBuilder
-
hasStartTime
public boolean hasStartTime()The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
hasStartTimein interfaceCreateInstanceMetadataOrBuilder- Returns:
- Whether the startTime field is set.
-
getStartTime
public com.google.protobuf.Timestamp getStartTime()The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimein interfaceCreateInstanceMetadataOrBuilder- Returns:
- The startTime.
-
setStartTime
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
setStartTime
public CreateInstanceMetadata.Builder setStartTime(com.google.protobuf.Timestamp.Builder builderForValue) The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
mergeStartTime
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
clearStartTime
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeBuilder
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder()The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2; -
getStartTimeOrBuilder
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder()The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;- Specified by:
getStartTimeOrBuilderin interfaceCreateInstanceMetadataOrBuilder
-
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 interfaceCreateInstanceMetadataOrBuilder- 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 interfaceCreateInstanceMetadataOrBuilder- 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 CreateInstanceMetadata.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 interfaceCreateInstanceMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;- Specified by:
hasEndTimein interfaceCreateInstanceMetadataOrBuilder- 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 interfaceCreateInstanceMetadataOrBuilder- Returns:
- The endTime.
-
setEndTime
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4; -
setEndTime
public CreateInstanceMetadata.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 interfaceCreateInstanceMetadataOrBuilder
-
getExpectedFulfillmentPeriodValue
public int getExpectedFulfillmentPeriodValue()The expected fulfillment period of this create operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Specified by:
getExpectedFulfillmentPeriodValuein interfaceCreateInstanceMetadataOrBuilder- Returns:
- The enum numeric value on the wire for expectedFulfillmentPeriod.
-
setExpectedFulfillmentPeriodValue
The expected fulfillment period of this create 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 create operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Specified by:
getExpectedFulfillmentPeriodin interfaceCreateInstanceMetadataOrBuilder- Returns:
- The expectedFulfillmentPeriod.
-
setExpectedFulfillmentPeriod
The expected fulfillment period of this create 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 create operation.
.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;- Returns:
- This builder for chaining.
-
setUnknownFields
public final CreateInstanceMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
mergeUnknownFields
public final CreateInstanceMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-