Interface ResourceSpansOrBuilder

  • All Superinterfaces:
    com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
    All Known Implementing Classes:
    ResourceSpans, ResourceSpans.Builder

    public interface ResourceSpansOrBuilder
    extends com.google.protobuf.MessageOrBuilder
    • Method Detail

      • hasResource

        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;
      • getResource

        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;
      • getResourceOrBuilder

        ResourceOrBuilder getResourceOrBuilder()
         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;
      • getInstrumentationLibrarySpansList

        List<InstrumentationLibrarySpans> getInstrumentationLibrarySpansList()
         A list of InstrumentationLibrarySpans that originate from a resource.
         
        repeated .opentelemetry.proto.trace.v1.InstrumentationLibrarySpans instrumentation_library_spans = 2;
      • getInstrumentationLibrarySpans

        InstrumentationLibrarySpans getInstrumentationLibrarySpans​(int index)
         A list of InstrumentationLibrarySpans that originate from a resource.
         
        repeated .opentelemetry.proto.trace.v1.InstrumentationLibrarySpans instrumentation_library_spans = 2;
      • getInstrumentationLibrarySpansCount

        int getInstrumentationLibrarySpansCount()
         A list of InstrumentationLibrarySpans that originate from a resource.
         
        repeated .opentelemetry.proto.trace.v1.InstrumentationLibrarySpans instrumentation_library_spans = 2;
      • getInstrumentationLibrarySpansOrBuilderList

        List<? extends InstrumentationLibrarySpansOrBuilder> getInstrumentationLibrarySpansOrBuilderList()
         A list of InstrumentationLibrarySpans that originate from a resource.
         
        repeated .opentelemetry.proto.trace.v1.InstrumentationLibrarySpans instrumentation_library_spans = 2;
      • getInstrumentationLibrarySpansOrBuilder

        InstrumentationLibrarySpansOrBuilder getInstrumentationLibrarySpansOrBuilder​(int index)
         A list of InstrumentationLibrarySpans that originate from a resource.
         
        repeated .opentelemetry.proto.trace.v1.InstrumentationLibrarySpans instrumentation_library_spans = 2;
      • getSchemaUrl

        String getSchemaUrl()
         This schema_url applies to the data in the "resource" field. It does not apply
         to the data in the "instrumentation_library_spans" field which have their own
         schema_url field.
         
        string schema_url = 3;
      • getSchemaUrlBytes

        com.google.protobuf.ByteString getSchemaUrlBytes()
         This schema_url applies to the data in the "resource" field. It does not apply
         to the data in the "instrumentation_library_spans" field which have their own
         schema_url field.
         
        string schema_url = 3;