类 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 type apache.rocketmq.v2.Settings
    另请参阅:
    序列化表格
    • 字段详细资料

      • 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
      • 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.
      • 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.
      • hasSubscription

        public boolean hasSubscription()
        .apache.rocketmq.v2.Subscription subscription = 6;
        指定者:
        hasSubscription 在接口中 SettingsOrBuilder
        返回:
        Whether the subscription field is set.
      • 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.
      • hasMetric

        public boolean hasMetric()
        .apache.rocketmq.v2.Metric metric = 8;
        指定者:
        hasMetric 在接口中 SettingsOrBuilder
        返回:
        Whether the metric field is set.
      • 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​(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
      • 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