Package io.opencensus.implcore.tags
Class TagValueWithMetadata
java.lang.Object
io.opencensus.implcore.tags.TagValueWithMetadata
- Direct Known Subclasses:
AutoValue_TagValueWithMetadata
Internal helper class that holds a TagValue and a TagMetadata.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic TagValueWithMetadatacreate(TagValue tagValue, TagMetadata tagMetadata) Creates aTagValueWithMetadata.(package private) abstract TagMetadataabstract TagValueReturns theTagValue.
-
Constructor Details
-
TagValueWithMetadata
TagValueWithMetadata()
-
-
Method Details
-
create
Creates aTagValueWithMetadata.- Parameters:
tagValue- the tag value.tagMetadata- metadata for the tag.- Returns:
- a
TagValueWithMetadata.
-
getTagValue
Returns theTagValue.- Returns:
- the
TagValue.
-
getTagMetadata
-