public class Metric extends Object
| 限定符和类型 | 类和说明 |
|---|---|
static class |
Metric.Builder |
| 构造器和说明 |
|---|
Metric() |
Metric(Metric.Builder builder) |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
getAttributes() |
String |
getName() |
Integer |
getTimestamp() |
String |
getType() |
Double |
getValue() |
static Metric.Builder |
newBuilder() |
void |
setAttributes(String attributes) |
void |
setName(String name) |
void |
setTimestamp(Integer timestamp) |
void |
setType(String type) |
void |
setValue(Double value) |
public Metric()
public Metric(Metric.Builder builder)
public static Metric.Builder newBuilder()
public String getName()
public void setName(String name)
public String getType()
public void setType(String type)
public Double getValue()
public void setValue(Double value)
public String getAttributes()
public void setAttributes(String attributes)
public Integer getTimestamp()
public void setTimestamp(Integer timestamp)
Copyright © 2025. All rights reserved.