public static final class CreateInstanceMetadata.Builder extends GeneratedMessageV3.Builder<CreateInstanceMetadata.Builder> implements CreateInstanceMetadataOrBuilder
Metadata type for the operation returned by CreateInstance.
Protobuf type google.spanner.admin.instance.v1.CreateInstanceMetadata
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > CreateInstanceMetadata.BuilderImplements
CreateInstanceMetadataOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public CreateInstanceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateInstanceMetadata.Builder |
build()
public CreateInstanceMetadata build()
Type | Description |
CreateInstanceMetadata |
buildPartial()
public CreateInstanceMetadata buildPartial()
Type | Description |
CreateInstanceMetadata |
clear()
public CreateInstanceMetadata.Builder clear()
Type | Description |
CreateInstanceMetadata.Builder |
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;
Type | Description |
CreateInstanceMetadata.Builder |
clearEndTime()
public CreateInstanceMetadata.Builder clearEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Type | Description |
CreateInstanceMetadata.Builder |
clearField(Descriptors.FieldDescriptor field)
public CreateInstanceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
CreateInstanceMetadata.Builder |
clearInstance()
public CreateInstanceMetadata.Builder clearInstance()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
CreateInstanceMetadata.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public CreateInstanceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
CreateInstanceMetadata.Builder |
clearStartTime()
public CreateInstanceMetadata.Builder clearStartTime()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
CreateInstanceMetadata.Builder |
clone()
public CreateInstanceMetadata.Builder clone()
Type | Description |
CreateInstanceMetadata.Builder |
getCancelTime()
public 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;
Type | Description |
Timestamp | The cancelTime. |
getCancelTimeBuilder()
public 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;
Type | Description |
Builder |
getCancelTimeOrBuilder()
public 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;
Type | Description |
TimestampOrBuilder |
getDefaultInstanceForType()
public CreateInstanceMetadata getDefaultInstanceForType()
Type | Description |
CreateInstanceMetadata |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getEndTime()
public Timestamp getEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Type | Description |
Timestamp | The endTime. |
getEndTimeBuilder()
public Timestamp.Builder getEndTimeBuilder()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Type | Description |
Builder |
getEndTimeOrBuilder()
public TimestampOrBuilder getEndTimeOrBuilder()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Type | Description |
TimestampOrBuilder |
getInstance()
public Instance getInstance()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
Instance | The instance. |
getInstanceBuilder()
public Instance.Builder getInstanceBuilder()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
Instance.Builder |
getInstanceOrBuilder()
public InstanceOrBuilder getInstanceOrBuilder()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
InstanceOrBuilder |
getStartTime()
public Timestamp getStartTime()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
Timestamp | The startTime. |
getStartTimeBuilder()
public Timestamp.Builder getStartTimeBuilder()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
Builder |
getStartTimeOrBuilder()
public TimestampOrBuilder getStartTimeOrBuilder()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
TimestampOrBuilder |
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;
Type | Description |
boolean | Whether the cancelTime field is set. |
hasEndTime()
public boolean hasEndTime()
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Type | Description |
boolean | Whether the endTime field is set. |
hasInstance()
public boolean hasInstance()
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Type | Description |
boolean | Whether the instance field is set. |
hasStartTime()
public boolean hasStartTime()
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Type | Description |
boolean | Whether the startTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeCancelTime(Timestamp value)
public CreateInstanceMetadata.Builder mergeCancelTime(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;
Name | Description |
value | Timestamp |
Type | Description |
CreateInstanceMetadata.Builder |
mergeEndTime(Timestamp value)
public CreateInstanceMetadata.Builder mergeEndTime(Timestamp value)
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
CreateInstanceMetadata.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateInstanceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
CreateInstanceMetadata.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public CreateInstanceMetadata.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
CreateInstanceMetadata.Builder |
mergeFrom(CreateInstanceMetadata other)
public CreateInstanceMetadata.Builder mergeFrom(CreateInstanceMetadata other)
Name | Description |
other | CreateInstanceMetadata |
Type | Description |
CreateInstanceMetadata.Builder |
mergeInstance(Instance value)
public CreateInstanceMetadata.Builder mergeInstance(Instance value)
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Name | Description |
value | Instance |
Type | Description |
CreateInstanceMetadata.Builder |
mergeStartTime(Timestamp value)
public CreateInstanceMetadata.Builder mergeStartTime(Timestamp value)
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
CreateInstanceMetadata.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final CreateInstanceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateInstanceMetadata.Builder |
setCancelTime(Timestamp value)
public CreateInstanceMetadata.Builder setCancelTime(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;
Name | Description |
value | Timestamp |
Type | Description |
CreateInstanceMetadata.Builder |
setCancelTime(Timestamp.Builder builderForValue)
public CreateInstanceMetadata.Builder setCancelTime(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;
Name | Description |
builderForValue | Builder |
Type | Description |
CreateInstanceMetadata.Builder |
setEndTime(Timestamp value)
public CreateInstanceMetadata.Builder setEndTime(Timestamp value)
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Name | Description |
value | Timestamp |
Type | Description |
CreateInstanceMetadata.Builder |
setEndTime(Timestamp.Builder builderForValue)
public CreateInstanceMetadata.Builder setEndTime(Timestamp.Builder builderForValue)
The time at which this operation failed or was completed successfully.
.google.protobuf.Timestamp end_time = 4;
Name | Description |
builderForValue | Builder |
Type | Description |
CreateInstanceMetadata.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public CreateInstanceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
CreateInstanceMetadata.Builder |
setInstance(Instance value)
public CreateInstanceMetadata.Builder setInstance(Instance value)
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Name | Description |
value | Instance |
Type | Description |
CreateInstanceMetadata.Builder |
setInstance(Instance.Builder builderForValue)
public CreateInstanceMetadata.Builder setInstance(Instance.Builder builderForValue)
The instance being created.
.google.spanner.admin.instance.v1.Instance instance = 1;
Name | Description |
builderForValue | Instance.Builder |
Type | Description |
CreateInstanceMetadata.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public CreateInstanceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
CreateInstanceMetadata.Builder |
setStartTime(Timestamp value)
public CreateInstanceMetadata.Builder setStartTime(Timestamp value)
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Name | Description |
value | Timestamp |
Type | Description |
CreateInstanceMetadata.Builder |
setStartTime(Timestamp.Builder builderForValue)
public CreateInstanceMetadata.Builder setStartTime(Timestamp.Builder builderForValue)
The time at which the CreateInstance request was received.
.google.protobuf.Timestamp start_time = 2;
Name | Description |
builderForValue | Builder |
Type | Description |
CreateInstanceMetadata.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final CreateInstanceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
CreateInstanceMetadata.Builder |