io.opencensus.proto.stats.v1.MeasureOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opencensus/proto/stats/v1/stats.proto
package io.opencensus.proto.stats.v1;
public interface MeasureOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.stats.v1.Measure)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
*/
java.lang.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;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Describes the measure, e.g. "RPC latency in seconds".
*
*
* string description = 2;
*/
java.lang.String getDescription();
/**
*
* Describes the measure, e.g. "RPC latency in seconds".
*
*
* string description = 2;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* Describes the unit used for the Measure. Follows the format described by
* http://unitsofmeasure.org/ucum.html.
*
*
* string unit = 3;
*/
java.lang.String getUnit();
/**
*
* Describes the unit used for the Measure. Follows the format described by
* http://unitsofmeasure.org/ucum.html.
*
*
* string unit = 3;
*/
com.google.protobuf.ByteString
getUnitBytes();
/**
*
* The type used for this Measure.
*
*
* .opencensus.proto.stats.v1.Measure.Type type = 4;
*/
int getTypeValue();
/**
*
* The type used for this Measure.
*
*
* .opencensus.proto.stats.v1.Measure.Type type = 4;
*/
io.opencensus.proto.stats.v1.Measure.Type getType();
}