Interface ModifyAckDeadlineRequestOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ModifyAckDeadlineRequest, ModifyAckDeadlineRequest.Builder

    public interface ModifyAckDeadlineRequestOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      int getAckDeadlineSeconds()
      Required.
      String getAckIds​(int index)
      Required.
      com.google.protobuf.ByteString getAckIdsBytes​(int index)
      Required.
      int getAckIdsCount()
      Required.
      List<String> getAckIdsList()
      Required.
      String getSubscription()
      Required.
      com.google.protobuf.ByteString getSubscriptionBytes()
      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 Detail

      • getSubscription

        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:
        The subscription.
      • getSubscriptionBytes

        com.google.protobuf.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:
        The bytes for subscription.
      • getAckIdsList

        List<String> getAckIdsList()
         Required. List of acknowledgment IDs.
         
        repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        A list containing the ackIds.
      • getAckIdsCount

        int getAckIdsCount()
         Required. List of acknowledgment IDs.
         
        repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The count of ackIds.
      • getAckIds

        String getAckIds​(int index)
         Required. List of acknowledgment IDs.
         
        repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the element to return.
        Returns:
        The ackIds at the given index.
      • getAckIdsBytes

        com.google.protobuf.ByteString getAckIdsBytes​(int index)
         Required. List of acknowledgment IDs.
         
        repeated string ack_ids = 4 [(.google.api.field_behavior) = REQUIRED];
        Parameters:
        index - The index of the value to return.
        Returns:
        The bytes of the ackIds at the given index.
      • getAckDeadlineSeconds

        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 is 600 seconds (10 minutes).
         
        int32 ack_deadline_seconds = 3 [(.google.api.field_behavior) = REQUIRED];
        Returns:
        The ackDeadlineSeconds.