io.opentelemetry.proto.trace.v1.ScopeSpansOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/trace/v1/trace.proto
package io.opentelemetry.proto.trace.v1;
public interface ScopeSpansOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.trace.v1.ScopeSpans)
com.google.protobuf.MessageOrBuilder {
/**
*
* The instrumentation scope information for the spans in this message.
* Semantically when InstrumentationScope isn't set, it is equivalent with
* an empty instrumentation scope name (unknown).
*
*
* .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
* @return Whether the scope field is set.
*/
boolean hasScope();
/**
*
* The instrumentation scope information for the spans in this message.
* Semantically when InstrumentationScope isn't set, it is equivalent with
* an empty instrumentation scope name (unknown).
*
*
* .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
* @return The scope.
*/
io.opentelemetry.proto.common.v1.InstrumentationScope getScope();
/**
*
* The instrumentation scope information for the spans in this message.
* Semantically when InstrumentationScope isn't set, it is equivalent with
* an empty instrumentation scope name (unknown).
*
*
* .opentelemetry.proto.common.v1.InstrumentationScope scope = 1;
*/
io.opentelemetry.proto.common.v1.InstrumentationScopeOrBuilder getScopeOrBuilder();
/**
*
* A list of Spans that originate from an instrumentation scope.
*
*
* repeated .opentelemetry.proto.trace.v1.Span spans = 2;
*/
java.util.List
getSpansList();
/**
*
* A list of Spans that originate from an instrumentation scope.
*
*
* repeated .opentelemetry.proto.trace.v1.Span spans = 2;
*/
io.opentelemetry.proto.trace.v1.Span getSpans(int index);
/**
*
* A list of Spans that originate from an instrumentation scope.
*
*
* repeated .opentelemetry.proto.trace.v1.Span spans = 2;
*/
int getSpansCount();
/**
*
* A list of Spans that originate from an instrumentation scope.
*
*
* repeated .opentelemetry.proto.trace.v1.Span spans = 2;
*/
java.util.List extends io.opentelemetry.proto.trace.v1.SpanOrBuilder>
getSpansOrBuilderList();
/**
*
* A list of Spans that originate from an instrumentation scope.
*
*
* repeated .opentelemetry.proto.trace.v1.Span spans = 2;
*/
io.opentelemetry.proto.trace.v1.SpanOrBuilder getSpansOrBuilder(
int index);
/**
*
* This schema_url applies to all spans and span events in the "spans" field.
*
*
* string schema_url = 3;
* @return The schemaUrl.
*/
java.lang.String getSchemaUrl();
/**
*
* This schema_url applies to all spans and span events in the "spans" field.
*
*
* string schema_url = 3;
* @return The bytes for schemaUrl.
*/
com.google.protobuf.ByteString
getSchemaUrlBytes();
}