public class MetricsQueryInfoDetail extends MychainObject
| 构造器和说明 |
|---|
MetricsQueryInfoDetail()
Instantiates a new Metrics query info detail.
|
MetricsQueryInfoDetail(MetricsType queryType,
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger counter)
Instantiates a new Metrics query info detail.
|
| 限定符和类型 | 方法和说明 |
|---|---|
void |
fromJson(com.alibaba.fastjson.JSONObject jsonObject)
Decode message from json object.
|
void |
fromRlp(RlpList list)
Decode message from rlp bytes.
|
BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger |
getCounter()
Gets counter.
|
MetricsType |
getQueryType()
Gets query type.
|
void |
setCounter(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger counter)
Sets counter.
|
void |
setQueryType(MetricsType queryType)
Sets query type.
|
void |
toJson(com.alibaba.fastjson.JSONObject jsonObject)
Encode message to json object.
|
byte[] |
toRlp()
Encode message to rlp bytes.
|
toStringpublic MetricsQueryInfoDetail(MetricsType queryType, BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger counter)
queryType - the query typecounter - the counterpublic MetricsQueryInfoDetail()
public MetricsType getQueryType()
public void setQueryType(MetricsType queryType)
queryType - the query typepublic BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger getCounter()
public void setCounter(BaseFixedSizeUnsignedInteger.Fixed64BitUnsignedInteger counter)
counter - the counterpublic byte[] toRlp()
toRlp 在类中 MychainObjectpublic void fromRlp(RlpList list)
fromRlp 在类中 MychainObjectlist - the rlp bytespublic void toJson(com.alibaba.fastjson.JSONObject jsonObject)
toJson 在类中 MychainObjectjsonObject - the json objectpublic void fromJson(com.alibaba.fastjson.JSONObject jsonObject)
fromJson 在类中 MychainObjectjsonObject - the json objectCopyright © 2022. All rights reserved.