All Downloads are FREE. Search and download functionalities are using the official Maven repository.

apache.rocketmq.v2.SubscriptionOrBuilder Maven / Gradle / Ivy

There is a newer version: 5.0.7
Show newest version
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: apache/rocketmq/v2/definition.proto

package apache.rocketmq.v2;

public interface SubscriptionOrBuilder extends
    // @@protoc_insertion_point(interface_extends:apache.rocketmq.v2.Subscription)
    org.apache.rocketmq.shaded.com.google.protobuf.MessageOrBuilder {

  /**
   * 
   * Subscription settings below here is appointed by client, thus it is
   * unnecessary for server to push at present.
   * Consumer group.
   * 
* * optional .apache.rocketmq.v2.Resource group = 1; * @return Whether the group field is set. */ boolean hasGroup(); /** *
   * Subscription settings below here is appointed by client, thus it is
   * unnecessary for server to push at present.
   * Consumer group.
   * 
* * optional .apache.rocketmq.v2.Resource group = 1; * @return The group. */ apache.rocketmq.v2.Resource getGroup(); /** *
   * Subscription settings below here is appointed by client, thus it is
   * unnecessary for server to push at present.
   * Consumer group.
   * 
* * optional .apache.rocketmq.v2.Resource group = 1; */ apache.rocketmq.v2.ResourceOrBuilder getGroupOrBuilder(); /** *
   * Subscription for consumer.
   * 
* * repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2; */ java.util.List getSubscriptionsList(); /** *
   * Subscription for consumer.
   * 
* * repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2; */ apache.rocketmq.v2.SubscriptionEntry getSubscriptions(int index); /** *
   * Subscription for consumer.
   * 
* * repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2; */ int getSubscriptionsCount(); /** *
   * Subscription for consumer.
   * 
* * repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2; */ java.util.List getSubscriptionsOrBuilderList(); /** *
   * Subscription for consumer.
   * 
* * repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2; */ apache.rocketmq.v2.SubscriptionEntryOrBuilder getSubscriptionsOrBuilder( int index); /** *
   * Subscription settings below here are from server, it is essential for
   * server to push.
   * When FIFO flag is `true`, messages of the same message group are processed
   * in first-in-first-out manner.
   * Brokers will not deliver further messages of the same group until prior
   * ones are completely acknowledged.
   * 
* * optional bool fifo = 3; * @return Whether the fifo field is set. */ boolean hasFifo(); /** *
   * Subscription settings below here are from server, it is essential for
   * server to push.
   * When FIFO flag is `true`, messages of the same message group are processed
   * in first-in-first-out manner.
   * Brokers will not deliver further messages of the same group until prior
   * ones are completely acknowledged.
   * 
* * optional bool fifo = 3; * @return The fifo. */ boolean getFifo(); /** *
   * Message receive batch size here is essential for push consumer.
   * 
* * optional int32 receive_batch_size = 4; * @return Whether the receiveBatchSize field is set. */ boolean hasReceiveBatchSize(); /** *
   * Message receive batch size here is essential for push consumer.
   * 
* * optional int32 receive_batch_size = 4; * @return The receiveBatchSize. */ int getReceiveBatchSize(); /** *
   * Long-polling timeout for `ReceiveMessageRequest`, which is essential for
   * push consumer.
   * 
* * optional .google.protobuf.Duration long_polling_timeout = 5; * @return Whether the longPollingTimeout field is set. */ boolean hasLongPollingTimeout(); /** *
   * Long-polling timeout for `ReceiveMessageRequest`, which is essential for
   * push consumer.
   * 
* * optional .google.protobuf.Duration long_polling_timeout = 5; * @return The longPollingTimeout. */ org.apache.rocketmq.shaded.com.google.protobuf.Duration getLongPollingTimeout(); /** *
   * Long-polling timeout for `ReceiveMessageRequest`, which is essential for
   * push consumer.
   * 
* * optional .google.protobuf.Duration long_polling_timeout = 5; */ org.apache.rocketmq.shaded.com.google.protobuf.DurationOrBuilder getLongPollingTimeoutOrBuilder(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy