io.opentelemetry.proto.metrics.v1.ResourceMetricsOrBuilder 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 ResourceMetricsOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.metrics.v1.ResourceMetrics)
com.google.protobuf.MessageOrBuilder {
/**
*
* 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;
* @return Whether the resource field is set.
*/
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;
* @return The resource.
*/
io.opentelemetry.proto.resource.v1.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;
*/
io.opentelemetry.proto.resource.v1.ResourceOrBuilder getResourceOrBuilder();
/**
*
* A list of metrics that originate from a resource.
*
*
* repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
*/
java.util.List
getScopeMetricsList();
/**
*
* A list of metrics that originate from a resource.
*
*
* repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
*/
io.opentelemetry.proto.metrics.v1.ScopeMetrics getScopeMetrics(int index);
/**
*
* A list of metrics that originate from a resource.
*
*
* repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
*/
int getScopeMetricsCount();
/**
*
* A list of metrics that originate from a resource.
*
*
* repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
*/
java.util.List extends io.opentelemetry.proto.metrics.v1.ScopeMetricsOrBuilder>
getScopeMetricsOrBuilderList();
/**
*
* A list of metrics that originate from a resource.
*
*
* repeated .opentelemetry.proto.metrics.v1.ScopeMetrics scope_metrics = 2;
*/
io.opentelemetry.proto.metrics.v1.ScopeMetricsOrBuilder getScopeMetricsOrBuilder(
int index);
/**
*
* This schema_url applies to the data in the "resource" field. It does not apply
* to the data in the "scope_metrics" 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_metrics" field which have their own schema_url field.
*
*
* string schema_url = 3;
* @return The bytes for schemaUrl.
*/
com.google.protobuf.ByteString
getSchemaUrlBytes();
}