public interface AcknowledgeRequestOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAckIds(int index)
public abstract String getAckIds(int index) Required. The acknowledgment ID for the messages being acknowledged that
 was returned by the Pub/Sub system in the Pull response. Must not be
 empty.
 repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the element to return. | 
| Returns | |
|---|---|
| Type | Description | 
| String | The ackIds at the given index. | 
getAckIdsBytes(int index)
public abstract ByteString getAckIdsBytes(int index) Required. The acknowledgment ID for the messages being acknowledged that
 was returned by the Pub/Sub system in the Pull response. Must not be
 empty.
 repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description | 
| index | intThe index of the value to return. | 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes of the ackIds at the given index. | 
getAckIdsCount()
public abstract int getAckIdsCount() Required. The acknowledgment ID for the messages being acknowledged that
 was returned by the Pub/Sub system in the Pull response. Must not be
 empty.
 repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| int | The count of ackIds. | 
getAckIdsList()
public abstract List<String> getAckIdsList() Required. The acknowledgment ID for the messages being acknowledged that
 was returned by the Pub/Sub system in the Pull response. Must not be
 empty.
 repeated string ack_ids = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description | 
| List<String> | A list containing the ackIds. | 
getSubscription()
public abstract String getSubscription() Required. The subscription whose message is being acknowledged.
 Format is projects/{project}/subscriptions/{sub}.
 
 string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| String | The subscription. | 
getSubscriptionBytes()
public abstract ByteString getSubscriptionBytes() Required. The subscription whose message is being acknowledged.
 Format is projects/{project}/subscriptions/{sub}.
 
 string subscription = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
 
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for subscription. |