- 6.108.0 (latest)
- 6.107.0
- 6.103.0
- 6.102.1
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class Mutation.Ack.Builder extends GeneratedMessage.Builder<Mutation.Ack.Builder> implements Mutation.AckOrBuilderArguments to ack operations.
Protobuf type google.spanner.v1.Mutation.Ack
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Mutation.Ack.BuilderImplements
Mutation.AckOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public Mutation.Ack build()| Returns | |
|---|---|
| Type | Description |
Mutation.Ack |
|
buildPartial()
public Mutation.Ack buildPartial()| Returns | |
|---|---|
| Type | Description |
Mutation.Ack |
|
clear()
public Mutation.Ack.Builder clear()| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
clearIgnoreNotFound()
public Mutation.Ack.Builder clearIgnoreNotFound() 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 |
Mutation.Ack.Builder |
This builder for chaining. |
clearKey()
public Mutation.Ack.Builder clearKey()Required. The primary key of the message to be acked.
.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
clearQueue()
public Mutation.Ack.Builder clearQueue()Required. The queue where the message to be acked is stored.
string queue = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Mutation.Ack getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Mutation.Ack |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getIgnoreNotFound()
public 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 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. |
getKeyBuilder()
public ListValue.Builder getKeyBuilder()Required. The primary key of the message to be acked.
.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 acked.
.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ListValueOrBuilder |
|
getQueue()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Mutation.Ack.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Mutation.Ack.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
mergeFrom(Mutation.Ack other)
public Mutation.Ack.Builder mergeFrom(Mutation.Ack other)| Parameter | |
|---|---|
| Name | Description |
other |
Mutation.Ack |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
mergeKey(ListValue value)
public Mutation.Ack.Builder mergeKey(ListValue value)Required. The primary key of the message to be acked.
.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ListValue |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
setIgnoreNotFound(boolean value)
public Mutation.Ack.Builder setIgnoreNotFound(boolean value) 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;
| Parameter | |
|---|---|
| Name | Description |
value |
booleanThe ignoreNotFound to set. |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
This builder for chaining. |
setKey(ListValue value)
public Mutation.Ack.Builder setKey(ListValue value)Required. The primary key of the message to be acked.
.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ListValue |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
setKey(ListValue.Builder builderForValue)
public Mutation.Ack.Builder setKey(ListValue.Builder builderForValue)Required. The primary key of the message to be acked.
.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
Builder |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
|
setQueue(String value)
public Mutation.Ack.Builder setQueue(String value)Required. The queue where the message to be acked is stored.
string queue = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe queue to set. |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
This builder for chaining. |
setQueueBytes(ByteString value)
public Mutation.Ack.Builder setQueueBytes(ByteString value)Required. The queue where the message to be acked is stored.
string queue = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for queue to set. |
| Returns | |
|---|---|
| Type | Description |
Mutation.Ack.Builder |
This builder for chaining. |