Class Mutation.Send.Builder (6.107.0)

public static final class Mutation.Send.Builder extends GeneratedMessageV3.Builder<Mutation.Send.Builder> implements Mutation.SendOrBuilder

Arguments to send operations.

Protobuf type google.spanner.v1.Mutation.Send

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Mutation.Send build()
Returns
Type Description
Mutation.Send

buildPartial()

public Mutation.Send buildPartial()
Returns
Type Description
Mutation.Send

clear()

public Mutation.Send.Builder clear()
Returns
Type Description
Mutation.Send.Builder
Overrides

clearDeliverTime()

public Mutation.Send.Builder clearDeliverTime()

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Returns
Type Description
Mutation.Send.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearKey()

public Mutation.Send.Builder clearKey()

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Mutation.Send.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearPayload()

public Mutation.Send.Builder clearPayload()

The payload of the message.

.google.protobuf.Value payload = 4;

Returns
Type Description
Mutation.Send.Builder

clearQueue()

public Mutation.Send.Builder clearQueue()

Required. The queue to which the message will be sent.

string queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Mutation.Send.Builder

This builder for chaining.

clone()

public Mutation.Send.Builder clone()
Returns
Type Description
Mutation.Send.Builder
Overrides

getDefaultInstanceForType()

public Mutation.Send getDefaultInstanceForType()
Returns
Type Description
Mutation.Send

getDeliverTime()

public Timestamp getDeliverTime()

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Returns
Type Description
Timestamp

The deliverTime.

getDeliverTimeBuilder()

public Timestamp.Builder getDeliverTimeBuilder()

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Returns
Type Description
Builder

getDeliverTimeOrBuilder()

public TimestampOrBuilder getDeliverTimeOrBuilder()

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Returns
Type Description
TimestampOrBuilder

getDescriptorForType()

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

getKey()

public ListValue getKey()

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListValue

The key.

getKeyBuilder()

public ListValue.Builder getKeyBuilder()

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
Builder

getKeyOrBuilder()

public ListValueOrBuilder getKeyOrBuilder()

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ListValueOrBuilder

getPayload()

public Value getPayload()

The payload of the message.

.google.protobuf.Value payload = 4;

Returns
Type Description
Value

The payload.

getPayloadBuilder()

public Value.Builder getPayloadBuilder()

The payload of the message.

.google.protobuf.Value payload = 4;

Returns
Type Description
Builder

getPayloadOrBuilder()

public ValueOrBuilder getPayloadOrBuilder()

The payload of the message.

.google.protobuf.Value payload = 4;

Returns
Type Description
ValueOrBuilder

getQueue()

public String getQueue()

Required. The queue to which the message will be sent.

string queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The queue.

getQueueBytes()

public ByteString getQueueBytes()

Required. The queue to which the message will be sent.

string queue = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for queue.

hasDeliverTime()

public boolean hasDeliverTime()

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Returns
Type Description
boolean

Whether the deliverTime field is set.

hasKey()

public boolean hasKey()

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the key field is set.

hasPayload()

public boolean hasPayload()

The payload of the message.

.google.protobuf.Value payload = 4;

Returns
Type Description
boolean

Whether the payload field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeDeliverTime(Timestamp value)

public Mutation.Send.Builder mergeDeliverTime(Timestamp value)

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Mutation.Send.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFrom(Mutation.Send other)

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

mergeKey(ListValue value)

public Mutation.Send.Builder mergeKey(ListValue value)

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ListValue
Returns
Type Description
Mutation.Send.Builder

mergePayload(Value value)

public Mutation.Send.Builder mergePayload(Value value)

The payload of the message.

.google.protobuf.Value payload = 4;

Parameter
Name Description
value Value
Returns
Type Description
Mutation.Send.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setDeliverTime(Timestamp value)

public Mutation.Send.Builder setDeliverTime(Timestamp value)

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Parameter
Name Description
value Timestamp
Returns
Type Description
Mutation.Send.Builder

setDeliverTime(Timestamp.Builder builderForValue)

public Mutation.Send.Builder setDeliverTime(Timestamp.Builder builderForValue)

The time at which Spanner will begin attempting to deliver the message. If deliver_time is not set, Spanner will deliver the message immediately. If deliver_time is in the past, Spanner will replace it with a value closer to the current time.

.google.protobuf.Timestamp deliver_time = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Mutation.Send.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setKey(ListValue value)

public Mutation.Send.Builder setKey(ListValue value)

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ListValue
Returns
Type Description
Mutation.Send.Builder

setKey(ListValue.Builder builderForValue)

public Mutation.Send.Builder setKey(ListValue.Builder builderForValue)

Required. The primary key of the message to be sent.

.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Mutation.Send.Builder

setPayload(Value value)

public Mutation.Send.Builder setPayload(Value value)

The payload of the message.

.google.protobuf.Value payload = 4;

Parameter
Name Description
value Value
Returns
Type Description
Mutation.Send.Builder

setPayload(Value.Builder builderForValue)

public Mutation.Send.Builder setPayload(Value.Builder builderForValue)

The payload of the message.

.google.protobuf.Value payload = 4;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
Mutation.Send.Builder

setQueue(String value)

public Mutation.Send.Builder setQueue(String value)

Required. The queue to which the message will be sent.

string queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The queue to set.

Returns
Type Description
Mutation.Send.Builder

This builder for chaining.

setQueueBytes(ByteString value)

public Mutation.Send.Builder setQueueBytes(ByteString value)

Required. The queue to which the message will be sent.

string queue = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for queue to set.

Returns
Type Description
Mutation.Send.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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