接口 SettingsOrBuilder
-
- 所有超级接口:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- 所有已知实现类:
Settings,Settings.Builder
public interface SettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
方法概要
所有方法 实例方法 抽象方法 修饰符和类型 方法 说明 EndpointsgetAccessPoint()optional .apache.rocketmq.v2.Endpoints access_point = 2;EndpointsOrBuildergetAccessPointOrBuilder()optional .apache.rocketmq.v2.Endpoints access_point = 2;RetryPolicygetBackoffPolicy()If publishing of messages encounters throttling or server internal errors, publishers should implement automatic retries after progressive longer back-offs for consecutive errors.RetryPolicyOrBuildergetBackoffPolicyOrBuilder()If publishing of messages encounters throttling or server internal errors, publishers should implement automatic retries after progressive longer back-offs for consecutive errors.ClientTypegetClientType()Configurations for all clients.intgetClientTypeValue()Configurations for all clients.MetricgetMetric().apache.rocketmq.v2.Metric metric = 8;MetricOrBuildergetMetricOrBuilder().apache.rocketmq.v2.Metric metric = 8;PublishinggetPublishing().apache.rocketmq.v2.Publishing publishing = 5;PublishingOrBuildergetPublishingOrBuilder().apache.rocketmq.v2.Publishing publishing = 5;Settings.PubSubCasegetPubSubCase()com.google.protobuf.DurationgetRequestTimeout()Request timeout for RPCs excluding long-polling.com.google.protobuf.DurationOrBuildergetRequestTimeoutOrBuilder()Request timeout for RPCs excluding long-polling.SubscriptiongetSubscription().apache.rocketmq.v2.Subscription subscription = 6;SubscriptionOrBuildergetSubscriptionOrBuilder().apache.rocketmq.v2.Subscription subscription = 6;UAgetUserAgent()User agent detailsUAOrBuildergetUserAgentOrBuilder()User agent detailsbooleanhasAccessPoint()optional .apache.rocketmq.v2.Endpoints access_point = 2;booleanhasBackoffPolicy()If publishing of messages encounters throttling or server internal errors, publishers should implement automatic retries after progressive longer back-offs for consecutive errors.booleanhasClientType()Configurations for all clients.booleanhasMetric().apache.rocketmq.v2.Metric metric = 8;booleanhasPublishing().apache.rocketmq.v2.Publishing publishing = 5;booleanhasRequestTimeout()Request timeout for RPCs excluding long-polling.booleanhasSubscription().apache.rocketmq.v2.Subscription subscription = 6;booleanhasUserAgent()User agent details
-
-
-
方法详细资料
-
hasClientType
boolean hasClientType()
Configurations for all clients.
optional .apache.rocketmq.v2.ClientType client_type = 1;- 返回:
- Whether the clientType field is set.
-
getClientTypeValue
int getClientTypeValue()
Configurations for all clients.
optional .apache.rocketmq.v2.ClientType client_type = 1;- 返回:
- The enum numeric value on the wire for clientType.
-
getClientType
ClientType getClientType()
Configurations for all clients.
optional .apache.rocketmq.v2.ClientType client_type = 1;- 返回:
- The clientType.
-
hasAccessPoint
boolean hasAccessPoint()
optional .apache.rocketmq.v2.Endpoints access_point = 2;- 返回:
- Whether the accessPoint field is set.
-
getAccessPoint
Endpoints getAccessPoint()
optional .apache.rocketmq.v2.Endpoints access_point = 2;- 返回:
- The accessPoint.
-
getAccessPointOrBuilder
EndpointsOrBuilder getAccessPointOrBuilder()
optional .apache.rocketmq.v2.Endpoints access_point = 2;
-
hasBackoffPolicy
boolean hasBackoffPolicy()
If publishing of messages encounters throttling or server internal errors, publishers should implement automatic retries after progressive longer back-offs for consecutive errors. When processing message fails, `backoff_policy` describes an interval after which the message should be available to consume again. For FIFO messages, the interval should be relatively small because messages of the same message group would not be readily available until the prior one depletes its lifecycle.
optional .apache.rocketmq.v2.RetryPolicy backoff_policy = 3;- 返回:
- Whether the backoffPolicy field is set.
-
getBackoffPolicy
RetryPolicy getBackoffPolicy()
If publishing of messages encounters throttling or server internal errors, publishers should implement automatic retries after progressive longer back-offs for consecutive errors. When processing message fails, `backoff_policy` describes an interval after which the message should be available to consume again. For FIFO messages, the interval should be relatively small because messages of the same message group would not be readily available until the prior one depletes its lifecycle.
optional .apache.rocketmq.v2.RetryPolicy backoff_policy = 3;- 返回:
- The backoffPolicy.
-
getBackoffPolicyOrBuilder
RetryPolicyOrBuilder getBackoffPolicyOrBuilder()
If publishing of messages encounters throttling or server internal errors, publishers should implement automatic retries after progressive longer back-offs for consecutive errors. When processing message fails, `backoff_policy` describes an interval after which the message should be available to consume again. For FIFO messages, the interval should be relatively small because messages of the same message group would not be readily available until the prior one depletes its lifecycle.
optional .apache.rocketmq.v2.RetryPolicy backoff_policy = 3;
-
hasRequestTimeout
boolean hasRequestTimeout()
Request timeout for RPCs excluding long-polling.
optional .google.protobuf.Duration request_timeout = 4;- 返回:
- Whether the requestTimeout field is set.
-
getRequestTimeout
com.google.protobuf.Duration getRequestTimeout()
Request timeout for RPCs excluding long-polling.
optional .google.protobuf.Duration request_timeout = 4;- 返回:
- The requestTimeout.
-
getRequestTimeoutOrBuilder
com.google.protobuf.DurationOrBuilder getRequestTimeoutOrBuilder()
Request timeout for RPCs excluding long-polling.
optional .google.protobuf.Duration request_timeout = 4;
-
hasPublishing
boolean hasPublishing()
.apache.rocketmq.v2.Publishing publishing = 5;- 返回:
- Whether the publishing field is set.
-
getPublishing
Publishing getPublishing()
.apache.rocketmq.v2.Publishing publishing = 5;- 返回:
- The publishing.
-
getPublishingOrBuilder
PublishingOrBuilder getPublishingOrBuilder()
.apache.rocketmq.v2.Publishing publishing = 5;
-
hasSubscription
boolean hasSubscription()
.apache.rocketmq.v2.Subscription subscription = 6;- 返回:
- Whether the subscription field is set.
-
getSubscription
Subscription getSubscription()
.apache.rocketmq.v2.Subscription subscription = 6;- 返回:
- The subscription.
-
getSubscriptionOrBuilder
SubscriptionOrBuilder getSubscriptionOrBuilder()
.apache.rocketmq.v2.Subscription subscription = 6;
-
hasUserAgent
boolean hasUserAgent()
User agent details
.apache.rocketmq.v2.UA user_agent = 7;- 返回:
- Whether the userAgent field is set.
-
getUserAgent
UA getUserAgent()
User agent details
.apache.rocketmq.v2.UA user_agent = 7;- 返回:
- The userAgent.
-
getUserAgentOrBuilder
UAOrBuilder getUserAgentOrBuilder()
User agent details
.apache.rocketmq.v2.UA user_agent = 7;
-
hasMetric
boolean hasMetric()
.apache.rocketmq.v2.Metric metric = 8;- 返回:
- Whether the metric field is set.
-
getMetric
Metric getMetric()
.apache.rocketmq.v2.Metric metric = 8;- 返回:
- The metric.
-
getMetricOrBuilder
MetricOrBuilder getMetricOrBuilder()
.apache.rocketmq.v2.Metric metric = 8;
-
getPubSubCase
Settings.PubSubCase getPubSubCase()
-
-