io.opentelemetry.proto.resource.v1.ResourceOrBuilder Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: opentelemetry/proto/resource/v1/resource.proto
package io.opentelemetry.proto.resource.v1;
public interface ResourceOrBuilder extends
// @@protoc_insertion_point(interface_extends:opentelemetry.proto.resource.v1.Resource)
com.google.protobuf.MessageOrBuilder {
/**
*
* Set of attributes that describe the resource.
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
*/
java.util.List
getAttributesList();
/**
*
* Set of attributes that describe the resource.
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
*/
io.opentelemetry.proto.common.v1.KeyValue getAttributes(int index);
/**
*
* Set of attributes that describe the resource.
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
*/
int getAttributesCount();
/**
*
* Set of attributes that describe the resource.
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
*/
java.util.List extends io.opentelemetry.proto.common.v1.KeyValueOrBuilder>
getAttributesOrBuilderList();
/**
*
* Set of attributes that describe the resource.
* Attribute keys MUST be unique (it is not allowed to have more than one
* attribute with the same key).
*
*
* repeated .opentelemetry.proto.common.v1.KeyValue attributes = 1;
*/
io.opentelemetry.proto.common.v1.KeyValueOrBuilder getAttributesOrBuilder(
int index);
/**
*
* dropped_attributes_count is the number of dropped attributes. If the value is 0, then
* no attributes were dropped.
*
*
* uint32 dropped_attributes_count = 2;
* @return The droppedAttributesCount.
*/
int getDroppedAttributesCount();
}