Interface Mutation.AckOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
Mutation.Ack, Mutation.Ack.Builder
Enclosing class:
Mutation

public static interface Mutation.AckOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    By default, an attempt to ack a message that does not exist will fail with a `NOT_FOUND` error.
    com.google.protobuf.ListValue
    Required.
    com.google.protobuf.ListValueOrBuilder
    Required.
    Required.
    com.google.protobuf.ByteString
    Required.
    boolean
    Required.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getQueue

      String getQueue()
       Required. The queue where the message to be acked is stored.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The queue.
    • getQueueBytes

      com.google.protobuf.ByteString getQueueBytes()
       Required. The queue where the message to be acked is stored.
       
      string queue = 1 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The bytes for queue.
    • hasKey

      boolean hasKey()
       Required. The primary key of the message to be acked.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      Whether the key field is set.
    • getKey

      com.google.protobuf.ListValue getKey()
       Required. The primary key of the message to be acked.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
      Returns:
      The key.
    • getKeyOrBuilder

      com.google.protobuf.ListValueOrBuilder getKeyOrBuilder()
       Required. The primary key of the message to be acked.
       
      .google.protobuf.ListValue key = 2 [(.google.api.field_behavior) = REQUIRED];
    • getIgnoreNotFound

      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:
      The ignoreNotFound.