Class CreateInstancePartitionMetadata.Builder (6.68.0)

public static final class CreateInstancePartitionMetadata.Builder extends GeneratedMessageV3.Builder<CreateInstancePartitionMetadata.Builder> implements CreateInstancePartitionMetadataOrBuilder

Metadata type for the operation returned by CreateInstancePartition.

Protobuf type google.spanner.admin.instance.v1.CreateInstancePartitionMetadata

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public CreateInstancePartitionMetadata build()
Returns
Type Description
CreateInstancePartitionMetadata

buildPartial()

public CreateInstancePartitionMetadata buildPartial()
Returns
Type Description
CreateInstancePartitionMetadata

clear()

public CreateInstancePartitionMetadata.Builder clear()
Returns
Type Description
CreateInstancePartitionMetadata.Builder
Overrides

clearCancelTime()

public CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

clearEndTime()

public CreateInstancePartitionMetadata.Builder clearEndTime()

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

.google.protobuf.Timestamp end_time = 4;

Returns
Type Description
CreateInstancePartitionMetadata.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearInstancePartition()

public CreateInstancePartitionMetadata.Builder clearInstancePartition()

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
CreateInstancePartitionMetadata.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStartTime()

public CreateInstancePartitionMetadata.Builder clearStartTime()

The time at which the CreateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
CreateInstancePartitionMetadata.Builder

clone()

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

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

getInstancePartition()

public InstancePartition getInstancePartition()

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartition

The instancePartition.

getInstancePartitionBuilder()

public InstancePartition.Builder getInstancePartitionBuilder()

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartition.Builder

getInstancePartitionOrBuilder()

public InstancePartitionOrBuilder getInstancePartitionOrBuilder()

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
InstancePartitionOrBuilder

getStartTime()

public Timestamp getStartTime()

The time at which the CreateInstancePartition 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 CreateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Returns
Type Description
Builder

getStartTimeOrBuilder()

public TimestampOrBuilder getStartTimeOrBuilder()

The time at which the CreateInstancePartition 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.

hasInstancePartition()

public boolean hasInstancePartition()

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Returns
Type Description
boolean

Whether the instancePartition field is set.

hasStartTime()

public boolean hasStartTime()

The time at which the CreateInstancePartition 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 CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

mergeEndTime(Timestamp value)

public CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(CreateInstancePartitionMetadata other)

public CreateInstancePartitionMetadata.Builder mergeFrom(CreateInstancePartitionMetadata other)
Parameter
Name Description
other CreateInstancePartitionMetadata
Returns
Type Description
CreateInstancePartitionMetadata.Builder

mergeInstancePartition(InstancePartition value)

public CreateInstancePartitionMetadata.Builder mergeInstancePartition(InstancePartition value)

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Parameter
Name Description
value InstancePartition
Returns
Type Description
CreateInstancePartitionMetadata.Builder

mergeStartTime(Timestamp value)

public CreateInstancePartitionMetadata.Builder mergeStartTime(Timestamp value)

The time at which the CreateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateInstancePartitionMetadata.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateInstancePartitionMetadata.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateInstancePartitionMetadata.Builder
Overrides

setCancelTime(Timestamp value)

public CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

setCancelTime(Timestamp.Builder builderForValue)

public CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

setEndTime(Timestamp value)

public CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

setEndTime(Timestamp.Builder builderForValue)

public CreateInstancePartitionMetadata.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
CreateInstancePartitionMetadata.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setInstancePartition(InstancePartition value)

public CreateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition value)

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Parameter
Name Description
value InstancePartition
Returns
Type Description
CreateInstancePartitionMetadata.Builder

setInstancePartition(InstancePartition.Builder builderForValue)

public CreateInstancePartitionMetadata.Builder setInstancePartition(InstancePartition.Builder builderForValue)

The instance partition being created.

.google.spanner.admin.instance.v1.InstancePartition instance_partition = 1;

Parameter
Name Description
builderForValue InstancePartition.Builder
Returns
Type Description
CreateInstancePartitionMetadata.Builder

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

public CreateInstancePartitionMetadata.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateInstancePartitionMetadata.Builder
Overrides

setStartTime(Timestamp value)

public CreateInstancePartitionMetadata.Builder setStartTime(Timestamp value)

The time at which the CreateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
value Timestamp
Returns
Type Description
CreateInstancePartitionMetadata.Builder

setStartTime(Timestamp.Builder builderForValue)

public CreateInstancePartitionMetadata.Builder setStartTime(Timestamp.Builder builderForValue)

The time at which the CreateInstancePartition request was received.

.google.protobuf.Timestamp start_time = 2;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
CreateInstancePartitionMetadata.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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