Class CreateInstanceMetadata.Builder (6.83.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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceMetadata.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateInstanceMetadata.Builder
Overrides

build()

public CreateInstanceMetadata build()
Returns
Type Description
CreateInstanceMetadata

buildPartial()

public CreateInstanceMetadata buildPartial()
Returns
Type Description
CreateInstanceMetadata

clear()

public CreateInstanceMetadata.Builder clear()
Returns
Type Description
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
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;

Returns
Type Description
CreateInstanceMetadata.Builder

clearExpectedFulfillmentPeriod()

public CreateInstanceMetadata.Builder clearExpectedFulfillmentPeriod()

The expected fulfillment period of this create operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
CreateInstanceMetadata.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public CreateInstanceMetadata.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateInstanceMetadata.Builder
Overrides

clearInstance()

public CreateInstanceMetadata.Builder clearInstance()

The instance being created.

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

Returns
Type Description
CreateInstanceMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateInstanceMetadata.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateInstanceMetadata.Builder
Overrides

clearStartTime()

public CreateInstanceMetadata.Builder clearStartTime()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
CreateInstanceMetadata.Builder

clone()

public CreateInstanceMetadata.Builder clone()
Returns
Type Description
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
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;

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

Returns
Type Description
TimestampOrBuilder

getDefaultInstanceForType()

public CreateInstanceMetadata getDefaultInstanceForType()
Returns
Type Description
CreateInstanceMetadata

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEndTime()

public Timestamp getEndTime()

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

.google.protobuf.Timestamp end_time = 4;

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

Returns
Type Description
Builder

getEndTimeOrBuilder()

public TimestampOrBuilder getEndTimeOrBuilder()

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

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
TimestampOrBuilder

getExpectedFulfillmentPeriod()

public FulfillmentPeriod getExpectedFulfillmentPeriod()

The expected fulfillment period of this create operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
FulfillmentPeriod

The expectedFulfillmentPeriod.

getExpectedFulfillmentPeriodValue()

public int getExpectedFulfillmentPeriodValue()

The expected fulfillment period of this create operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Returns
Type Description
int

The enum numeric value on the wire for expectedFulfillmentPeriod.

getInstance()

public Instance getInstance()

The instance being created.

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

Returns
Type Description
Instance

The instance.

getInstanceBuilder()

public Instance.Builder getInstanceBuilder()

The instance being created.

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

Returns
Type Description
Instance.Builder

getInstanceOrBuilder()

public InstanceOrBuilder getInstanceOrBuilder()

The instance being created.

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

Returns
Type Description
InstanceOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

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

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the CreateInstance request was received.

.google.protobuf.Timestamp start_time = 2;

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

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

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

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

Returns
Type Description
boolean

Whether the startTime field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
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
Name Description
value Timestamp
Returns
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;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateInstanceMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public CreateInstanceMetadata.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
CreateInstanceMetadata.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateInstanceMetadata.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateInstanceMetadata.Builder
Overrides

mergeFrom(CreateInstanceMetadata other)

public CreateInstanceMetadata.Builder mergeFrom(CreateInstanceMetadata other)
Parameter
Name Description
other CreateInstanceMetadata
Returns
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;

Parameter
Name Description
value Instance
Returns
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;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateInstanceMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
value Timestamp
Returns
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;

Parameter
Name Description
builderForValue Builder
Returns
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;

Parameter
Name Description
value Timestamp
Returns
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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateInstanceMetadata.Builder

setExpectedFulfillmentPeriod(FulfillmentPeriod value)

public CreateInstanceMetadata.Builder setExpectedFulfillmentPeriod(FulfillmentPeriod value)

The expected fulfillment period of this create operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Parameter
Name Description
value FulfillmentPeriod

The expectedFulfillmentPeriod to set.

Returns
Type Description
CreateInstanceMetadata.Builder

This builder for chaining.

setExpectedFulfillmentPeriodValue(int value)

public CreateInstanceMetadata.Builder setExpectedFulfillmentPeriodValue(int value)

The expected fulfillment period of this create operation.

.google.spanner.admin.instance.v1.FulfillmentPeriod expected_fulfillment_period = 5;

Parameter
Name Description
value int

The enum numeric value on the wire for expectedFulfillmentPeriod to set.

Returns
Type Description
CreateInstanceMetadata.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public CreateInstanceMetadata.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
value Instance
Returns
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;

Parameter
Name Description
builderForValue Instance.Builder
Returns
Type Description
CreateInstanceMetadata.Builder

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

public CreateInstanceMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
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
Name Description
value Timestamp
Returns
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;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateInstanceMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstanceMetadata.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateInstanceMetadata.Builder
Overrides