io.opentelemetry.proto.trace.v1.ResourceSpansOrBuilder 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 ResourceSpansOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.trace.v1.ResourceSpans)
com.google.protobuf.MessageOrBuilder {
/**
*
* The resource for the spans in this message.
* If this field is not set then no resource info is known.
*
*
* .opentelemetry.proto.resource.v1.Resource resource = 1;
* @return Whether the resource field is set.
*/
boolean hasResource();
/**
*
* The resource for the spans in this message.
* If this field is not set then no resource info is known.
*
*
* .opentelemetry.proto.resource.v1.Resource resource = 1;
* @return The resource.
*/
io.opentelemetry.proto.resource.v1.Resource getResource();
/**
*
* The resource for the spans in this message.
* If this field is not set then no resource info is known.
*
*
* .opentelemetry.proto.resource.v1.Resource resource = 1;
*/
io.opentelemetry.proto.resource.v1.ResourceOrBuilder getResourceOrBuilder();
/**
*
* A list of ScopeSpans that originate from a resource.
*
*
* repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;
*/
java.util.List
getScopeSpansList();
/**
*
* A list of ScopeSpans that originate from a resource.
*
*
* repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;
*/
io.opentelemetry.proto.trace.v1.ScopeSpans getScopeSpans(int index);
/**
*
* A list of ScopeSpans that originate from a resource.
*
*
* repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;
*/
int getScopeSpansCount();
/**
*
* A list of ScopeSpans that originate from a resource.
*
*
* repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;
*/
java.util.List extends io.opentelemetry.proto.trace.v1.ScopeSpansOrBuilder>
getScopeSpansOrBuilderList();
/**
*
* A list of ScopeSpans that originate from a resource.
*
*
* repeated .opentelemetry.proto.trace.v1.ScopeSpans scope_spans = 2;
*/
io.opentelemetry.proto.trace.v1.ScopeSpansOrBuilder getScopeSpansOrBuilder(
int index);
/**
*
* This schema_url applies to the data in the "resource" field. It does not apply
* to the data in the "scope_spans" field which have their own schema_url field.
*
*
* string schema_url = 3;
* @return The schemaUrl.
*/
java.lang.String getSchemaUrl();
/**
*
* This schema_url applies to the data in the "resource" field. It does not apply
* to the data in the "scope_spans" field which have their own schema_url field.
*
*
* string schema_url = 3;
* @return The bytes for schemaUrl.
*/
com.google.protobuf.ByteString
getSchemaUrlBytes();
}