public class SampleStream extends AbstractModel
header, skipSign| Constructor and Description | 
|---|
| SampleStream() | 
| SampleStream(SampleStream 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 | 
|---|---|
| Label[] | getLabels()Get Metric labels. | 
| String | getName()Get Metric name. | 
| SamplePair[] | getValues()Get Array of metric values. | 
| void | setLabels(Label[] Labels)Set Metric labels. | 
| void | setName(String Name)Set Metric name. | 
| void | setValues(SamplePair[] Values)Set Array of metric values. | 
| 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 SampleStream()
public SampleStream(SampleStream source)
public Label[] getLabels()
public void setLabels(Label[] Labels)
Labels - Metric labels.
Note: This field may return null, indicating that no valid value is found.public SamplePair[] getValues()
public void setValues(SamplePair[] Values)
Values - Array of metric values.public String getName()
public void setName(String Name)
Name - Metric name.
Note: This field may return null, indicating that no valid value is found.Copyright © 2025. All rights reserved.