Package io.opencensus.proto.stats.v1
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 StringgetDescription()Describes the measure, e.g.com.google.protobuf.ByteStringgetDescriptionBytes()Describes the measure, e.g.StringgetName()A string by which the measure will be referred to, e.g.com.google.protobuf.ByteStringgetNameBytes()A string by which the measure will be referred to, e.g.Measure.TypegetType()The type used for this Measure.intgetTypeValue()The type used for this Measure.StringgetUnit()Describes the unit used for the Measure.com.google.protobuf.ByteStringgetUnitBytes()Describes the unit used for the Measure.-
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;
-
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;
-
getDescription
String getDescription()
Describes the measure, e.g. "RPC latency in seconds".
string description = 2;
-
getDescriptionBytes
com.google.protobuf.ByteString getDescriptionBytes()
Describes the measure, e.g. "RPC latency in seconds".
string description = 2;
-
getUnit
String getUnit()
Describes the unit used for the Measure. Follows the format described by http://unitsofmeasure.org/ucum.html.
string unit = 3;
-
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;
-
getTypeValue
int getTypeValue()
The type used for this Measure.
.opencensus.proto.stats.v1.Measure.Type type = 4;
-
getType
Measure.Type getType()
The type used for this Measure.
.opencensus.proto.stats.v1.Measure.Type type = 4;
-
-