Interface Mutation.AckOrBuilder (6.107.0)

public static interface Mutation.AckOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getIgnoreNotFound()

public abstract boolean getIgnoreNotFound()

By default, an attempt to ack a message that does not exist will fail with a NOT_FOUND error. With ignore_not_found set to true, the ack will succeed even if the message does not exist. This is useful for unconditionally acking a message, even if it is missing or has already been acked.

bool ignore_not_found = 3;

Returns
Type Description
boolean

The ignoreNotFound.

getKey()

public abstract ListValue getKey()

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

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

Returns
Type Description
ListValue

The key.

getKeyOrBuilder()

public abstract ListValueOrBuilder getKeyOrBuilder()

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

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

Returns
Type Description
ListValueOrBuilder

getQueue()

public abstract String getQueue()

Required. The queue where the message to be acked is stored.

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

Returns
Type Description
String

The queue.

getQueueBytes()

public abstract ByteString getQueueBytes()

Required. The queue where the message to be acked is stored.

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

Returns
Type Description
ByteString

The bytes for queue.

hasKey()

public abstract boolean hasKey()

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

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

Returns
Type Description
boolean

Whether the key field is set.