Package io.opentelemetry.proto.common.v1
Interface InstrumentationScopeOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
InstrumentationScope,InstrumentationScope.Builder
public interface InstrumentationScopeOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetAttributes(int index) Additional attributes that describe the scope.intAdditional attributes that describe the scope.Additional attributes that describe the scope.getAttributesOrBuilder(int index) Additional attributes that describe the scope.List<? extends KeyValueOrBuilder>Additional attributes that describe the scope.intuint32 dropped_attributes_count = 4;getName()An empty instrumentation scope name means the name is unknown.com.google.protobuf.ByteStringAn empty instrumentation scope name means the name is unknown.string version = 2;com.google.protobuf.ByteStringstring version = 2;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
-
getName
String getName()An empty instrumentation scope name means the name is unknown.
string name = 1;- Returns:
- The name.
-
getNameBytes
com.google.protobuf.ByteString getNameBytes()An empty instrumentation scope name means the name is unknown.
string name = 1;- Returns:
- The bytes for name.
-
getVersion
String getVersion()string version = 2;- Returns:
- The version.
-
getVersionBytes
com.google.protobuf.ByteString getVersionBytes()string version = 2;- Returns:
- The bytes for version.
-
getAttributesList
Additional attributes that describe the scope. [Optional]. 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 = 3; -
getAttributes
Additional attributes that describe the scope. [Optional]. 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 = 3; -
getAttributesCount
int getAttributesCount()Additional attributes that describe the scope. [Optional]. 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 = 3; -
getAttributesOrBuilderList
List<? extends KeyValueOrBuilder> getAttributesOrBuilderList()Additional attributes that describe the scope. [Optional]. 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 = 3; -
getAttributesOrBuilder
Additional attributes that describe the scope. [Optional]. 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 = 3; -
getDroppedAttributesCount
int getDroppedAttributesCount()uint32 dropped_attributes_count = 4;- Returns:
- The droppedAttributesCount.
-