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;
* @return The name.
*/
java.lang.String getName();
/**
*
* The metric type, including its DNS name prefix. It must be unique.
*
*
* string name = 1;
* @return The bytes for name.
*/
com.google.protobuf.ByteString
getNameBytes();
/**
*
* A detailed description of the metric, which can be used in documentation.
*
*
* string description = 2;
* @return The description.
*/
java.lang.String getDescription();
/**
*
* A detailed description of the metric, which can be used in documentation.
*
*
* string description = 2;
* @return The bytes for description.
*/
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;
* @return The unit.
*/
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;
* @return The bytes for unit.
*/
com.google.protobuf.ByteString
getUnitBytes();
/**
* .opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4;
* @return The enum numeric value on the wire for type.
*/
int getTypeValue();
/**
* .opencensus.proto.metrics.v1.MetricDescriptor.Type type = 4;
* @return The type.
*/
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);
}