public static interface Service.MetricOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getKey()
Key identifying this metric.
|
com.google.protobuf.ByteString |
getKeyBytes()
Key identifying this metric.
|
long |
getStep()
Step at which to log the metric.
|
long |
getTimestamp()
The timestamp at which this metric was recorded.
|
double |
getValue()
Value associated with this metric.
|
boolean |
hasKey()
Key identifying this metric.
|
boolean |
hasStep()
Step at which to log the metric.
|
boolean |
hasTimestamp()
The timestamp at which this metric was recorded.
|
boolean |
hasValue()
Value associated with this metric.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean hasKey()
Key identifying this metric.
optional string key = 1;String getKey()
Key identifying this metric.
optional string key = 1;com.google.protobuf.ByteString getKeyBytes()
Key identifying this metric.
optional string key = 1;boolean hasValue()
Value associated with this metric.
optional double value = 2;double getValue()
Value associated with this metric.
optional double value = 2;boolean hasTimestamp()
The timestamp at which this metric was recorded.
optional int64 timestamp = 3;long getTimestamp()
The timestamp at which this metric was recorded.
optional int64 timestamp = 3;boolean hasStep()
Step at which to log the metric.
optional int64 step = 4 [default = 0];long getStep()
Step at which to log the metric.
optional int64 step = 4 [default = 0];Copyright © 2019. All rights reserved.