Interface ModifyAckDeadlineRequestOrBuilder (1.135.0)

public interface ModifyAckDeadlineRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAckDeadlineSeconds()

public abstract int getAckDeadlineSeconds()

Required. The new ack deadline with respect to the time this request was sent to the Pub/Sub system. For example, if the value is 10, the new ack deadline will expire 10 seconds after the ModifyAckDeadline call was made. Specifying zero might immediately make the message available for delivery to another subscriber client. This typically results in an increase in the rate of message redeliveries (that is, duplicates). The minimum deadline you can specify is 0 seconds. The maximum deadline you can specify in a single request is 600 seconds (10 minutes).

int32 ack_deadline_seconds = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The ackDeadlineSeconds.

getAckIds(int index)

public abstract String getAckIds(int index)

Required. List of acknowledgment IDs.

repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The 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. List of acknowledgment IDs.

repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The 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. List of acknowledgment IDs.

repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of ackIds.

getAckIdsList()

public abstract List<String> getAckIdsList()

Required. List of acknowledgment IDs.

repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the ackIds.

getSubscription()

public abstract String getSubscription()

Required. The name of the subscription. 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 name of the subscription. 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.