Package io.opentelemetry.proto.common.v1
Class InstrumentationScope
java.lang.Object
com.google.protobuf.AbstractMessageLite<MessageType,BuilderType>
com.google.protobuf.GeneratedMessageLite<InstrumentationScope,InstrumentationScope.Builder>
io.opentelemetry.proto.common.v1.InstrumentationScope
- All Implemented Interfaces:
com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,InstrumentationScopeOrBuilder
public final class InstrumentationScope
extends com.google.protobuf.GeneratedMessageLite<InstrumentationScope,InstrumentationScope.Builder>
implements InstrumentationScopeOrBuilder
InstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version.Protobuf type
opentelemetry.proto.common.v1.InstrumentationScope-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classInstrumentationScope is a message representing the instrumentation scope information such as the fully qualified name and version.Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageLite
com.google.protobuf.GeneratedMessageLite.DefaultInstanceBasedParser<T extends com.google.protobuf.GeneratedMessageLite<T,?>>, com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageLite.ExtendableMessage<MessageType, BuilderType>, BuilderType extends com.google.protobuf.GeneratedMessageLite.ExtendableBuilder<MessageType, BuilderType>>, com.google.protobuf.GeneratedMessageLite.GeneratedExtension<ContainingType extends com.google.protobuf.MessageLite, Type extends Object>, com.google.protobuf.GeneratedMessageLite.MethodToInvoke, com.google.protobuf.GeneratedMessageLite.SerializedForm Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageLite
unknownFieldsFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionprotected final ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) getAttributes(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.static InstrumentationScopeintThe number of attributes that were discarded.getName()A name denoting the Instrumentation scope.com.google.protobuf.ByteStringA name denoting the Instrumentation scope.Defines the version of the instrumentation scope.com.google.protobuf.ByteStringDefines the version of the instrumentation scope.static InstrumentationScope.Builderstatic InstrumentationScope.BuildernewBuilder(InstrumentationScope prototype) static InstrumentationScopeparseDelimitedFrom(InputStream input) static InstrumentationScopeparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentationScopeparseFrom(byte[] data) static InstrumentationScopeparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentationScopeparseFrom(com.google.protobuf.ByteString data) static InstrumentationScopeparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentationScopeparseFrom(com.google.protobuf.CodedInputStream input) static InstrumentationScopeparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentationScopeparseFrom(InputStream input) static InstrumentationScopeparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static InstrumentationScopeparseFrom(ByteBuffer data) static InstrumentationScopeparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<InstrumentationScope>parser()Methods inherited from class com.google.protobuf.GeneratedMessageLite
createBuilder, createBuilder, dynamicMethod, dynamicMethod, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, emptyProtobufList, equals, getDefaultInstanceForType, getParserForType, getSerializedSize, hashCode, isInitialized, isInitialized, makeImmutable, mergeLengthDelimitedField, mergeUnknownFields, mergeVarintField, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBuilderForType, newMessageInfo, newRepeatedGeneratedExtension, newSingularGeneratedExtension, parseDelimitedFrom, parseDelimitedFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parseFrom, parsePartialFrom, parseUnknownField, registerDefaultInstance, toBuilder, toString, writeToMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType, isInitialized
-
Field Details
-
NAME_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER- See Also:
-
VERSION_FIELD_NUMBER
public static final int VERSION_FIELD_NUMBER- See Also:
-
ATTRIBUTES_FIELD_NUMBER
public static final int ATTRIBUTES_FIELD_NUMBER- See Also:
-
DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER
public static final int DROPPED_ATTRIBUTES_COUNT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getName
A name denoting the Instrumentation scope. An empty instrumentation scope name means the name is unknown.
string name = 1 [json_name = "name"];- Specified by:
getNamein interfaceInstrumentationScopeOrBuilder- Returns:
- The name.
-
getNameBytes
public com.google.protobuf.ByteString getNameBytes()A name denoting the Instrumentation scope. An empty instrumentation scope name means the name is unknown.
string name = 1 [json_name = "name"];- Specified by:
getNameBytesin interfaceInstrumentationScopeOrBuilder- Returns:
- The bytes for name.
-
getVersion
Defines the version of the instrumentation scope. An empty instrumentation scope version means the version is unknown.
string version = 2 [json_name = "version"];- Specified by:
getVersionin interfaceInstrumentationScopeOrBuilder- Returns:
- The version.
-
getVersionBytes
public com.google.protobuf.ByteString getVersionBytes()Defines the version of the instrumentation scope. An empty instrumentation scope version means the version is unknown.
string version = 2 [json_name = "version"];- Specified by:
getVersionBytesin interfaceInstrumentationScopeOrBuilder- 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). The behavior of software that receives duplicated keys can be unpredictable.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesListin interfaceInstrumentationScopeOrBuilder
-
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). The behavior of software that receives duplicated keys can be unpredictable.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3 [json_name = "attributes"]; -
getAttributesCount
public 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). The behavior of software that receives duplicated keys can be unpredictable.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesCountin interfaceInstrumentationScopeOrBuilder
-
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). The behavior of software that receives duplicated keys can be unpredictable.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3 [json_name = "attributes"];- Specified by:
getAttributesin interfaceInstrumentationScopeOrBuilder
-
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). The behavior of software that receives duplicated keys can be unpredictable.
repeated .opentelemetry.proto.common.v1.KeyValue attributes = 3 [json_name = "attributes"]; -
getDroppedAttributesCount
public int getDroppedAttributesCount()The number of attributes that were discarded. Attributes can be discarded because their keys are too long or because there are too many attributes. If this value is 0, then no attributes were dropped.
uint32 dropped_attributes_count = 4 [json_name = "droppedAttributesCount"];- Specified by:
getDroppedAttributesCountin interfaceInstrumentationScopeOrBuilder- Returns:
- The droppedAttributesCount.
-
parseFrom
public static InstrumentationScope parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstrumentationScope parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstrumentationScope parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstrumentationScope parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstrumentationScope parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static InstrumentationScope parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static InstrumentationScope parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static InstrumentationScope parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static InstrumentationScope parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static InstrumentationScope parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilder
-
newBuilder
-
dynamicMethod
protected final Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, Object arg0, Object arg1) - Specified by:
dynamicMethodin classcom.google.protobuf.GeneratedMessageLite<InstrumentationScope,InstrumentationScope.Builder>
-
getDefaultInstance
-
parser
-