io.opencensus.proto.metrics.v1.MetricDescriptorOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opencensus/proto/metrics/v1/metrics.proto
package io.opencensus.proto.metrics.v1;
public interface MetricDescriptorOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.metrics.v1.MetricDescriptor)
com.google.protobuf.MessageOrBuilder {
/**
*
* The metric type, including its DNS name prefix. It must be unique.
*
*
* string name = 1;
*/
java.lang.String getName();
/**
*
* The metric type, including its DNS name prefix. It must be unique.
*
*
* string name = 1;
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* A detailed description of the metric, which can be used in documentation.
*
*
* string description = 2;
*/
java.lang.String getDescription();
/**
*
* A detailed description of the metric, which can be used in documentation.
*
*
* string description = 2;
*/
com.google.protobuf.ByteString
getDescriptionBytes();
/**
*
* The unit in which the metric value is reported. Follows the format
* described by http://unitsofmeasure.org/ucum.html.
*
*
* string unit = 3;
*/
java.lang.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();
/**
* .opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4;
*/
int getTypeValue();
/**
* .opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4;
*/
io.opencensus.proto.metrics.v1.MetricDescriptor.Type getType();
/**
*
* The label keys associated with the metric descriptor.
*
*
* repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;
*/
java.util.List
getLabelKeysList();
/**
*
* The label keys associated with the metric descriptor.
*
*
* repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;
*/
io.opencensus.proto.metrics.v1.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;
*/
java.util.List extends io.opencensus.proto.metrics.v1.LabelKeyOrBuilder>
getLabelKeysOrBuilderList();
/**
*
* The label keys associated with the metric descriptor.
*
*
* repeated .opencensus.proto.metrics.v1.LabelKey label_keys = 5;
*/
io.opencensus.proto.metrics.v1.LabelKeyOrBuilder getLabelKeysOrBuilder(
int index);
}