io.opencensus.proto.agent.metrics.v1.ExportMetricsServiceRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opencensus/proto/agent/metrics/v1/metrics_service.proto
package io.opencensus.proto.agent.metrics.v1;
public interface ExportMetricsServiceRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.agent.metrics.v1.ExportMetricsServiceRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is required only in the first message on the stream or if the
* previous sent ExportMetricsServiceRequest message has a different Node (e.g.
* when the same RPC is used to send Metrics from multiple Applications).
*
*
* .opencensus.proto.agent.common.v1.Node node = 1;
*/
boolean hasNode();
/**
*
* This is required only in the first message on the stream or if the
* previous sent ExportMetricsServiceRequest message has a different Node (e.g.
* when the same RPC is used to send Metrics from multiple Applications).
*
*
* .opencensus.proto.agent.common.v1.Node node = 1;
*/
io.opencensus.proto.agent.common.v1.Node getNode();
/**
*
* This is required only in the first message on the stream or if the
* previous sent ExportMetricsServiceRequest message has a different Node (e.g.
* when the same RPC is used to send Metrics from multiple Applications).
*
*
* .opencensus.proto.agent.common.v1.Node node = 1;
*/
io.opencensus.proto.agent.common.v1.NodeOrBuilder getNodeOrBuilder();
/**
*
* A list of metrics that belong to the last received Node.
*
*
* repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
*/
java.util.List
getMetricsList();
/**
*
* A list of metrics that belong to the last received Node.
*
*
* repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
*/
io.opencensus.proto.metrics.v1.Metric getMetrics(int index);
/**
*
* A list of metrics that belong to the last received Node.
*
*
* repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
*/
int getMetricsCount();
/**
*
* A list of metrics that belong to the last received Node.
*
*
* repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
*/
java.util.List extends io.opencensus.proto.metrics.v1.MetricOrBuilder>
getMetricsOrBuilderList();
/**
*
* A list of metrics that belong to the last received Node.
*
*
* repeated .opencensus.proto.metrics.v1.Metric metrics = 2;
*/
io.opencensus.proto.metrics.v1.MetricOrBuilder getMetricsOrBuilder(
int index);
/**
*
* The resource for the metrics in this message that do not have an explicit
* resource set.
* If unset, the most recently set resource in the RPC stream applies. It is
* valid to never be set within a stream, e.g. when no resource info is known
* at all or when all sent metrics have an explicit resource set.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
boolean hasResource();
/**
*
* The resource for the metrics in this message that do not have an explicit
* resource set.
* If unset, the most recently set resource in the RPC stream applies. It is
* valid to never be set within a stream, e.g. when no resource info is known
* at all or when all sent metrics have an explicit resource set.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
io.opencensus.proto.resource.v1.Resource getResource();
/**
*
* The resource for the metrics in this message that do not have an explicit
* resource set.
* If unset, the most recently set resource in the RPC stream applies. It is
* valid to never be set within a stream, e.g. when no resource info is known
* at all or when all sent metrics have an explicit resource set.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
io.opencensus.proto.resource.v1.ResourceOrBuilder getResourceOrBuilder();
}