public static final class Mutation.Ack extends GeneratedMessage implements Mutation.AckOrBuilder
Arguments to ack operations.
Protobuf type google.spanner.v1.Mutation.Ack
Inherited Members
com.google.protobuf.GeneratedMessage.<ContainingT,T>newFileScopedGeneratedExtension(java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ContainingT,T>newMessageScopedGeneratedExtension(com.google.protobuf.Message,int,java.lang.Class<?>,com.google.protobuf.Message)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessage.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessage.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessage.<V>serializeBooleanMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Boolean,V>,com.google.protobuf.MapEntry<java.lang.Boolean,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeIntegerMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Integer,V>,com.google.protobuf.MapEntry<java.lang.Integer,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeLongMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.Long,V>,com.google.protobuf.MapEntry<java.lang.Long,V>,int)
com.google.protobuf.GeneratedMessage.<V>serializeStringMapTo(com.google.protobuf.CodedOutputStream,com.google.protobuf.MapField<java.lang.String,V>,com.google.protobuf.MapEntry<java.lang.String,V>,int)
com.google.protobuf.GeneratedMessage.canUseUnsafe()
com.google.protobuf.GeneratedMessage.emptyBooleanList()
com.google.protobuf.GeneratedMessage.emptyDoubleList()
com.google.protobuf.GeneratedMessage.emptyFloatList()
com.google.protobuf.GeneratedMessage.emptyIntList()
com.google.protobuf.GeneratedMessage.emptyLongList()
com.google.protobuf.GeneratedMessage.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessage.isStringEmpty(java.lang.Object)
com.google.protobuf.GeneratedMessage.mergeFromAndMakeImmutableInternal(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite)
com.google.protobuf.GeneratedMessage.newInstance(com.google.protobuf.GeneratedMessage.UnusedPrivateParameter)
com.google.protobuf.GeneratedMessage.parseUnknownFieldProto3(com.google.protobuf.CodedInputStream,com.google.protobuf.UnknownFieldSet.Builder,com.google.protobuf.ExtensionRegistryLite,int)
Static Fields
IGNORE_NOT_FOUND_FIELD_NUMBER
public static final int IGNORE_NOT_FOUND_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
KEY_FIELD_NUMBER
public static final int KEY_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.Ack getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Mutation.Ack.Builder newBuilder()
newBuilder(Mutation.Ack prototype)
public static Mutation.Ack.Builder newBuilder(Mutation.Ack prototype)
public static Mutation.Ack parseDelimitedFrom(InputStream input)
public static Mutation.Ack parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Mutation.Ack parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Ack parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Mutation.Ack parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Ack parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Ack parseFrom(CodedInputStream input)
public static Mutation.Ack parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Mutation.Ack parseFrom(InputStream input)
public static Mutation.Ack parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Mutation.Ack parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Mutation.Ack parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Mutation.Ack> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
getDefaultInstanceForType()
public Mutation.Ack getDefaultInstanceForType()
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];
getKeyOrBuilder()
public ListValueOrBuilder getKeyOrBuilder()
Required. The primary key of the message to be acked.
.google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
getParserForType()
public Parser<Mutation.Ack> getParserForType()
Overrides
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.
|
getSerializedSize()
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
hashCode()
| Returns |
| Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Mutation.Ack.Builder newBuilderForType()
newBuilderForType(AbstractMessage.BuilderParent parent)
protected Mutation.Ack.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Overrides
toBuilder()
public Mutation.Ack.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides