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

    Modifier and Type
    Method
    Description
    Name of the metric.
    com.google.protobuf.ByteString
    Name of the metric.
    Type of the metric represented.
    int
    Type of the metric represented.
    long
    Current metric value.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Method Details

    • getTypeValue

      int getTypeValue()
       Type of the metric represented.
       
      .envoy.admin.v2alpha.SimpleMetric.Type type = 1;
      Returns:
      The enum numeric value on the wire for type.
    • getType

       Type of the metric represented.
       
      .envoy.admin.v2alpha.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.