io.opentelemetry.proto.metrics.v1.ScopeMetricsOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/metrics/v1/metrics.proto
package io.opentelemetry.proto.metrics.v1;
public interface ScopeMetricsOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.metrics.v1.ScopeMetrics)
com.google.protobuf.MessageOrBuilder {
/**
*
* The instrumentation scope information for the metrics 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 metrics 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 metrics 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 metrics that originate from an instrumentation library.
*
*
* repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
*/
java.util.List
getMetricsList();
/**
*
* A list of metrics that originate from an instrumentation library.
*
*
* repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
*/
io.opentelemetry.proto.metrics.v1.Metric getMetrics(int index);
/**
*
* A list of metrics that originate from an instrumentation library.
*
*
* repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
*/
int getMetricsCount();
/**
*
* A list of metrics that originate from an instrumentation library.
*
*
* repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
*/
java.util.List extends io.opentelemetry.proto.metrics.v1.MetricOrBuilder>
getMetricsOrBuilderList();
/**
*
* A list of metrics that originate from an instrumentation library.
*
*
* repeated .opentelemetry.proto.metrics.v1.Metric metrics = 2;
*/
io.opentelemetry.proto.metrics.v1.MetricOrBuilder getMetricsOrBuilder(
int index);
/**
*
* This schema_url applies to all metrics in the "metrics" field.
*
*
* string schema_url = 3;
* @return The schemaUrl.
*/
java.lang.String getSchemaUrl();
/**
*
* This schema_url applies to all metrics in the "metrics" field.
*
*
* string schema_url = 3;
* @return The bytes for schemaUrl.
*/
com.google.protobuf.ByteString
getSchemaUrlBytes();
}