public class MetricData extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| MetricData() | 
| MetricData(MetricData 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 | 
|---|---|
| Long | getEpoch()Get 本次上报数据所处的训练周期数。
注意:此字段可能返回 null,表示取不到有效值。 | 
| DataPoint[] | getPoints()Get 数据点。数组元素为不同指标的数据。数组长度不超过10。
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getStep()Get 本次上报数据所处的训练迭代次数。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getTaskId()Get 训练任务id | 
| Long | getTimestamp()Get 时间戳.unix timestamp,单位为秒
注意:此字段可能返回 null,表示取不到有效值。 | 
| Long | getTotalSteps()Get 训练停止所需的迭代总数。
注意:此字段可能返回 null,表示取不到有效值。 | 
| String | getUin()Get 用户uin
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setEpoch(Long Epoch)Set 本次上报数据所处的训练周期数。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setPoints(DataPoint[] Points)Set 数据点。数组元素为不同指标的数据。数组长度不超过10。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setStep(Long Step)Set 本次上报数据所处的训练迭代次数。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTaskId(String TaskId)Set 训练任务id | 
| void | setTimestamp(Long Timestamp)Set 时间戳.unix timestamp,单位为秒
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setTotalSteps(Long TotalSteps)Set 训练停止所需的迭代总数。
注意:此字段可能返回 null,表示取不到有效值。 | 
| void | setUin(String Uin)Set 用户uin
注意:此字段可能返回 null,表示取不到有效值。 | 
| 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, toJsonStringpublic MetricData()
public MetricData(MetricData source)
public String getTaskId()
public void setTaskId(String TaskId)
TaskId - 训练任务idpublic Long getTimestamp()
public void setTimestamp(Long Timestamp)
Timestamp - 时间戳.unix timestamp,单位为秒
注意:此字段可能返回 null,表示取不到有效值。public String getUin()
public void setUin(String Uin)
Uin - 用户uin
注意:此字段可能返回 null,表示取不到有效值。public Long getEpoch()
public void setEpoch(Long Epoch)
Epoch - 本次上报数据所处的训练周期数。
注意:此字段可能返回 null,表示取不到有效值。public Long getStep()
public void setStep(Long Step)
Step - 本次上报数据所处的训练迭代次数。
注意:此字段可能返回 null,表示取不到有效值。public Long getTotalSteps()
public void setTotalSteps(Long TotalSteps)
TotalSteps - 训练停止所需的迭代总数。
注意:此字段可能返回 null,表示取不到有效值。public DataPoint[] getPoints()
public void setPoints(DataPoint[] Points)
Points - 数据点。数组元素为不同指标的数据。数组长度不超过10。
注意:此字段可能返回 null,表示取不到有效值。Copyright © 2025. All rights reserved.