public interface AcknowledgeRequestOrBuilder extends MessageOrBuilder
Implements
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];
Name | Description |
index | int The index of the element to return. |
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];
Name | Description |
index | int The index of the value to return. |
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];
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];
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) = { ... }
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) = { ... }
Type | Description |
ByteString | The bytes for subscription. |