Package io.envoyproxy.envoy.admin.v3
Interface SimpleMetricOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
SimpleMetric,SimpleMetric.Builder
public interface SimpleMetricOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetName()Name of the metric.com.google.protobuf.ByteStringgetNameBytes()Name of the metric.SimpleMetric.TypegetType()Type of the metric represented.intgetTypeValue()Type of the metric represented.longgetValue()Current metric value.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getTypeValue
int getTypeValue()
Type of the metric represented.
.envoy.admin.v3.SimpleMetric.Type type = 1;- Returns:
- The enum numeric value on the wire for type.
-
getType
SimpleMetric.Type getType()
Type of the metric represented.
.envoy.admin.v3.SimpleMetric.Type type = 1;- Returns:
- The type.
-
getValue
long getValue()
Current metric value.
uint64 value = 2;- Returns:
- The value.
-
getName
String getName()
Name of the metric.
string name = 3;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()
Name of the metric.
string name = 3;- Returns:
- The bytes for name.
-
-