All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.opencensus.proto.agent.common.v1.Node.scala Maven / Gradle / Ivy

There is a newer version: 1.23.0-dev-f04150-1
Show newest version
// Generated by the Scala Plugin for the Protocol Buffer Compiler.
// Do not edit!
//
// Protofile syntax: PROTO3

package io.opencensus.proto.agent.common.v1

/** Identifier metadata of the Node that produces the span or tracing data.
  * Note, this is not the metadata about the Node or service that is described by associated spans.
  * In the future we plan to extend the identifier proto definition to support
  * additional information (e.g cloud id, etc.)
  *
  * @param identifier
  *   Identifier that uniquely identifies a process within a VM/container.
  * @param libraryInfo
  *   Information on the OpenCensus Library that initiates the stream.
  * @param serviceInfo
  *   Additional information on service.
  * @param attributes
  *   Additional attributes.
  */
@SerialVersionUID(0L)
final case class Node(
    identifier: _root_.scala.Option[io.opencensus.proto.agent.common.v1.ProcessIdentifier] = _root_.scala.None,
    libraryInfo: _root_.scala.Option[io.opencensus.proto.agent.common.v1.LibraryInfo] = _root_.scala.None,
    serviceInfo: _root_.scala.Option[io.opencensus.proto.agent.common.v1.ServiceInfo] = _root_.scala.None,
    attributes: _root_.scala.collection.immutable.Map[_root_.scala.Predef.String, _root_.scala.Predef.String] = _root_.scala.collection.immutable.Map.empty,
    unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
    ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[Node] {
    @transient
    private[this] var __serializedSizeMemoized: _root_.scala.Int = 0
    private[this] def __computeSerializedSize(): _root_.scala.Int = {
      var __size = 0
      if (identifier.isDefined) {
        val __value = identifier.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (libraryInfo.isDefined) {
        val __value = libraryInfo.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (serviceInfo.isDefined) {
        val __value = serviceInfo.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      attributes.foreach { __item =>
        val __value = io.opencensus.proto.agent.common.v1.Node._typemapper_attributes.toBase(__item)
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      }
      __size += unknownFields.serializedSize
      __size
    }
    override def serializedSize: _root_.scala.Int = {
      var __size = __serializedSizeMemoized
      if (__size == 0) {
        __size = __computeSerializedSize() + 1
        __serializedSizeMemoized = __size
      }
      __size - 1
      
    }
    def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
      identifier.foreach { __v =>
        val __m = __v
        _output__.writeTag(1, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      libraryInfo.foreach { __v =>
        val __m = __v
        _output__.writeTag(2, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      serviceInfo.foreach { __v =>
        val __m = __v
        _output__.writeTag(3, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      attributes.foreach { __v =>
        val __m = io.opencensus.proto.agent.common.v1.Node._typemapper_attributes.toBase(__v)
        _output__.writeTag(4, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      unknownFields.writeTo(_output__)
    }
    def getIdentifier: io.opencensus.proto.agent.common.v1.ProcessIdentifier = identifier.getOrElse(io.opencensus.proto.agent.common.v1.ProcessIdentifier.defaultInstance)
    def clearIdentifier: Node = copy(identifier = _root_.scala.None)
    def withIdentifier(__v: io.opencensus.proto.agent.common.v1.ProcessIdentifier): Node = copy(identifier = Option(__v))
    def getLibraryInfo: io.opencensus.proto.agent.common.v1.LibraryInfo = libraryInfo.getOrElse(io.opencensus.proto.agent.common.v1.LibraryInfo.defaultInstance)
    def clearLibraryInfo: Node = copy(libraryInfo = _root_.scala.None)
    def withLibraryInfo(__v: io.opencensus.proto.agent.common.v1.LibraryInfo): Node = copy(libraryInfo = Option(__v))
    def getServiceInfo: io.opencensus.proto.agent.common.v1.ServiceInfo = serviceInfo.getOrElse(io.opencensus.proto.agent.common.v1.ServiceInfo.defaultInstance)
    def clearServiceInfo: Node = copy(serviceInfo = _root_.scala.None)
    def withServiceInfo(__v: io.opencensus.proto.agent.common.v1.ServiceInfo): Node = copy(serviceInfo = Option(__v))
    def clearAttributes = copy(attributes = _root_.scala.collection.immutable.Map.empty)
    def addAttributes(__vs: (_root_.scala.Predef.String, _root_.scala.Predef.String) *): Node = addAllAttributes(__vs)
    def addAllAttributes(__vs: Iterable[(_root_.scala.Predef.String, _root_.scala.Predef.String)]): Node = copy(attributes = attributes ++ __vs)
    def withAttributes(__v: _root_.scala.collection.immutable.Map[_root_.scala.Predef.String, _root_.scala.Predef.String]): Node = copy(attributes = __v)
    def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
    def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
    def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
      (__fieldNumber: @_root_.scala.unchecked) match {
        case 1 => identifier.orNull
        case 2 => libraryInfo.orNull
        case 3 => serviceInfo.orNull
        case 4 => attributes.iterator.map(io.opencensus.proto.agent.common.v1.Node._typemapper_attributes.toBase(_)).toSeq
      }
    }
    def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
      _root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
      (__field.number: @_root_.scala.unchecked) match {
        case 1 => identifier.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 2 => libraryInfo.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 3 => serviceInfo.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 4 => _root_.scalapb.descriptors.PRepeated(attributes.iterator.map(io.opencensus.proto.agent.common.v1.Node._typemapper_attributes.toBase(_).toPMessage).toVector)
      }
    }
    def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
    def companion: io.opencensus.proto.agent.common.v1.Node.type = io.opencensus.proto.agent.common.v1.Node
    // @@protoc_insertion_point(GeneratedMessage[opencensus.proto.agent.common.v1.Node])
}

object Node extends scalapb.GeneratedMessageCompanion[io.opencensus.proto.agent.common.v1.Node] {
  implicit def messageCompanion: scalapb.GeneratedMessageCompanion[io.opencensus.proto.agent.common.v1.Node] = this
  def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): io.opencensus.proto.agent.common.v1.Node = {
    var __identifier: _root_.scala.Option[io.opencensus.proto.agent.common.v1.ProcessIdentifier] = _root_.scala.None
    var __libraryInfo: _root_.scala.Option[io.opencensus.proto.agent.common.v1.LibraryInfo] = _root_.scala.None
    var __serviceInfo: _root_.scala.Option[io.opencensus.proto.agent.common.v1.ServiceInfo] = _root_.scala.None
    val __attributes: _root_.scala.collection.mutable.Builder[(_root_.scala.Predef.String, _root_.scala.Predef.String), _root_.scala.collection.immutable.Map[_root_.scala.Predef.String, _root_.scala.Predef.String]] = _root_.scala.collection.immutable.Map.newBuilder[_root_.scala.Predef.String, _root_.scala.Predef.String]
    var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
    var _done__ = false
    while (!_done__) {
      val _tag__ = _input__.readTag()
      _tag__ match {
        case 0 => _done__ = true
        case 10 =>
          __identifier = Option(__identifier.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.agent.common.v1.ProcessIdentifier](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 18 =>
          __libraryInfo = Option(__libraryInfo.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.agent.common.v1.LibraryInfo](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 26 =>
          __serviceInfo = Option(__serviceInfo.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.agent.common.v1.ServiceInfo](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 34 =>
          __attributes += io.opencensus.proto.agent.common.v1.Node._typemapper_attributes.toCustom(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.agent.common.v1.Node.AttributesEntry](_input__))
        case tag =>
          if (_unknownFields__ == null) {
            _unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
          }
          _unknownFields__.parseField(tag, _input__)
      }
    }
    io.opencensus.proto.agent.common.v1.Node(
        identifier = __identifier,
        libraryInfo = __libraryInfo,
        serviceInfo = __serviceInfo,
        attributes = __attributes.result(),
        unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
    )
  }
  implicit def messageReads: _root_.scalapb.descriptors.Reads[io.opencensus.proto.agent.common.v1.Node] = _root_.scalapb.descriptors.Reads{
    case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
      _root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
      io.opencensus.proto.agent.common.v1.Node(
        identifier = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.agent.common.v1.ProcessIdentifier]]),
        libraryInfo = __fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.agent.common.v1.LibraryInfo]]),
        serviceInfo = __fieldsMap.get(scalaDescriptor.findFieldByNumber(3).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.agent.common.v1.ServiceInfo]]),
        attributes = __fieldsMap.get(scalaDescriptor.findFieldByNumber(4).get).map(_.as[_root_.scala.Seq[io.opencensus.proto.agent.common.v1.Node.AttributesEntry]]).getOrElse(_root_.scala.Seq.empty).iterator.map(io.opencensus.proto.agent.common.v1.Node._typemapper_attributes.toCustom(_)).toMap
      )
    case _ => throw new RuntimeException("Expected PMessage")
  }
  def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = CommonProto.javaDescriptor.getMessageTypes().get(0)
  def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = CommonProto.scalaDescriptor.messages(0)
  def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = {
    var __out: _root_.scalapb.GeneratedMessageCompanion[_] = null
    (__number: @_root_.scala.unchecked) match {
      case 1 => __out = io.opencensus.proto.agent.common.v1.ProcessIdentifier
      case 2 => __out = io.opencensus.proto.agent.common.v1.LibraryInfo
      case 3 => __out = io.opencensus.proto.agent.common.v1.ServiceInfo
      case 4 => __out = io.opencensus.proto.agent.common.v1.Node.AttributesEntry
    }
    __out
  }
  lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]] =
    Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]](
      _root_.io.opencensus.proto.agent.common.v1.Node.AttributesEntry
    )
  def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[_] = throw new MatchError(__fieldNumber)
  lazy val defaultInstance = io.opencensus.proto.agent.common.v1.Node(
    identifier = _root_.scala.None,
    libraryInfo = _root_.scala.None,
    serviceInfo = _root_.scala.None,
    attributes = _root_.scala.collection.immutable.Map.empty
  )
  @SerialVersionUID(0L)
  final case class AttributesEntry(
      key: _root_.scala.Predef.String = "",
      value: _root_.scala.Predef.String = "",
      unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
      ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[AttributesEntry] {
      @transient
      private[this] var __serializedSizeMemoized: _root_.scala.Int = 0
      private[this] def __computeSerializedSize(): _root_.scala.Int = {
        var __size = 0
        
        {
          val __value = key
          if (!__value.isEmpty) {
            __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(1, __value)
          }
        };
        
        {
          val __value = value
          if (!__value.isEmpty) {
            __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(2, __value)
          }
        };
        __size += unknownFields.serializedSize
        __size
      }
      override def serializedSize: _root_.scala.Int = {
        var __size = __serializedSizeMemoized
        if (__size == 0) {
          __size = __computeSerializedSize() + 1
          __serializedSizeMemoized = __size
        }
        __size - 1
        
      }
      def writeTo(`_output__`: _root_.com.google.protobuf.CodedOutputStream): _root_.scala.Unit = {
        {
          val __v = key
          if (!__v.isEmpty) {
            _output__.writeString(1, __v)
          }
        };
        {
          val __v = value
          if (!__v.isEmpty) {
            _output__.writeString(2, __v)
          }
        };
        unknownFields.writeTo(_output__)
      }
      def withKey(__v: _root_.scala.Predef.String): AttributesEntry = copy(key = __v)
      def withValue(__v: _root_.scala.Predef.String): AttributesEntry = copy(value = __v)
      def withUnknownFields(__v: _root_.scalapb.UnknownFieldSet) = copy(unknownFields = __v)
      def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet.empty)
      def getFieldByNumber(__fieldNumber: _root_.scala.Int): _root_.scala.Any = {
        (__fieldNumber: @_root_.scala.unchecked) match {
          case 1 => {
            val __t = key
            if (__t != "") __t else null
          }
          case 2 => {
            val __t = value
            if (__t != "") __t else null
          }
        }
      }
      def getField(__field: _root_.scalapb.descriptors.FieldDescriptor): _root_.scalapb.descriptors.PValue = {
        _root_.scala.Predef.require(__field.containingMessage eq companion.scalaDescriptor)
        (__field.number: @_root_.scala.unchecked) match {
          case 1 => _root_.scalapb.descriptors.PString(key)
          case 2 => _root_.scalapb.descriptors.PString(value)
        }
      }
      def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
      def companion: io.opencensus.proto.agent.common.v1.Node.AttributesEntry.type = io.opencensus.proto.agent.common.v1.Node.AttributesEntry
      // @@protoc_insertion_point(GeneratedMessage[opencensus.proto.agent.common.v1.Node.AttributesEntry])
  }
  
  object AttributesEntry extends scalapb.GeneratedMessageCompanion[io.opencensus.proto.agent.common.v1.Node.AttributesEntry] {
    implicit def messageCompanion: scalapb.GeneratedMessageCompanion[io.opencensus.proto.agent.common.v1.Node.AttributesEntry] = this
    def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): io.opencensus.proto.agent.common.v1.Node.AttributesEntry = {
      var __key: _root_.scala.Predef.String = ""
      var __value: _root_.scala.Predef.String = ""
      var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
      var _done__ = false
      while (!_done__) {
        val _tag__ = _input__.readTag()
        _tag__ match {
          case 0 => _done__ = true
          case 10 =>
            __key = _input__.readStringRequireUtf8()
          case 18 =>
            __value = _input__.readStringRequireUtf8()
          case tag =>
            if (_unknownFields__ == null) {
              _unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
            }
            _unknownFields__.parseField(tag, _input__)
        }
      }
      io.opencensus.proto.agent.common.v1.Node.AttributesEntry(
          key = __key,
          value = __value,
          unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
      )
    }
    implicit def messageReads: _root_.scalapb.descriptors.Reads[io.opencensus.proto.agent.common.v1.Node.AttributesEntry] = _root_.scalapb.descriptors.Reads{
      case _root_.scalapb.descriptors.PMessage(__fieldsMap) =>
        _root_.scala.Predef.require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), "FieldDescriptor does not match message type.")
        io.opencensus.proto.agent.common.v1.Node.AttributesEntry(
          key = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).map(_.as[_root_.scala.Predef.String]).getOrElse(""),
          value = __fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).map(_.as[_root_.scala.Predef.String]).getOrElse("")
        )
      case _ => throw new RuntimeException("Expected PMessage")
    }
    def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = io.opencensus.proto.agent.common.v1.Node.javaDescriptor.getNestedTypes().get(0)
    def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = io.opencensus.proto.agent.common.v1.Node.scalaDescriptor.nestedMessages(0)
    def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = throw new MatchError(__number)
    lazy val nestedMessagesCompanions: Seq[_root_.scalapb.GeneratedMessageCompanion[_ <: _root_.scalapb.GeneratedMessage]] = Seq.empty
    def enumCompanionForFieldNumber(__fieldNumber: _root_.scala.Int): _root_.scalapb.GeneratedEnumCompanion[_] = throw new MatchError(__fieldNumber)
    lazy val defaultInstance = io.opencensus.proto.agent.common.v1.Node.AttributesEntry(
      key = "",
      value = ""
    )
    implicit class AttributesEntryLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.agent.common.v1.Node.AttributesEntry]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, io.opencensus.proto.agent.common.v1.Node.AttributesEntry](_l) {
      def key: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.key)((c_, f_) => c_.copy(key = f_))
      def value: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.value)((c_, f_) => c_.copy(value = f_))
    }
    final val KEY_FIELD_NUMBER = 1
    final val VALUE_FIELD_NUMBER = 2
    @transient
    implicit val keyValueMapper: _root_.scalapb.TypeMapper[io.opencensus.proto.agent.common.v1.Node.AttributesEntry, (_root_.scala.Predef.String, _root_.scala.Predef.String)] =
      _root_.scalapb.TypeMapper[io.opencensus.proto.agent.common.v1.Node.AttributesEntry, (_root_.scala.Predef.String, _root_.scala.Predef.String)](__m => (__m.key, __m.value))(__p => io.opencensus.proto.agent.common.v1.Node.AttributesEntry(__p._1, __p._2))
    def of(
      key: _root_.scala.Predef.String,
      value: _root_.scala.Predef.String
    ): _root_.io.opencensus.proto.agent.common.v1.Node.AttributesEntry = _root_.io.opencensus.proto.agent.common.v1.Node.AttributesEntry(
      key,
      value
    )
    // @@protoc_insertion_point(GeneratedMessageCompanion[opencensus.proto.agent.common.v1.Node.AttributesEntry])
  }
  
  implicit class NodeLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.agent.common.v1.Node]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, io.opencensus.proto.agent.common.v1.Node](_l) {
    def identifier: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.agent.common.v1.ProcessIdentifier] = field(_.getIdentifier)((c_, f_) => c_.copy(identifier = Option(f_)))
    def optionalIdentifier: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[io.opencensus.proto.agent.common.v1.ProcessIdentifier]] = field(_.identifier)((c_, f_) => c_.copy(identifier = f_))
    def libraryInfo: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.agent.common.v1.LibraryInfo] = field(_.getLibraryInfo)((c_, f_) => c_.copy(libraryInfo = Option(f_)))
    def optionalLibraryInfo: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[io.opencensus.proto.agent.common.v1.LibraryInfo]] = field(_.libraryInfo)((c_, f_) => c_.copy(libraryInfo = f_))
    def serviceInfo: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.agent.common.v1.ServiceInfo] = field(_.getServiceInfo)((c_, f_) => c_.copy(serviceInfo = Option(f_)))
    def optionalServiceInfo: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[io.opencensus.proto.agent.common.v1.ServiceInfo]] = field(_.serviceInfo)((c_, f_) => c_.copy(serviceInfo = f_))
    def attributes: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.collection.immutable.Map[_root_.scala.Predef.String, _root_.scala.Predef.String]] = field(_.attributes)((c_, f_) => c_.copy(attributes = f_))
  }
  final val IDENTIFIER_FIELD_NUMBER = 1
  final val LIBRARY_INFO_FIELD_NUMBER = 2
  final val SERVICE_INFO_FIELD_NUMBER = 3
  final val ATTRIBUTES_FIELD_NUMBER = 4
  @transient
  private[v1] val _typemapper_attributes: _root_.scalapb.TypeMapper[io.opencensus.proto.agent.common.v1.Node.AttributesEntry, (_root_.scala.Predef.String, _root_.scala.Predef.String)] = implicitly[_root_.scalapb.TypeMapper[io.opencensus.proto.agent.common.v1.Node.AttributesEntry, (_root_.scala.Predef.String, _root_.scala.Predef.String)]]
  def of(
    identifier: _root_.scala.Option[io.opencensus.proto.agent.common.v1.ProcessIdentifier],
    libraryInfo: _root_.scala.Option[io.opencensus.proto.agent.common.v1.LibraryInfo],
    serviceInfo: _root_.scala.Option[io.opencensus.proto.agent.common.v1.ServiceInfo],
    attributes: _root_.scala.collection.immutable.Map[_root_.scala.Predef.String, _root_.scala.Predef.String]
  ): _root_.io.opencensus.proto.agent.common.v1.Node = _root_.io.opencensus.proto.agent.common.v1.Node(
    identifier,
    libraryInfo,
    serviceInfo,
    attributes
  )
  // @@protoc_insertion_point(GeneratedMessageCompanion[opencensus.proto.agent.common.v1.Node])
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy