public interface NamedMetricOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getName()
public abstract String getName()The name of the metric.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The name. |
getNameBytes()
public abstract ByteString getNameBytes()The name of the metric.
string name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for name. |
getUnit()
public abstract String getUnit()The unit in which this metric is reported. Follows The Unified Code for Units of Measure standard.
string unit = 3;
| Returns | |
|---|---|
| Type | Description |
String |
The unit. |
getUnitBytes()
public abstract ByteString getUnitBytes()The unit in which this metric is reported. Follows The Unified Code for Units of Measure standard.
string unit = 3;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for unit. |
getValue()
public abstract Value getValue()The value of the metric.
.google.protobuf.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
Value |
The value. |
getValueOrBuilder()
public abstract ValueOrBuilder getValueOrBuilder()The value of the metric.
.google.protobuf.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
ValueOrBuilder |
|
hasValue()
public abstract boolean hasValue()The value of the metric.
.google.protobuf.Value value = 2;
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the value field is set. |