接口 SubscriptionOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
Subscription,Subscription.Builder
public interface SubscriptionOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 booleangetFifo()Subscription settings below here are from server, it is essential for server to push.ResourcegetGroup()Subscription settings below here is appointed by client, thus it is unnecessary for server to push at present.ResourceOrBuildergetGroupOrBuilder()Subscription settings below here is appointed by client, thus it is unnecessary for server to push at present.com.google.protobuf.DurationgetLongPollingTimeout()Long-polling timeout for `ReceiveMessageRequest`, which is essential for push consumer.com.google.protobuf.DurationOrBuildergetLongPollingTimeoutOrBuilder()Long-polling timeout for `ReceiveMessageRequest`, which is essential for push consumer.intgetReceiveBatchSize()Message receive batch size here is essential for push consumer.SubscriptionEntrygetSubscriptions(int index)Subscription for consumer.intgetSubscriptionsCount()Subscription for consumer.List<SubscriptionEntry>getSubscriptionsList()Subscription for consumer.SubscriptionEntryOrBuildergetSubscriptionsOrBuilder(int index)Subscription for consumer.List<? extends SubscriptionEntryOrBuilder>getSubscriptionsOrBuilderList()Subscription for consumer.booleanhasFifo()Subscription settings below here are from server, it is essential for server to push.booleanhasGroup()Subscription settings below here is appointed by client, thus it is unnecessary for server to push at present.booleanhasLongPollingTimeout()Long-polling timeout for `ReceiveMessageRequest`, which is essential for push consumer.booleanhasReceiveBatchSize()Message receive batch size here is essential for push consumer.
-
-
-
方法详细资料
-
hasGroup
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;- 返回:
- Whether the group field is set.
-
getGroup
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;- 返回:
- The group.
-
getGroupOrBuilder
ResourceOrBuilder getGroupOrBuilder()
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;
-
getSubscriptionsList
List<SubscriptionEntry> getSubscriptionsList()
Subscription for consumer.
repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2;
-
getSubscriptions
SubscriptionEntry getSubscriptions(int index)
Subscription for consumer.
repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2;
-
getSubscriptionsCount
int getSubscriptionsCount()
Subscription for consumer.
repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2;
-
getSubscriptionsOrBuilderList
List<? extends SubscriptionEntryOrBuilder> getSubscriptionsOrBuilderList()
Subscription for consumer.
repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2;
-
getSubscriptionsOrBuilder
SubscriptionEntryOrBuilder getSubscriptionsOrBuilder(int index)
Subscription for consumer.
repeated .apache.rocketmq.v2.SubscriptionEntry subscriptions = 2;
-
hasFifo
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;- 返回:
- Whether the fifo field is set.
-
getFifo
boolean getFifo()
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;- 返回:
- The fifo.
-
hasReceiveBatchSize
boolean hasReceiveBatchSize()
Message receive batch size here is essential for push consumer.
optional int32 receive_batch_size = 4;- 返回:
- Whether the receiveBatchSize field is set.
-
getReceiveBatchSize
int getReceiveBatchSize()
Message receive batch size here is essential for push consumer.
optional int32 receive_batch_size = 4;- 返回:
- The receiveBatchSize.
-
hasLongPollingTimeout
boolean hasLongPollingTimeout()
Long-polling timeout for `ReceiveMessageRequest`, which is essential for push consumer.
optional .google.protobuf.Duration long_polling_timeout = 5;- 返回:
- Whether the longPollingTimeout field is set.
-
getLongPollingTimeout
com.google.protobuf.Duration getLongPollingTimeout()
Long-polling timeout for `ReceiveMessageRequest`, which is essential for push consumer.
optional .google.protobuf.Duration long_polling_timeout = 5;- 返回:
- The longPollingTimeout.
-
getLongPollingTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getLongPollingTimeoutOrBuilder()
Long-polling timeout for `ReceiveMessageRequest`, which is essential for push consumer.
optional .google.protobuf.Duration long_polling_timeout = 5;
-
-