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;
* @return The name.
*/
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;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* Describes the measure, e.g. "RPC latency in seconds".
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* Describes the measure, e.g. "RPC latency in seconds".
*
*
* string description = 2;
* @return The bytes for description.
*/
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;
* @return The unit.
*/
java.lang.String getUnit();
/**
*
* Describes the unit used for the Measure. Follows the format described by
* http://unitsofmeasure.org/ucum.html.
*
*
* string unit = 3;
* @return The bytes for unit.
*/
com.google.protobuf.ByteString
getUnitBytes();
/**
*
* The type used for this Measure.
*
*
* .opencensus.proto.stats.v1.Measure.Type type = 4;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
*
* The type used for this Measure.
*
*
* .opencensus.proto.stats.v1.Measure.Type type = 4;
* @return The type.
*/
io.opencensus.proto.stats.v1.Measure.Type getType();
}