接口 MessageOrBuilder

  • 所有超级接口:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    所有已知实现类:
    Message, Message.Builder

    public interface MessageOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • 方法详细资料

      • hasTopic

        boolean hasTopic()
        .apache.rocketmq.v2.Resource topic = 1;
        返回:
        Whether the topic field is set.
      • getTopic

        Resource getTopic()
        .apache.rocketmq.v2.Resource topic = 1;
        返回:
        The topic.
      • getTopicOrBuilder

        ResourceOrBuilder getTopicOrBuilder()
        .apache.rocketmq.v2.Resource topic = 1;
      • getUserPropertiesCount

        int getUserPropertiesCount()
         User defined key-value pairs.
         If user_properties contain the reserved keys by RocketMQ,
         the send message request will be aborted with status `INVALID_ARGUMENT`.
         See below links for the reserved keys
         https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
         
        map<string, string> user_properties = 2;
      • containsUserProperties

        boolean containsUserProperties​(String key)
         User defined key-value pairs.
         If user_properties contain the reserved keys by RocketMQ,
         the send message request will be aborted with status `INVALID_ARGUMENT`.
         See below links for the reserved keys
         https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
         
        map<string, string> user_properties = 2;
      • getUserPropertiesMap

        Map<String,​String> getUserPropertiesMap()
         User defined key-value pairs.
         If user_properties contain the reserved keys by RocketMQ,
         the send message request will be aborted with status `INVALID_ARGUMENT`.
         See below links for the reserved keys
         https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
         
        map<string, string> user_properties = 2;
      • getUserPropertiesOrDefault

        String getUserPropertiesOrDefault​(String key,
                                          String defaultValue)
         User defined key-value pairs.
         If user_properties contain the reserved keys by RocketMQ,
         the send message request will be aborted with status `INVALID_ARGUMENT`.
         See below links for the reserved keys
         https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
         
        map<string, string> user_properties = 2;
      • getUserPropertiesOrThrow

        String getUserPropertiesOrThrow​(String key)
         User defined key-value pairs.
         If user_properties contain the reserved keys by RocketMQ,
         the send message request will be aborted with status `INVALID_ARGUMENT`.
         See below links for the reserved keys
         https://github.com/apache/rocketmq/blob/master/common/src/main/java/org/apache/rocketmq/common/message/MessageConst.java#L58
         
        map<string, string> user_properties = 2;
      • hasSystemProperties

        boolean hasSystemProperties()
        .apache.rocketmq.v2.SystemProperties system_properties = 3;
        返回:
        Whether the systemProperties field is set.
      • getSystemProperties

        SystemProperties getSystemProperties()
        .apache.rocketmq.v2.SystemProperties system_properties = 3;
        返回:
        The systemProperties.
      • getSystemPropertiesOrBuilder

        SystemPropertiesOrBuilder getSystemPropertiesOrBuilder()
        .apache.rocketmq.v2.SystemProperties system_properties = 3;
      • getBody

        com.google.protobuf.ByteString getBody()
        bytes body = 4;
        返回:
        The body.