public class DescribeGeneralOTSpanListResponse extends AbstractModel
header, skipSign
Constructor and Description |
---|
DescribeGeneralOTSpanListResponse() |
DescribeGeneralOTSpanListResponse(DescribeGeneralOTSpanListResponse 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 |
getRequestId()
Get 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
String |
getSpans()
Get Spans字段中包含了链路数据的全部内容,由于数据经过了压缩,需要对结果进行如下三步转换,以还原始的文本。
1.
|
Long |
getTotalCount()
Get 总数量
|
void |
setRequestId(String RequestId)
Set 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。
|
void |
setSpans(String Spans)
Set Spans字段中包含了链路数据的全部内容,由于数据经过了压缩,需要对结果进行如下三步转换,以还原始的文本。
1.
|
void |
setTotalCount(Long TotalCount)
Set 总数量
|
void |
toMap(HashMap<String,String> map,
String prefix)
Internal implementation, normal users should not use it.
|
any, fromJsonString, getBinaryParams, GetHeader, getMultipartRequestParams, getSkipSign, isStream, set, SetHeader, setParamArrayObj, setParamArraySimple, setParamObj, setParamSimple, setSkipSign, toJsonString
public DescribeGeneralOTSpanListResponse()
public DescribeGeneralOTSpanListResponse(DescribeGeneralOTSpanListResponse source)
public Long getTotalCount()
public void setTotalCount(Long TotalCount)
TotalCount
- 总数量public String getSpans()
public void setSpans(String Spans)
Spans
- Spans字段中包含了链路数据的全部内容,由于数据经过了压缩,需要对结果进行如下三步转换,以还原始的文本。
1. 将Spans字段中的文本进行 Base64 解码,得到经过压缩后字节数组。
2. 使用 gzip 对压缩后的字节数组进行解压,得到压缩前的字节数组。
3. 使用 UTF-8 字符集,将压缩前的字节数组转换为文本。public String getRequestId()
public void setRequestId(String RequestId)
RequestId
- 唯一请求 ID,由服务端生成,每次请求都会返回(若请求因其他原因未能抵达服务端,则该次请求不会获得 RequestId)。定位问题时需要提供该次请求的 RequestId。Copyright © 2025. All rights reserved.