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 typegoogle.spanner.admin.instance.v1.CreateInstanceMetadata
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description CreateInstanceMetadata.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CreateInstanceMetadata
build()
CreateInstanceMetadata
buildPartial()
CreateInstanceMetadata.Builder
clear()
CreateInstanceMetadata.Builder
clearCancelTime()
The time at which this operation was cancelled.CreateInstanceMetadata.Builder
clearEndTime()
The time at which this operation failed or was completed successfully.CreateInstanceMetadata.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
CreateInstanceMetadata.Builder
clearInstance()
The instance being created.CreateInstanceMetadata.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
CreateInstanceMetadata.Builder
clearStartTime()
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.CreateInstanceMetadata.Builder
clone()
com.google.protobuf.Timestamp
getCancelTime()
The time at which this operation was cancelled.com.google.protobuf.Timestamp.Builder
getCancelTimeBuilder()
The time at which this operation was cancelled.com.google.protobuf.TimestampOrBuilder
getCancelTimeOrBuilder()
The time at which this operation was cancelled.CreateInstanceMetadata
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
com.google.protobuf.Timestamp
getEndTime()
The time at which this operation failed or was completed successfully.com.google.protobuf.Timestamp.Builder
getEndTimeBuilder()
The time at which this operation failed or was completed successfully.com.google.protobuf.TimestampOrBuilder
getEndTimeOrBuilder()
The time at which this operation failed or was completed successfully.Instance
getInstance()
The instance being created.Instance.Builder
getInstanceBuilder()
The instance being created.InstanceOrBuilder
getInstanceOrBuilder()
The instance being created.com.google.protobuf.Timestamp
getStartTime()
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.com.google.protobuf.Timestamp.Builder
getStartTimeBuilder()
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.com.google.protobuf.TimestampOrBuilder
getStartTimeOrBuilder()
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.boolean
hasCancelTime()
The time at which this operation was cancelled.boolean
hasEndTime()
The time at which this operation failed or was completed successfully.boolean
hasInstance()
The instance being created.boolean
hasStartTime()
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
CreateInstanceMetadata.Builder
mergeCancelTime(com.google.protobuf.Timestamp value)
The time at which this operation was cancelled.CreateInstanceMetadata.Builder
mergeEndTime(com.google.protobuf.Timestamp value)
The time at which this operation failed or was completed successfully.CreateInstanceMetadata.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
CreateInstanceMetadata.Builder
mergeFrom(com.google.protobuf.Message other)
CreateInstanceMetadata.Builder
mergeFrom(CreateInstanceMetadata other)
CreateInstanceMetadata.Builder
mergeInstance(Instance value)
The instance being created.CreateInstanceMetadata.Builder
mergeStartTime(com.google.protobuf.Timestamp value)
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.CreateInstanceMetadata.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
CreateInstanceMetadata.Builder
setCancelTime(com.google.protobuf.Timestamp value)
The time at which this operation was cancelled.CreateInstanceMetadata.Builder
setCancelTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which this operation was cancelled.CreateInstanceMetadata.Builder
setEndTime(com.google.protobuf.Timestamp value)
The time at which this operation failed or was completed successfully.CreateInstanceMetadata.Builder
setEndTime(com.google.protobuf.Timestamp.Builder builderForValue)
The time at which this operation failed or was completed successfully.CreateInstanceMetadata.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
CreateInstanceMetadata.Builder
setInstance(Instance value)
The instance being created.CreateInstanceMetadata.Builder
setInstance(Instance.Builder builderForValue)
The instance being created.CreateInstanceMetadata.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
CreateInstanceMetadata.Builder
setStartTime(com.google.protobuf.Timestamp value)
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.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.CreateInstanceMetadata.Builder
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, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
clear
public CreateInstanceMetadata.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
getDefaultInstanceForType
public CreateInstanceMetadata getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public CreateInstanceMetadata build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public CreateInstanceMetadata buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public CreateInstanceMetadata.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
setField
public CreateInstanceMetadata.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
clearField
public CreateInstanceMetadata.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
clearOneof
public CreateInstanceMetadata.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
setRepeatedField
public CreateInstanceMetadata.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
addRepeatedField
public CreateInstanceMetadata.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
mergeFrom
public CreateInstanceMetadata.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<CreateInstanceMetadata.Builder>
-
mergeFrom
public CreateInstanceMetadata.Builder mergeFrom(CreateInstanceMetadata other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in 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:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in 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:
hasInstance
in interfaceCreateInstanceMetadataOrBuilder
- Returns:
- Whether the instance field is set.
-
getInstance
public Instance getInstance()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
- Specified by:
getInstance
in interfaceCreateInstanceMetadataOrBuilder
- Returns:
- The instance.
-
setInstance
public CreateInstanceMetadata.Builder setInstance(Instance value)
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
-
setInstance
public CreateInstanceMetadata.Builder setInstance(Instance.Builder builderForValue)
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
-
mergeInstance
public CreateInstanceMetadata.Builder mergeInstance(Instance value)
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
-
clearInstance
public CreateInstanceMetadata.Builder clearInstance()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
-
getInstanceBuilder
public Instance.Builder getInstanceBuilder()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
-
getInstanceOrBuilder
public InstanceOrBuilder getInstanceOrBuilder()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
- Specified by:
getInstanceOrBuilder
in 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:
hasStartTime
in 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:
getStartTime
in interfaceCreateInstanceMetadataOrBuilder
- Returns:
- The startTime.
-
setStartTime
public CreateInstanceMetadata.Builder setStartTime(com.google.protobuf.Timestamp value)
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
public CreateInstanceMetadata.Builder mergeStartTime(com.google.protobuf.Timestamp value)
The time at which the [CreateInstance][google.spanner.admin.instance.v1.InstanceAdmin.CreateInstance] request was received.
.google.protobuf.Timestamp start_time = 2;
-
clearStartTime
public CreateInstanceMetadata.Builder 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:
getStartTimeOrBuilder
in 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:
hasCancelTime
in 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:
getCancelTime
in interfaceCreateInstanceMetadataOrBuilder
- Returns:
- The cancelTime.
-
setCancelTime
public CreateInstanceMetadata.Builder setCancelTime(com.google.protobuf.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;
-
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
public CreateInstanceMetadata.Builder mergeCancelTime(com.google.protobuf.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;
-
clearCancelTime
public CreateInstanceMetadata.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;
-
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:
getCancelTimeOrBuilder
in interfaceCreateInstanceMetadataOrBuilder
-
hasEndTime
public boolean hasEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
- Specified by:
hasEndTime
in 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:
getEndTime
in interfaceCreateInstanceMetadataOrBuilder
- Returns:
- The endTime.
-
setEndTime
public CreateInstanceMetadata.Builder setEndTime(com.google.protobuf.Timestamp value)
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
public CreateInstanceMetadata.Builder mergeEndTime(com.google.protobuf.Timestamp value)
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
-
clearEndTime
public CreateInstanceMetadata.Builder 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:
getEndTimeOrBuilder
in interfaceCreateInstanceMetadataOrBuilder
-
setUnknownFields
public final CreateInstanceMetadata.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
mergeUnknownFields
public final CreateInstanceMetadata.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder>
-
-