ipolyzos
12/08/2021, 2:32 PMmessage JEvent {
string eventTime = 1;
string eventType = 2;
string productId = 3;
string categoryId = 4;
string categoryCode = 5;
string brand = 6;
string price = 7;
string userId = 8;
string userSession = 9;
}
and i generate the class, but when the code compiles i get
/JEventKt.kt: (13, 5): JvmField has no effect on a private property
object JEventKt {
@kotlin.OptIn(com.google.protobuf.kotlin.OnlyForUseByGeneratedProtoCode::class)
@com.google.protobuf.kotlin.ProtoDslMarker
class Dsl private constructor(
@kotlin.jvm.JvmField private val _builder: io.ipolyzos.models.Event.JEvent.Builder <------------- COMPLAINS FOR THIS LINE HERE
) {
companion object {
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _create(builder: io.ipolyzos.models.Event.JEvent.Builder): Dsl = Dsl(builder)
}
@kotlin.jvm.JvmSynthetic
@kotlin.PublishedApi
internal fun _build(): io.ipolyzos.models.Event.JEvent = _builder.build()
ipolyzos
12/09/2021, 8:32 AMRyan Rolnicki
12/10/2021, 3:37 AM