Interface ResourceMetricsOrBuilder

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

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

      • hasResource

        boolean hasResource()
         The resource for the metrics 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 metrics 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 metrics in this message.
         If this field is not set then no resource info is known.
         
        .opentelemetry.proto.resource.v1.Resource resource = 1;
      • getInstrumentationLibraryMetricsList

        List<InstrumentationLibraryMetrics> getInstrumentationLibraryMetricsList()
         A list of metrics that originate from a resource.
         
        repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 2;
      • getInstrumentationLibraryMetrics

        InstrumentationLibraryMetrics getInstrumentationLibraryMetrics​(int index)
         A list of metrics that originate from a resource.
         
        repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 2;
      • getInstrumentationLibraryMetricsCount

        int getInstrumentationLibraryMetricsCount()
         A list of metrics that originate from a resource.
         
        repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 2;
      • getInstrumentationLibraryMetricsOrBuilderList

        List<? extends InstrumentationLibraryMetricsOrBuilder> getInstrumentationLibraryMetricsOrBuilderList()
         A list of metrics that originate from a resource.
         
        repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 2;
      • getInstrumentationLibraryMetricsOrBuilder

        InstrumentationLibraryMetricsOrBuilder getInstrumentationLibraryMetricsOrBuilder​(int index)
         A list of metrics that originate from a resource.
         
        repeated .opentelemetry.proto.metrics.v1.InstrumentationLibraryMetrics instrumentation_library_metrics = 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_metrics" 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_metrics" field which have their own
         schema_url field.
         
        string schema_url = 3;