All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencensus.proto.metrics.v1.MetricOrBuilder Maven / Gradle / Ivy

There is a newer version: 1.0.46
Show newest version
// 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; * @return Whether the metricDescriptor field is set. */ 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; * @return The metricDescriptor. */ 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 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; * @return Whether the resource field is set. */ 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; * @return The resource. */ 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(); }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy