Interface MeasurementOrBuilder

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

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

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      double getDoubleValue()
      double double_value = 3;
      long getIntValue()
      int64 int_value = 4;
      String getMeasureName()
      The name of the measure to which the value is applied.
      com.google.protobuf.ByteString getMeasureNameBytes()
      The name of the measure to which the value is applied.
      Tag getTags​(int index)
      repeated .opencensus.proto.stats.v1.Tag tags = 1;
      int getTagsCount()
      repeated .opencensus.proto.stats.v1.Tag tags = 1;
      List<Tag> getTagsList()
      repeated .opencensus.proto.stats.v1.Tag tags = 1;
      TagOrBuilder getTagsOrBuilder​(int index)
      repeated .opencensus.proto.stats.v1.Tag tags = 1;
      List<? extends TagOrBuilder> getTagsOrBuilderList()
      repeated .opencensus.proto.stats.v1.Tag tags = 1;
      com.google.protobuf.Timestamp getTime()
      The time when this measurement was recorded.
      com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
      The time when this measurement was recorded.
      Measurement.ValueCase getValueCase()  
      boolean hasDoubleValue()
      double double_value = 3;
      boolean hasIntValue()
      int64 int_value = 4;
      boolean hasTime()
      The time when this measurement was recorded.
      • 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

      • getTagsList

        List<Tag> getTagsList()
        repeated .opencensus.proto.stats.v1.Tag tags = 1;
      • getTags

        Tag getTags​(int index)
        repeated .opencensus.proto.stats.v1.Tag tags = 1;
      • getTagsCount

        int getTagsCount()
        repeated .opencensus.proto.stats.v1.Tag tags = 1;
      • getTagsOrBuilderList

        List<? extends TagOrBuilder> getTagsOrBuilderList()
        repeated .opencensus.proto.stats.v1.Tag tags = 1;
      • getTagsOrBuilder

        TagOrBuilder getTagsOrBuilder​(int index)
        repeated .opencensus.proto.stats.v1.Tag tags = 1;
      • getMeasureName

        String getMeasureName()
         The name of the measure to which the value is applied.
         
        string measure_name = 2;
        Returns:
        The measureName.
      • getMeasureNameBytes

        com.google.protobuf.ByteString getMeasureNameBytes()
         The name of the measure to which the value is applied.
         
        string measure_name = 2;
        Returns:
        The bytes for measureName.
      • hasDoubleValue

        boolean hasDoubleValue()
        double double_value = 3;
        Returns:
        Whether the doubleValue field is set.
      • getDoubleValue

        double getDoubleValue()
        double double_value = 3;
        Returns:
        The doubleValue.
      • hasIntValue

        boolean hasIntValue()
        int64 int_value = 4;
        Returns:
        Whether the intValue field is set.
      • getIntValue

        long getIntValue()
        int64 int_value = 4;
        Returns:
        The intValue.
      • hasTime

        boolean hasTime()
         The time when this measurement was recorded. If the implementation uses a async buffer to
         record measurements this may be the time when the measurement was read from the buffer.
         
        .google.protobuf.Timestamp time = 5;
        Returns:
        Whether the time field is set.
      • getTime

        com.google.protobuf.Timestamp getTime()
         The time when this measurement was recorded. If the implementation uses a async buffer to
         record measurements this may be the time when the measurement was read from the buffer.
         
        .google.protobuf.Timestamp time = 5;
        Returns:
        The time.
      • getTimeOrBuilder

        com.google.protobuf.TimestampOrBuilder getTimeOrBuilder()
         The time when this measurement was recorded. If the implementation uses a async buffer to
         record measurements this may be the time when the measurement was read from the buffer.
         
        .google.protobuf.Timestamp time = 5;