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
      String getName()
      Name of the metric.
      com.google.protobuf.ByteString getNameBytes()
      Name of the metric.
      SimpleMetric.Type getType()
      Type of the metric represented.
      int getTypeValue()
      Type of the metric represented.
      long getValue()
      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 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.