Class CreateInstanceMetadata.Builder (6.54.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

build()

public CreateInstanceMetadata build()
Returns
TypeDescription
CreateInstanceMetadata

buildPartial()

public CreateInstanceMetadata buildPartial()
Returns
TypeDescription
CreateInstanceMetadata

clear()

public CreateInstanceMetadata.Builder clear()
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

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;

Returns
TypeDescription
CreateInstanceMetadata.Builder

clearEndTime()

public CreateInstanceMetadata.Builder clearEndTime()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
CreateInstanceMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

public CreateInstanceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

clearInstance()

public CreateInstanceMetadata.Builder clearInstance()

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
TypeDescription
CreateInstanceMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInstanceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

clearStartTime()

public CreateInstanceMetadata.Builder clearStartTime()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
CreateInstanceMetadata.Builder

clone()

public CreateInstanceMetadata.Builder clone()
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

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;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
TimestampOrBuilder

getDefaultInstanceForType()

public CreateInstanceMetadata getDefaultInstanceForType()
Returns
TypeDescription
CreateInstanceMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
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;

Returns
TypeDescription
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

The time at which this operation failed or was completed successfully.

.google.protobuf.Timestamp end_time = 4;

Returns
TypeDescription
TimestampOrBuilder

getInstance()

public Instance getInstance()

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
TypeDescription
Instance

The instance.

getInstanceBuilder()

public Instance.Builder getInstanceBuilder()

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
TypeDescription
Instance.Builder

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
TypeDescription
InstanceOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Timestamp

The startTime.

getStartTimeBuilder()

public Timestamp.Builder getStartTimeBuilder()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
TypeDescription
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;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the endTime field is set.

hasInstance()

public boolean hasInstance()

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Returns
TypeDescription
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;

Returns
TypeDescription
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateInstanceMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInstanceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public CreateInstanceMetadata.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

mergeFrom(CreateInstanceMetadata other)

public CreateInstanceMetadata.Builder mergeFrom(CreateInstanceMetadata other)
Parameter
NameDescription
otherCreateInstanceMetadata
Returns
TypeDescription
CreateInstanceMetadata.Builder

mergeInstance(Instance value)

public CreateInstanceMetadata.Builder mergeInstance(Instance value)

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Parameter
NameDescription
valueInstance
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
CreateInstanceMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
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;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateInstanceMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

setInstance(Instance value)

public CreateInstanceMetadata.Builder setInstance(Instance value)

The instance being created.

.google.spanner.admin.instance.v1.Instance instance = 1;

Parameter
NameDescription
valueInstance
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueInstance.Builder
Returns
TypeDescription
CreateInstanceMetadata.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateInstanceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides

setStartTime(Timestamp value)

public CreateInstanceMetadata.Builder setStartTime(Timestamp value)

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
NameDescription
valueTimestamp
Returns
TypeDescription
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;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
CreateInstanceMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
CreateInstanceMetadata.Builder
Overrides