public interface MetricDescriptorOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getDescription()
A detailed description of the metric, which can be used in documentation.
|
com.google.protobuf.ByteString |
getDescriptionBytes()
A detailed description of the metric, which can be used in documentation.
|
LabelKey |
getLabelKeys(int index)
The label keys associated with the metric descriptor.
|
int |
getLabelKeysCount()
The label keys associated with the metric descriptor.
|
List<LabelKey> |
getLabelKeysList()
The label keys associated with the metric descriptor.
|
LabelKeyOrBuilder |
getLabelKeysOrBuilder(int index)
The label keys associated with the metric descriptor.
|
List<? extends LabelKeyOrBuilder> |
getLabelKeysOrBuilderList()
The label keys associated with the metric descriptor.
|
String |
getName()
The metric type, including its DNS name prefix.
|
com.google.protobuf.ByteString |
getNameBytes()
The metric type, including its DNS name prefix.
|
MetricDescriptor.Type |
getType()
.opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4; |
int |
getTypeValue()
.opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4; |
String |
getUnit()
The unit in which the metric value is reported.
|
com.google.protobuf.ByteString |
getUnitBytes()
The unit in which the metric value is reported.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofString getName()
The metric type, including its DNS name prefix. It must be unique.
string name = 1;com.google.protobuf.ByteString getNameBytes()
The metric type, including its DNS name prefix. It must be unique.
string name = 1;String getDescription()
A detailed description of the metric, which can be used in documentation.
string description = 2;com.google.protobuf.ByteString getDescriptionBytes()
A detailed description of the metric, which can be used in documentation.
string description = 2;String getUnit()
The unit in which the metric value is reported. Follows the format described by http://unitsofmeasure.org/ucum.html.
string unit = 3;com.google.protobuf.ByteString getUnitBytes()
The unit in which the metric value is reported. Follows the format described by http://unitsofmeasure.org/ucum.html.
string unit = 3;int getTypeValue()
.opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4;MetricDescriptor.Type getType()
.opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4;List<LabelKey> getLabelKeysList()
The label keys associated with the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;LabelKey getLabelKeys(int index)
The label keys associated with the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;int getLabelKeysCount()
The label keys associated with the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;List<? extends LabelKeyOrBuilder> getLabelKeysOrBuilderList()
The label keys associated with the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;LabelKeyOrBuilder getLabelKeysOrBuilder(int index)
The label keys associated with the metric descriptor.
repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;