Interface ResourceOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Resource,Resource.Builder
public interface ResourceOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(int index) Set of attributes that describe the resource.intSet of attributes that describe the resource.Set of attributes that describe the resource.getAttributesOrBuilder(int index) Set of attributes that describe the resource.List<? extends KeyValueOrBuilder>Set of attributes that describe the resource.intdropped_attributes_count is the number of dropped attributes.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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; -
getAttributes
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; -
getAttributesCount
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; -
getAttributesOrBuilderList
List<? extends 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; -
getAttributesOrBuilder
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; -
getDroppedAttributesCount
int getDroppedAttributesCount()dropped_attributes_count is the number of dropped attributes. If the value is 0, then no attributes were dropped.
uint32 dropped_attributes_count = 2;- Returns:
- The droppedAttributesCount.
-