Class SendMsgRequest

    • Constructor Detail

      • SendMsgRequest

        public SendMsgRequest()
      • SendMsgRequest

        public SendMsgRequest​(SendMsgRequest source)
        NOTE: Any ambiguous key set via .set("AnyKey", "value") will be a shallow copy, and any explicit key, i.e Foo, set via .setFoo("value") will be a deep copy.
    • Method Detail

      • getEnvironmentId

        public String getEnvironmentId()
        Get 环境(命名空间)名称。
        Returns:
        EnvironmentId 环境(命名空间)名称。
      • setEnvironmentId

        public void setEnvironmentId​(String EnvironmentId)
        Set 环境(命名空间)名称。
        Parameters:
        EnvironmentId - 环境(命名空间)名称。
      • getTopicName

        public String getTopicName()
        Get 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。
        Returns:
        TopicName 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。
      • setTopicName

        public void setTopicName​(String TopicName)
        Set 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。
        Parameters:
        TopicName - 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。
      • getMsgContent

        public String getMsgContent()
        Get 消息内容,不能为空且大小不得大于5242880个byte。
        Returns:
        MsgContent 消息内容,不能为空且大小不得大于5242880个byte。
      • setMsgContent

        public void setMsgContent​(String MsgContent)
        Set 消息内容,不能为空且大小不得大于5242880个byte。
        Parameters:
        MsgContent - 消息内容,不能为空且大小不得大于5242880个byte。
      • getClusterId

        public String getClusterId()
        Get Pulsar 集群的ID
        Returns:
        ClusterId Pulsar 集群的ID
      • setClusterId

        public void setClusterId​(String ClusterId)
        Set Pulsar 集群的ID
        Parameters:
        ClusterId - Pulsar 集群的ID