类 Settings
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- apache.rocketmq.v2.Settings
-
- 所有已实现的接口:
SettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
public final class Settings extends com.google.protobuf.GeneratedMessageV3 implements SettingsOrBuilder
Protobuf typeapache.rocketmq.v2.Settings- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classSettings.BuilderProtobuf typeapache.rocketmq.v2.Settingsstatic classSettings.PubSubCase-
从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
字段概要
字段 修饰符和类型 字段 说明 static intACCESS_POINT_FIELD_NUMBERstatic intBACKOFF_POLICY_FIELD_NUMBERstatic intCLIENT_TYPE_FIELD_NUMBERstatic intMETRIC_FIELD_NUMBERstatic intPUBLISHING_FIELD_NUMBERstatic intREQUEST_TIMEOUT_FIELD_NUMBERstatic intSUBSCRIPTION_FIELD_NUMBERstatic intUSER_AGENT_FIELD_NUMBER
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(Object obj)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.static SettingsgetDefaultInstance()SettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()MetricgetMetric().apache.rocketmq.v2.Metric metric = 8;MetricOrBuildergetMetricOrBuilder().apache.rocketmq.v2.Metric metric = 8;com.google.protobuf.Parser<Settings>getParserForType()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.intgetSerializedSize()SubscriptiongetSubscription().apache.rocketmq.v2.Subscription subscription = 6;SubscriptionOrBuildergetSubscriptionOrBuilder().apache.rocketmq.v2.Subscription subscription = 6;com.google.protobuf.UnknownFieldSetgetUnknownFields()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.inthashCode()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 detailsprotected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static Settings.BuildernewBuilder()static Settings.BuildernewBuilder(Settings prototype)Settings.BuildernewBuilderForType()protected Settings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static SettingsparseDelimitedFrom(InputStream input)static SettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SettingsparseFrom(byte[] data)static SettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SettingsparseFrom(com.google.protobuf.ByteString data)static SettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SettingsparseFrom(com.google.protobuf.CodedInputStream input)static SettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SettingsparseFrom(InputStream input)static SettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static SettingsparseFrom(ByteBuffer data)static SettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<Settings>parser()Settings.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
从类继承的方法 com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
-
-
-
字段详细资料
-
CLIENT_TYPE_FIELD_NUMBER
public static final int CLIENT_TYPE_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
ACCESS_POINT_FIELD_NUMBER
public static final int ACCESS_POINT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
BACKOFF_POLICY_FIELD_NUMBER
public static final int BACKOFF_POLICY_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
REQUEST_TIMEOUT_FIELD_NUMBER
public static final int REQUEST_TIMEOUT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
PUBLISHING_FIELD_NUMBER
public static final int PUBLISHING_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
SUBSCRIPTION_FIELD_NUMBER
public static final int SUBSCRIPTION_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
USER_AGENT_FIELD_NUMBER
public static final int USER_AGENT_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
METRIC_FIELD_NUMBER
public static final int METRIC_FIELD_NUMBER
- 另请参阅:
- 常量字段值
-
-
方法详细资料
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- 覆盖:
newInstance在类中com.google.protobuf.GeneratedMessageV3
-
getUnknownFields
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
- 指定者:
getUnknownFields在接口中com.google.protobuf.MessageOrBuilder- 覆盖:
getUnknownFields在类中com.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- 指定者:
internalGetFieldAccessorTable在类中com.google.protobuf.GeneratedMessageV3
-
getPubSubCase
public Settings.PubSubCase getPubSubCase()
- 指定者:
getPubSubCase在接口中SettingsOrBuilder
-
hasClientType
public boolean hasClientType()
Configurations for all clients.
optional .apache.rocketmq.v2.ClientType client_type = 1;- 指定者:
hasClientType在接口中SettingsOrBuilder- 返回:
- Whether the clientType field is set.
-
getClientTypeValue
public int getClientTypeValue()
Configurations for all clients.
optional .apache.rocketmq.v2.ClientType client_type = 1;- 指定者:
getClientTypeValue在接口中SettingsOrBuilder- 返回:
- The enum numeric value on the wire for clientType.
-
getClientType
public ClientType getClientType()
Configurations for all clients.
optional .apache.rocketmq.v2.ClientType client_type = 1;- 指定者:
getClientType在接口中SettingsOrBuilder- 返回:
- The clientType.
-
hasAccessPoint
public boolean hasAccessPoint()
optional .apache.rocketmq.v2.Endpoints access_point = 2;- 指定者:
hasAccessPoint在接口中SettingsOrBuilder- 返回:
- Whether the accessPoint field is set.
-
getAccessPoint
public Endpoints getAccessPoint()
optional .apache.rocketmq.v2.Endpoints access_point = 2;- 指定者:
getAccessPoint在接口中SettingsOrBuilder- 返回:
- The accessPoint.
-
getAccessPointOrBuilder
public EndpointsOrBuilder getAccessPointOrBuilder()
optional .apache.rocketmq.v2.Endpoints access_point = 2;- 指定者:
getAccessPointOrBuilder在接口中SettingsOrBuilder
-
hasBackoffPolicy
public 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;- 指定者:
hasBackoffPolicy在接口中SettingsOrBuilder- 返回:
- Whether the backoffPolicy field is set.
-
getBackoffPolicy
public 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;- 指定者:
getBackoffPolicy在接口中SettingsOrBuilder- 返回:
- The backoffPolicy.
-
getBackoffPolicyOrBuilder
public 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;- 指定者:
getBackoffPolicyOrBuilder在接口中SettingsOrBuilder
-
hasRequestTimeout
public boolean hasRequestTimeout()
Request timeout for RPCs excluding long-polling.
optional .google.protobuf.Duration request_timeout = 4;- 指定者:
hasRequestTimeout在接口中SettingsOrBuilder- 返回:
- Whether the requestTimeout field is set.
-
getRequestTimeout
public com.google.protobuf.Duration getRequestTimeout()
Request timeout for RPCs excluding long-polling.
optional .google.protobuf.Duration request_timeout = 4;- 指定者:
getRequestTimeout在接口中SettingsOrBuilder- 返回:
- The requestTimeout.
-
getRequestTimeoutOrBuilder
public com.google.protobuf.DurationOrBuilder getRequestTimeoutOrBuilder()
Request timeout for RPCs excluding long-polling.
optional .google.protobuf.Duration request_timeout = 4;- 指定者:
getRequestTimeoutOrBuilder在接口中SettingsOrBuilder
-
hasPublishing
public boolean hasPublishing()
.apache.rocketmq.v2.Publishing publishing = 5;- 指定者:
hasPublishing在接口中SettingsOrBuilder- 返回:
- Whether the publishing field is set.
-
getPublishing
public Publishing getPublishing()
.apache.rocketmq.v2.Publishing publishing = 5;- 指定者:
getPublishing在接口中SettingsOrBuilder- 返回:
- The publishing.
-
getPublishingOrBuilder
public PublishingOrBuilder getPublishingOrBuilder()
.apache.rocketmq.v2.Publishing publishing = 5;- 指定者:
getPublishingOrBuilder在接口中SettingsOrBuilder
-
hasSubscription
public boolean hasSubscription()
.apache.rocketmq.v2.Subscription subscription = 6;- 指定者:
hasSubscription在接口中SettingsOrBuilder- 返回:
- Whether the subscription field is set.
-
getSubscription
public Subscription getSubscription()
.apache.rocketmq.v2.Subscription subscription = 6;- 指定者:
getSubscription在接口中SettingsOrBuilder- 返回:
- The subscription.
-
getSubscriptionOrBuilder
public SubscriptionOrBuilder getSubscriptionOrBuilder()
.apache.rocketmq.v2.Subscription subscription = 6;- 指定者:
getSubscriptionOrBuilder在接口中SettingsOrBuilder
-
hasUserAgent
public boolean hasUserAgent()
User agent details
.apache.rocketmq.v2.UA user_agent = 7;- 指定者:
hasUserAgent在接口中SettingsOrBuilder- 返回:
- Whether the userAgent field is set.
-
getUserAgent
public UA getUserAgent()
User agent details
.apache.rocketmq.v2.UA user_agent = 7;- 指定者:
getUserAgent在接口中SettingsOrBuilder- 返回:
- The userAgent.
-
getUserAgentOrBuilder
public UAOrBuilder getUserAgentOrBuilder()
User agent details
.apache.rocketmq.v2.UA user_agent = 7;- 指定者:
getUserAgentOrBuilder在接口中SettingsOrBuilder
-
hasMetric
public boolean hasMetric()
.apache.rocketmq.v2.Metric metric = 8;- 指定者:
hasMetric在接口中SettingsOrBuilder- 返回:
- Whether the metric field is set.
-
getMetric
public Metric getMetric()
.apache.rocketmq.v2.Metric metric = 8;- 指定者:
getMetric在接口中SettingsOrBuilder- 返回:
- The metric.
-
getMetricOrBuilder
public MetricOrBuilder getMetricOrBuilder()
.apache.rocketmq.v2.Metric metric = 8;- 指定者:
getMetricOrBuilder在接口中SettingsOrBuilder
-
isInitialized
public final boolean isInitialized()
- 指定者:
isInitialized在接口中com.google.protobuf.MessageLiteOrBuilder- 覆盖:
isInitialized在类中com.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- 指定者:
writeTo在接口中com.google.protobuf.MessageLite- 覆盖:
writeTo在类中com.google.protobuf.GeneratedMessageV3- 抛出:
IOException
-
getSerializedSize
public int getSerializedSize()
- 指定者:
getSerializedSize在接口中com.google.protobuf.MessageLite- 覆盖:
getSerializedSize在类中com.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- 指定者:
equals在接口中com.google.protobuf.Message- 覆盖:
equals在类中com.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- 指定者:
hashCode在接口中com.google.protobuf.Message- 覆盖:
hashCode在类中com.google.protobuf.AbstractMessage
-
parseFrom
public static Settings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- 抛出:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static Settings parseFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static Settings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static Settings parseDelimitedFrom(InputStream input) throws IOException
- 抛出:
IOException
-
parseDelimitedFrom
public static Settings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- 抛出:
IOException
-
parseFrom
public static Settings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- 抛出:
IOException
-
newBuilderForType
public Settings.Builder newBuilderForType()
- 指定者:
newBuilderForType在接口中com.google.protobuf.Message- 指定者:
newBuilderForType在接口中com.google.protobuf.MessageLite
-
newBuilder
public static Settings.Builder newBuilder()
-
newBuilder
public static Settings.Builder newBuilder(Settings prototype)
-
toBuilder
public Settings.Builder toBuilder()
- 指定者:
toBuilder在接口中com.google.protobuf.Message- 指定者:
toBuilder在接口中com.google.protobuf.MessageLite
-
newBuilderForType
protected Settings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- 指定者:
newBuilderForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static Settings getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<Settings> parser()
-
getParserForType
public com.google.protobuf.Parser<Settings> getParserForType()
- 指定者:
getParserForType在接口中com.google.protobuf.Message- 指定者:
getParserForType在接口中com.google.protobuf.MessageLite- 覆盖:
getParserForType在类中com.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public Settings getDefaultInstanceForType()
- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageLiteOrBuilder- 指定者:
getDefaultInstanceForType在接口中com.google.protobuf.MessageOrBuilder
-
-