Class Mutation.Send (6.107.0)

public static final class Mutation.Send extends GeneratedMessageV3 implements Mutation.SendOrBuilder

Arguments to send operations.

Protobuf type google.spanner.v1.Mutation.Send

Static Fields

DELIVER_TIME_FIELD_NUMBER

public static final int DELIVER_TIME_FIELD_NUMBER
Field Value
Type Description
int

KEY_FIELD_NUMBER

public static final int KEY_FIELD_NUMBER
Field Value
Type Description
int

PAYLOAD_FIELD_NUMBER

public static final int PAYLOAD_FIELD_NUMBER
Field Value
Type Description
int

QUEUE_FIELD_NUMBER

public static final int QUEUE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static Mutation.Send getDefaultInstance()
Returns
Type Description
Mutation.Send

getDescriptor()

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

newBuilder()

public static Mutation.Send.Builder newBuilder()
Returns
Type Description
Mutation.Send.Builder

newBuilder(Mutation.Send prototype)

public static Mutation.Send.Builder newBuilder(Mutation.Send prototype)
Parameter
Name Description
prototype Mutation.Send
Returns
Type Description
Mutation.Send.Builder

parseDelimitedFrom(InputStream input)

public static Mutation.Send parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Mutation.Send
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mutation.Send parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mutation.Send
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static Mutation.Send parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
Mutation.Send
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static Mutation.Send parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mutation.Send
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static Mutation.Send parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
Mutation.Send
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static Mutation.Send parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mutation.Send
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static Mutation.Send parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Mutation.Send
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static Mutation.Send parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mutation.Send
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static Mutation.Send parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
Mutation.Send
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static Mutation.Send parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mutation.Send
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static Mutation.Send parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Mutation.Send
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static Mutation.Send parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Mutation.Send
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<Mutation.Send> parser()
Returns
Type Description
Parser<Send>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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.

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

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.

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

getParserForType()

public Parser<Mutation.Send> getParserForType()
Returns
Type Description
Parser<Send>
Overrides

getPayload()

public Value getPayload()

The payload of the message.

.google.protobuf.Value payload = 4;

Returns
Type Description
Value

The payload.

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public Mutation.Send.Builder newBuilderForType()
Returns
Type Description
Mutation.Send.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected Mutation.Send.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Mutation.Send.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public Mutation.Send.Builder toBuilder()
Returns
Type Description
Mutation.Send.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException