io.opencensus.proto.metrics.v1.MetricOrBuilder 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 MetricOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.metrics.v1.Metric)
com.google.protobuf.MessageOrBuilder {
/**
*
* The descriptor of the Metric.
* TODO(issue #152): consider only sending the name of descriptor for
* optimization.
*
*
* .opencensus.proto.metrics.v1.MetricDescriptor metric_descriptor = 1;
*/
boolean hasMetricDescriptor();
/**
*
* The descriptor of the Metric.
* TODO(issue #152): consider only sending the name of descriptor for
* optimization.
*
*
* .opencensus.proto.metrics.v1.MetricDescriptor metric_descriptor = 1;
*/
io.opencensus.proto.metrics.v1.MetricDescriptor getMetricDescriptor();
/**
*
* The descriptor of the Metric.
* TODO(issue #152): consider only sending the name of descriptor for
* optimization.
*
*
* .opencensus.proto.metrics.v1.MetricDescriptor metric_descriptor = 1;
*/
io.opencensus.proto.metrics.v1.MetricDescriptorOrBuilder getMetricDescriptorOrBuilder();
/**
*
* One or more timeseries for a single metric, where each timeseries has
* one or more points.
*
*
* repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;
*/
java.util.List
getTimeseriesList();
/**
*
* One or more timeseries for a single metric, where each timeseries has
* one or more points.
*
*
* repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;
*/
io.opencensus.proto.metrics.v1.TimeSeries getTimeseries(int index);
/**
*
* One or more timeseries for a single metric, where each timeseries has
* one or more points.
*
*
* repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;
*/
int getTimeseriesCount();
/**
*
* One or more timeseries for a single metric, where each timeseries has
* one or more points.
*
*
* repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;
*/
java.util.List extends io.opencensus.proto.metrics.v1.TimeSeriesOrBuilder>
getTimeseriesOrBuilderList();
/**
*
* One or more timeseries for a single metric, where each timeseries has
* one or more points.
*
*
* repeated .opencensus.proto.metrics.v1.TimeSeries timeseries = 2;
*/
io.opencensus.proto.metrics.v1.TimeSeriesOrBuilder getTimeseriesOrBuilder(
int index);
/**
*
* The resource for the metric. If unset, it may be set to a default value
* provided for a sequence of messages in an RPC stream.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
boolean hasResource();
/**
*
* The resource for the metric. If unset, it may be set to a default value
* provided for a sequence of messages in an RPC stream.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
io.opencensus.proto.resource.v1.Resource getResource();
/**
*
* The resource for the metric. If unset, it may be set to a default value
* provided for a sequence of messages in an RPC stream.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
io.opencensus.proto.resource.v1.ResourceOrBuilder getResourceOrBuilder();
}