@@ -5,7 +5,7 @@ package com.thesamet.docs.json
55
66@ SerialVersionUID (0L )
77final case class MyContainer (
8- myAny : _root_.scala.Option [com.google.protobuf.any.Any ] = _root_.scala.None ,
8+ myAny : _root_.scala.Option [_root_. com.google.protobuf.any.Any ] = _root_.scala.None ,
99 unknownFields : _root_.scalapb.UnknownFieldSet = _root_.scalapb.UnknownFieldSet .empty
1010 ) extends scalapb.GeneratedMessage with scalapb.lenses.Updatable [MyContainer ] {
1111 @ transient
@@ -37,9 +37,9 @@ final case class MyContainer(
3737 };
3838 unknownFields.writeTo(_output__)
3939 }
40- def getMyAny : com.google.protobuf.any.Any = myAny.getOrElse(com.google.protobuf.any.Any .defaultInstance)
40+ def getMyAny : _root_. com.google.protobuf.any.Any = myAny.getOrElse(_root_. com.google.protobuf.any.Any .defaultInstance)
4141 def clearMyAny : MyContainer = copy(myAny = _root_.scala.None )
42- def withMyAny (__v : com.google.protobuf.any.Any ): MyContainer = copy(myAny = _root_.scala.Option (__v))
42+ def withMyAny (__v : _root_. com.google.protobuf.any.Any ): MyContainer = copy(myAny = _root_.scala.Option (__v))
4343 def withUnknownFields (__v : _root_.scalapb.UnknownFieldSet ) = copy(unknownFields = __v)
4444 def discardUnknownFields = copy(unknownFields = _root_.scalapb.UnknownFieldSet .empty)
4545 def getFieldByNumber (__fieldNumber : _root_.scala.Int ): _root_.scala.Any = {
@@ -54,63 +54,63 @@ final case class MyContainer(
5454 }
5555 }
5656 def toProtoString : _root_.scala.Predef .String = _root_.scalapb.TextFormat .printToUnicodeString(this )
57- def companion : com.thesamet.docs.json.MyContainer .type = com.thesamet.docs.json.MyContainer
57+ def companion : _root_. com.thesamet.docs.json.MyContainer .type = _root_. com.thesamet.docs.json.MyContainer
5858 // @@protoc_insertion_point(GeneratedMessage[com.thesamet.docs.MyContainer])
5959}
6060
61- object MyContainer extends scalapb.GeneratedMessageCompanion [com.thesamet.docs.json.MyContainer ] {
62- implicit def messageCompanion : scalapb.GeneratedMessageCompanion [com.thesamet.docs.json.MyContainer ] = this
63- def parseFrom (`_input__` : _root_.com.google.protobuf.CodedInputStream ): com.thesamet.docs.json.MyContainer = {
64- var __myAny : _root_.scala.Option [com.google.protobuf.any.Any ] = _root_.scala.None
61+ object MyContainer extends scalapb.GeneratedMessageCompanion [_root_. com.thesamet.docs.json.MyContainer ] {
62+ implicit def messageCompanion : scalapb.GeneratedMessageCompanion [_root_. com.thesamet.docs.json.MyContainer ] = this
63+ def parseFrom (`_input__` : _root_.com.google.protobuf.CodedInputStream ): _root_. com.thesamet.docs.json.MyContainer = {
64+ var __myAny : _root_.scala.Option [_root_. com.google.protobuf.any.Any ] = _root_.scala.None
6565 var `_unknownFields__` : _root_.scalapb.UnknownFieldSet .Builder = null
6666 var _done__ = false
6767 while (! _done__) {
6868 val _tag__ = _input__.readTag()
6969 _tag__ match {
7070 case 0 => _done__ = true
7171 case 10 =>
72- __myAny = _root_.scala.Option (__myAny.fold(_root_.scalapb.LiteParser .readMessage[com.google.protobuf.any.Any ](_input__))(_root_.scalapb.LiteParser .readMessage(_input__, _)))
72+ __myAny = _root_.scala.Option (__myAny.fold(_root_.scalapb.LiteParser .readMessage[_root_. com.google.protobuf.any.Any ](_input__))(_root_.scalapb.LiteParser .readMessage(_input__, _)))
7373 case tag =>
7474 if (_unknownFields__ == null ) {
7575 _unknownFields__ = new _root_.scalapb.UnknownFieldSet .Builder ()
7676 }
7777 val _ = _unknownFields__.parseField(tag, _input__)
7878 }
7979 }
80- com.thesamet.docs.json.MyContainer (
80+ _root_. com.thesamet.docs.json.MyContainer (
8181 myAny = __myAny,
8282 unknownFields = if (_unknownFields__ == null ) _root_.scalapb.UnknownFieldSet .empty else _unknownFields__.result()
8383 )
8484 }
85- implicit def messageReads : _root_.scalapb.descriptors.Reads [com.thesamet.docs.json.MyContainer ] = _root_.scalapb.descriptors.Reads {
85+ implicit def messageReads : _root_.scalapb.descriptors.Reads [_root_. com.thesamet.docs.json.MyContainer ] = _root_.scalapb.descriptors.Reads {
8686 case _root_.scalapb.descriptors.PMessage (__fieldsMap) =>
8787 _root_.scala.Predef .require(__fieldsMap.keys.forall(_.containingMessage eq scalaDescriptor), " FieldDescriptor does not match message type." )
88- com.thesamet.docs.json.MyContainer (
89- myAny = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1 ).get).flatMap(_.as[_root_.scala.Option [com.google.protobuf.any.Any ]])
88+ _root_. com.thesamet.docs.json.MyContainer (
89+ myAny = __fieldsMap.get(scalaDescriptor.findFieldByNumber(1 ).get).flatMap(_.as[_root_.scala.Option [_root_. com.google.protobuf.any.Any ]])
9090 )
9191 case _ => throw new RuntimeException (" Expected PMessage" )
9292 }
93- def javaDescriptor : _root_.com.google.protobuf.Descriptors .Descriptor = com.thesamet.docs.json.JsonProto .javaDescriptor.getMessageTypes().get(1 )
94- def scalaDescriptor : _root_.scalapb.descriptors.Descriptor = com.thesamet.docs.json.JsonProto .scalaDescriptor.messages(1 )
93+ def javaDescriptor : _root_.com.google.protobuf.Descriptors .Descriptor = _root_. com.thesamet.docs.json.JsonProto .javaDescriptor.getMessageTypes().get(1 )
94+ def scalaDescriptor : _root_.scalapb.descriptors.Descriptor = _root_. com.thesamet.docs.json.JsonProto .scalaDescriptor.messages(1 )
9595 def messageCompanionForFieldNumber (__number : _root_.scala.Int ): _root_.scalapb.GeneratedMessageCompanion [_] = {
9696 var __out : _root_.scalapb.GeneratedMessageCompanion [_] = null
9797 (__number : @ _root_.scala.unchecked) match {
98- case 1 => __out = com.google.protobuf.any.Any
98+ case 1 => __out = _root_. com.google.protobuf.any.Any
9999 }
100100 __out
101101 }
102102 lazy val nestedMessagesCompanions : Seq [_root_.scalapb.GeneratedMessageCompanion [_ <: _root_.scalapb.GeneratedMessage ]] = Seq .empty
103103 def enumCompanionForFieldNumber (__fieldNumber : _root_.scala.Int ): _root_.scalapb.GeneratedEnumCompanion [_] = throw new MatchError (__fieldNumber)
104- lazy val defaultInstance = com.thesamet.docs.json.MyContainer (
104+ lazy val defaultInstance = _root_. com.thesamet.docs.json.MyContainer (
105105 myAny = _root_.scala.None
106106 )
107- implicit class MyContainerLens [UpperPB ](_l : _root_.scalapb.lenses.Lens [UpperPB , com.thesamet.docs.json.MyContainer ]) extends _root_.scalapb.lenses.ObjectLens [UpperPB , com.thesamet.docs.json.MyContainer ](_l) {
108- def myAny : _root_.scalapb.lenses.Lens [UpperPB , com.google.protobuf.any.Any ] = field(_.getMyAny)((c_, f_) => c_.copy(myAny = _root_.scala.Option (f_)))
109- def optionalMyAny : _root_.scalapb.lenses.Lens [UpperPB , _root_.scala.Option [com.google.protobuf.any.Any ]] = field(_.myAny)((c_, f_) => c_.copy(myAny = f_))
107+ implicit class MyContainerLens [UpperPB ](_l : _root_.scalapb.lenses.Lens [UpperPB , _root_. com.thesamet.docs.json.MyContainer ]) extends _root_.scalapb.lenses.ObjectLens [UpperPB , _root_. com.thesamet.docs.json.MyContainer ](_l) {
108+ def myAny : _root_.scalapb.lenses.Lens [UpperPB , _root_. com.google.protobuf.any.Any ] = field(_.getMyAny)((c_, f_) => c_.copy(myAny = _root_.scala.Option (f_)))
109+ def optionalMyAny : _root_.scalapb.lenses.Lens [UpperPB , _root_.scala.Option [_root_. com.google.protobuf.any.Any ]] = field(_.myAny)((c_, f_) => c_.copy(myAny = f_))
110110 }
111111 final val MY_ANY_FIELD_NUMBER = 1
112112 def of (
113- myAny : _root_.scala.Option [com.google.protobuf.any.Any ]
113+ myAny : _root_.scala.Option [_root_. com.google.protobuf.any.Any ]
114114 ): _root_.com.thesamet.docs.json.MyContainer = _root_.com.thesamet.docs.json.MyContainer (
115115 myAny
116116 )
0 commit comments