Class Topic
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.tdmq.v20200217.models.Topic
-
public class Topic extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description StringgetAverageMsgSize()Get 最后一次间隔内发布消息的平均byte大小。 注意:此字段可能返回 null,表示取不到有效值。StringgetConsumerCount()Get 消费者数量。 注意:此字段可能返回 null,表示取不到有效值。StringgetConsumerLimit()Get 消费者上限。 注意:此字段可能返回 null,表示取不到有效值。StringgetCreateTime()Get 创建时间。 注意:此字段可能返回 null,表示取不到有效值。StringgetEnvironmentId()Get 环境(命名空间)名称。 注意:此字段可能返回 null,表示取不到有效值。StringgetLastConfirmedEntry()Get 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。StringgetLastLedgerCreatedTimestamp()Get 最后一个ledger创建的时间。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsgRateIn()Get 本地和复制的发布者每秒发布消息的速率。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsgRateOut()Get 本地和复制的消费者每秒分发消息的数量之和。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsgThroughputIn()Get 本地和复制的发布者每秒发布消息的byte。 注意:此字段可能返回 null,表示取不到有效值。StringgetMsgThroughputOut()Get 本地和复制的消费者每秒分发消息的byte。 注意:此字段可能返回 null,表示取不到有效值。LonggetMsgTTL()Get 未消费消息过期时间,单位:秒 注意:此字段可能返回 null,表示取不到有效值。StringgetNumberOfEntries()Get 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。LonggetPartitions()Get 分区数<=0:topic下无子分区。 注意:此字段可能返回 null,表示取不到有效值。StringgetProducerCount()Get 生产者数量。 注意:此字段可能返回 null,表示取不到有效值。StringgetProducerLimit()Get 生产者上限。 注意:此字段可能返回 null,表示取不到有效值。LonggetPulsarTopicType()Get 0: 非持久非分区 1: 非持久分区 2: 持久非分区 3: 持久分区 注意:此字段可能返回 null,表示取不到有效值。StringgetRemark()Get 说明,128个字符以内。 注意:此字段可能返回 null,表示取不到有效值。PartitionsTopic[]getSubTopicSets()Get 分区topic里面的子分区。 注意:此字段可能返回 null,表示取不到有效值。StringgetTopicName()Get 主题名称。 注意:此字段可能返回 null,表示取不到有效值。LonggetTopicType()Get topic类型描述: 0:普通消息; 1:全局顺序消息; 2:局部顺序消息; 3:重试队列; 4:死信队列; 5:事务消息。 注意:此字段可能返回 null,表示取不到有效值。StringgetTotalSize()Get 以byte计算的所有消息存储总量。 注意:此字段可能返回 null,表示取不到有效值。StringgetUpdateTime()Get 最近修改时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetAverageMsgSize(String AverageMsgSize)Set 最后一次间隔内发布消息的平均byte大小。 注意:此字段可能返回 null,表示取不到有效值。voidsetConsumerCount(String ConsumerCount)Set 消费者数量。 注意:此字段可能返回 null,表示取不到有效值。voidsetConsumerLimit(String ConsumerLimit)Set 消费者上限。 注意:此字段可能返回 null,表示取不到有效值。voidsetCreateTime(String CreateTime)Set 创建时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetEnvironmentId(String EnvironmentId)Set 环境(命名空间)名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetLastConfirmedEntry(String LastConfirmedEntry)Set 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。voidsetLastLedgerCreatedTimestamp(String LastLedgerCreatedTimestamp)Set 最后一个ledger创建的时间。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgRateIn(String MsgRateIn)Set 本地和复制的发布者每秒发布消息的速率。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgRateOut(String MsgRateOut)Set 本地和复制的消费者每秒分发消息的数量之和。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgThroughputIn(String MsgThroughputIn)Set 本地和复制的发布者每秒发布消息的byte。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgThroughputOut(String MsgThroughputOut)Set 本地和复制的消费者每秒分发消息的byte。 注意:此字段可能返回 null,表示取不到有效值。voidsetMsgTTL(Long MsgTTL)Set 未消费消息过期时间,单位:秒 注意:此字段可能返回 null,表示取不到有效值。voidsetNumberOfEntries(String NumberOfEntries)Set 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。voidsetPartitions(Long Partitions)Set 分区数<=0:topic下无子分区。 注意:此字段可能返回 null,表示取不到有效值。voidsetProducerCount(String ProducerCount)Set 生产者数量。 注意:此字段可能返回 null,表示取不到有效值。voidsetProducerLimit(String ProducerLimit)Set 生产者上限。 注意:此字段可能返回 null,表示取不到有效值。voidsetPulsarTopicType(Long PulsarTopicType)Set 0: 非持久非分区 1: 非持久分区 2: 持久非分区 3: 持久分区 注意:此字段可能返回 null,表示取不到有效值。voidsetRemark(String Remark)Set 说明,128个字符以内。 注意:此字段可能返回 null,表示取不到有效值。voidsetSubTopicSets(PartitionsTopic[] SubTopicSets)Set 分区topic里面的子分区。 注意:此字段可能返回 null,表示取不到有效值。voidsetTopicName(String TopicName)Set 主题名称。 注意:此字段可能返回 null,表示取不到有效值。voidsetTopicType(Long TopicType)Set topic类型描述: 0:普通消息; 1:全局顺序消息; 2:局部顺序消息; 3:重试队列; 4:死信队列; 5:事务消息。 注意:此字段可能返回 null,表示取不到有效值。voidsetTotalSize(String TotalSize)Set 以byte计算的所有消息存储总量。 注意:此字段可能返回 null,表示取不到有效值。voidsetUpdateTime(String UpdateTime)Set 最近修改时间。 注意:此字段可能返回 null,表示取不到有效值。voidtoMap(HashMap<String,String> map, String prefix)Internal implementation, normal users should not use it.-
Methods inherited from class com.tencentcloudapi.common.AbstractModel
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
-
-
-
-
Constructor Detail
-
Topic
public Topic()
-
Topic
public Topic(Topic 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
-
getAverageMsgSize
public String getAverageMsgSize()
Get 最后一次间隔内发布消息的平均byte大小。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- AverageMsgSize 最后一次间隔内发布消息的平均byte大小。 注意:此字段可能返回 null,表示取不到有效值。
-
setAverageMsgSize
public void setAverageMsgSize(String AverageMsgSize)
Set 最后一次间隔内发布消息的平均byte大小。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
AverageMsgSize- 最后一次间隔内发布消息的平均byte大小。 注意:此字段可能返回 null,表示取不到有效值。
-
getConsumerCount
public String getConsumerCount()
Get 消费者数量。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConsumerCount 消费者数量。 注意:此字段可能返回 null,表示取不到有效值。
-
setConsumerCount
public void setConsumerCount(String ConsumerCount)
Set 消费者数量。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConsumerCount- 消费者数量。 注意:此字段可能返回 null,表示取不到有效值。
-
getLastConfirmedEntry
public String getLastConfirmedEntry()
Get 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LastConfirmedEntry 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。
-
setLastConfirmedEntry
public void setLastConfirmedEntry(String LastConfirmedEntry)
Set 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LastConfirmedEntry- 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。
-
getLastLedgerCreatedTimestamp
public String getLastLedgerCreatedTimestamp()
Get 最后一个ledger创建的时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- LastLedgerCreatedTimestamp 最后一个ledger创建的时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setLastLedgerCreatedTimestamp
public void setLastLedgerCreatedTimestamp(String LastLedgerCreatedTimestamp)
Set 最后一个ledger创建的时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
LastLedgerCreatedTimestamp- 最后一个ledger创建的时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgRateIn
public String getMsgRateIn()
Get 本地和复制的发布者每秒发布消息的速率。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgRateIn 本地和复制的发布者每秒发布消息的速率。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgRateIn
public void setMsgRateIn(String MsgRateIn)
Set 本地和复制的发布者每秒发布消息的速率。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgRateIn- 本地和复制的发布者每秒发布消息的速率。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgRateOut
public String getMsgRateOut()
Get 本地和复制的消费者每秒分发消息的数量之和。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgRateOut 本地和复制的消费者每秒分发消息的数量之和。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgRateOut
public void setMsgRateOut(String MsgRateOut)
Set 本地和复制的消费者每秒分发消息的数量之和。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgRateOut- 本地和复制的消费者每秒分发消息的数量之和。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgThroughputIn
public String getMsgThroughputIn()
Get 本地和复制的发布者每秒发布消息的byte。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgThroughputIn 本地和复制的发布者每秒发布消息的byte。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgThroughputIn
public void setMsgThroughputIn(String MsgThroughputIn)
Set 本地和复制的发布者每秒发布消息的byte。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgThroughputIn- 本地和复制的发布者每秒发布消息的byte。 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgThroughputOut
public String getMsgThroughputOut()
Get 本地和复制的消费者每秒分发消息的byte。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgThroughputOut 本地和复制的消费者每秒分发消息的byte。 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgThroughputOut
public void setMsgThroughputOut(String MsgThroughputOut)
Set 本地和复制的消费者每秒分发消息的byte。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgThroughputOut- 本地和复制的消费者每秒分发消息的byte。 注意:此字段可能返回 null,表示取不到有效值。
-
getNumberOfEntries
public String getNumberOfEntries()
Get 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- NumberOfEntries 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。
-
setNumberOfEntries
public void setNumberOfEntries(String NumberOfEntries)
Set 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
NumberOfEntries- 被记录下来的消息总数。 注意:此字段可能返回 null,表示取不到有效值。
-
getPartitions
public Long getPartitions()
Get 分区数<=0:topic下无子分区。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Partitions 分区数<=0:topic下无子分区。 注意:此字段可能返回 null,表示取不到有效值。
-
setPartitions
public void setPartitions(Long Partitions)
Set 分区数<=0:topic下无子分区。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Partitions- 分区数<=0:topic下无子分区。 注意:此字段可能返回 null,表示取不到有效值。
-
getProducerCount
public String getProducerCount()
Get 生产者数量。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ProducerCount 生产者数量。 注意:此字段可能返回 null,表示取不到有效值。
-
setProducerCount
public void setProducerCount(String ProducerCount)
Set 生产者数量。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ProducerCount- 生产者数量。 注意:此字段可能返回 null,表示取不到有效值。
-
getTotalSize
public String getTotalSize()
Get 以byte计算的所有消息存储总量。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TotalSize 以byte计算的所有消息存储总量。 注意:此字段可能返回 null,表示取不到有效值。
-
setTotalSize
public void setTotalSize(String TotalSize)
Set 以byte计算的所有消息存储总量。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TotalSize- 以byte计算的所有消息存储总量。 注意:此字段可能返回 null,表示取不到有效值。
-
getSubTopicSets
public PartitionsTopic[] getSubTopicSets()
Get 分区topic里面的子分区。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- SubTopicSets 分区topic里面的子分区。 注意:此字段可能返回 null,表示取不到有效值。
-
setSubTopicSets
public void setSubTopicSets(PartitionsTopic[] SubTopicSets)
Set 分区topic里面的子分区。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
SubTopicSets- 分区topic里面的子分区。 注意:此字段可能返回 null,表示取不到有效值。
-
getTopicType
public Long getTopicType()
Get topic类型描述: 0:普通消息; 1:全局顺序消息; 2:局部顺序消息; 3:重试队列; 4:死信队列; 5:事务消息。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TopicType topic类型描述: 0:普通消息; 1:全局顺序消息; 2:局部顺序消息; 3:重试队列; 4:死信队列; 5:事务消息。 注意:此字段可能返回 null,表示取不到有效值。
-
setTopicType
public void setTopicType(Long TopicType)
Set topic类型描述: 0:普通消息; 1:全局顺序消息; 2:局部顺序消息; 3:重试队列; 4:死信队列; 5:事务消息。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TopicType- topic类型描述: 0:普通消息; 1:全局顺序消息; 2:局部顺序消息; 3:重试队列; 4:死信队列; 5:事务消息。 注意:此字段可能返回 null,表示取不到有效值。
-
getEnvironmentId
public String getEnvironmentId()
Get 环境(命名空间)名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- EnvironmentId 环境(命名空间)名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setEnvironmentId
public void setEnvironmentId(String EnvironmentId)
Set 环境(命名空间)名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
EnvironmentId- 环境(命名空间)名称。 注意:此字段可能返回 null,表示取不到有效值。
-
getTopicName
public String getTopicName()
Get 主题名称。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TopicName 主题名称。 注意:此字段可能返回 null,表示取不到有效值。
-
setTopicName
public void setTopicName(String TopicName)
Set 主题名称。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TopicName- 主题名称。 注意:此字段可能返回 null,表示取不到有效值。
-
getRemark
public String getRemark()
Get 说明,128个字符以内。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- Remark 说明,128个字符以内。 注意:此字段可能返回 null,表示取不到有效值。
-
setRemark
public void setRemark(String Remark)
Set 说明,128个字符以内。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
Remark- 说明,128个字符以内。 注意:此字段可能返回 null,表示取不到有效值。
-
getCreateTime
public String getCreateTime()
Get 创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- CreateTime 创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setCreateTime
public void setCreateTime(String CreateTime)
Set 创建时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
CreateTime- 创建时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getUpdateTime
public String getUpdateTime()
Get 最近修改时间。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- UpdateTime 最近修改时间。 注意:此字段可能返回 null,表示取不到有效值。
-
setUpdateTime
public void setUpdateTime(String UpdateTime)
Set 最近修改时间。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
UpdateTime- 最近修改时间。 注意:此字段可能返回 null,表示取不到有效值。
-
getProducerLimit
public String getProducerLimit()
Get 生产者上限。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ProducerLimit 生产者上限。 注意:此字段可能返回 null,表示取不到有效值。
-
setProducerLimit
public void setProducerLimit(String ProducerLimit)
Set 生产者上限。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ProducerLimit- 生产者上限。 注意:此字段可能返回 null,表示取不到有效值。
-
getConsumerLimit
public String getConsumerLimit()
Get 消费者上限。 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- ConsumerLimit 消费者上限。 注意:此字段可能返回 null,表示取不到有效值。
-
setConsumerLimit
public void setConsumerLimit(String ConsumerLimit)
Set 消费者上限。 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
ConsumerLimit- 消费者上限。 注意:此字段可能返回 null,表示取不到有效值。
-
getPulsarTopicType
public Long getPulsarTopicType()
Get 0: 非持久非分区 1: 非持久分区 2: 持久非分区 3: 持久分区 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- PulsarTopicType 0: 非持久非分区 1: 非持久分区 2: 持久非分区 3: 持久分区 注意:此字段可能返回 null,表示取不到有效值。
-
setPulsarTopicType
public void setPulsarTopicType(Long PulsarTopicType)
Set 0: 非持久非分区 1: 非持久分区 2: 持久非分区 3: 持久分区 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
PulsarTopicType- 0: 非持久非分区 1: 非持久分区 2: 持久非分区 3: 持久分区 注意:此字段可能返回 null,表示取不到有效值。
-
getMsgTTL
public Long getMsgTTL()
Get 未消费消息过期时间,单位:秒 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- MsgTTL 未消费消息过期时间,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
-
setMsgTTL
public void setMsgTTL(Long MsgTTL)
Set 未消费消息过期时间,单位:秒 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
MsgTTL- 未消费消息过期时间,单位:秒 注意:此字段可能返回 null,表示取不到有效值。
-
-