// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: google/pubsub/v1/pubsub.proto

package com.google.pubsub.v1;

public interface AcknowledgeRequestOrBuilder extends
    // @@protoc_insertion_point(interface_extends:google.pubsub.v1.AcknowledgeRequest)
    com.google.protobuf.MessageOrBuilder {

  /**
   * <pre>
   * The subscription whose message is being acknowledged.
   * Format is `projects/{project}/subscriptions/{sub}`.
   * </pre>
   *
   * <code>string subscription = 1;</code>
   */
  java.lang.String getSubscription();
  /**
   * <pre>
   * The subscription whose message is being acknowledged.
   * Format is `projects/{project}/subscriptions/{sub}`.
   * </pre>
   *
   * <code>string subscription = 1;</code>
   */
  com.google.protobuf.ByteString
      getSubscriptionBytes();

  /**
   * <pre>
   * The acknowledgment ID for the messages being acknowledged that was returned
   * by the Pub/Sub system in the `Pull` response. Must not be empty.
   * </pre>
   *
   * <code>repeated string ack_ids = 2;</code>
   */
  java.util.List<java.lang.String>
      getAckIdsList();
  /**
   * <pre>
   * The acknowledgment ID for the messages being acknowledged that was returned
   * by the Pub/Sub system in the `Pull` response. Must not be empty.
   * </pre>
   *
   * <code>repeated string ack_ids = 2;</code>
   */
  int getAckIdsCount();
  /**
   * <pre>
   * The acknowledgment ID for the messages being acknowledged that was returned
   * by the Pub/Sub system in the `Pull` response. Must not be empty.
   * </pre>
   *
   * <code>repeated string ack_ids = 2;</code>
   */
  java.lang.String getAckIds(int index);
  /**
   * <pre>
   * The acknowledgment ID for the messages being acknowledged that was returned
   * by the Pub/Sub system in the `Pull` response. Must not be empty.
   * </pre>
   *
   * <code>repeated string ack_ids = 2;</code>
   */
  com.google.protobuf.ByteString
      getAckIdsBytes(int index);
}
