Interface MeasureOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    Measure, Measure.Builder

    public interface MeasureOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      String getDescription()
      Describes the measure, e.g.
      com.google.protobuf.ByteString getDescriptionBytes()
      Describes the measure, e.g.
      String getName()
      A string by which the measure will be referred to, e.g.
      com.google.protobuf.ByteString getNameBytes()
      A string by which the measure will be referred to, e.g.
      Measure.Type getType()
      The type used for this Measure.
      int getTypeValue()
      The type used for this Measure.
      String getUnit()
      Describes the unit used for the Measure.
      com.google.protobuf.ByteString getUnitBytes()
      Describes the unit used for the Measure.
      • 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

      • getName

        String getName()
         A string by which the measure will be referred to, e.g. "rpc_server_latency". Names MUST be
         unique within the library.
         
        string name = 1;
        Returns:
        The name.
      • getNameBytes

        com.google.protobuf.ByteString getNameBytes()
         A string by which the measure will be referred to, e.g. "rpc_server_latency". Names MUST be
         unique within the library.
         
        string name = 1;
        Returns:
        The bytes for name.
      • getDescription

        String getDescription()
         Describes the measure, e.g. "RPC latency in seconds".
         
        string description = 2;
        Returns:
        The description.
      • getDescriptionBytes

        com.google.protobuf.ByteString getDescriptionBytes()
         Describes the measure, e.g. "RPC latency in seconds".
         
        string description = 2;
        Returns:
        The bytes for description.
      • getUnit

        String getUnit()
         Describes the unit used for the Measure. Follows the format described by
         http://unitsofmeasure.org/ucum.html.
         
        string unit = 3;
        Returns:
        The unit.
      • getUnitBytes

        com.google.protobuf.ByteString getUnitBytes()
         Describes the unit used for the Measure. Follows the format described by
         http://unitsofmeasure.org/ucum.html.
         
        string unit = 3;
        Returns:
        The bytes for unit.
      • getTypeValue

        int getTypeValue()
         The type used for this Measure.
         
        .opencensus.proto.stats.v1.Measure.Type type = 4;
        Returns:
        The enum numeric value on the wire for type.
      • getType

        Measure.Type getType()
         The type used for this Measure.
         
        .opencensus.proto.stats.v1.Measure.Type type = 4;
        Returns:
        The type.