public class SendMsgRequest extends AbstractModel
skipSign
Constructor and Description |
---|
SendMsgRequest() |
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.
|
Modifier and Type | Method and Description |
---|---|
String |
getClusterId()
Get Pulsar 集群的ID
|
String |
getEnvironmentId()
Get 环境(命名空间)名称。
|
String |
getMsgContent()
Get 消息内容,不能为空且大小不得大于5242880个byte。
|
String |
getTopicName()
Get 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。
|
void |
setClusterId(String ClusterId)
Set Pulsar 集群的ID
|
void |
setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。
|
void |
setMsgContent(String MsgContent)
Set 消息内容,不能为空且大小不得大于5242880个byte。
|
void |
setTopicName(String TopicName)
Set 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, getMultipartRequestParams, getSkipSign, set, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public SendMsgRequest()
public SendMsgRequest(SendMsgRequest source)
public String getEnvironmentId()
public void setEnvironmentId(String EnvironmentId)
EnvironmentId
- 环境(命名空间)名称。public String getTopicName()
public void setTopicName(String TopicName)
TopicName
- 主题名称,如果是分区topic需要指定具体分区,如果没有指定则默认发到0分区,例如:my_topic-partition-0。public String getMsgContent()
public void setMsgContent(String MsgContent)
MsgContent
- 消息内容,不能为空且大小不得大于5242880个byte。public String getClusterId()
public void setClusterId(String ClusterId)
ClusterId
- Pulsar 集群的IDCopyright © 2023. All rights reserved.