public interface MeasureOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and 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.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString 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()
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;String getDescription()
Describes the measure, e.g. "RPC latency in seconds".
string description = 2;com.google.protobuf.ByteString getDescriptionBytes()
Describes the measure, e.g. "RPC latency in seconds".
string description = 2;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()
Describes the unit used for the Measure. Follows the format described by http://unitsofmeasure.org/ucum.html.
string unit = 3;int getTypeValue()
The type used for this Measure.
.opencensus.proto.stats.v1.Measure.Type type = 4;Measure.Type getType()
The type used for this Measure.
.opencensus.proto.stats.v1.Measure.Type type = 4;