Class KafkaConsumerContent
- java.lang.Object
-
- com.tencentcloudapi.common.AbstractModel
-
- com.tencentcloudapi.cls.v20201016.models.KafkaConsumerContent
-
public class KafkaConsumerContent extends AbstractModel
-
-
Field Summary
-
Fields inherited from class com.tencentcloudapi.common.AbstractModel
header, skipSign
-
-
Constructor Summary
Constructors Constructor Description KafkaConsumerContent()KafkaConsumerContent(KafkaConsumerContent 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 Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description BooleangetEnableTag()Get 是否投递 TAG 信息 Format为0时,此字段不需要赋值LonggetFormat()Get 消费格式 0:全文;1:jsonLonggetJsonType()Get 消费数据Json格式: 1:不转义(默认格式) 2:转义String[]getMetaFields()Get 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值LonggetTagTransaction()Get tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。voidsetEnableTag(Boolean EnableTag)Set 是否投递 TAG 信息 Format为0时,此字段不需要赋值voidsetFormat(Long Format)Set 消费格式 0:全文;1:jsonvoidsetJsonType(Long JsonType)Set 消费数据Json格式: 1:不转义(默认格式) 2:转义voidsetMetaFields(String[] MetaFields)Set 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值voidsetTagTransaction(Long TagTransaction)Set tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 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
-
KafkaConsumerContent
public KafkaConsumerContent()
-
KafkaConsumerContent
public KafkaConsumerContent(KafkaConsumerContent 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
-
getFormat
public Long getFormat()
Get 消费格式 0:全文;1:json- Returns:
- Format 消费格式 0:全文;1:json
-
setFormat
public void setFormat(Long Format)
Set 消费格式 0:全文;1:json- Parameters:
Format- 消费格式 0:全文;1:json
-
getEnableTag
public Boolean getEnableTag()
Get 是否投递 TAG 信息 Format为0时,此字段不需要赋值- Returns:
- EnableTag 是否投递 TAG 信息 Format为0时,此字段不需要赋值
-
setEnableTag
public void setEnableTag(Boolean EnableTag)
Set 是否投递 TAG 信息 Format为0时,此字段不需要赋值- Parameters:
EnableTag- 是否投递 TAG 信息 Format为0时,此字段不需要赋值
-
getMetaFields
public String[] getMetaFields()
Get 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值- Returns:
- MetaFields 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值
-
setMetaFields
public void setMetaFields(String[] MetaFields)
Set 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值- Parameters:
MetaFields- 元数据信息列表, 可选值为:\_\_SOURCE\_\_、\_\_FILENAME\_\_ 、\_\_TIMESTAMP\_\_、\_\_HOSTNAME\_\_、\_\_PKGID\_\_ Format为0时,此字段不需要赋值
-
getTagTransaction
public Long getTagTransaction()
Get tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。- Returns:
- TagTransaction tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。
-
setTagTransaction
public void setTagTransaction(Long TagTransaction)
Set tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。- Parameters:
TagTransaction- tag数据处理方式: 1:不平铺(默认值) 2:平铺 注意:此字段可能返回 null,表示取不到有效值。
-
getJsonType
public Long getJsonType()
Get 消费数据Json格式: 1:不转义(默认格式) 2:转义- Returns:
- JsonType 消费数据Json格式: 1:不转义(默认格式) 2:转义
-
setJsonType
public void setJsonType(Long JsonType)
Set 消费数据Json格式: 1:不转义(默认格式) 2:转义- Parameters:
JsonType- 消费数据Json格式: 1:不转义(默认格式) 2:转义
-
-