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

io.opencensus.proto.stats.v1.View.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.stats.v1

/** @param name
  *   A string by which the View will be referred to, e.g. "rpc_latency". Names MUST be unique
  *   within the library.
  * @param description
  *   Describes the view, e.g. "RPC latency distribution"
  * @param measure
  *   The Measure to which this view is applied.
  * @param columns
  *   An array of tag keys. These values associated with tags of this name form the basis by which
  *   individual stats will be aggregated (one aggregation per unique tag value). If none are
  *   provided, then all data is recorded in a single aggregation.
  */
@SerialVersionUID(0L)
final case class View(
    name: _root_.scala.Predef.String = "",
    description: _root_.scala.Predef.String = "",
    measure: _root_.scala.Option[io.opencensus.proto.stats.v1.Measure] = _root_.scala.None,
    columns: _root_.scala.Seq[_root_.scala.Predef.String] = _root_.scala.Seq.empty,
    aggregation: io.opencensus.proto.stats.v1.View.Aggregation = io.opencensus.proto.stats.v1.View.Aggregation.Empty,
    unknownFields: _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet.empty
    ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable[View] {
    @transient
    private[this] var __serializedSizeMemoized: _root_.scala.Int = 0
    private[this] def __computeSerializedSize(): _root_.scala.Int = {
      var __size = 0
      
      {
        val __value = name
        if (!__value.isEmpty) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(1, __value)
        }
      };
      
      {
        val __value = description
        if (!__value.isEmpty) {
          __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(2, __value)
        }
      };
      if (measure.isDefined) {
        val __value = measure.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      columns.foreach { __item =>
        val __value = __item
        __size += _root_.com.google.protobuf.CodedOutputStream.computeStringSize(4, __value)
      }
      if (aggregation.countAggregation.isDefined) {
        val __value = aggregation.countAggregation.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (aggregation.sumAggregation.isDefined) {
        val __value = aggregation.sumAggregation.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (aggregation.lastValueAggregation.isDefined) {
        val __value = aggregation.lastValueAggregation.get
        __size += 1 + _root_.com.google.protobuf.CodedOutputStream.computeUInt32SizeNoTag(__value.serializedSize) + __value.serializedSize
      };
      if (aggregation.distributionAggregation.isDefined) {
        val __value = aggregation.distributionAggregation.get
        __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 = {
      {
        val __v = name
        if (!__v.isEmpty) {
          _output__.writeString(1, __v)
        }
      };
      {
        val __v = description
        if (!__v.isEmpty) {
          _output__.writeString(2, __v)
        }
      };
      measure.foreach { __v =>
        val __m = __v
        _output__.writeTag(3, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      columns.foreach { __v =>
        val __m = __v
        _output__.writeString(4, __m)
      };
      aggregation.countAggregation.foreach { __v =>
        val __m = __v
        _output__.writeTag(5, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      aggregation.sumAggregation.foreach { __v =>
        val __m = __v
        _output__.writeTag(6, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      aggregation.lastValueAggregation.foreach { __v =>
        val __m = __v
        _output__.writeTag(7, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      aggregation.distributionAggregation.foreach { __v =>
        val __m = __v
        _output__.writeTag(8, 2)
        _output__.writeUInt32NoTag(__m.serializedSize)
        __m.writeTo(_output__)
      };
      unknownFields.writeTo(_output__)
    }
    def withName(__v: _root_.scala.Predef.String): View = copy(name = __v)
    def withDescription(__v: _root_.scala.Predef.String): View = copy(description = __v)
    def getMeasure: io.opencensus.proto.stats.v1.Measure = measure.getOrElse(io.opencensus.proto.stats.v1.Measure.defaultInstance)
    def clearMeasure: View = copy(measure = _root_.scala.None)
    def withMeasure(__v: io.opencensus.proto.stats.v1.Measure): View = copy(measure = Option(__v))
    def clearColumns = copy(columns = _root_.scala.Seq.empty)
    def addColumns(__vs: _root_.scala.Predef.String *): View = addAllColumns(__vs)
    def addAllColumns(__vs: Iterable[_root_.scala.Predef.String]): View = copy(columns = columns ++ __vs)
    def withColumns(__v: _root_.scala.Seq[_root_.scala.Predef.String]): View = copy(columns = __v)
    def getCountAggregation: io.opencensus.proto.stats.v1.CountAggregation = aggregation.countAggregation.getOrElse(io.opencensus.proto.stats.v1.CountAggregation.defaultInstance)
    def withCountAggregation(__v: io.opencensus.proto.stats.v1.CountAggregation): View = copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.CountAggregation(__v))
    def getSumAggregation: io.opencensus.proto.stats.v1.SumAggregation = aggregation.sumAggregation.getOrElse(io.opencensus.proto.stats.v1.SumAggregation.defaultInstance)
    def withSumAggregation(__v: io.opencensus.proto.stats.v1.SumAggregation): View = copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.SumAggregation(__v))
    def getLastValueAggregation: io.opencensus.proto.stats.v1.LastValueAggregation = aggregation.lastValueAggregation.getOrElse(io.opencensus.proto.stats.v1.LastValueAggregation.defaultInstance)
    def withLastValueAggregation(__v: io.opencensus.proto.stats.v1.LastValueAggregation): View = copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.LastValueAggregation(__v))
    def getDistributionAggregation: io.opencensus.proto.stats.v1.DistributionAggregation = aggregation.distributionAggregation.getOrElse(io.opencensus.proto.stats.v1.DistributionAggregation.defaultInstance)
    def withDistributionAggregation(__v: io.opencensus.proto.stats.v1.DistributionAggregation): View = copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.DistributionAggregation(__v))
    def clearAggregation: View = copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.Empty)
    def withAggregation(__v: io.opencensus.proto.stats.v1.View.Aggregation): View = copy(aggregation = __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 = name
          if (__t != "") __t else null
        }
        case 2 => {
          val __t = description
          if (__t != "") __t else null
        }
        case 3 => measure.orNull
        case 4 => columns
        case 5 => aggregation.countAggregation.orNull
        case 6 => aggregation.sumAggregation.orNull
        case 7 => aggregation.lastValueAggregation.orNull
        case 8 => aggregation.distributionAggregation.orNull
      }
    }
    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(name)
        case 2 => _root_.scalapb.descriptors.PString(description)
        case 3 => measure.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 4 => _root_.scalapb.descriptors.PRepeated(columns.iterator.map(_root_.scalapb.descriptors.PString(_)).toVector)
        case 5 => aggregation.countAggregation.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 6 => aggregation.sumAggregation.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 7 => aggregation.lastValueAggregation.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
        case 8 => aggregation.distributionAggregation.map(_.toPMessage).getOrElse(_root_.scalapb.descriptors.PEmpty)
      }
    }
    def toProtoString: _root_.scala.Predef.String = _root_.scalapb.TextFormat.printToUnicodeString(this)
    def companion: io.opencensus.proto.stats.v1.View.type = io.opencensus.proto.stats.v1.View
    // @@protoc_insertion_point(GeneratedMessage[opencensus.proto.stats.v1.View])
}

object View extends scalapb.GeneratedMessageCompanion[io.opencensus.proto.stats.v1.View] {
  implicit def messageCompanion: scalapb.GeneratedMessageCompanion[io.opencensus.proto.stats.v1.View] = this
  def parseFrom(`_input__`: _root_.com.google.protobuf.CodedInputStream): io.opencensus.proto.stats.v1.View = {
    var __name: _root_.scala.Predef.String = ""
    var __description: _root_.scala.Predef.String = ""
    var __measure: _root_.scala.Option[io.opencensus.proto.stats.v1.Measure] = _root_.scala.None
    val __columns: _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String] = new _root_.scala.collection.immutable.VectorBuilder[_root_.scala.Predef.String]
    var __aggregation: io.opencensus.proto.stats.v1.View.Aggregation = io.opencensus.proto.stats.v1.View.Aggregation.Empty
    var `_unknownFields__`: _root_.scalapb.UnknownFieldSet.Builder = null
    var _done__ = false
    while (!_done__) {
      val _tag__ = _input__.readTag()
      _tag__ match {
        case 0 => _done__ = true
        case 10 =>
          __name = _input__.readStringRequireUtf8()
        case 18 =>
          __description = _input__.readStringRequireUtf8()
        case 26 =>
          __measure = Option(__measure.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.stats.v1.Measure](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 34 =>
          __columns += _input__.readStringRequireUtf8()
        case 42 =>
          __aggregation = io.opencensus.proto.stats.v1.View.Aggregation.CountAggregation(__aggregation.countAggregation.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.stats.v1.CountAggregation](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 50 =>
          __aggregation = io.opencensus.proto.stats.v1.View.Aggregation.SumAggregation(__aggregation.sumAggregation.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.stats.v1.SumAggregation](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 58 =>
          __aggregation = io.opencensus.proto.stats.v1.View.Aggregation.LastValueAggregation(__aggregation.lastValueAggregation.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.stats.v1.LastValueAggregation](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case 66 =>
          __aggregation = io.opencensus.proto.stats.v1.View.Aggregation.DistributionAggregation(__aggregation.distributionAggregation.fold(_root_.scalapb.LiteParser.readMessage[io.opencensus.proto.stats.v1.DistributionAggregation](_input__))(_root_.scalapb.LiteParser.readMessage(_input__, _)))
        case tag =>
          if (_unknownFields__ == null) {
            _unknownFields__ = new _root_.scalapb.UnknownFieldSet.Builder()
          }
          _unknownFields__.parseField(tag, _input__)
      }
    }
    io.opencensus.proto.stats.v1.View(
        name = __name,
        description = __description,
        measure = __measure,
        columns = __columns.result(),
        aggregation = __aggregation,
        unknownFields = if (_unknownFields__ == null) _root_.scalapb.UnknownFieldSet.empty else _unknownFields__.result()
    )
  }
  implicit def messageReads: _root_.scalapb.descriptors.Reads[io.opencensus.proto.stats.v1.View] = _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.stats.v1.View(
        name = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1).get).map(_.as[_root_.scala.Predef.String]).getOrElse(""),
        description = __fieldsMap.get(scalaDescriptor.findFieldByNumber(2).get).map(_.as[_root_.scala.Predef.String]).getOrElse(""),
        measure = __fieldsMap.get(scalaDescriptor.findFieldByNumber(3).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.stats.v1.Measure]]),
        columns = __fieldsMap.get(scalaDescriptor.findFieldByNumber(4).get).map(_.as[_root_.scala.Seq[_root_.scala.Predef.String]]).getOrElse(_root_.scala.Seq.empty),
        aggregation = __fieldsMap.get(scalaDescriptor.findFieldByNumber(5).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.stats.v1.CountAggregation]]).map(io.opencensus.proto.stats.v1.View.Aggregation.CountAggregation(_))
            .orElse[io.opencensus.proto.stats.v1.View.Aggregation](__fieldsMap.get(scalaDescriptor.findFieldByNumber(6).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.stats.v1.SumAggregation]]).map(io.opencensus.proto.stats.v1.View.Aggregation.SumAggregation(_)))
            .orElse[io.opencensus.proto.stats.v1.View.Aggregation](__fieldsMap.get(scalaDescriptor.findFieldByNumber(7).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.stats.v1.LastValueAggregation]]).map(io.opencensus.proto.stats.v1.View.Aggregation.LastValueAggregation(_)))
            .orElse[io.opencensus.proto.stats.v1.View.Aggregation](__fieldsMap.get(scalaDescriptor.findFieldByNumber(8).get).flatMap(_.as[_root_.scala.Option[io.opencensus.proto.stats.v1.DistributionAggregation]]).map(io.opencensus.proto.stats.v1.View.Aggregation.DistributionAggregation(_)))
            .getOrElse(io.opencensus.proto.stats.v1.View.Aggregation.Empty)
      )
    case _ => throw new RuntimeException("Expected PMessage")
  }
  def javaDescriptor: _root_.com.google.protobuf.Descriptors.Descriptor = StatsProto.javaDescriptor.getMessageTypes().get(2)
  def scalaDescriptor: _root_.scalapb.descriptors.Descriptor = StatsProto.scalaDescriptor.messages(2)
  def messageCompanionForFieldNumber(__number: _root_.scala.Int): _root_.scalapb.GeneratedMessageCompanion[_] = {
    var __out: _root_.scalapb.GeneratedMessageCompanion[_] = null
    (__number: @_root_.scala.unchecked) match {
      case 3 => __out = io.opencensus.proto.stats.v1.Measure
      case 5 => __out = io.opencensus.proto.stats.v1.CountAggregation
      case 6 => __out = io.opencensus.proto.stats.v1.SumAggregation
      case 7 => __out = io.opencensus.proto.stats.v1.LastValueAggregation
      case 8 => __out = io.opencensus.proto.stats.v1.DistributionAggregation
    }
    __out
  }
  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.stats.v1.View(
    name = "",
    description = "",
    measure = _root_.scala.None,
    columns = _root_.scala.Seq.empty,
    aggregation = io.opencensus.proto.stats.v1.View.Aggregation.Empty
  )
  sealed trait Aggregation extends _root_.scalapb.GeneratedOneof {
    def isEmpty: _root_.scala.Boolean = false
    def isDefined: _root_.scala.Boolean = true
    def isCountAggregation: _root_.scala.Boolean = false
    def isSumAggregation: _root_.scala.Boolean = false
    def isLastValueAggregation: _root_.scala.Boolean = false
    def isDistributionAggregation: _root_.scala.Boolean = false
    def countAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.CountAggregation] = _root_.scala.None
    def sumAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.SumAggregation] = _root_.scala.None
    def lastValueAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.LastValueAggregation] = _root_.scala.None
    def distributionAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.DistributionAggregation] = _root_.scala.None
  }
  object Aggregation {
    @SerialVersionUID(0L)
    case object Empty extends io.opencensus.proto.stats.v1.View.Aggregation {
      type ValueType = _root_.scala.Nothing
      override def isEmpty: _root_.scala.Boolean = true
      override def isDefined: _root_.scala.Boolean = false
      override def number: _root_.scala.Int = 0
      override def value: _root_.scala.Nothing = throw new java.util.NoSuchElementException("Empty.value")
    }
  
    @SerialVersionUID(0L)
    final case class CountAggregation(value: io.opencensus.proto.stats.v1.CountAggregation) extends io.opencensus.proto.stats.v1.View.Aggregation {
      type ValueType = io.opencensus.proto.stats.v1.CountAggregation
      override def isCountAggregation: _root_.scala.Boolean = true
      override def countAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.CountAggregation] = Some(value)
      override def number: _root_.scala.Int = 5
    }
    @SerialVersionUID(0L)
    final case class SumAggregation(value: io.opencensus.proto.stats.v1.SumAggregation) extends io.opencensus.proto.stats.v1.View.Aggregation {
      type ValueType = io.opencensus.proto.stats.v1.SumAggregation
      override def isSumAggregation: _root_.scala.Boolean = true
      override def sumAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.SumAggregation] = Some(value)
      override def number: _root_.scala.Int = 6
    }
    @SerialVersionUID(0L)
    final case class LastValueAggregation(value: io.opencensus.proto.stats.v1.LastValueAggregation) extends io.opencensus.proto.stats.v1.View.Aggregation {
      type ValueType = io.opencensus.proto.stats.v1.LastValueAggregation
      override def isLastValueAggregation: _root_.scala.Boolean = true
      override def lastValueAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.LastValueAggregation] = Some(value)
      override def number: _root_.scala.Int = 7
    }
    @SerialVersionUID(0L)
    final case class DistributionAggregation(value: io.opencensus.proto.stats.v1.DistributionAggregation) extends io.opencensus.proto.stats.v1.View.Aggregation {
      type ValueType = io.opencensus.proto.stats.v1.DistributionAggregation
      override def isDistributionAggregation: _root_.scala.Boolean = true
      override def distributionAggregation: _root_.scala.Option[io.opencensus.proto.stats.v1.DistributionAggregation] = Some(value)
      override def number: _root_.scala.Int = 8
    }
  }
  implicit class ViewLens[UpperPB](_l: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.View]) extends _root_.scalapb.lenses.ObjectLens[UpperPB, io.opencensus.proto.stats.v1.View](_l) {
    def name: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.name)((c_, f_) => c_.copy(name = f_))
    def description: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Predef.String] = field(_.description)((c_, f_) => c_.copy(description = f_))
    def measure: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.Measure] = field(_.getMeasure)((c_, f_) => c_.copy(measure = Option(f_)))
    def optionalMeasure: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Option[io.opencensus.proto.stats.v1.Measure]] = field(_.measure)((c_, f_) => c_.copy(measure = f_))
    def columns: _root_.scalapb.lenses.Lens[UpperPB, _root_.scala.Seq[_root_.scala.Predef.String]] = field(_.columns)((c_, f_) => c_.copy(columns = f_))
    def countAggregation: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.CountAggregation] = field(_.getCountAggregation)((c_, f_) => c_.copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.CountAggregation(f_)))
    def sumAggregation: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.SumAggregation] = field(_.getSumAggregation)((c_, f_) => c_.copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.SumAggregation(f_)))
    def lastValueAggregation: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.LastValueAggregation] = field(_.getLastValueAggregation)((c_, f_) => c_.copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.LastValueAggregation(f_)))
    def distributionAggregation: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.DistributionAggregation] = field(_.getDistributionAggregation)((c_, f_) => c_.copy(aggregation = io.opencensus.proto.stats.v1.View.Aggregation.DistributionAggregation(f_)))
    def aggregation: _root_.scalapb.lenses.Lens[UpperPB, io.opencensus.proto.stats.v1.View.Aggregation] = field(_.aggregation)((c_, f_) => c_.copy(aggregation = f_))
  }
  final val NAME_FIELD_NUMBER = 1
  final val DESCRIPTION_FIELD_NUMBER = 2
  final val MEASURE_FIELD_NUMBER = 3
  final val COLUMNS_FIELD_NUMBER = 4
  final val COUNT_AGGREGATION_FIELD_NUMBER = 5
  final val SUM_AGGREGATION_FIELD_NUMBER = 6
  final val LAST_VALUE_AGGREGATION_FIELD_NUMBER = 7
  final val DISTRIBUTION_AGGREGATION_FIELD_NUMBER = 8
  def of(
    name: _root_.scala.Predef.String,
    description: _root_.scala.Predef.String,
    measure: _root_.scala.Option[io.opencensus.proto.stats.v1.Measure],
    columns: _root_.scala.Seq[_root_.scala.Predef.String],
    aggregation: io.opencensus.proto.stats.v1.View.Aggregation
  ): _root_.io.opencensus.proto.stats.v1.View = _root_.io.opencensus.proto.stats.v1.View(
    name,
    description,
    measure,
    columns,
    aggregation
  )
  // @@protoc_insertion_point(GeneratedMessageCompanion[opencensus.proto.stats.v1.View])
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy