com.lightstep.tracer.grpc.MetricPointOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: metrics.proto
package com.lightstep.tracer.grpc;
public interface MetricPointOrBuilder extends
// @@protoc_insertion_point(interface_extends:lightstep.metrics.MetricPoint)
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.MessageOrBuilder {
/**
*
* Kind indicates the semantics of this point. Kind should always be the same for a given metric
* name (e.g. "cpu.usage" should always have the same kind)
*
*
* .lightstep.metrics.MetricKind kind = 1;
*/
int getKindValue();
/**
*
* Kind indicates the semantics of this point. Kind should always be the same for a given metric
* name (e.g. "cpu.usage" should always have the same kind)
*
*
* .lightstep.metrics.MetricKind kind = 1;
*/
com.lightstep.tracer.grpc.MetricKind getKind();
/**
*
* MetricName indicates the metric being emitted.
*
*
* string metric_name = 2;
*/
java.lang.String getMetricName();
/**
*
* MetricName indicates the metric being emitted.
*
*
* string metric_name = 2;
*/
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.ByteString
getMetricNameBytes();
/**
*
* Start of the interval for which the points represent.
* - All Counter points will be assumed to represent the entire interval.
* - All Gauge points will be assumed to be instantaneous at the start of the interval.
*
*
* .lightstep.lightstep.lightstep.google.protobuf.Timestamp start = 3;
*/
boolean hasStart();
/**
*
* Start of the interval for which the points represent.
* - All Counter points will be assumed to represent the entire interval.
* - All Gauge points will be assumed to be instantaneous at the start of the interval.
*
*
* .lightstep.lightstep.lightstep.google.protobuf.Timestamp start = 3;
*/
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Timestamp getStart();
/**
*
* Start of the interval for which the points represent.
* - All Counter points will be assumed to represent the entire interval.
* - All Gauge points will be assumed to be instantaneous at the start of the interval.
*
*
* .lightstep.lightstep.lightstep.google.protobuf.Timestamp start = 3;
*/
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.TimestampOrBuilder getStartOrBuilder();
/**
*
* Duration of the interval for which the points represent. The end of the interval is start + duration.
* We expect this value to be unset or zero for Gauge points.
*
*
* .lightstep.lightstep.lightstep.google.protobuf.Duration duration = 4;
*/
boolean hasDuration();
/**
*
* Duration of the interval for which the points represent. The end of the interval is start + duration.
* We expect this value to be unset or zero for Gauge points.
*
*
* .lightstep.lightstep.lightstep.google.protobuf.Duration duration = 4;
*/
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.Duration getDuration();
/**
*
* Duration of the interval for which the points represent. The end of the interval is start + duration.
* We expect this value to be unset or zero for Gauge points.
*
*
* .lightstep.lightstep.lightstep.google.protobuf.Duration duration = 4;
*/
lightstep.com.lightstep.lightstep.lightstep.google.protobuf.DurationOrBuilder getDurationOrBuilder();
/**
*
* Labels contain labels specific to this point.
*
*
* repeated .lightstep.collector.KeyValue labels = 5;
*/
java.util.List
getLabelsList();
/**
*
* Labels contain labels specific to this point.
*
*
* repeated .lightstep.collector.KeyValue labels = 5;
*/
com.lightstep.tracer.grpc.KeyValue getLabels(int index);
/**
*
* Labels contain labels specific to this point.
*
*
* repeated .lightstep.collector.KeyValue labels = 5;
*/
int getLabelsCount();
/**
*
* Labels contain labels specific to this point.
*
*
* repeated .lightstep.collector.KeyValue labels = 5;
*/
java.util.List extends com.lightstep.tracer.grpc.KeyValueOrBuilder>
getLabelsOrBuilderList();
/**
*
* Labels contain labels specific to this point.
*
*
* repeated .lightstep.collector.KeyValue labels = 5;
*/
com.lightstep.tracer.grpc.KeyValueOrBuilder getLabelsOrBuilder(
int index);
/**
* uint64 uint64_value = 6;
*/
long getUint64Value();
/**
* double double_value = 7;
*/
double getDoubleValue();
public com.lightstep.tracer.grpc.MetricPoint.ValueCase getValueCase();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy