io.opencensus.proto.agent.trace.v1.ExportTraceServiceRequestOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opencensus/proto/agent/trace/v1/trace_service.proto
package io.opencensus.proto.agent.trace.v1;
public interface ExportTraceServiceRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:opencensus.proto.agent.trace.v1.ExportTraceServiceRequest)
com.google.protobuf.MessageOrBuilder {
/**
*
* This is required only in the first message on the stream or if the
* previous sent ExportTraceServiceRequest message has a different Node (e.g.
* when the same RPC is used to send Spans from multiple Applications).
*
*
* .opencensus.proto.agent.common.v1.Node node = 1;
* @return Whether the node field is set.
*/
boolean hasNode();
/**
*
* This is required only in the first message on the stream or if the
* previous sent ExportTraceServiceRequest message has a different Node (e.g.
* when the same RPC is used to send Spans from multiple Applications).
*
*
* .opencensus.proto.agent.common.v1.Node node = 1;
* @return The node.
*/
io.opencensus.proto.agent.common.v1.Node getNode();
/**
*
* This is required only in the first message on the stream or if the
* previous sent ExportTraceServiceRequest message has a different Node (e.g.
* when the same RPC is used to send Spans from multiple Applications).
*
*
* .opencensus.proto.agent.common.v1.Node node = 1;
*/
io.opencensus.proto.agent.common.v1.NodeOrBuilder getNodeOrBuilder();
/**
*
* A list of Spans that belong to the last received Node.
*
*
* repeated .opencensus.proto.trace.v1.Span spans = 2;
*/
java.util.List
getSpansList();
/**
*
* A list of Spans that belong to the last received Node.
*
*
* repeated .opencensus.proto.trace.v1.Span spans = 2;
*/
io.opencensus.proto.trace.v1.Span getSpans(int index);
/**
*
* A list of Spans that belong to the last received Node.
*
*
* repeated .opencensus.proto.trace.v1.Span spans = 2;
*/
int getSpansCount();
/**
*
* A list of Spans that belong to the last received Node.
*
*
* repeated .opencensus.proto.trace.v1.Span spans = 2;
*/
java.util.List extends io.opencensus.proto.trace.v1.SpanOrBuilder>
getSpansOrBuilderList();
/**
*
* A list of Spans that belong to the last received Node.
*
*
* repeated .opencensus.proto.trace.v1.Span spans = 2;
*/
io.opencensus.proto.trace.v1.SpanOrBuilder getSpansOrBuilder(
int index);
/**
*
* The resource for the spans 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.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
* @return Whether the resource field is set.
*/
boolean hasResource();
/**
*
* The resource for the spans 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.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
* @return The resource.
*/
io.opencensus.proto.resource.v1.Resource getResource();
/**
*
* The resource for the spans 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.
*
*
* .opencensus.proto.resource.v1.Resource resource = 3;
*/
io.opencensus.proto.resource.v1.ResourceOrBuilder getResourceOrBuilder();
}