
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
// Protobuf Java Version: 3.25.1
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);
/**
*
* The Schema URL, if known. This is the identifier of the Schema that the metric data
* is recorded in. To learn more about Schema URL see
* https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
* This schema_url applies to all metrics in the "metrics" field.
*
*
* string schema_url = 3;
* @return The schemaUrl.
*/
java.lang.String getSchemaUrl();
/**
*
* The Schema URL, if known. This is the identifier of the Schema that the metric data
* is recorded in. To learn more about Schema URL see
* https://opentelemetry.io/docs/specs/otel/schemas/#schema-url
* 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();
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy