From ed017e624e15f7635f4dd3a24bcee368efd79b43 Mon Sep 17 00:00:00 2001 From: Nisheeth Barthwal Date: Mon, 28 Dec 2020 19:15:22 +0100 Subject: [PATCH] use fully qualified name when generating messages (#104) Fixes #47 For the following protobuf where the `oneof` field had the same name as message, the companion object definition would shadow the `oneof` class instead of the `message` class. This patch fixes it by fully qualifying the `message` class name. **Input:** ```protobuf syntax = "proto3"; package foobar; message Value { oneof value { int32 int_val = 1; string str_val = 2; } } ``` **Before:** ```kotlin package foobar data class Value( val value: Value<*>? = null, override val unknownFields: Map = emptyMap() ) : pbandk.Message { sealed class Value(value: V) : pbandk.Message.OneOf(value) { ... } ... companion object : pbandk.Message.Companion { ... } ... } ``` **After:** ```kotlin package foobar data class Value( val value: Value<*>? = null, override val unknownFields: Map = emptyMap() ) : pbandk.Message { sealed class Value(value: V) : pbandk.Message.OneOf(value) { ... } ... companion object : pbandk.Message.Companion { ... } ... } ``` --- .../pbandk/conformance/pb/conformance.kt | 86 +- .../conformance/pb/test_messages_proto2.kt | 682 +++--- .../conformance/pb/test_messages_proto3.kt | 664 +++--- .../kotlin/pbandk/gen/CodeGenerator.kt | 2 +- .../commonMain/kotlin/pbandk/gen/pb/plugin.kt | 74 +- .../src/commonMain/kotlin/pbandk/wkt/any.kt | 16 +- .../src/commonMain/kotlin/pbandk/wkt/api.kt | 68 +- .../kotlin/pbandk/wkt/descriptor.kt | 632 +++--- .../commonMain/kotlin/pbandk/wkt/duration.kt | 16 +- .../src/commonMain/kotlin/pbandk/wkt/empty.kt | 12 +- .../kotlin/pbandk/wkt/field_mask.kt | 14 +- .../kotlin/pbandk/wkt/source_context.kt | 14 +- .../commonMain/kotlin/pbandk/wkt/struct.kt | 68 +- .../commonMain/kotlin/pbandk/wkt/timestamp.kt | 16 +- .../src/commonMain/kotlin/pbandk/wkt/type.kt | 132 +- .../commonMain/kotlin/pbandk/wkt/wrappers.kt | 126 +- .../src/commonTest/kotlin/pbandk/OneOfTest.kt | 24 + .../commonTest/kotlin/pbandk/testpb/test.kt | 136 +- .../pbandk/testpb/test_compiler_limits.kt | 2012 ++++++++--------- .../testpb/test_duplicate_oneof_name.kt | 93 + .../pbandk/testpb/test_messages_proto3.kt | 664 +++--- .../testpb/test_duplicate_oneof_name.proto | 12 + .../testpb/java/TestDuplicateOneofName.java | 881 ++++++++ 23 files changed, 3727 insertions(+), 2717 deletions(-) create mode 100644 runtime/src/commonTest/kotlin/pbandk/OneOfTest.kt create mode 100644 runtime/src/commonTest/kotlin/pbandk/testpb/test_duplicate_oneof_name.kt create mode 100644 runtime/src/commonTest/proto/pbandk/testpb/test_duplicate_oneof_name.proto create mode 100644 runtime/src/jvmTest/java/pbandk/testpb/java/TestDuplicateOneofName.java diff --git a/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/conformance.kt b/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/conformance.kt index 2c8a8956..a78c5c5b 100644 --- a/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/conformance.kt +++ b/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/conformance.kt @@ -48,12 +48,12 @@ data class FailureSet( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FailureSet() } - override fun decodeWith(u: pbandk.MessageDecoder) = FailureSet.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.FailureSet() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.FailureSet.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -61,12 +61,12 @@ data class FailureSet( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "failure", - value = FailureSet::failure + value = pbandk.conformance.pb.FailureSet::failure ) ) } pbandk.MessageDescriptor( - messageClass = FailureSet::class, + messageClass = pbandk.conformance.pb.FailureSet::class, messageCompanion = this, fields = fieldsList ) @@ -102,12 +102,12 @@ data class ConformanceRequest( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ConformanceRequest() } - override fun decodeWith(u: pbandk.MessageDecoder) = ConformanceRequest.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.ConformanceRequest() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.ConformanceRequest.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(9).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(9).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -116,7 +116,7 @@ data class ConformanceRequest( type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), oneofMember = true, jsonName = "protobufPayload", - value = ConformanceRequest::protobufPayload + value = pbandk.conformance.pb.ConformanceRequest::protobufPayload ) ) add( @@ -127,7 +127,7 @@ data class ConformanceRequest( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "jsonPayload", - value = ConformanceRequest::jsonPayload + value = pbandk.conformance.pb.ConformanceRequest::jsonPayload ) ) add( @@ -137,7 +137,7 @@ data class ConformanceRequest( number = 3, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.WireFormat.Companion), jsonName = "requestedOutputFormat", - value = ConformanceRequest::requestedOutputFormat + value = pbandk.conformance.pb.ConformanceRequest::requestedOutputFormat ) ) add( @@ -147,7 +147,7 @@ data class ConformanceRequest( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "messageType", - value = ConformanceRequest::messageType + value = pbandk.conformance.pb.ConformanceRequest::messageType ) ) add( @@ -157,7 +157,7 @@ data class ConformanceRequest( number = 5, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestCategory.Companion), jsonName = "testCategory", - value = ConformanceRequest::testCategory + value = pbandk.conformance.pb.ConformanceRequest::testCategory ) ) add( @@ -167,7 +167,7 @@ data class ConformanceRequest( number = 6, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.JspbEncodingConfig.Companion), jsonName = "jspbEncodingOptions", - value = ConformanceRequest::jspbEncodingOptions + value = pbandk.conformance.pb.ConformanceRequest::jspbEncodingOptions ) ) add( @@ -178,7 +178,7 @@ data class ConformanceRequest( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "jspbPayload", - value = ConformanceRequest::jspbPayload + value = pbandk.conformance.pb.ConformanceRequest::jspbPayload ) ) add( @@ -189,7 +189,7 @@ data class ConformanceRequest( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "textPayload", - value = ConformanceRequest::textPayload + value = pbandk.conformance.pb.ConformanceRequest::textPayload ) ) add( @@ -199,12 +199,12 @@ data class ConformanceRequest( number = 9, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "printUnknownFields", - value = ConformanceRequest::printUnknownFields + value = pbandk.conformance.pb.ConformanceRequest::printUnknownFields ) ) } pbandk.MessageDescriptor( - messageClass = ConformanceRequest::class, + messageClass = pbandk.conformance.pb.ConformanceRequest::class, messageCompanion = this, fields = fieldsList ) @@ -247,12 +247,12 @@ data class ConformanceResponse( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ConformanceResponse() } - override fun decodeWith(u: pbandk.MessageDecoder) = ConformanceResponse.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.ConformanceResponse() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.ConformanceResponse.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(8).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(8).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -261,7 +261,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "parseError", - value = ConformanceResponse::parseError + value = pbandk.conformance.pb.ConformanceResponse::parseError ) ) add( @@ -272,7 +272,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "runtimeError", - value = ConformanceResponse::runtimeError + value = pbandk.conformance.pb.ConformanceResponse::runtimeError ) ) add( @@ -283,7 +283,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), oneofMember = true, jsonName = "protobufPayload", - value = ConformanceResponse::protobufPayload + value = pbandk.conformance.pb.ConformanceResponse::protobufPayload ) ) add( @@ -294,7 +294,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "jsonPayload", - value = ConformanceResponse::jsonPayload + value = pbandk.conformance.pb.ConformanceResponse::jsonPayload ) ) add( @@ -305,7 +305,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "skipped", - value = ConformanceResponse::skipped + value = pbandk.conformance.pb.ConformanceResponse::skipped ) ) add( @@ -316,7 +316,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "serializeError", - value = ConformanceResponse::serializeError + value = pbandk.conformance.pb.ConformanceResponse::serializeError ) ) add( @@ -327,7 +327,7 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "jspbPayload", - value = ConformanceResponse::jspbPayload + value = pbandk.conformance.pb.ConformanceResponse::jspbPayload ) ) add( @@ -338,12 +338,12 @@ data class ConformanceResponse( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "textPayload", - value = ConformanceResponse::textPayload + value = pbandk.conformance.pb.ConformanceResponse::textPayload ) ) } pbandk.MessageDescriptor( - messageClass = ConformanceResponse::class, + messageClass = pbandk.conformance.pb.ConformanceResponse::class, messageCompanion = this, fields = fieldsList ) @@ -358,12 +358,12 @@ data class JspbEncodingConfig( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { JspbEncodingConfig() } - override fun decodeWith(u: pbandk.MessageDecoder) = JspbEncodingConfig.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.JspbEncodingConfig() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.JspbEncodingConfig.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -371,12 +371,12 @@ data class JspbEncodingConfig( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "useJspbArrayAnyFormat", - value = JspbEncodingConfig::useJspbArrayAnyFormat + value = pbandk.conformance.pb.JspbEncodingConfig::useJspbArrayAnyFormat ) ) } pbandk.MessageDescriptor( - messageClass = JspbEncodingConfig::class, + messageClass = pbandk.conformance.pb.JspbEncodingConfig::class, messageCompanion = this, fields = fieldsList ) diff --git a/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto2.kt b/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto2.kt index 927a39e6..ac560759 100644 --- a/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto2.kt +++ b/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto2.kt @@ -165,12 +165,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(117).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(117).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -178,7 +178,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "optionalInt32", - value = TestAllTypesProto2::optionalInt32 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalInt32 ) ) add( @@ -188,7 +188,7 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int64(hasPresence = true), jsonName = "optionalInt64", - value = TestAllTypesProto2::optionalInt64 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalInt64 ) ) add( @@ -198,7 +198,7 @@ data class TestAllTypesProto2( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), jsonName = "optionalUint32", - value = TestAllTypesProto2::optionalUint32 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalUint32 ) ) add( @@ -208,7 +208,7 @@ data class TestAllTypesProto2( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), jsonName = "optionalUint64", - value = TestAllTypesProto2::optionalUint64 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalUint64 ) ) add( @@ -218,7 +218,7 @@ data class TestAllTypesProto2( number = 5, type = pbandk.FieldDescriptor.Type.Primitive.SInt32(hasPresence = true), jsonName = "optionalSint32", - value = TestAllTypesProto2::optionalSint32 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalSint32 ) ) add( @@ -228,7 +228,7 @@ data class TestAllTypesProto2( number = 6, type = pbandk.FieldDescriptor.Type.Primitive.SInt64(hasPresence = true), jsonName = "optionalSint64", - value = TestAllTypesProto2::optionalSint64 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalSint64 ) ) add( @@ -238,7 +238,7 @@ data class TestAllTypesProto2( number = 7, type = pbandk.FieldDescriptor.Type.Primitive.Fixed32(hasPresence = true), jsonName = "optionalFixed32", - value = TestAllTypesProto2::optionalFixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalFixed32 ) ) add( @@ -248,7 +248,7 @@ data class TestAllTypesProto2( number = 8, type = pbandk.FieldDescriptor.Type.Primitive.Fixed64(hasPresence = true), jsonName = "optionalFixed64", - value = TestAllTypesProto2::optionalFixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalFixed64 ) ) add( @@ -258,7 +258,7 @@ data class TestAllTypesProto2( number = 9, type = pbandk.FieldDescriptor.Type.Primitive.SFixed32(hasPresence = true), jsonName = "optionalSfixed32", - value = TestAllTypesProto2::optionalSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalSfixed32 ) ) add( @@ -268,7 +268,7 @@ data class TestAllTypesProto2( number = 10, type = pbandk.FieldDescriptor.Type.Primitive.SFixed64(hasPresence = true), jsonName = "optionalSfixed64", - value = TestAllTypesProto2::optionalSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::optionalSfixed64 ) ) add( @@ -278,7 +278,7 @@ data class TestAllTypesProto2( number = 11, type = pbandk.FieldDescriptor.Type.Primitive.Float(hasPresence = true), jsonName = "optionalFloat", - value = TestAllTypesProto2::optionalFloat + value = pbandk.conformance.pb.TestAllTypesProto2::optionalFloat ) ) add( @@ -288,7 +288,7 @@ data class TestAllTypesProto2( number = 12, type = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true), jsonName = "optionalDouble", - value = TestAllTypesProto2::optionalDouble + value = pbandk.conformance.pb.TestAllTypesProto2::optionalDouble ) ) add( @@ -298,7 +298,7 @@ data class TestAllTypesProto2( number = 13, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "optionalBool", - value = TestAllTypesProto2::optionalBool + value = pbandk.conformance.pb.TestAllTypesProto2::optionalBool ) ) add( @@ -308,7 +308,7 @@ data class TestAllTypesProto2( number = 14, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "optionalString", - value = TestAllTypesProto2::optionalString + value = pbandk.conformance.pb.TestAllTypesProto2::optionalString ) ) add( @@ -318,7 +318,7 @@ data class TestAllTypesProto2( number = 15, type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), jsonName = "optionalBytes", - value = TestAllTypesProto2::optionalBytes + value = pbandk.conformance.pb.TestAllTypesProto2::optionalBytes ) ) add( @@ -328,7 +328,7 @@ data class TestAllTypesProto2( number = 18, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage.Companion), jsonName = "optionalNestedMessage", - value = TestAllTypesProto2::optionalNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto2::optionalNestedMessage ) ) add( @@ -338,7 +338,7 @@ data class TestAllTypesProto2( number = 19, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessageProto2.Companion), jsonName = "optionalForeignMessage", - value = TestAllTypesProto2::optionalForeignMessage + value = pbandk.conformance.pb.TestAllTypesProto2::optionalForeignMessage ) ) add( @@ -348,7 +348,7 @@ data class TestAllTypesProto2( number = 21, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion, hasPresence = true), jsonName = "optionalNestedEnum", - value = TestAllTypesProto2::optionalNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto2::optionalNestedEnum ) ) add( @@ -358,7 +358,7 @@ data class TestAllTypesProto2( number = 22, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnumProto2.Companion, hasPresence = true), jsonName = "optionalForeignEnum", - value = TestAllTypesProto2::optionalForeignEnum + value = pbandk.conformance.pb.TestAllTypesProto2::optionalForeignEnum ) ) add( @@ -368,7 +368,7 @@ data class TestAllTypesProto2( number = 24, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "optionalStringPiece", - value = TestAllTypesProto2::optionalStringPiece + value = pbandk.conformance.pb.TestAllTypesProto2::optionalStringPiece ) ) add( @@ -378,7 +378,7 @@ data class TestAllTypesProto2( number = 25, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "optionalCord", - value = TestAllTypesProto2::optionalCord + value = pbandk.conformance.pb.TestAllTypesProto2::optionalCord ) ) add( @@ -388,7 +388,7 @@ data class TestAllTypesProto2( number = 27, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.Companion), jsonName = "recursiveMessage", - value = TestAllTypesProto2::recursiveMessage + value = pbandk.conformance.pb.TestAllTypesProto2::recursiveMessage ) ) add( @@ -398,7 +398,7 @@ data class TestAllTypesProto2( number = 31, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "repeatedInt32", - value = TestAllTypesProto2::repeatedInt32 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedInt32 ) ) add( @@ -408,7 +408,7 @@ data class TestAllTypesProto2( number = 32, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int64()), jsonName = "repeatedInt64", - value = TestAllTypesProto2::repeatedInt64 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedInt64 ) ) add( @@ -418,7 +418,7 @@ data class TestAllTypesProto2( number = 33, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32()), jsonName = "repeatedUint32", - value = TestAllTypesProto2::repeatedUint32 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedUint32 ) ) add( @@ -428,7 +428,7 @@ data class TestAllTypesProto2( number = 34, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64()), jsonName = "repeatedUint64", - value = TestAllTypesProto2::repeatedUint64 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedUint64 ) ) add( @@ -438,7 +438,7 @@ data class TestAllTypesProto2( number = 35, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32()), jsonName = "repeatedSint32", - value = TestAllTypesProto2::repeatedSint32 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedSint32 ) ) add( @@ -448,7 +448,7 @@ data class TestAllTypesProto2( number = 36, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64()), jsonName = "repeatedSint64", - value = TestAllTypesProto2::repeatedSint64 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedSint64 ) ) add( @@ -458,7 +458,7 @@ data class TestAllTypesProto2( number = 37, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32()), jsonName = "repeatedFixed32", - value = TestAllTypesProto2::repeatedFixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedFixed32 ) ) add( @@ -468,7 +468,7 @@ data class TestAllTypesProto2( number = 38, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64()), jsonName = "repeatedFixed64", - value = TestAllTypesProto2::repeatedFixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedFixed64 ) ) add( @@ -478,7 +478,7 @@ data class TestAllTypesProto2( number = 39, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32()), jsonName = "repeatedSfixed32", - value = TestAllTypesProto2::repeatedSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedSfixed32 ) ) add( @@ -488,7 +488,7 @@ data class TestAllTypesProto2( number = 40, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64()), jsonName = "repeatedSfixed64", - value = TestAllTypesProto2::repeatedSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedSfixed64 ) ) add( @@ -498,7 +498,7 @@ data class TestAllTypesProto2( number = 41, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Float()), jsonName = "repeatedFloat", - value = TestAllTypesProto2::repeatedFloat + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedFloat ) ) add( @@ -508,7 +508,7 @@ data class TestAllTypesProto2( number = 42, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Double()), jsonName = "repeatedDouble", - value = TestAllTypesProto2::repeatedDouble + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedDouble ) ) add( @@ -518,7 +518,7 @@ data class TestAllTypesProto2( number = 43, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bool()), jsonName = "repeatedBool", - value = TestAllTypesProto2::repeatedBool + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedBool ) ) add( @@ -528,7 +528,7 @@ data class TestAllTypesProto2( number = 44, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "repeatedString", - value = TestAllTypesProto2::repeatedString + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedString ) ) add( @@ -538,7 +538,7 @@ data class TestAllTypesProto2( number = 45, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bytes()), jsonName = "repeatedBytes", - value = TestAllTypesProto2::repeatedBytes + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedBytes ) ) add( @@ -548,7 +548,7 @@ data class TestAllTypesProto2( number = 48, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage.Companion)), jsonName = "repeatedNestedMessage", - value = TestAllTypesProto2::repeatedNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedNestedMessage ) ) add( @@ -558,7 +558,7 @@ data class TestAllTypesProto2( number = 49, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessageProto2.Companion)), jsonName = "repeatedForeignMessage", - value = TestAllTypesProto2::repeatedForeignMessage + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedForeignMessage ) ) add( @@ -568,7 +568,7 @@ data class TestAllTypesProto2( number = 51, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion)), jsonName = "repeatedNestedEnum", - value = TestAllTypesProto2::repeatedNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedNestedEnum ) ) add( @@ -578,7 +578,7 @@ data class TestAllTypesProto2( number = 52, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnumProto2.Companion)), jsonName = "repeatedForeignEnum", - value = TestAllTypesProto2::repeatedForeignEnum + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedForeignEnum ) ) add( @@ -588,7 +588,7 @@ data class TestAllTypesProto2( number = 54, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "repeatedStringPiece", - value = TestAllTypesProto2::repeatedStringPiece + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedStringPiece ) ) add( @@ -598,7 +598,7 @@ data class TestAllTypesProto2( number = 55, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "repeatedCord", - value = TestAllTypesProto2::repeatedCord + value = pbandk.conformance.pb.TestAllTypesProto2::repeatedCord ) ) add( @@ -608,7 +608,7 @@ data class TestAllTypesProto2( number = 56, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true)), jsonName = "mapInt32Int32", - value = TestAllTypesProto2::mapInt32Int32 + value = pbandk.conformance.pb.TestAllTypesProto2::mapInt32Int32 ) ) add( @@ -618,7 +618,7 @@ data class TestAllTypesProto2( number = 57, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int64(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Int64(hasPresence = true)), jsonName = "mapInt64Int64", - value = TestAllTypesProto2::mapInt64Int64 + value = pbandk.conformance.pb.TestAllTypesProto2::mapInt64Int64 ) ) add( @@ -628,7 +628,7 @@ data class TestAllTypesProto2( number = 58, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true)), jsonName = "mapUint32Uint32", - value = TestAllTypesProto2::mapUint32Uint32 + value = pbandk.conformance.pb.TestAllTypesProto2::mapUint32Uint32 ) ) add( @@ -638,7 +638,7 @@ data class TestAllTypesProto2( number = 59, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true)), jsonName = "mapUint64Uint64", - value = TestAllTypesProto2::mapUint64Uint64 + value = pbandk.conformance.pb.TestAllTypesProto2::mapUint64Uint64 ) ) add( @@ -648,7 +648,7 @@ data class TestAllTypesProto2( number = 60, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SInt32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32(hasPresence = true)), jsonName = "mapSint32Sint32", - value = TestAllTypesProto2::mapSint32Sint32 + value = pbandk.conformance.pb.TestAllTypesProto2::mapSint32Sint32 ) ) add( @@ -658,7 +658,7 @@ data class TestAllTypesProto2( number = 61, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SInt64(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64(hasPresence = true)), jsonName = "mapSint64Sint64", - value = TestAllTypesProto2::mapSint64Sint64 + value = pbandk.conformance.pb.TestAllTypesProto2::mapSint64Sint64 ) ) add( @@ -668,7 +668,7 @@ data class TestAllTypesProto2( number = 62, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Fixed32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32(hasPresence = true)), jsonName = "mapFixed32Fixed32", - value = TestAllTypesProto2::mapFixed32Fixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::mapFixed32Fixed32 ) ) add( @@ -678,7 +678,7 @@ data class TestAllTypesProto2( number = 63, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Fixed64(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64(hasPresence = true)), jsonName = "mapFixed64Fixed64", - value = TestAllTypesProto2::mapFixed64Fixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::mapFixed64Fixed64 ) ) add( @@ -688,7 +688,7 @@ data class TestAllTypesProto2( number = 64, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SFixed32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32(hasPresence = true)), jsonName = "mapSfixed32Sfixed32", - value = TestAllTypesProto2::mapSfixed32Sfixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::mapSfixed32Sfixed32 ) ) add( @@ -698,7 +698,7 @@ data class TestAllTypesProto2( number = 65, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SFixed64(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64(hasPresence = true)), jsonName = "mapSfixed64Sfixed64", - value = TestAllTypesProto2::mapSfixed64Sfixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::mapSfixed64Sfixed64 ) ) add( @@ -708,7 +708,7 @@ data class TestAllTypesProto2( number = 66, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Float(hasPresence = true)), jsonName = "mapInt32Float", - value = TestAllTypesProto2::mapInt32Float + value = pbandk.conformance.pb.TestAllTypesProto2::mapInt32Float ) ) add( @@ -718,7 +718,7 @@ data class TestAllTypesProto2( number = 67, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true)), jsonName = "mapInt32Double", - value = TestAllTypesProto2::mapInt32Double + value = pbandk.conformance.pb.TestAllTypesProto2::mapInt32Double ) ) add( @@ -728,7 +728,7 @@ data class TestAllTypesProto2( number = 68, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true)), jsonName = "mapBoolBool", - value = TestAllTypesProto2::mapBoolBool + value = pbandk.conformance.pb.TestAllTypesProto2::mapBoolBool ) ) add( @@ -738,7 +738,7 @@ data class TestAllTypesProto2( number = 69, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true)), jsonName = "mapStringString", - value = TestAllTypesProto2::mapStringString + value = pbandk.conformance.pb.TestAllTypesProto2::mapStringString ) ) add( @@ -748,7 +748,7 @@ data class TestAllTypesProto2( number = 70, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true)), jsonName = "mapStringBytes", - value = TestAllTypesProto2::mapStringBytes + value = pbandk.conformance.pb.TestAllTypesProto2::mapStringBytes ) ) add( @@ -758,7 +758,7 @@ data class TestAllTypesProto2( number = 71, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage.Companion)), jsonName = "mapStringNestedMessage", - value = TestAllTypesProto2::mapStringNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto2::mapStringNestedMessage ) ) add( @@ -768,7 +768,7 @@ data class TestAllTypesProto2( number = 72, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessageProto2.Companion)), jsonName = "mapStringForeignMessage", - value = TestAllTypesProto2::mapStringForeignMessage + value = pbandk.conformance.pb.TestAllTypesProto2::mapStringForeignMessage ) ) add( @@ -778,7 +778,7 @@ data class TestAllTypesProto2( number = 73, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion, hasPresence = true)), jsonName = "mapStringNestedEnum", - value = TestAllTypesProto2::mapStringNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto2::mapStringNestedEnum ) ) add( @@ -788,7 +788,7 @@ data class TestAllTypesProto2( number = 74, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnumProto2.Companion, hasPresence = true)), jsonName = "mapStringForeignEnum", - value = TestAllTypesProto2::mapStringForeignEnum + value = pbandk.conformance.pb.TestAllTypesProto2::mapStringForeignEnum ) ) add( @@ -798,7 +798,7 @@ data class TestAllTypesProto2( number = 75, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(), packed = true), jsonName = "packedInt32", - value = TestAllTypesProto2::packedInt32 + value = pbandk.conformance.pb.TestAllTypesProto2::packedInt32 ) ) add( @@ -808,7 +808,7 @@ data class TestAllTypesProto2( number = 76, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int64(), packed = true), jsonName = "packedInt64", - value = TestAllTypesProto2::packedInt64 + value = pbandk.conformance.pb.TestAllTypesProto2::packedInt64 ) ) add( @@ -818,7 +818,7 @@ data class TestAllTypesProto2( number = 77, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32(), packed = true), jsonName = "packedUint32", - value = TestAllTypesProto2::packedUint32 + value = pbandk.conformance.pb.TestAllTypesProto2::packedUint32 ) ) add( @@ -828,7 +828,7 @@ data class TestAllTypesProto2( number = 78, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64(), packed = true), jsonName = "packedUint64", - value = TestAllTypesProto2::packedUint64 + value = pbandk.conformance.pb.TestAllTypesProto2::packedUint64 ) ) add( @@ -838,7 +838,7 @@ data class TestAllTypesProto2( number = 79, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32(), packed = true), jsonName = "packedSint32", - value = TestAllTypesProto2::packedSint32 + value = pbandk.conformance.pb.TestAllTypesProto2::packedSint32 ) ) add( @@ -848,7 +848,7 @@ data class TestAllTypesProto2( number = 80, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64(), packed = true), jsonName = "packedSint64", - value = TestAllTypesProto2::packedSint64 + value = pbandk.conformance.pb.TestAllTypesProto2::packedSint64 ) ) add( @@ -858,7 +858,7 @@ data class TestAllTypesProto2( number = 81, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), packed = true), jsonName = "packedFixed32", - value = TestAllTypesProto2::packedFixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::packedFixed32 ) ) add( @@ -868,7 +868,7 @@ data class TestAllTypesProto2( number = 82, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), packed = true), jsonName = "packedFixed64", - value = TestAllTypesProto2::packedFixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::packedFixed64 ) ) add( @@ -878,7 +878,7 @@ data class TestAllTypesProto2( number = 83, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), packed = true), jsonName = "packedSfixed32", - value = TestAllTypesProto2::packedSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::packedSfixed32 ) ) add( @@ -888,7 +888,7 @@ data class TestAllTypesProto2( number = 84, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), packed = true), jsonName = "packedSfixed64", - value = TestAllTypesProto2::packedSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::packedSfixed64 ) ) add( @@ -898,7 +898,7 @@ data class TestAllTypesProto2( number = 85, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Float(), packed = true), jsonName = "packedFloat", - value = TestAllTypesProto2::packedFloat + value = pbandk.conformance.pb.TestAllTypesProto2::packedFloat ) ) add( @@ -908,7 +908,7 @@ data class TestAllTypesProto2( number = 86, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Double(), packed = true), jsonName = "packedDouble", - value = TestAllTypesProto2::packedDouble + value = pbandk.conformance.pb.TestAllTypesProto2::packedDouble ) ) add( @@ -918,7 +918,7 @@ data class TestAllTypesProto2( number = 87, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bool(), packed = true), jsonName = "packedBool", - value = TestAllTypesProto2::packedBool + value = pbandk.conformance.pb.TestAllTypesProto2::packedBool ) ) add( @@ -928,7 +928,7 @@ data class TestAllTypesProto2( number = 88, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion), packed = true), jsonName = "packedNestedEnum", - value = TestAllTypesProto2::packedNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto2::packedNestedEnum ) ) add( @@ -938,7 +938,7 @@ data class TestAllTypesProto2( number = 89, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "unpackedInt32", - value = TestAllTypesProto2::unpackedInt32 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedInt32 ) ) add( @@ -948,7 +948,7 @@ data class TestAllTypesProto2( number = 90, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int64()), jsonName = "unpackedInt64", - value = TestAllTypesProto2::unpackedInt64 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedInt64 ) ) add( @@ -958,7 +958,7 @@ data class TestAllTypesProto2( number = 91, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32()), jsonName = "unpackedUint32", - value = TestAllTypesProto2::unpackedUint32 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedUint32 ) ) add( @@ -968,7 +968,7 @@ data class TestAllTypesProto2( number = 92, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64()), jsonName = "unpackedUint64", - value = TestAllTypesProto2::unpackedUint64 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedUint64 ) ) add( @@ -978,7 +978,7 @@ data class TestAllTypesProto2( number = 93, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32()), jsonName = "unpackedSint32", - value = TestAllTypesProto2::unpackedSint32 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedSint32 ) ) add( @@ -988,7 +988,7 @@ data class TestAllTypesProto2( number = 94, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64()), jsonName = "unpackedSint64", - value = TestAllTypesProto2::unpackedSint64 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedSint64 ) ) add( @@ -998,7 +998,7 @@ data class TestAllTypesProto2( number = 95, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32()), jsonName = "unpackedFixed32", - value = TestAllTypesProto2::unpackedFixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedFixed32 ) ) add( @@ -1008,7 +1008,7 @@ data class TestAllTypesProto2( number = 96, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64()), jsonName = "unpackedFixed64", - value = TestAllTypesProto2::unpackedFixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedFixed64 ) ) add( @@ -1018,7 +1018,7 @@ data class TestAllTypesProto2( number = 97, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32()), jsonName = "unpackedSfixed32", - value = TestAllTypesProto2::unpackedSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedSfixed32 ) ) add( @@ -1028,7 +1028,7 @@ data class TestAllTypesProto2( number = 98, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64()), jsonName = "unpackedSfixed64", - value = TestAllTypesProto2::unpackedSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedSfixed64 ) ) add( @@ -1038,7 +1038,7 @@ data class TestAllTypesProto2( number = 99, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Float()), jsonName = "unpackedFloat", - value = TestAllTypesProto2::unpackedFloat + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedFloat ) ) add( @@ -1048,7 +1048,7 @@ data class TestAllTypesProto2( number = 100, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Double()), jsonName = "unpackedDouble", - value = TestAllTypesProto2::unpackedDouble + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedDouble ) ) add( @@ -1058,7 +1058,7 @@ data class TestAllTypesProto2( number = 101, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bool()), jsonName = "unpackedBool", - value = TestAllTypesProto2::unpackedBool + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedBool ) ) add( @@ -1068,7 +1068,7 @@ data class TestAllTypesProto2( number = 102, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion)), jsonName = "unpackedNestedEnum", - value = TestAllTypesProto2::unpackedNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto2::unpackedNestedEnum ) ) add( @@ -1079,7 +1079,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), oneofMember = true, jsonName = "oneofUint32", - value = TestAllTypesProto2::oneofUint32 + value = pbandk.conformance.pb.TestAllTypesProto2::oneofUint32 ) ) add( @@ -1090,7 +1090,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage.Companion), oneofMember = true, jsonName = "oneofNestedMessage", - value = TestAllTypesProto2::oneofNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto2::oneofNestedMessage ) ) add( @@ -1101,7 +1101,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "oneofString", - value = TestAllTypesProto2::oneofString + value = pbandk.conformance.pb.TestAllTypesProto2::oneofString ) ) add( @@ -1112,7 +1112,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), oneofMember = true, jsonName = "oneofBytes", - value = TestAllTypesProto2::oneofBytes + value = pbandk.conformance.pb.TestAllTypesProto2::oneofBytes ) ) add( @@ -1123,7 +1123,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), oneofMember = true, jsonName = "oneofBool", - value = TestAllTypesProto2::oneofBool + value = pbandk.conformance.pb.TestAllTypesProto2::oneofBool ) ) add( @@ -1134,7 +1134,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), oneofMember = true, jsonName = "oneofUint64", - value = TestAllTypesProto2::oneofUint64 + value = pbandk.conformance.pb.TestAllTypesProto2::oneofUint64 ) ) add( @@ -1145,7 +1145,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.Float(hasPresence = true), oneofMember = true, jsonName = "oneofFloat", - value = TestAllTypesProto2::oneofFloat + value = pbandk.conformance.pb.TestAllTypesProto2::oneofFloat ) ) add( @@ -1156,7 +1156,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true), oneofMember = true, jsonName = "oneofDouble", - value = TestAllTypesProto2::oneofDouble + value = pbandk.conformance.pb.TestAllTypesProto2::oneofDouble ) ) add( @@ -1167,7 +1167,7 @@ data class TestAllTypesProto2( type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion, hasPresence = true), oneofMember = true, jsonName = "oneofEnum", - value = TestAllTypesProto2::oneofEnum + value = pbandk.conformance.pb.TestAllTypesProto2::oneofEnum ) ) add( @@ -1177,7 +1177,7 @@ data class TestAllTypesProto2( number = 401, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldname1", - value = TestAllTypesProto2::fieldname1 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldname1 ) ) add( @@ -1187,7 +1187,7 @@ data class TestAllTypesProto2( number = 402, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName2", - value = TestAllTypesProto2::fieldName2 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName2 ) ) add( @@ -1197,7 +1197,7 @@ data class TestAllTypesProto2( number = 403, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FieldName3", - value = TestAllTypesProto2::fieldName3 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName3 ) ) add( @@ -1207,7 +1207,7 @@ data class TestAllTypesProto2( number = 404, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName4", - value = TestAllTypesProto2::field_name4 + value = pbandk.conformance.pb.TestAllTypesProto2::field_name4 ) ) add( @@ -1217,7 +1217,7 @@ data class TestAllTypesProto2( number = 405, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "field0name5", - value = TestAllTypesProto2::field0name5 + value = pbandk.conformance.pb.TestAllTypesProto2::field0name5 ) ) add( @@ -1227,7 +1227,7 @@ data class TestAllTypesProto2( number = 406, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "field0Name6", - value = TestAllTypesProto2::field0Name6 + value = pbandk.conformance.pb.TestAllTypesProto2::field0Name6 ) ) add( @@ -1237,7 +1237,7 @@ data class TestAllTypesProto2( number = 407, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName7", - value = TestAllTypesProto2::fieldName7 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName7 ) ) add( @@ -1247,7 +1247,7 @@ data class TestAllTypesProto2( number = 408, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FieldName8", - value = TestAllTypesProto2::fieldName8 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName8 ) ) add( @@ -1257,7 +1257,7 @@ data class TestAllTypesProto2( number = 409, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName9", - value = TestAllTypesProto2::fieldName9 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName9 ) ) add( @@ -1267,7 +1267,7 @@ data class TestAllTypesProto2( number = 410, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FieldName10", - value = TestAllTypesProto2::fieldName10 + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName10 ) ) add( @@ -1277,7 +1277,7 @@ data class TestAllTypesProto2( number = 411, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FIELDNAME11", - value = TestAllTypesProto2::fIELDNAME11 + value = pbandk.conformance.pb.TestAllTypesProto2::fIELDNAME11 ) ) add( @@ -1287,7 +1287,7 @@ data class TestAllTypesProto2( number = 412, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FIELDName12", - value = TestAllTypesProto2::fIELDName12 + value = pbandk.conformance.pb.TestAllTypesProto2::fIELDName12 ) ) add( @@ -1297,7 +1297,7 @@ data class TestAllTypesProto2( number = 413, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FieldName13", - value = TestAllTypesProto2::_fieldName13 + value = pbandk.conformance.pb.TestAllTypesProto2::_fieldName13 ) ) add( @@ -1307,7 +1307,7 @@ data class TestAllTypesProto2( number = 414, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FieldName14", - value = TestAllTypesProto2::_FieldName14 + value = pbandk.conformance.pb.TestAllTypesProto2::_FieldName14 ) ) add( @@ -1317,7 +1317,7 @@ data class TestAllTypesProto2( number = 415, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName15", - value = TestAllTypesProto2::field_name15 + value = pbandk.conformance.pb.TestAllTypesProto2::field_name15 ) ) add( @@ -1327,7 +1327,7 @@ data class TestAllTypesProto2( number = 416, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName16", - value = TestAllTypesProto2::field_Name16 + value = pbandk.conformance.pb.TestAllTypesProto2::field_Name16 ) ) add( @@ -1337,7 +1337,7 @@ data class TestAllTypesProto2( number = 417, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "fieldName17", - value = TestAllTypesProto2::fieldName17_ + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName17_ ) ) add( @@ -1347,12 +1347,12 @@ data class TestAllTypesProto2( number = 418, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "FieldName18", - value = TestAllTypesProto2::fieldName18_ + value = pbandk.conformance.pb.TestAllTypesProto2::fieldName18_ ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2::class, messageCompanion = this, fields = fieldsList ) @@ -1360,18 +1360,18 @@ data class TestAllTypesProto2( } sealed class NestedEnum(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is TestAllTypesProto2.NestedEnum && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.conformance.pb.TestAllTypesProto2.NestedEnum && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "TestAllTypesProto2.NestedEnum.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.${name ?: "UNRECOGNIZED"}(value=$value)" object FOO : NestedEnum(0, "FOO") object BAR : NestedEnum(1, "BAR") object BAZ : NestedEnum(2, "BAZ") object NEG : NestedEnum(-1, "NEG") - class UNRECOGNIZED(value: Int) : TestAllTypesProto2.NestedEnum(value) + class UNRECOGNIZED(value: Int) : pbandk.conformance.pb.TestAllTypesProto2.NestedEnum(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(FOO, BAR, BAZ, NEG) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(FOO, BAR, BAZ, NEG) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No NestedEnum with name: $name") } @@ -1385,12 +1385,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.NestedMessage() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.NestedMessage.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.NestedMessage() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1398,7 +1398,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "a", - value = TestAllTypesProto2.NestedMessage::a + value = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage::a ) ) add( @@ -1408,12 +1408,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.Companion), jsonName = "corecursive", - value = TestAllTypesProto2.NestedMessage::corecursive + value = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage::corecursive ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.NestedMessage::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage::class, messageCompanion = this, fields = fieldsList ) @@ -1429,12 +1429,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapInt32Int32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapInt32Int32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapInt32Int32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapInt32Int32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1442,7 +1442,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapInt32Int32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt32Int32Entry::key ) ) add( @@ -1452,12 +1452,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapInt32Int32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt32Int32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapInt32Int32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapInt32Int32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1473,12 +1473,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapInt64Int64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapInt64Int64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapInt64Int64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapInt64Int64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1486,7 +1486,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int64(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapInt64Int64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt64Int64Entry::key ) ) add( @@ -1496,12 +1496,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int64(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapInt64Int64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt64Int64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapInt64Int64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapInt64Int64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1517,12 +1517,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapUint32Uint32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapUint32Uint32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapUint32Uint32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapUint32Uint32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1530,7 +1530,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapUint32Uint32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapUint32Uint32Entry::key ) ) add( @@ -1540,12 +1540,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapUint32Uint32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapUint32Uint32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapUint32Uint32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapUint32Uint32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1561,12 +1561,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapUint64Uint64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapUint64Uint64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapUint64Uint64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapUint64Uint64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1574,7 +1574,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapUint64Uint64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapUint64Uint64Entry::key ) ) add( @@ -1584,12 +1584,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapUint64Uint64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapUint64Uint64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapUint64Uint64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapUint64Uint64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1605,12 +1605,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapSint32Sint32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapSint32Sint32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapSint32Sint32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapSint32Sint32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1618,7 +1618,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SInt32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapSint32Sint32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapSint32Sint32Entry::key ) ) add( @@ -1628,12 +1628,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SInt32(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapSint32Sint32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapSint32Sint32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapSint32Sint32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapSint32Sint32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1649,12 +1649,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapSint64Sint64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapSint64Sint64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapSint64Sint64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapSint64Sint64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1662,7 +1662,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SInt64(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapSint64Sint64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapSint64Sint64Entry::key ) ) add( @@ -1672,12 +1672,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SInt64(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapSint64Sint64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapSint64Sint64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapSint64Sint64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapSint64Sint64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1693,12 +1693,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapFixed32Fixed32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapFixed32Fixed32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapFixed32Fixed32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapFixed32Fixed32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1706,7 +1706,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Fixed32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapFixed32Fixed32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapFixed32Fixed32Entry::key ) ) add( @@ -1716,12 +1716,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Fixed32(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapFixed32Fixed32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapFixed32Fixed32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapFixed32Fixed32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapFixed32Fixed32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1737,12 +1737,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapFixed64Fixed64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapFixed64Fixed64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapFixed64Fixed64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapFixed64Fixed64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1750,7 +1750,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Fixed64(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapFixed64Fixed64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapFixed64Fixed64Entry::key ) ) add( @@ -1760,12 +1760,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Fixed64(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapFixed64Fixed64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapFixed64Fixed64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapFixed64Fixed64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapFixed64Fixed64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1781,12 +1781,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapSfixed32Sfixed32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapSfixed32Sfixed32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapSfixed32Sfixed32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed32Sfixed32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1794,7 +1794,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SFixed32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapSfixed32Sfixed32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed32Sfixed32Entry::key ) ) add( @@ -1804,12 +1804,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SFixed32(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapSfixed32Sfixed32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed32Sfixed32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapSfixed32Sfixed32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed32Sfixed32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1825,12 +1825,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapSfixed64Sfixed64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapSfixed64Sfixed64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapSfixed64Sfixed64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed64Sfixed64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1838,7 +1838,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SFixed64(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapSfixed64Sfixed64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed64Sfixed64Entry::key ) ) add( @@ -1848,12 +1848,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SFixed64(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapSfixed64Sfixed64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed64Sfixed64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapSfixed64Sfixed64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapSfixed64Sfixed64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1869,12 +1869,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapInt32FloatEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapInt32FloatEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapInt32FloatEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapInt32FloatEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1882,7 +1882,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapInt32FloatEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt32FloatEntry::key ) ) add( @@ -1892,12 +1892,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Float(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapInt32FloatEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt32FloatEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapInt32FloatEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapInt32FloatEntry::class, messageCompanion = this, fields = fieldsList ) @@ -1913,12 +1913,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapInt32DoubleEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapInt32DoubleEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapInt32DoubleEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapInt32DoubleEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1926,7 +1926,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapInt32DoubleEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt32DoubleEntry::key ) ) add( @@ -1936,12 +1936,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapInt32DoubleEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapInt32DoubleEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapInt32DoubleEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapInt32DoubleEntry::class, messageCompanion = this, fields = fieldsList ) @@ -1957,12 +1957,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapBoolBoolEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapBoolBoolEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapBoolBoolEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapBoolBoolEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1970,7 +1970,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapBoolBoolEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapBoolBoolEntry::key ) ) add( @@ -1980,12 +1980,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapBoolBoolEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapBoolBoolEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapBoolBoolEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapBoolBoolEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2001,12 +2001,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapStringStringEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapStringStringEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapStringStringEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapStringStringEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2014,7 +2014,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapStringStringEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringStringEntry::key ) ) add( @@ -2024,12 +2024,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapStringStringEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringStringEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapStringStringEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapStringStringEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2045,12 +2045,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapStringBytesEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapStringBytesEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapStringBytesEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapStringBytesEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2058,7 +2058,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapStringBytesEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringBytesEntry::key ) ) add( @@ -2068,12 +2068,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapStringBytesEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringBytesEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapStringBytesEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapStringBytesEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2089,12 +2089,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapStringNestedMessageEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapStringNestedMessageEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedMessageEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedMessageEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2102,7 +2102,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapStringNestedMessageEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedMessageEntry::key ) ) add( @@ -2112,12 +2112,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedMessage.Companion), jsonName = "value", - value = TestAllTypesProto2.MapStringNestedMessageEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedMessageEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapStringNestedMessageEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedMessageEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2133,12 +2133,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapStringForeignMessageEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapStringForeignMessageEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignMessageEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignMessageEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2146,7 +2146,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapStringForeignMessageEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignMessageEntry::key ) ) add( @@ -2156,12 +2156,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessageProto2.Companion), jsonName = "value", - value = TestAllTypesProto2.MapStringForeignMessageEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignMessageEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapStringForeignMessageEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignMessageEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2177,12 +2177,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapStringNestedEnumEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapStringNestedEnumEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedEnumEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedEnumEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2190,7 +2190,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapStringNestedEnumEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedEnumEntry::key ) ) add( @@ -2200,12 +2200,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto2.NestedEnum.Companion, hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapStringNestedEnumEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedEnumEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapStringNestedEnumEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapStringNestedEnumEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2221,12 +2221,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MapStringForeignEnumEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MapStringForeignEnumEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignEnumEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignEnumEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2234,7 +2234,7 @@ data class TestAllTypesProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "key", - value = TestAllTypesProto2.MapStringForeignEnumEntry::key + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignEnumEntry::key ) ) add( @@ -2244,12 +2244,12 @@ data class TestAllTypesProto2( number = 2, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnumProto2.Companion, hasPresence = true), jsonName = "value", - value = TestAllTypesProto2.MapStringForeignEnumEntry::value + value = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignEnumEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MapStringForeignEnumEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MapStringForeignEnumEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2265,12 +2265,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.Data() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.Data.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.Data() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.Data.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2278,7 +2278,7 @@ data class TestAllTypesProto2( number = 202, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "groupInt32", - value = TestAllTypesProto2.Data::groupInt32 + value = pbandk.conformance.pb.TestAllTypesProto2.Data::groupInt32 ) ) add( @@ -2288,12 +2288,12 @@ data class TestAllTypesProto2( number = 203, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), jsonName = "groupUint32", - value = TestAllTypesProto2.Data::groupUint32 + value = pbandk.conformance.pb.TestAllTypesProto2.Data::groupUint32 ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.Data::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.Data::class, messageCompanion = this, fields = fieldsList ) @@ -2307,15 +2307,15 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MessageSetCorrect() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MessageSetCorrect.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrect() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrect.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(0).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(0).apply { } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MessageSetCorrect::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrect::class, messageCompanion = this, fields = fieldsList ) @@ -2330,12 +2330,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MessageSetCorrectExtension1() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MessageSetCorrectExtension1.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension1() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension1.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2343,12 +2343,12 @@ data class TestAllTypesProto2( number = 25, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "str", - value = TestAllTypesProto2.MessageSetCorrectExtension1::str + value = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension1::str ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MessageSetCorrectExtension1::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension1::class, messageCompanion = this, fields = fieldsList ) @@ -2363,12 +2363,12 @@ data class TestAllTypesProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto2.MessageSetCorrectExtension2() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto2.MessageSetCorrectExtension2.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension2() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension2.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2376,12 +2376,12 @@ data class TestAllTypesProto2( number = 9, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "i", - value = TestAllTypesProto2.MessageSetCorrectExtension2::i + value = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension2::i ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto2.MessageSetCorrectExtension2::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto2.MessageSetCorrectExtension2::class, messageCompanion = this, fields = fieldsList ) @@ -2397,12 +2397,12 @@ data class ForeignMessageProto2( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ForeignMessageProto2() } - override fun decodeWith(u: pbandk.MessageDecoder) = ForeignMessageProto2.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.ForeignMessageProto2() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.ForeignMessageProto2.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2410,12 +2410,12 @@ data class ForeignMessageProto2( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "c", - value = ForeignMessageProto2::c + value = pbandk.conformance.pb.ForeignMessageProto2::c ) ) } pbandk.MessageDescriptor( - messageClass = ForeignMessageProto2::class, + messageClass = pbandk.conformance.pb.ForeignMessageProto2::class, messageCompanion = this, fields = fieldsList ) @@ -2434,12 +2434,12 @@ data class UnknownToTestAllTypes( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { UnknownToTestAllTypes() } - override fun decodeWith(u: pbandk.MessageDecoder) = UnknownToTestAllTypes.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.UnknownToTestAllTypes() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.UnknownToTestAllTypes.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(5).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(5).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2447,7 +2447,7 @@ data class UnknownToTestAllTypes( number = 1001, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "optionalInt32", - value = UnknownToTestAllTypes::optionalInt32 + value = pbandk.conformance.pb.UnknownToTestAllTypes::optionalInt32 ) ) add( @@ -2457,7 +2457,7 @@ data class UnknownToTestAllTypes( number = 1002, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "optionalString", - value = UnknownToTestAllTypes::optionalString + value = pbandk.conformance.pb.UnknownToTestAllTypes::optionalString ) ) add( @@ -2467,7 +2467,7 @@ data class UnknownToTestAllTypes( number = 1003, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessageProto2.Companion), jsonName = "nestedMessage", - value = UnknownToTestAllTypes::nestedMessage + value = pbandk.conformance.pb.UnknownToTestAllTypes::nestedMessage ) ) add( @@ -2477,7 +2477,7 @@ data class UnknownToTestAllTypes( number = 1006, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "optionalBool", - value = UnknownToTestAllTypes::optionalBool + value = pbandk.conformance.pb.UnknownToTestAllTypes::optionalBool ) ) add( @@ -2487,12 +2487,12 @@ data class UnknownToTestAllTypes( number = 1011, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "repeatedInt32", - value = UnknownToTestAllTypes::repeatedInt32 + value = pbandk.conformance.pb.UnknownToTestAllTypes::repeatedInt32 ) ) } pbandk.MessageDescriptor( - messageClass = UnknownToTestAllTypes::class, + messageClass = pbandk.conformance.pb.UnknownToTestAllTypes::class, messageCompanion = this, fields = fieldsList ) @@ -2506,12 +2506,12 @@ data class UnknownToTestAllTypes( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { UnknownToTestAllTypes.OptionalGroup() } - override fun decodeWith(u: pbandk.MessageDecoder) = UnknownToTestAllTypes.OptionalGroup.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.UnknownToTestAllTypes.OptionalGroup() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.UnknownToTestAllTypes.OptionalGroup.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2519,12 +2519,12 @@ data class UnknownToTestAllTypes( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "a", - value = UnknownToTestAllTypes.OptionalGroup::a + value = pbandk.conformance.pb.UnknownToTestAllTypes.OptionalGroup::a ) ) } pbandk.MessageDescriptor( - messageClass = UnknownToTestAllTypes.OptionalGroup::class, + messageClass = pbandk.conformance.pb.UnknownToTestAllTypes.OptionalGroup::class, messageCompanion = this, fields = fieldsList ) diff --git a/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto3.kt b/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto3.kt index 8229ecbc..fb1ee81c 100644 --- a/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto3.kt +++ b/conformance/lib/src/commonMain/kotlin/pbandk/conformance/pb/test_messages_proto3.kt @@ -197,12 +197,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(149).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(149).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -210,7 +210,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "optionalInt32", - value = TestAllTypesProto3::optionalInt32 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalInt32 ) ) add( @@ -220,7 +220,7 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int64(), jsonName = "optionalInt64", - value = TestAllTypesProto3::optionalInt64 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalInt64 ) ) add( @@ -230,7 +230,7 @@ data class TestAllTypesProto3( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(), jsonName = "optionalUint32", - value = TestAllTypesProto3::optionalUint32 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalUint32 ) ) add( @@ -240,7 +240,7 @@ data class TestAllTypesProto3( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(), jsonName = "optionalUint64", - value = TestAllTypesProto3::optionalUint64 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalUint64 ) ) add( @@ -250,7 +250,7 @@ data class TestAllTypesProto3( number = 5, type = pbandk.FieldDescriptor.Type.Primitive.SInt32(), jsonName = "optionalSint32", - value = TestAllTypesProto3::optionalSint32 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalSint32 ) ) add( @@ -260,7 +260,7 @@ data class TestAllTypesProto3( number = 6, type = pbandk.FieldDescriptor.Type.Primitive.SInt64(), jsonName = "optionalSint64", - value = TestAllTypesProto3::optionalSint64 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalSint64 ) ) add( @@ -270,7 +270,7 @@ data class TestAllTypesProto3( number = 7, type = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), jsonName = "optionalFixed32", - value = TestAllTypesProto3::optionalFixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalFixed32 ) ) add( @@ -280,7 +280,7 @@ data class TestAllTypesProto3( number = 8, type = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), jsonName = "optionalFixed64", - value = TestAllTypesProto3::optionalFixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalFixed64 ) ) add( @@ -290,7 +290,7 @@ data class TestAllTypesProto3( number = 9, type = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), jsonName = "optionalSfixed32", - value = TestAllTypesProto3::optionalSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalSfixed32 ) ) add( @@ -300,7 +300,7 @@ data class TestAllTypesProto3( number = 10, type = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), jsonName = "optionalSfixed64", - value = TestAllTypesProto3::optionalSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::optionalSfixed64 ) ) add( @@ -310,7 +310,7 @@ data class TestAllTypesProto3( number = 11, type = pbandk.FieldDescriptor.Type.Primitive.Float(), jsonName = "optionalFloat", - value = TestAllTypesProto3::optionalFloat + value = pbandk.conformance.pb.TestAllTypesProto3::optionalFloat ) ) add( @@ -320,7 +320,7 @@ data class TestAllTypesProto3( number = 12, type = pbandk.FieldDescriptor.Type.Primitive.Double(), jsonName = "optionalDouble", - value = TestAllTypesProto3::optionalDouble + value = pbandk.conformance.pb.TestAllTypesProto3::optionalDouble ) ) add( @@ -330,7 +330,7 @@ data class TestAllTypesProto3( number = 13, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "optionalBool", - value = TestAllTypesProto3::optionalBool + value = pbandk.conformance.pb.TestAllTypesProto3::optionalBool ) ) add( @@ -340,7 +340,7 @@ data class TestAllTypesProto3( number = 14, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "optionalString", - value = TestAllTypesProto3::optionalString + value = pbandk.conformance.pb.TestAllTypesProto3::optionalString ) ) add( @@ -350,7 +350,7 @@ data class TestAllTypesProto3( number = 15, type = pbandk.FieldDescriptor.Type.Primitive.Bytes(), jsonName = "optionalBytes", - value = TestAllTypesProto3::optionalBytes + value = pbandk.conformance.pb.TestAllTypesProto3::optionalBytes ) ) add( @@ -360,7 +360,7 @@ data class TestAllTypesProto3( number = 18, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage.Companion), jsonName = "optionalNestedMessage", - value = TestAllTypesProto3::optionalNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto3::optionalNestedMessage ) ) add( @@ -370,7 +370,7 @@ data class TestAllTypesProto3( number = 19, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessage.Companion), jsonName = "optionalForeignMessage", - value = TestAllTypesProto3::optionalForeignMessage + value = pbandk.conformance.pb.TestAllTypesProto3::optionalForeignMessage ) ) add( @@ -380,7 +380,7 @@ data class TestAllTypesProto3( number = 21, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion), jsonName = "optionalNestedEnum", - value = TestAllTypesProto3::optionalNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto3::optionalNestedEnum ) ) add( @@ -390,7 +390,7 @@ data class TestAllTypesProto3( number = 22, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnum.Companion), jsonName = "optionalForeignEnum", - value = TestAllTypesProto3::optionalForeignEnum + value = pbandk.conformance.pb.TestAllTypesProto3::optionalForeignEnum ) ) add( @@ -400,7 +400,7 @@ data class TestAllTypesProto3( number = 23, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.AliasedEnum.Companion), jsonName = "optionalAliasedEnum", - value = TestAllTypesProto3::optionalAliasedEnum + value = pbandk.conformance.pb.TestAllTypesProto3::optionalAliasedEnum ) ) add( @@ -410,7 +410,7 @@ data class TestAllTypesProto3( number = 24, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "optionalStringPiece", - value = TestAllTypesProto3::optionalStringPiece + value = pbandk.conformance.pb.TestAllTypesProto3::optionalStringPiece ) ) add( @@ -420,7 +420,7 @@ data class TestAllTypesProto3( number = 25, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "optionalCord", - value = TestAllTypesProto3::optionalCord + value = pbandk.conformance.pb.TestAllTypesProto3::optionalCord ) ) add( @@ -430,7 +430,7 @@ data class TestAllTypesProto3( number = 27, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.Companion), jsonName = "recursiveMessage", - value = TestAllTypesProto3::recursiveMessage + value = pbandk.conformance.pb.TestAllTypesProto3::recursiveMessage ) ) add( @@ -440,7 +440,7 @@ data class TestAllTypesProto3( number = 31, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(), packed = true), jsonName = "repeatedInt32", - value = TestAllTypesProto3::repeatedInt32 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedInt32 ) ) add( @@ -450,7 +450,7 @@ data class TestAllTypesProto3( number = 32, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int64(), packed = true), jsonName = "repeatedInt64", - value = TestAllTypesProto3::repeatedInt64 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedInt64 ) ) add( @@ -460,7 +460,7 @@ data class TestAllTypesProto3( number = 33, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32(), packed = true), jsonName = "repeatedUint32", - value = TestAllTypesProto3::repeatedUint32 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedUint32 ) ) add( @@ -470,7 +470,7 @@ data class TestAllTypesProto3( number = 34, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64(), packed = true), jsonName = "repeatedUint64", - value = TestAllTypesProto3::repeatedUint64 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedUint64 ) ) add( @@ -480,7 +480,7 @@ data class TestAllTypesProto3( number = 35, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32(), packed = true), jsonName = "repeatedSint32", - value = TestAllTypesProto3::repeatedSint32 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedSint32 ) ) add( @@ -490,7 +490,7 @@ data class TestAllTypesProto3( number = 36, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64(), packed = true), jsonName = "repeatedSint64", - value = TestAllTypesProto3::repeatedSint64 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedSint64 ) ) add( @@ -500,7 +500,7 @@ data class TestAllTypesProto3( number = 37, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), packed = true), jsonName = "repeatedFixed32", - value = TestAllTypesProto3::repeatedFixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedFixed32 ) ) add( @@ -510,7 +510,7 @@ data class TestAllTypesProto3( number = 38, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), packed = true), jsonName = "repeatedFixed64", - value = TestAllTypesProto3::repeatedFixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedFixed64 ) ) add( @@ -520,7 +520,7 @@ data class TestAllTypesProto3( number = 39, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), packed = true), jsonName = "repeatedSfixed32", - value = TestAllTypesProto3::repeatedSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedSfixed32 ) ) add( @@ -530,7 +530,7 @@ data class TestAllTypesProto3( number = 40, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), packed = true), jsonName = "repeatedSfixed64", - value = TestAllTypesProto3::repeatedSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedSfixed64 ) ) add( @@ -540,7 +540,7 @@ data class TestAllTypesProto3( number = 41, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Float(), packed = true), jsonName = "repeatedFloat", - value = TestAllTypesProto3::repeatedFloat + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedFloat ) ) add( @@ -550,7 +550,7 @@ data class TestAllTypesProto3( number = 42, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Double(), packed = true), jsonName = "repeatedDouble", - value = TestAllTypesProto3::repeatedDouble + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedDouble ) ) add( @@ -560,7 +560,7 @@ data class TestAllTypesProto3( number = 43, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bool(), packed = true), jsonName = "repeatedBool", - value = TestAllTypesProto3::repeatedBool + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedBool ) ) add( @@ -570,7 +570,7 @@ data class TestAllTypesProto3( number = 44, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "repeatedString", - value = TestAllTypesProto3::repeatedString + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedString ) ) add( @@ -580,7 +580,7 @@ data class TestAllTypesProto3( number = 45, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bytes()), jsonName = "repeatedBytes", - value = TestAllTypesProto3::repeatedBytes + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedBytes ) ) add( @@ -590,7 +590,7 @@ data class TestAllTypesProto3( number = 48, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage.Companion)), jsonName = "repeatedNestedMessage", - value = TestAllTypesProto3::repeatedNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedNestedMessage ) ) add( @@ -600,7 +600,7 @@ data class TestAllTypesProto3( number = 49, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessage.Companion)), jsonName = "repeatedForeignMessage", - value = TestAllTypesProto3::repeatedForeignMessage + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedForeignMessage ) ) add( @@ -610,7 +610,7 @@ data class TestAllTypesProto3( number = 51, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion), packed = true), jsonName = "repeatedNestedEnum", - value = TestAllTypesProto3::repeatedNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedNestedEnum ) ) add( @@ -620,7 +620,7 @@ data class TestAllTypesProto3( number = 52, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnum.Companion), packed = true), jsonName = "repeatedForeignEnum", - value = TestAllTypesProto3::repeatedForeignEnum + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedForeignEnum ) ) add( @@ -630,7 +630,7 @@ data class TestAllTypesProto3( number = 54, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "repeatedStringPiece", - value = TestAllTypesProto3::repeatedStringPiece + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedStringPiece ) ) add( @@ -640,7 +640,7 @@ data class TestAllTypesProto3( number = 55, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "repeatedCord", - value = TestAllTypesProto3::repeatedCord + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedCord ) ) add( @@ -650,7 +650,7 @@ data class TestAllTypesProto3( number = 56, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int32(), valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "mapInt32Int32", - value = TestAllTypesProto3::mapInt32Int32 + value = pbandk.conformance.pb.TestAllTypesProto3::mapInt32Int32 ) ) add( @@ -660,7 +660,7 @@ data class TestAllTypesProto3( number = 57, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int64(), valueType = pbandk.FieldDescriptor.Type.Primitive.Int64()), jsonName = "mapInt64Int64", - value = TestAllTypesProto3::mapInt64Int64 + value = pbandk.conformance.pb.TestAllTypesProto3::mapInt64Int64 ) ) add( @@ -670,7 +670,7 @@ data class TestAllTypesProto3( number = 58, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.UInt32(), valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32()), jsonName = "mapUint32Uint32", - value = TestAllTypesProto3::mapUint32Uint32 + value = pbandk.conformance.pb.TestAllTypesProto3::mapUint32Uint32 ) ) add( @@ -680,7 +680,7 @@ data class TestAllTypesProto3( number = 59, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.UInt64(), valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64()), jsonName = "mapUint64Uint64", - value = TestAllTypesProto3::mapUint64Uint64 + value = pbandk.conformance.pb.TestAllTypesProto3::mapUint64Uint64 ) ) add( @@ -690,7 +690,7 @@ data class TestAllTypesProto3( number = 60, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SInt32(), valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32()), jsonName = "mapSint32Sint32", - value = TestAllTypesProto3::mapSint32Sint32 + value = pbandk.conformance.pb.TestAllTypesProto3::mapSint32Sint32 ) ) add( @@ -700,7 +700,7 @@ data class TestAllTypesProto3( number = 61, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SInt64(), valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64()), jsonName = "mapSint64Sint64", - value = TestAllTypesProto3::mapSint64Sint64 + value = pbandk.conformance.pb.TestAllTypesProto3::mapSint64Sint64 ) ) add( @@ -710,7 +710,7 @@ data class TestAllTypesProto3( number = 62, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32()), jsonName = "mapFixed32Fixed32", - value = TestAllTypesProto3::mapFixed32Fixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::mapFixed32Fixed32 ) ) add( @@ -720,7 +720,7 @@ data class TestAllTypesProto3( number = 63, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64()), jsonName = "mapFixed64Fixed64", - value = TestAllTypesProto3::mapFixed64Fixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::mapFixed64Fixed64 ) ) add( @@ -730,7 +730,7 @@ data class TestAllTypesProto3( number = 64, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32()), jsonName = "mapSfixed32Sfixed32", - value = TestAllTypesProto3::mapSfixed32Sfixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::mapSfixed32Sfixed32 ) ) add( @@ -740,7 +740,7 @@ data class TestAllTypesProto3( number = 65, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64()), jsonName = "mapSfixed64Sfixed64", - value = TestAllTypesProto3::mapSfixed64Sfixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::mapSfixed64Sfixed64 ) ) add( @@ -750,7 +750,7 @@ data class TestAllTypesProto3( number = 66, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int32(), valueType = pbandk.FieldDescriptor.Type.Primitive.Float()), jsonName = "mapInt32Float", - value = TestAllTypesProto3::mapInt32Float + value = pbandk.conformance.pb.TestAllTypesProto3::mapInt32Float ) ) add( @@ -760,7 +760,7 @@ data class TestAllTypesProto3( number = 67, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Int32(), valueType = pbandk.FieldDescriptor.Type.Primitive.Double()), jsonName = "mapInt32Double", - value = TestAllTypesProto3::mapInt32Double + value = pbandk.conformance.pb.TestAllTypesProto3::mapInt32Double ) ) add( @@ -770,7 +770,7 @@ data class TestAllTypesProto3( number = 68, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.Bool(), valueType = pbandk.FieldDescriptor.Type.Primitive.Bool()), jsonName = "mapBoolBool", - value = TestAllTypesProto3::mapBoolBool + value = pbandk.conformance.pb.TestAllTypesProto3::mapBoolBool ) ) add( @@ -780,7 +780,7 @@ data class TestAllTypesProto3( number = 69, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "mapStringString", - value = TestAllTypesProto3::mapStringString + value = pbandk.conformance.pb.TestAllTypesProto3::mapStringString ) ) add( @@ -790,7 +790,7 @@ data class TestAllTypesProto3( number = 70, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Primitive.Bytes()), jsonName = "mapStringBytes", - value = TestAllTypesProto3::mapStringBytes + value = pbandk.conformance.pb.TestAllTypesProto3::mapStringBytes ) ) add( @@ -800,7 +800,7 @@ data class TestAllTypesProto3( number = 71, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage.Companion)), jsonName = "mapStringNestedMessage", - value = TestAllTypesProto3::mapStringNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto3::mapStringNestedMessage ) ) add( @@ -810,7 +810,7 @@ data class TestAllTypesProto3( number = 72, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessage.Companion)), jsonName = "mapStringForeignMessage", - value = TestAllTypesProto3::mapStringForeignMessage + value = pbandk.conformance.pb.TestAllTypesProto3::mapStringForeignMessage ) ) add( @@ -820,7 +820,7 @@ data class TestAllTypesProto3( number = 73, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion)), jsonName = "mapStringNestedEnum", - value = TestAllTypesProto3::mapStringNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto3::mapStringNestedEnum ) ) add( @@ -830,7 +830,7 @@ data class TestAllTypesProto3( number = 74, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnum.Companion)), jsonName = "mapStringForeignEnum", - value = TestAllTypesProto3::mapStringForeignEnum + value = pbandk.conformance.pb.TestAllTypesProto3::mapStringForeignEnum ) ) add( @@ -840,7 +840,7 @@ data class TestAllTypesProto3( number = 75, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(), packed = true), jsonName = "packedInt32", - value = TestAllTypesProto3::packedInt32 + value = pbandk.conformance.pb.TestAllTypesProto3::packedInt32 ) ) add( @@ -850,7 +850,7 @@ data class TestAllTypesProto3( number = 76, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int64(), packed = true), jsonName = "packedInt64", - value = TestAllTypesProto3::packedInt64 + value = pbandk.conformance.pb.TestAllTypesProto3::packedInt64 ) ) add( @@ -860,7 +860,7 @@ data class TestAllTypesProto3( number = 77, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32(), packed = true), jsonName = "packedUint32", - value = TestAllTypesProto3::packedUint32 + value = pbandk.conformance.pb.TestAllTypesProto3::packedUint32 ) ) add( @@ -870,7 +870,7 @@ data class TestAllTypesProto3( number = 78, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64(), packed = true), jsonName = "packedUint64", - value = TestAllTypesProto3::packedUint64 + value = pbandk.conformance.pb.TestAllTypesProto3::packedUint64 ) ) add( @@ -880,7 +880,7 @@ data class TestAllTypesProto3( number = 79, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32(), packed = true), jsonName = "packedSint32", - value = TestAllTypesProto3::packedSint32 + value = pbandk.conformance.pb.TestAllTypesProto3::packedSint32 ) ) add( @@ -890,7 +890,7 @@ data class TestAllTypesProto3( number = 80, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64(), packed = true), jsonName = "packedSint64", - value = TestAllTypesProto3::packedSint64 + value = pbandk.conformance.pb.TestAllTypesProto3::packedSint64 ) ) add( @@ -900,7 +900,7 @@ data class TestAllTypesProto3( number = 81, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), packed = true), jsonName = "packedFixed32", - value = TestAllTypesProto3::packedFixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::packedFixed32 ) ) add( @@ -910,7 +910,7 @@ data class TestAllTypesProto3( number = 82, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), packed = true), jsonName = "packedFixed64", - value = TestAllTypesProto3::packedFixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::packedFixed64 ) ) add( @@ -920,7 +920,7 @@ data class TestAllTypesProto3( number = 83, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), packed = true), jsonName = "packedSfixed32", - value = TestAllTypesProto3::packedSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::packedSfixed32 ) ) add( @@ -930,7 +930,7 @@ data class TestAllTypesProto3( number = 84, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), packed = true), jsonName = "packedSfixed64", - value = TestAllTypesProto3::packedSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::packedSfixed64 ) ) add( @@ -940,7 +940,7 @@ data class TestAllTypesProto3( number = 85, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Float(), packed = true), jsonName = "packedFloat", - value = TestAllTypesProto3::packedFloat + value = pbandk.conformance.pb.TestAllTypesProto3::packedFloat ) ) add( @@ -950,7 +950,7 @@ data class TestAllTypesProto3( number = 86, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Double(), packed = true), jsonName = "packedDouble", - value = TestAllTypesProto3::packedDouble + value = pbandk.conformance.pb.TestAllTypesProto3::packedDouble ) ) add( @@ -960,7 +960,7 @@ data class TestAllTypesProto3( number = 87, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bool(), packed = true), jsonName = "packedBool", - value = TestAllTypesProto3::packedBool + value = pbandk.conformance.pb.TestAllTypesProto3::packedBool ) ) add( @@ -970,7 +970,7 @@ data class TestAllTypesProto3( number = 88, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion), packed = true), jsonName = "packedNestedEnum", - value = TestAllTypesProto3::packedNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto3::packedNestedEnum ) ) add( @@ -980,7 +980,7 @@ data class TestAllTypesProto3( number = 89, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "unpackedInt32", - value = TestAllTypesProto3::unpackedInt32 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedInt32 ) ) add( @@ -990,7 +990,7 @@ data class TestAllTypesProto3( number = 90, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int64()), jsonName = "unpackedInt64", - value = TestAllTypesProto3::unpackedInt64 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedInt64 ) ) add( @@ -1000,7 +1000,7 @@ data class TestAllTypesProto3( number = 91, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt32()), jsonName = "unpackedUint32", - value = TestAllTypesProto3::unpackedUint32 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedUint32 ) ) add( @@ -1010,7 +1010,7 @@ data class TestAllTypesProto3( number = 92, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.UInt64()), jsonName = "unpackedUint64", - value = TestAllTypesProto3::unpackedUint64 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedUint64 ) ) add( @@ -1020,7 +1020,7 @@ data class TestAllTypesProto3( number = 93, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt32()), jsonName = "unpackedSint32", - value = TestAllTypesProto3::unpackedSint32 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedSint32 ) ) add( @@ -1030,7 +1030,7 @@ data class TestAllTypesProto3( number = 94, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SInt64()), jsonName = "unpackedSint64", - value = TestAllTypesProto3::unpackedSint64 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedSint64 ) ) add( @@ -1040,7 +1040,7 @@ data class TestAllTypesProto3( number = 95, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed32()), jsonName = "unpackedFixed32", - value = TestAllTypesProto3::unpackedFixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedFixed32 ) ) add( @@ -1050,7 +1050,7 @@ data class TestAllTypesProto3( number = 96, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Fixed64()), jsonName = "unpackedFixed64", - value = TestAllTypesProto3::unpackedFixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedFixed64 ) ) add( @@ -1060,7 +1060,7 @@ data class TestAllTypesProto3( number = 97, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed32()), jsonName = "unpackedSfixed32", - value = TestAllTypesProto3::unpackedSfixed32 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedSfixed32 ) ) add( @@ -1070,7 +1070,7 @@ data class TestAllTypesProto3( number = 98, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.SFixed64()), jsonName = "unpackedSfixed64", - value = TestAllTypesProto3::unpackedSfixed64 + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedSfixed64 ) ) add( @@ -1080,7 +1080,7 @@ data class TestAllTypesProto3( number = 99, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Float()), jsonName = "unpackedFloat", - value = TestAllTypesProto3::unpackedFloat + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedFloat ) ) add( @@ -1090,7 +1090,7 @@ data class TestAllTypesProto3( number = 100, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Double()), jsonName = "unpackedDouble", - value = TestAllTypesProto3::unpackedDouble + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedDouble ) ) add( @@ -1100,7 +1100,7 @@ data class TestAllTypesProto3( number = 101, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Bool()), jsonName = "unpackedBool", - value = TestAllTypesProto3::unpackedBool + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedBool ) ) add( @@ -1110,7 +1110,7 @@ data class TestAllTypesProto3( number = 102, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion)), jsonName = "unpackedNestedEnum", - value = TestAllTypesProto3::unpackedNestedEnum + value = pbandk.conformance.pb.TestAllTypesProto3::unpackedNestedEnum ) ) add( @@ -1121,7 +1121,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.UInt32(hasPresence = true), oneofMember = true, jsonName = "oneofUint32", - value = TestAllTypesProto3::oneofUint32 + value = pbandk.conformance.pb.TestAllTypesProto3::oneofUint32 ) ) add( @@ -1132,7 +1132,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage.Companion), oneofMember = true, jsonName = "oneofNestedMessage", - value = TestAllTypesProto3::oneofNestedMessage + value = pbandk.conformance.pb.TestAllTypesProto3::oneofNestedMessage ) ) add( @@ -1143,7 +1143,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "oneofString", - value = TestAllTypesProto3::oneofString + value = pbandk.conformance.pb.TestAllTypesProto3::oneofString ) ) add( @@ -1154,7 +1154,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), oneofMember = true, jsonName = "oneofBytes", - value = TestAllTypesProto3::oneofBytes + value = pbandk.conformance.pb.TestAllTypesProto3::oneofBytes ) ) add( @@ -1165,7 +1165,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), oneofMember = true, jsonName = "oneofBool", - value = TestAllTypesProto3::oneofBool + value = pbandk.conformance.pb.TestAllTypesProto3::oneofBool ) ) add( @@ -1176,7 +1176,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), oneofMember = true, jsonName = "oneofUint64", - value = TestAllTypesProto3::oneofUint64 + value = pbandk.conformance.pb.TestAllTypesProto3::oneofUint64 ) ) add( @@ -1187,7 +1187,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.Float(hasPresence = true), oneofMember = true, jsonName = "oneofFloat", - value = TestAllTypesProto3::oneofFloat + value = pbandk.conformance.pb.TestAllTypesProto3::oneofFloat ) ) add( @@ -1198,7 +1198,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true), oneofMember = true, jsonName = "oneofDouble", - value = TestAllTypesProto3::oneofDouble + value = pbandk.conformance.pb.TestAllTypesProto3::oneofDouble ) ) add( @@ -1209,7 +1209,7 @@ data class TestAllTypesProto3( type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion, hasPresence = true), oneofMember = true, jsonName = "oneofEnum", - value = TestAllTypesProto3::oneofEnum + value = pbandk.conformance.pb.TestAllTypesProto3::oneofEnum ) ) add( @@ -1219,7 +1219,7 @@ data class TestAllTypesProto3( number = 201, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.BoolValue.Companion), jsonName = "optionalBoolWrapper", - value = TestAllTypesProto3::optionalBoolWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalBoolWrapper ) ) add( @@ -1229,7 +1229,7 @@ data class TestAllTypesProto3( number = 202, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Int32Value.Companion), jsonName = "optionalInt32Wrapper", - value = TestAllTypesProto3::optionalInt32Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalInt32Wrapper ) ) add( @@ -1239,7 +1239,7 @@ data class TestAllTypesProto3( number = 203, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Int64Value.Companion), jsonName = "optionalInt64Wrapper", - value = TestAllTypesProto3::optionalInt64Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalInt64Wrapper ) ) add( @@ -1249,7 +1249,7 @@ data class TestAllTypesProto3( number = 204, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UInt32Value.Companion), jsonName = "optionalUint32Wrapper", - value = TestAllTypesProto3::optionalUint32Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalUint32Wrapper ) ) add( @@ -1259,7 +1259,7 @@ data class TestAllTypesProto3( number = 205, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UInt64Value.Companion), jsonName = "optionalUint64Wrapper", - value = TestAllTypesProto3::optionalUint64Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalUint64Wrapper ) ) add( @@ -1269,7 +1269,7 @@ data class TestAllTypesProto3( number = 206, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FloatValue.Companion), jsonName = "optionalFloatWrapper", - value = TestAllTypesProto3::optionalFloatWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalFloatWrapper ) ) add( @@ -1279,7 +1279,7 @@ data class TestAllTypesProto3( number = 207, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.DoubleValue.Companion), jsonName = "optionalDoubleWrapper", - value = TestAllTypesProto3::optionalDoubleWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalDoubleWrapper ) ) add( @@ -1289,7 +1289,7 @@ data class TestAllTypesProto3( number = 208, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.StringValue.Companion), jsonName = "optionalStringWrapper", - value = TestAllTypesProto3::optionalStringWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalStringWrapper ) ) add( @@ -1299,7 +1299,7 @@ data class TestAllTypesProto3( number = 209, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.BytesValue.Companion), jsonName = "optionalBytesWrapper", - value = TestAllTypesProto3::optionalBytesWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::optionalBytesWrapper ) ) add( @@ -1309,7 +1309,7 @@ data class TestAllTypesProto3( number = 211, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.BoolValue.Companion)), jsonName = "repeatedBoolWrapper", - value = TestAllTypesProto3::repeatedBoolWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedBoolWrapper ) ) add( @@ -1319,7 +1319,7 @@ data class TestAllTypesProto3( number = 212, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Int32Value.Companion)), jsonName = "repeatedInt32Wrapper", - value = TestAllTypesProto3::repeatedInt32Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedInt32Wrapper ) ) add( @@ -1329,7 +1329,7 @@ data class TestAllTypesProto3( number = 213, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Int64Value.Companion)), jsonName = "repeatedInt64Wrapper", - value = TestAllTypesProto3::repeatedInt64Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedInt64Wrapper ) ) add( @@ -1339,7 +1339,7 @@ data class TestAllTypesProto3( number = 214, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UInt32Value.Companion)), jsonName = "repeatedUint32Wrapper", - value = TestAllTypesProto3::repeatedUint32Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedUint32Wrapper ) ) add( @@ -1349,7 +1349,7 @@ data class TestAllTypesProto3( number = 215, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UInt64Value.Companion)), jsonName = "repeatedUint64Wrapper", - value = TestAllTypesProto3::repeatedUint64Wrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedUint64Wrapper ) ) add( @@ -1359,7 +1359,7 @@ data class TestAllTypesProto3( number = 216, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FloatValue.Companion)), jsonName = "repeatedFloatWrapper", - value = TestAllTypesProto3::repeatedFloatWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedFloatWrapper ) ) add( @@ -1369,7 +1369,7 @@ data class TestAllTypesProto3( number = 217, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.DoubleValue.Companion)), jsonName = "repeatedDoubleWrapper", - value = TestAllTypesProto3::repeatedDoubleWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedDoubleWrapper ) ) add( @@ -1379,7 +1379,7 @@ data class TestAllTypesProto3( number = 218, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.StringValue.Companion)), jsonName = "repeatedStringWrapper", - value = TestAllTypesProto3::repeatedStringWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedStringWrapper ) ) add( @@ -1389,7 +1389,7 @@ data class TestAllTypesProto3( number = 219, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.BytesValue.Companion)), jsonName = "repeatedBytesWrapper", - value = TestAllTypesProto3::repeatedBytesWrapper + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedBytesWrapper ) ) add( @@ -1399,7 +1399,7 @@ data class TestAllTypesProto3( number = 301, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Duration.Companion), jsonName = "optionalDuration", - value = TestAllTypesProto3::optionalDuration + value = pbandk.conformance.pb.TestAllTypesProto3::optionalDuration ) ) add( @@ -1409,7 +1409,7 @@ data class TestAllTypesProto3( number = 302, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Timestamp.Companion), jsonName = "optionalTimestamp", - value = TestAllTypesProto3::optionalTimestamp + value = pbandk.conformance.pb.TestAllTypesProto3::optionalTimestamp ) ) add( @@ -1419,7 +1419,7 @@ data class TestAllTypesProto3( number = 303, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FieldMask.Companion), jsonName = "optionalFieldMask", - value = TestAllTypesProto3::optionalFieldMask + value = pbandk.conformance.pb.TestAllTypesProto3::optionalFieldMask ) ) add( @@ -1429,7 +1429,7 @@ data class TestAllTypesProto3( number = 304, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Struct.Companion), jsonName = "optionalStruct", - value = TestAllTypesProto3::optionalStruct + value = pbandk.conformance.pb.TestAllTypesProto3::optionalStruct ) ) add( @@ -1439,7 +1439,7 @@ data class TestAllTypesProto3( number = 305, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Any.Companion), jsonName = "optionalAny", - value = TestAllTypesProto3::optionalAny + value = pbandk.conformance.pb.TestAllTypesProto3::optionalAny ) ) add( @@ -1449,7 +1449,7 @@ data class TestAllTypesProto3( number = 306, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Value.Companion), jsonName = "optionalValue", - value = TestAllTypesProto3::optionalValue + value = pbandk.conformance.pb.TestAllTypesProto3::optionalValue ) ) add( @@ -1459,7 +1459,7 @@ data class TestAllTypesProto3( number = 311, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Duration.Companion)), jsonName = "repeatedDuration", - value = TestAllTypesProto3::repeatedDuration + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedDuration ) ) add( @@ -1469,7 +1469,7 @@ data class TestAllTypesProto3( number = 312, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Timestamp.Companion)), jsonName = "repeatedTimestamp", - value = TestAllTypesProto3::repeatedTimestamp + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedTimestamp ) ) add( @@ -1479,7 +1479,7 @@ data class TestAllTypesProto3( number = 313, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FieldMask.Companion)), jsonName = "repeatedFieldmask", - value = TestAllTypesProto3::repeatedFieldmask + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedFieldmask ) ) add( @@ -1489,7 +1489,7 @@ data class TestAllTypesProto3( number = 315, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Any.Companion)), jsonName = "repeatedAny", - value = TestAllTypesProto3::repeatedAny + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedAny ) ) add( @@ -1499,7 +1499,7 @@ data class TestAllTypesProto3( number = 316, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Value.Companion)), jsonName = "repeatedValue", - value = TestAllTypesProto3::repeatedValue + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedValue ) ) add( @@ -1509,7 +1509,7 @@ data class TestAllTypesProto3( number = 317, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.ListValue.Companion)), jsonName = "repeatedListValue", - value = TestAllTypesProto3::repeatedListValue + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedListValue ) ) add( @@ -1519,7 +1519,7 @@ data class TestAllTypesProto3( number = 324, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Struct.Companion)), jsonName = "repeatedStruct", - value = TestAllTypesProto3::repeatedStruct + value = pbandk.conformance.pb.TestAllTypesProto3::repeatedStruct ) ) add( @@ -1529,7 +1529,7 @@ data class TestAllTypesProto3( number = 401, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldname1", - value = TestAllTypesProto3::fieldname1 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldname1 ) ) add( @@ -1539,7 +1539,7 @@ data class TestAllTypesProto3( number = 402, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName2", - value = TestAllTypesProto3::fieldName2 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName2 ) ) add( @@ -1549,7 +1549,7 @@ data class TestAllTypesProto3( number = 403, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FieldName3", - value = TestAllTypesProto3::fieldName3 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName3 ) ) add( @@ -1559,7 +1559,7 @@ data class TestAllTypesProto3( number = 404, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName4", - value = TestAllTypesProto3::field_name4 + value = pbandk.conformance.pb.TestAllTypesProto3::field_name4 ) ) add( @@ -1569,7 +1569,7 @@ data class TestAllTypesProto3( number = 405, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "field0name5", - value = TestAllTypesProto3::field0name5 + value = pbandk.conformance.pb.TestAllTypesProto3::field0name5 ) ) add( @@ -1579,7 +1579,7 @@ data class TestAllTypesProto3( number = 406, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "field0Name6", - value = TestAllTypesProto3::field0Name6 + value = pbandk.conformance.pb.TestAllTypesProto3::field0Name6 ) ) add( @@ -1589,7 +1589,7 @@ data class TestAllTypesProto3( number = 407, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName7", - value = TestAllTypesProto3::fieldName7 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName7 ) ) add( @@ -1599,7 +1599,7 @@ data class TestAllTypesProto3( number = 408, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FieldName8", - value = TestAllTypesProto3::fieldName8 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName8 ) ) add( @@ -1609,7 +1609,7 @@ data class TestAllTypesProto3( number = 409, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName9", - value = TestAllTypesProto3::fieldName9 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName9 ) ) add( @@ -1619,7 +1619,7 @@ data class TestAllTypesProto3( number = 410, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FieldName10", - value = TestAllTypesProto3::fieldName10 + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName10 ) ) add( @@ -1629,7 +1629,7 @@ data class TestAllTypesProto3( number = 411, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FIELDNAME11", - value = TestAllTypesProto3::fIELDNAME11 + value = pbandk.conformance.pb.TestAllTypesProto3::fIELDNAME11 ) ) add( @@ -1639,7 +1639,7 @@ data class TestAllTypesProto3( number = 412, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FIELDName12", - value = TestAllTypesProto3::fIELDName12 + value = pbandk.conformance.pb.TestAllTypesProto3::fIELDName12 ) ) add( @@ -1649,7 +1649,7 @@ data class TestAllTypesProto3( number = 413, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FieldName13", - value = TestAllTypesProto3::_fieldName13 + value = pbandk.conformance.pb.TestAllTypesProto3::_fieldName13 ) ) add( @@ -1659,7 +1659,7 @@ data class TestAllTypesProto3( number = 414, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FieldName14", - value = TestAllTypesProto3::_FieldName14 + value = pbandk.conformance.pb.TestAllTypesProto3::_FieldName14 ) ) add( @@ -1669,7 +1669,7 @@ data class TestAllTypesProto3( number = 415, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName15", - value = TestAllTypesProto3::field_name15 + value = pbandk.conformance.pb.TestAllTypesProto3::field_name15 ) ) add( @@ -1679,7 +1679,7 @@ data class TestAllTypesProto3( number = 416, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName16", - value = TestAllTypesProto3::field_Name16 + value = pbandk.conformance.pb.TestAllTypesProto3::field_Name16 ) ) add( @@ -1689,7 +1689,7 @@ data class TestAllTypesProto3( number = 417, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "fieldName17", - value = TestAllTypesProto3::fieldName17_ + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName17_ ) ) add( @@ -1699,12 +1699,12 @@ data class TestAllTypesProto3( number = 418, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "FieldName18", - value = TestAllTypesProto3::fieldName18_ + value = pbandk.conformance.pb.TestAllTypesProto3::fieldName18_ ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3::class, messageCompanion = this, fields = fieldsList ) @@ -1712,27 +1712,27 @@ data class TestAllTypesProto3( } sealed class NestedEnum(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is TestAllTypesProto3.NestedEnum && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.conformance.pb.TestAllTypesProto3.NestedEnum && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "TestAllTypesProto3.NestedEnum.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.${name ?: "UNRECOGNIZED"}(value=$value)" object FOO : NestedEnum(0, "FOO") object BAR : NestedEnum(1, "BAR") object BAZ : NestedEnum(2, "BAZ") object NEG : NestedEnum(-1, "NEG") - class UNRECOGNIZED(value: Int) : TestAllTypesProto3.NestedEnum(value) + class UNRECOGNIZED(value: Int) : pbandk.conformance.pb.TestAllTypesProto3.NestedEnum(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(FOO, BAR, BAZ, NEG) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(FOO, BAR, BAZ, NEG) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No NestedEnum with name: $name") } } sealed class AliasedEnum(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is TestAllTypesProto3.AliasedEnum && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.conformance.pb.TestAllTypesProto3.AliasedEnum && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "TestAllTypesProto3.AliasedEnum.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.conformance.pb.TestAllTypesProto3.AliasedEnum.${name ?: "UNRECOGNIZED"}(value=$value)" object ALIAS_FOO : AliasedEnum(0, "ALIAS_FOO") object ALIAS_BAR : AliasedEnum(1, "ALIAS_BAR") @@ -1740,10 +1740,10 @@ data class TestAllTypesProto3( object QUX : AliasedEnum(2, "QUX") object QUX_ : AliasedEnum(2, "qux") object B_AZ : AliasedEnum(2, "bAz") - class UNRECOGNIZED(value: Int) : TestAllTypesProto3.AliasedEnum(value) + class UNRECOGNIZED(value: Int) : pbandk.conformance.pb.TestAllTypesProto3.AliasedEnum(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(ALIAS_FOO, ALIAS_BAR, ALIAS_BAZ, QUX, QUX_, B_AZ) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(ALIAS_FOO, ALIAS_BAR, ALIAS_BAZ, QUX, QUX_, B_AZ) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No AliasedEnum with name: $name") } @@ -1757,12 +1757,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.NestedMessage() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.NestedMessage.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.NestedMessage() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1770,7 +1770,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "a", - value = TestAllTypesProto3.NestedMessage::a + value = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage::a ) ) add( @@ -1780,12 +1780,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.Companion), jsonName = "corecursive", - value = TestAllTypesProto3.NestedMessage::corecursive + value = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage::corecursive ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.NestedMessage::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage::class, messageCompanion = this, fields = fieldsList ) @@ -1801,12 +1801,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapInt32Int32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapInt32Int32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapInt32Int32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapInt32Int32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1814,7 +1814,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "key", - value = TestAllTypesProto3.MapInt32Int32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt32Int32Entry::key ) ) add( @@ -1824,12 +1824,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "value", - value = TestAllTypesProto3.MapInt32Int32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt32Int32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapInt32Int32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapInt32Int32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1845,12 +1845,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapInt64Int64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapInt64Int64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapInt64Int64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapInt64Int64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1858,7 +1858,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int64(), jsonName = "key", - value = TestAllTypesProto3.MapInt64Int64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt64Int64Entry::key ) ) add( @@ -1868,12 +1868,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int64(), jsonName = "value", - value = TestAllTypesProto3.MapInt64Int64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt64Int64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapInt64Int64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapInt64Int64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1889,12 +1889,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapUint32Uint32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapUint32Uint32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapUint32Uint32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapUint32Uint32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1902,7 +1902,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(), jsonName = "key", - value = TestAllTypesProto3.MapUint32Uint32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapUint32Uint32Entry::key ) ) add( @@ -1912,12 +1912,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.UInt32(), jsonName = "value", - value = TestAllTypesProto3.MapUint32Uint32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapUint32Uint32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapUint32Uint32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapUint32Uint32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1933,12 +1933,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapUint64Uint64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapUint64Uint64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapUint64Uint64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapUint64Uint64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1946,7 +1946,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(), jsonName = "key", - value = TestAllTypesProto3.MapUint64Uint64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapUint64Uint64Entry::key ) ) add( @@ -1956,12 +1956,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(), jsonName = "value", - value = TestAllTypesProto3.MapUint64Uint64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapUint64Uint64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapUint64Uint64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapUint64Uint64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -1977,12 +1977,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapSint32Sint32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapSint32Sint32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapSint32Sint32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapSint32Sint32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1990,7 +1990,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SInt32(), jsonName = "key", - value = TestAllTypesProto3.MapSint32Sint32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapSint32Sint32Entry::key ) ) add( @@ -2000,12 +2000,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SInt32(), jsonName = "value", - value = TestAllTypesProto3.MapSint32Sint32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapSint32Sint32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapSint32Sint32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapSint32Sint32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -2021,12 +2021,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapSint64Sint64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapSint64Sint64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapSint64Sint64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapSint64Sint64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2034,7 +2034,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SInt64(), jsonName = "key", - value = TestAllTypesProto3.MapSint64Sint64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapSint64Sint64Entry::key ) ) add( @@ -2044,12 +2044,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SInt64(), jsonName = "value", - value = TestAllTypesProto3.MapSint64Sint64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapSint64Sint64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapSint64Sint64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapSint64Sint64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -2065,12 +2065,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapFixed32Fixed32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapFixed32Fixed32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapFixed32Fixed32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapFixed32Fixed32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2078,7 +2078,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), jsonName = "key", - value = TestAllTypesProto3.MapFixed32Fixed32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapFixed32Fixed32Entry::key ) ) add( @@ -2088,12 +2088,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Fixed32(), jsonName = "value", - value = TestAllTypesProto3.MapFixed32Fixed32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapFixed32Fixed32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapFixed32Fixed32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapFixed32Fixed32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -2109,12 +2109,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapFixed64Fixed64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapFixed64Fixed64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapFixed64Fixed64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapFixed64Fixed64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2122,7 +2122,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), jsonName = "key", - value = TestAllTypesProto3.MapFixed64Fixed64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapFixed64Fixed64Entry::key ) ) add( @@ -2132,12 +2132,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Fixed64(), jsonName = "value", - value = TestAllTypesProto3.MapFixed64Fixed64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapFixed64Fixed64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapFixed64Fixed64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapFixed64Fixed64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -2153,12 +2153,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapSfixed32Sfixed32Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapSfixed32Sfixed32Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapSfixed32Sfixed32Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed32Sfixed32Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2166,7 +2166,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), jsonName = "key", - value = TestAllTypesProto3.MapSfixed32Sfixed32Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed32Sfixed32Entry::key ) ) add( @@ -2176,12 +2176,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SFixed32(), jsonName = "value", - value = TestAllTypesProto3.MapSfixed32Sfixed32Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed32Sfixed32Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapSfixed32Sfixed32Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed32Sfixed32Entry::class, messageCompanion = this, fields = fieldsList ) @@ -2197,12 +2197,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapSfixed64Sfixed64Entry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapSfixed64Sfixed64Entry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapSfixed64Sfixed64Entry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed64Sfixed64Entry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2210,7 +2210,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), jsonName = "key", - value = TestAllTypesProto3.MapSfixed64Sfixed64Entry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed64Sfixed64Entry::key ) ) add( @@ -2220,12 +2220,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.SFixed64(), jsonName = "value", - value = TestAllTypesProto3.MapSfixed64Sfixed64Entry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed64Sfixed64Entry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapSfixed64Sfixed64Entry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapSfixed64Sfixed64Entry::class, messageCompanion = this, fields = fieldsList ) @@ -2241,12 +2241,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapInt32FloatEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapInt32FloatEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapInt32FloatEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapInt32FloatEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2254,7 +2254,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "key", - value = TestAllTypesProto3.MapInt32FloatEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt32FloatEntry::key ) ) add( @@ -2264,12 +2264,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Float(), jsonName = "value", - value = TestAllTypesProto3.MapInt32FloatEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt32FloatEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapInt32FloatEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapInt32FloatEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2285,12 +2285,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapInt32DoubleEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapInt32DoubleEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapInt32DoubleEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapInt32DoubleEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2298,7 +2298,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "key", - value = TestAllTypesProto3.MapInt32DoubleEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt32DoubleEntry::key ) ) add( @@ -2308,12 +2308,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Double(), jsonName = "value", - value = TestAllTypesProto3.MapInt32DoubleEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapInt32DoubleEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapInt32DoubleEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapInt32DoubleEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2329,12 +2329,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapBoolBoolEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapBoolBoolEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapBoolBoolEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapBoolBoolEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2342,7 +2342,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "key", - value = TestAllTypesProto3.MapBoolBoolEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapBoolBoolEntry::key ) ) add( @@ -2352,12 +2352,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "value", - value = TestAllTypesProto3.MapBoolBoolEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapBoolBoolEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapBoolBoolEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapBoolBoolEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2373,12 +2373,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapStringStringEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapStringStringEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapStringStringEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapStringStringEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2386,7 +2386,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = TestAllTypesProto3.MapStringStringEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringStringEntry::key ) ) add( @@ -2396,12 +2396,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "value", - value = TestAllTypesProto3.MapStringStringEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringStringEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapStringStringEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapStringStringEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2417,12 +2417,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapStringBytesEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapStringBytesEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapStringBytesEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapStringBytesEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2430,7 +2430,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = TestAllTypesProto3.MapStringBytesEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringBytesEntry::key ) ) add( @@ -2440,12 +2440,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bytes(), jsonName = "value", - value = TestAllTypesProto3.MapStringBytesEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringBytesEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapStringBytesEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapStringBytesEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2461,12 +2461,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapStringNestedMessageEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapStringNestedMessageEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedMessageEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedMessageEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2474,7 +2474,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = TestAllTypesProto3.MapStringNestedMessageEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedMessageEntry::key ) ) add( @@ -2484,12 +2484,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedMessage.Companion), jsonName = "value", - value = TestAllTypesProto3.MapStringNestedMessageEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedMessageEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapStringNestedMessageEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedMessageEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2505,12 +2505,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapStringForeignMessageEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapStringForeignMessageEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignMessageEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignMessageEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2518,7 +2518,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = TestAllTypesProto3.MapStringForeignMessageEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignMessageEntry::key ) ) add( @@ -2528,12 +2528,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.conformance.pb.ForeignMessage.Companion), jsonName = "value", - value = TestAllTypesProto3.MapStringForeignMessageEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignMessageEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapStringForeignMessageEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignMessageEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2549,12 +2549,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapStringNestedEnumEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapStringNestedEnumEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedEnumEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedEnumEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2562,7 +2562,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = TestAllTypesProto3.MapStringNestedEnumEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedEnumEntry::key ) ) add( @@ -2572,12 +2572,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.TestAllTypesProto3.NestedEnum.Companion), jsonName = "value", - value = TestAllTypesProto3.MapStringNestedEnumEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedEnumEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapStringNestedEnumEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapStringNestedEnumEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2593,12 +2593,12 @@ data class TestAllTypesProto3( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { TestAllTypesProto3.MapStringForeignEnumEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = TestAllTypesProto3.MapStringForeignEnumEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignEnumEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignEnumEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2606,7 +2606,7 @@ data class TestAllTypesProto3( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = TestAllTypesProto3.MapStringForeignEnumEntry::key + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignEnumEntry::key ) ) add( @@ -2616,12 +2616,12 @@ data class TestAllTypesProto3( number = 2, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.conformance.pb.ForeignEnum.Companion), jsonName = "value", - value = TestAllTypesProto3.MapStringForeignEnumEntry::value + value = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignEnumEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = TestAllTypesProto3.MapStringForeignEnumEntry::class, + messageClass = pbandk.conformance.pb.TestAllTypesProto3.MapStringForeignEnumEntry::class, messageCompanion = this, fields = fieldsList ) @@ -2637,12 +2637,12 @@ data class ForeignMessage( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ForeignMessage() } - override fun decodeWith(u: pbandk.MessageDecoder) = ForeignMessage.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.conformance.pb.ForeignMessage() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.conformance.pb.ForeignMessage.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2650,12 +2650,12 @@ data class ForeignMessage( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "c", - value = ForeignMessage::c + value = pbandk.conformance.pb.ForeignMessage::c ) ) } pbandk.MessageDescriptor( - messageClass = ForeignMessage::class, + messageClass = pbandk.conformance.pb.ForeignMessage::class, messageCompanion = this, fields = fieldsList ) diff --git a/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/CodeGenerator.kt b/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/CodeGenerator.kt index 51e009db..d710eca5 100644 --- a/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/CodeGenerator.kt +++ b/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/CodeGenerator.kt @@ -52,7 +52,7 @@ open class CodeGenerator( } protected fun writeMessageType(type: File.Type.Message, parentType: String? = null) { - val parentPrefix = parentType?.let { "${it}." }.orEmpty() + val parentPrefix = parentType?.let { "${it}." }.orEmpty().ifEmpty { "${file.kotlinPackageName}." } val typeName = "${parentPrefix}${type.kotlinTypeName}" var extends = "pbandk.Message" if (type.mapEntry) extends += ", Map.Entry<${type.mapEntryKeyKotlinType}, ${type.mapEntryValueKotlinType}>" diff --git a/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/pb/plugin.kt b/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/pb/plugin.kt index 7424d76d..4c0be906 100644 --- a/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/pb/plugin.kt +++ b/protoc-gen-kotlin/lib/src/commonMain/kotlin/pbandk/gen/pb/plugin.kt @@ -12,12 +12,12 @@ data class Version( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Version() } - override fun decodeWith(u: pbandk.MessageDecoder) = Version.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.gen.pb.Version() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.gen.pb.Version.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(4).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(4).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -25,7 +25,7 @@ data class Version( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "major", - value = Version::major + value = pbandk.gen.pb.Version::major ) ) add( @@ -35,7 +35,7 @@ data class Version( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "minor", - value = Version::minor + value = pbandk.gen.pb.Version::minor ) ) add( @@ -45,7 +45,7 @@ data class Version( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "patch", - value = Version::patch + value = pbandk.gen.pb.Version::patch ) ) add( @@ -55,12 +55,12 @@ data class Version( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "suffix", - value = Version::suffix + value = pbandk.gen.pb.Version::suffix ) ) } pbandk.MessageDescriptor( - messageClass = Version::class, + messageClass = pbandk.gen.pb.Version::class, messageCompanion = this, fields = fieldsList ) @@ -78,12 +78,12 @@ data class CodeGeneratorRequest( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { CodeGeneratorRequest() } - override fun decodeWith(u: pbandk.MessageDecoder) = CodeGeneratorRequest.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.gen.pb.CodeGeneratorRequest() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.gen.pb.CodeGeneratorRequest.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(4).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(4).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -91,7 +91,7 @@ data class CodeGeneratorRequest( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "fileToGenerate", - value = CodeGeneratorRequest::fileToGenerate + value = pbandk.gen.pb.CodeGeneratorRequest::fileToGenerate ) ) add( @@ -101,7 +101,7 @@ data class CodeGeneratorRequest( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "parameter", - value = CodeGeneratorRequest::parameter + value = pbandk.gen.pb.CodeGeneratorRequest::parameter ) ) add( @@ -111,7 +111,7 @@ data class CodeGeneratorRequest( number = 3, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.gen.pb.Version.Companion), jsonName = "compilerVersion", - value = CodeGeneratorRequest::compilerVersion + value = pbandk.gen.pb.CodeGeneratorRequest::compilerVersion ) ) add( @@ -121,12 +121,12 @@ data class CodeGeneratorRequest( number = 15, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FileDescriptorProto.Companion)), jsonName = "protoFile", - value = CodeGeneratorRequest::protoFile + value = pbandk.gen.pb.CodeGeneratorRequest::protoFile ) ) } pbandk.MessageDescriptor( - messageClass = CodeGeneratorRequest::class, + messageClass = pbandk.gen.pb.CodeGeneratorRequest::class, messageCompanion = this, fields = fieldsList ) @@ -142,12 +142,12 @@ data class CodeGeneratorResponse( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { CodeGeneratorResponse() } - override fun decodeWith(u: pbandk.MessageDecoder) = CodeGeneratorResponse.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.gen.pb.CodeGeneratorResponse() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.gen.pb.CodeGeneratorResponse.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -155,7 +155,7 @@ data class CodeGeneratorResponse( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "error", - value = CodeGeneratorResponse::error + value = pbandk.gen.pb.CodeGeneratorResponse::error ) ) add( @@ -165,12 +165,12 @@ data class CodeGeneratorResponse( number = 15, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.gen.pb.CodeGeneratorResponse.File.Companion)), jsonName = "file", - value = CodeGeneratorResponse::file + value = pbandk.gen.pb.CodeGeneratorResponse::file ) ) } pbandk.MessageDescriptor( - messageClass = CodeGeneratorResponse::class, + messageClass = pbandk.gen.pb.CodeGeneratorResponse::class, messageCompanion = this, fields = fieldsList ) @@ -186,12 +186,12 @@ data class CodeGeneratorResponse( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { CodeGeneratorResponse.File() } - override fun decodeWith(u: pbandk.MessageDecoder) = CodeGeneratorResponse.File.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.gen.pb.CodeGeneratorResponse.File() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.gen.pb.CodeGeneratorResponse.File.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -199,7 +199,7 @@ data class CodeGeneratorResponse( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = CodeGeneratorResponse.File::name + value = pbandk.gen.pb.CodeGeneratorResponse.File::name ) ) add( @@ -209,7 +209,7 @@ data class CodeGeneratorResponse( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "insertionPoint", - value = CodeGeneratorResponse.File::insertionPoint + value = pbandk.gen.pb.CodeGeneratorResponse.File::insertionPoint ) ) add( @@ -219,12 +219,12 @@ data class CodeGeneratorResponse( number = 15, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "content", - value = CodeGeneratorResponse.File::content + value = pbandk.gen.pb.CodeGeneratorResponse.File::content ) ) } pbandk.MessageDescriptor( - messageClass = CodeGeneratorResponse.File::class, + messageClass = pbandk.gen.pb.CodeGeneratorResponse.File::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/any.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/any.kt index bfad4fcc..92c7b5ef 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/any.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/any.kt @@ -10,12 +10,12 @@ data class Any( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Any() } - override fun decodeWith(u: pbandk.MessageDecoder) = Any.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Any() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Any.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -23,7 +23,7 @@ data class Any( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "typeUrl", - value = Any::typeUrl + value = pbandk.wkt.Any::typeUrl ) ) add( @@ -33,12 +33,12 @@ data class Any( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bytes(), jsonName = "value", - value = Any::value + value = pbandk.wkt.Any::value ) ) } pbandk.MessageDescriptor( - messageClass = Any::class, + messageClass = pbandk.wkt.Any::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/api.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/api.kt index d554c0ca..d196914a 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/api.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/api.kt @@ -15,12 +15,12 @@ data class Api( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Api() } - override fun decodeWith(u: pbandk.MessageDecoder) = Api.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Api() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Api.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(7).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(7).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -28,7 +28,7 @@ data class Api( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = Api::name + value = pbandk.wkt.Api::name ) ) add( @@ -38,7 +38,7 @@ data class Api( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Method.Companion)), jsonName = "methods", - value = Api::methods + value = pbandk.wkt.Api::methods ) ) add( @@ -48,7 +48,7 @@ data class Api( number = 3, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Option.Companion)), jsonName = "options", - value = Api::options + value = pbandk.wkt.Api::options ) ) add( @@ -58,7 +58,7 @@ data class Api( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "version", - value = Api::version + value = pbandk.wkt.Api::version ) ) add( @@ -68,7 +68,7 @@ data class Api( number = 5, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.SourceContext.Companion), jsonName = "sourceContext", - value = Api::sourceContext + value = pbandk.wkt.Api::sourceContext ) ) add( @@ -78,7 +78,7 @@ data class Api( number = 6, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Mixin.Companion)), jsonName = "mixins", - value = Api::mixins + value = pbandk.wkt.Api::mixins ) ) add( @@ -88,12 +88,12 @@ data class Api( number = 7, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.Syntax.Companion), jsonName = "syntax", - value = Api::syntax + value = pbandk.wkt.Api::syntax ) ) } pbandk.MessageDescriptor( - messageClass = Api::class, + messageClass = pbandk.wkt.Api::class, messageCompanion = this, fields = fieldsList ) @@ -114,12 +114,12 @@ data class Method( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Method() } - override fun decodeWith(u: pbandk.MessageDecoder) = Method.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Method() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Method.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(7).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(7).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -127,7 +127,7 @@ data class Method( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = Method::name + value = pbandk.wkt.Method::name ) ) add( @@ -137,7 +137,7 @@ data class Method( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "requestTypeUrl", - value = Method::requestTypeUrl + value = pbandk.wkt.Method::requestTypeUrl ) ) add( @@ -147,7 +147,7 @@ data class Method( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "requestStreaming", - value = Method::requestStreaming + value = pbandk.wkt.Method::requestStreaming ) ) add( @@ -157,7 +157,7 @@ data class Method( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "responseTypeUrl", - value = Method::responseTypeUrl + value = pbandk.wkt.Method::responseTypeUrl ) ) add( @@ -167,7 +167,7 @@ data class Method( number = 5, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "responseStreaming", - value = Method::responseStreaming + value = pbandk.wkt.Method::responseStreaming ) ) add( @@ -177,7 +177,7 @@ data class Method( number = 6, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Option.Companion)), jsonName = "options", - value = Method::options + value = pbandk.wkt.Method::options ) ) add( @@ -187,12 +187,12 @@ data class Method( number = 7, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.Syntax.Companion), jsonName = "syntax", - value = Method::syntax + value = pbandk.wkt.Method::syntax ) ) } pbandk.MessageDescriptor( - messageClass = Method::class, + messageClass = pbandk.wkt.Method::class, messageCompanion = this, fields = fieldsList ) @@ -208,12 +208,12 @@ data class Mixin( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Mixin() } - override fun decodeWith(u: pbandk.MessageDecoder) = Mixin.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Mixin() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Mixin.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -221,7 +221,7 @@ data class Mixin( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = Mixin::name + value = pbandk.wkt.Mixin::name ) ) add( @@ -231,12 +231,12 @@ data class Mixin( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "root", - value = Mixin::root + value = pbandk.wkt.Mixin::root ) ) } pbandk.MessageDescriptor( - messageClass = Mixin::class, + messageClass = pbandk.wkt.Mixin::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/descriptor.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/descriptor.kt index 1c690d1b..404c201f 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/descriptor.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/descriptor.kt @@ -9,12 +9,12 @@ data class FileDescriptorSet( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FileDescriptorSet() } - override fun decodeWith(u: pbandk.MessageDecoder) = FileDescriptorSet.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.FileDescriptorSet() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.FileDescriptorSet.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -22,12 +22,12 @@ data class FileDescriptorSet( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FileDescriptorProto.Companion)), jsonName = "file", - value = FileDescriptorSet::file + value = pbandk.wkt.FileDescriptorSet::file ) ) } pbandk.MessageDescriptor( - messageClass = FileDescriptorSet::class, + messageClass = pbandk.wkt.FileDescriptorSet::class, messageCompanion = this, fields = fieldsList ) @@ -53,12 +53,12 @@ data class FileDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FileDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = FileDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.FileDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.FileDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(12).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(12).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -66,7 +66,7 @@ data class FileDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = FileDescriptorProto::name + value = pbandk.wkt.FileDescriptorProto::name ) ) add( @@ -76,7 +76,7 @@ data class FileDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "package", - value = FileDescriptorProto::`package` + value = pbandk.wkt.FileDescriptorProto::`package` ) ) add( @@ -86,7 +86,7 @@ data class FileDescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "dependency", - value = FileDescriptorProto::dependency + value = pbandk.wkt.FileDescriptorProto::dependency ) ) add( @@ -96,7 +96,7 @@ data class FileDescriptorProto( number = 4, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.DescriptorProto.Companion)), jsonName = "messageType", - value = FileDescriptorProto::messageType + value = pbandk.wkt.FileDescriptorProto::messageType ) ) add( @@ -106,7 +106,7 @@ data class FileDescriptorProto( number = 5, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumDescriptorProto.Companion)), jsonName = "enumType", - value = FileDescriptorProto::enumType + value = pbandk.wkt.FileDescriptorProto::enumType ) ) add( @@ -116,7 +116,7 @@ data class FileDescriptorProto( number = 6, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.ServiceDescriptorProto.Companion)), jsonName = "service", - value = FileDescriptorProto::service + value = pbandk.wkt.FileDescriptorProto::service ) ) add( @@ -126,7 +126,7 @@ data class FileDescriptorProto( number = 7, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FieldDescriptorProto.Companion)), jsonName = "extension", - value = FileDescriptorProto::extension + value = pbandk.wkt.FileDescriptorProto::extension ) ) add( @@ -136,7 +136,7 @@ data class FileDescriptorProto( number = 8, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FileOptions.Companion), jsonName = "options", - value = FileDescriptorProto::options + value = pbandk.wkt.FileDescriptorProto::options ) ) add( @@ -146,7 +146,7 @@ data class FileDescriptorProto( number = 9, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.SourceCodeInfo.Companion), jsonName = "sourceCodeInfo", - value = FileDescriptorProto::sourceCodeInfo + value = pbandk.wkt.FileDescriptorProto::sourceCodeInfo ) ) add( @@ -156,7 +156,7 @@ data class FileDescriptorProto( number = 10, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "publicDependency", - value = FileDescriptorProto::publicDependency + value = pbandk.wkt.FileDescriptorProto::publicDependency ) ) add( @@ -166,7 +166,7 @@ data class FileDescriptorProto( number = 11, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32()), jsonName = "weakDependency", - value = FileDescriptorProto::weakDependency + value = pbandk.wkt.FileDescriptorProto::weakDependency ) ) add( @@ -176,12 +176,12 @@ data class FileDescriptorProto( number = 12, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "syntax", - value = FileDescriptorProto::syntax + value = pbandk.wkt.FileDescriptorProto::syntax ) ) } pbandk.MessageDescriptor( - messageClass = FileDescriptorProto::class, + messageClass = pbandk.wkt.FileDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -205,12 +205,12 @@ data class DescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { DescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = DescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.DescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.DescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(10).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(10).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -218,7 +218,7 @@ data class DescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = DescriptorProto::name + value = pbandk.wkt.DescriptorProto::name ) ) add( @@ -228,7 +228,7 @@ data class DescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FieldDescriptorProto.Companion)), jsonName = "field", - value = DescriptorProto::field + value = pbandk.wkt.DescriptorProto::field ) ) add( @@ -238,7 +238,7 @@ data class DescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.DescriptorProto.Companion)), jsonName = "nestedType", - value = DescriptorProto::nestedType + value = pbandk.wkt.DescriptorProto::nestedType ) ) add( @@ -248,7 +248,7 @@ data class DescriptorProto( number = 4, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumDescriptorProto.Companion)), jsonName = "enumType", - value = DescriptorProto::enumType + value = pbandk.wkt.DescriptorProto::enumType ) ) add( @@ -258,7 +258,7 @@ data class DescriptorProto( number = 5, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.DescriptorProto.ExtensionRange.Companion)), jsonName = "extensionRange", - value = DescriptorProto::extensionRange + value = pbandk.wkt.DescriptorProto::extensionRange ) ) add( @@ -268,7 +268,7 @@ data class DescriptorProto( number = 6, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FieldDescriptorProto.Companion)), jsonName = "extension", - value = DescriptorProto::extension + value = pbandk.wkt.DescriptorProto::extension ) ) add( @@ -278,7 +278,7 @@ data class DescriptorProto( number = 7, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.MessageOptions.Companion), jsonName = "options", - value = DescriptorProto::options + value = pbandk.wkt.DescriptorProto::options ) ) add( @@ -288,7 +288,7 @@ data class DescriptorProto( number = 8, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.OneofDescriptorProto.Companion)), jsonName = "oneofDecl", - value = DescriptorProto::oneofDecl + value = pbandk.wkt.DescriptorProto::oneofDecl ) ) add( @@ -298,7 +298,7 @@ data class DescriptorProto( number = 9, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.DescriptorProto.ReservedRange.Companion)), jsonName = "reservedRange", - value = DescriptorProto::reservedRange + value = pbandk.wkt.DescriptorProto::reservedRange ) ) add( @@ -308,12 +308,12 @@ data class DescriptorProto( number = 10, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "reservedName", - value = DescriptorProto::reservedName + value = pbandk.wkt.DescriptorProto::reservedName ) ) } pbandk.MessageDescriptor( - messageClass = DescriptorProto::class, + messageClass = pbandk.wkt.DescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -329,12 +329,12 @@ data class DescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { DescriptorProto.ExtensionRange() } - override fun decodeWith(u: pbandk.MessageDecoder) = DescriptorProto.ExtensionRange.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.DescriptorProto.ExtensionRange() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.DescriptorProto.ExtensionRange.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -342,7 +342,7 @@ data class DescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "start", - value = DescriptorProto.ExtensionRange::start + value = pbandk.wkt.DescriptorProto.ExtensionRange::start ) ) add( @@ -352,7 +352,7 @@ data class DescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "end", - value = DescriptorProto.ExtensionRange::end + value = pbandk.wkt.DescriptorProto.ExtensionRange::end ) ) add( @@ -362,12 +362,12 @@ data class DescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.ExtensionRangeOptions.Companion), jsonName = "options", - value = DescriptorProto.ExtensionRange::options + value = pbandk.wkt.DescriptorProto.ExtensionRange::options ) ) } pbandk.MessageDescriptor( - messageClass = DescriptorProto.ExtensionRange::class, + messageClass = pbandk.wkt.DescriptorProto.ExtensionRange::class, messageCompanion = this, fields = fieldsList ) @@ -383,12 +383,12 @@ data class DescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { DescriptorProto.ReservedRange() } - override fun decodeWith(u: pbandk.MessageDecoder) = DescriptorProto.ReservedRange.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.DescriptorProto.ReservedRange() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.DescriptorProto.ReservedRange.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -396,7 +396,7 @@ data class DescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "start", - value = DescriptorProto.ReservedRange::start + value = pbandk.wkt.DescriptorProto.ReservedRange::start ) ) add( @@ -406,12 +406,12 @@ data class DescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "end", - value = DescriptorProto.ReservedRange::end + value = pbandk.wkt.DescriptorProto.ReservedRange::end ) ) } pbandk.MessageDescriptor( - messageClass = DescriptorProto.ReservedRange::class, + messageClass = pbandk.wkt.DescriptorProto.ReservedRange::class, messageCompanion = this, fields = fieldsList ) @@ -427,12 +427,12 @@ data class ExtensionRangeOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ExtensionRangeOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = ExtensionRangeOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.ExtensionRangeOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.ExtensionRangeOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -440,12 +440,12 @@ data class ExtensionRangeOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = ExtensionRangeOptions::uninterpretedOption + value = pbandk.wkt.ExtensionRangeOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = ExtensionRangeOptions::class, + messageClass = pbandk.wkt.ExtensionRangeOptions::class, messageCompanion = this, fields = fieldsList ) @@ -469,12 +469,12 @@ data class FieldDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FieldDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = FieldDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.FieldDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.FieldDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(10).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(10).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -482,7 +482,7 @@ data class FieldDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = FieldDescriptorProto::name + value = pbandk.wkt.FieldDescriptorProto::name ) ) add( @@ -492,7 +492,7 @@ data class FieldDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "extendee", - value = FieldDescriptorProto::extendee + value = pbandk.wkt.FieldDescriptorProto::extendee ) ) add( @@ -502,7 +502,7 @@ data class FieldDescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "number", - value = FieldDescriptorProto::number + value = pbandk.wkt.FieldDescriptorProto::number ) ) add( @@ -512,7 +512,7 @@ data class FieldDescriptorProto( number = 4, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.FieldDescriptorProto.Label.Companion, hasPresence = true), jsonName = "label", - value = FieldDescriptorProto::label + value = pbandk.wkt.FieldDescriptorProto::label ) ) add( @@ -522,7 +522,7 @@ data class FieldDescriptorProto( number = 5, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.FieldDescriptorProto.Type.Companion, hasPresence = true), jsonName = "type", - value = FieldDescriptorProto::type + value = pbandk.wkt.FieldDescriptorProto::type ) ) add( @@ -532,7 +532,7 @@ data class FieldDescriptorProto( number = 6, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "typeName", - value = FieldDescriptorProto::typeName + value = pbandk.wkt.FieldDescriptorProto::typeName ) ) add( @@ -542,7 +542,7 @@ data class FieldDescriptorProto( number = 7, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "defaultValue", - value = FieldDescriptorProto::defaultValue + value = pbandk.wkt.FieldDescriptorProto::defaultValue ) ) add( @@ -552,7 +552,7 @@ data class FieldDescriptorProto( number = 8, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.FieldOptions.Companion), jsonName = "options", - value = FieldDescriptorProto::options + value = pbandk.wkt.FieldDescriptorProto::options ) ) add( @@ -562,7 +562,7 @@ data class FieldDescriptorProto( number = 9, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "oneofIndex", - value = FieldDescriptorProto::oneofIndex + value = pbandk.wkt.FieldDescriptorProto::oneofIndex ) ) add( @@ -572,12 +572,12 @@ data class FieldDescriptorProto( number = 10, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "jsonName", - value = FieldDescriptorProto::jsonName + value = pbandk.wkt.FieldDescriptorProto::jsonName ) ) } pbandk.MessageDescriptor( - messageClass = FieldDescriptorProto::class, + messageClass = pbandk.wkt.FieldDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -585,9 +585,9 @@ data class FieldDescriptorProto( } sealed class Type(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is FieldDescriptorProto.Type && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.FieldDescriptorProto.Type && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "FieldDescriptorProto.Type.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.FieldDescriptorProto.Type.${name ?: "UNRECOGNIZED"}(value=$value)" object DOUBLE : Type(1, "TYPE_DOUBLE") object FLOAT : Type(2, "TYPE_FLOAT") @@ -607,27 +607,27 @@ data class FieldDescriptorProto( object SFIXED64 : Type(16, "TYPE_SFIXED64") object SINT32 : Type(17, "TYPE_SINT32") object SINT64 : Type(18, "TYPE_SINT64") - class UNRECOGNIZED(value: Int) : FieldDescriptorProto.Type(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.FieldDescriptorProto.Type(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(DOUBLE, FLOAT, INT64, UINT64, INT32, FIXED64, FIXED32, BOOL, STRING, GROUP, MESSAGE, BYTES, UINT32, ENUM, SFIXED32, SFIXED64, SINT32, SINT64) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(DOUBLE, FLOAT, INT64, UINT64, INT32, FIXED64, FIXED32, BOOL, STRING, GROUP, MESSAGE, BYTES, UINT32, ENUM, SFIXED32, SFIXED64, SINT32, SINT64) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No Type with name: $name") } } sealed class Label(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is FieldDescriptorProto.Label && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.FieldDescriptorProto.Label && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "FieldDescriptorProto.Label.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.FieldDescriptorProto.Label.${name ?: "UNRECOGNIZED"}(value=$value)" object OPTIONAL : Label(1, "LABEL_OPTIONAL") object REQUIRED : Label(2, "LABEL_REQUIRED") object REPEATED : Label(3, "LABEL_REPEATED") - class UNRECOGNIZED(value: Int) : FieldDescriptorProto.Label(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.FieldDescriptorProto.Label(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(OPTIONAL, REQUIRED, REPEATED) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(OPTIONAL, REQUIRED, REPEATED) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No Label with name: $name") } @@ -642,12 +642,12 @@ data class OneofDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { OneofDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = OneofDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.OneofDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.OneofDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -655,7 +655,7 @@ data class OneofDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = OneofDescriptorProto::name + value = pbandk.wkt.OneofDescriptorProto::name ) ) add( @@ -665,12 +665,12 @@ data class OneofDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.OneofOptions.Companion), jsonName = "options", - value = OneofDescriptorProto::options + value = pbandk.wkt.OneofDescriptorProto::options ) ) } pbandk.MessageDescriptor( - messageClass = OneofDescriptorProto::class, + messageClass = pbandk.wkt.OneofDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -689,12 +689,12 @@ data class EnumDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { EnumDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = EnumDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.EnumDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.EnumDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(5).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(5).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -702,7 +702,7 @@ data class EnumDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = EnumDescriptorProto::name + value = pbandk.wkt.EnumDescriptorProto::name ) ) add( @@ -712,7 +712,7 @@ data class EnumDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumValueDescriptorProto.Companion)), jsonName = "value", - value = EnumDescriptorProto::value + value = pbandk.wkt.EnumDescriptorProto::value ) ) add( @@ -722,7 +722,7 @@ data class EnumDescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumOptions.Companion), jsonName = "options", - value = EnumDescriptorProto::options + value = pbandk.wkt.EnumDescriptorProto::options ) ) add( @@ -732,7 +732,7 @@ data class EnumDescriptorProto( number = 4, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumDescriptorProto.EnumReservedRange.Companion)), jsonName = "reservedRange", - value = EnumDescriptorProto::reservedRange + value = pbandk.wkt.EnumDescriptorProto::reservedRange ) ) add( @@ -742,12 +742,12 @@ data class EnumDescriptorProto( number = 5, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "reservedName", - value = EnumDescriptorProto::reservedName + value = pbandk.wkt.EnumDescriptorProto::reservedName ) ) } pbandk.MessageDescriptor( - messageClass = EnumDescriptorProto::class, + messageClass = pbandk.wkt.EnumDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -762,12 +762,12 @@ data class EnumDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { EnumDescriptorProto.EnumReservedRange() } - override fun decodeWith(u: pbandk.MessageDecoder) = EnumDescriptorProto.EnumReservedRange.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.EnumDescriptorProto.EnumReservedRange() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.EnumDescriptorProto.EnumReservedRange.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -775,7 +775,7 @@ data class EnumDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "start", - value = EnumDescriptorProto.EnumReservedRange::start + value = pbandk.wkt.EnumDescriptorProto.EnumReservedRange::start ) ) add( @@ -785,12 +785,12 @@ data class EnumDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "end", - value = EnumDescriptorProto.EnumReservedRange::end + value = pbandk.wkt.EnumDescriptorProto.EnumReservedRange::end ) ) } pbandk.MessageDescriptor( - messageClass = EnumDescriptorProto.EnumReservedRange::class, + messageClass = pbandk.wkt.EnumDescriptorProto.EnumReservedRange::class, messageCompanion = this, fields = fieldsList ) @@ -808,12 +808,12 @@ data class EnumValueDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { EnumValueDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = EnumValueDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.EnumValueDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.EnumValueDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -821,7 +821,7 @@ data class EnumValueDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = EnumValueDescriptorProto::name + value = pbandk.wkt.EnumValueDescriptorProto::name ) ) add( @@ -831,7 +831,7 @@ data class EnumValueDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "number", - value = EnumValueDescriptorProto::number + value = pbandk.wkt.EnumValueDescriptorProto::number ) ) add( @@ -841,12 +841,12 @@ data class EnumValueDescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumValueOptions.Companion), jsonName = "options", - value = EnumValueDescriptorProto::options + value = pbandk.wkt.EnumValueDescriptorProto::options ) ) } pbandk.MessageDescriptor( - messageClass = EnumValueDescriptorProto::class, + messageClass = pbandk.wkt.EnumValueDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -863,12 +863,12 @@ data class ServiceDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ServiceDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = ServiceDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.ServiceDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.ServiceDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -876,7 +876,7 @@ data class ServiceDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = ServiceDescriptorProto::name + value = pbandk.wkt.ServiceDescriptorProto::name ) ) add( @@ -886,7 +886,7 @@ data class ServiceDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.MethodDescriptorProto.Companion)), jsonName = "method", - value = ServiceDescriptorProto::method + value = pbandk.wkt.ServiceDescriptorProto::method ) ) add( @@ -896,12 +896,12 @@ data class ServiceDescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.ServiceOptions.Companion), jsonName = "options", - value = ServiceDescriptorProto::options + value = pbandk.wkt.ServiceDescriptorProto::options ) ) } pbandk.MessageDescriptor( - messageClass = ServiceDescriptorProto::class, + messageClass = pbandk.wkt.ServiceDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -921,12 +921,12 @@ data class MethodDescriptorProto( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { MethodDescriptorProto() } - override fun decodeWith(u: pbandk.MessageDecoder) = MethodDescriptorProto.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.MethodDescriptorProto() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.MethodDescriptorProto.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(6).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(6).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -934,7 +934,7 @@ data class MethodDescriptorProto( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "name", - value = MethodDescriptorProto::name + value = pbandk.wkt.MethodDescriptorProto::name ) ) add( @@ -944,7 +944,7 @@ data class MethodDescriptorProto( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "inputType", - value = MethodDescriptorProto::inputType + value = pbandk.wkt.MethodDescriptorProto::inputType ) ) add( @@ -954,7 +954,7 @@ data class MethodDescriptorProto( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "outputType", - value = MethodDescriptorProto::outputType + value = pbandk.wkt.MethodDescriptorProto::outputType ) ) add( @@ -964,7 +964,7 @@ data class MethodDescriptorProto( number = 4, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.MethodOptions.Companion), jsonName = "options", - value = MethodDescriptorProto::options + value = pbandk.wkt.MethodDescriptorProto::options ) ) add( @@ -974,7 +974,7 @@ data class MethodDescriptorProto( number = 5, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "clientStreaming", - value = MethodDescriptorProto::clientStreaming + value = pbandk.wkt.MethodDescriptorProto::clientStreaming ) ) add( @@ -984,12 +984,12 @@ data class MethodDescriptorProto( number = 6, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "serverStreaming", - value = MethodDescriptorProto::serverStreaming + value = pbandk.wkt.MethodDescriptorProto::serverStreaming ) ) } pbandk.MessageDescriptor( - messageClass = MethodDescriptorProto::class, + messageClass = pbandk.wkt.MethodDescriptorProto::class, messageCompanion = this, fields = fieldsList ) @@ -1024,12 +1024,12 @@ data class FileOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FileOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = FileOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.FileOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.FileOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(21).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(21).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1037,7 +1037,7 @@ data class FileOptions( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "javaPackage", - value = FileOptions::javaPackage + value = pbandk.wkt.FileOptions::javaPackage ) ) add( @@ -1047,7 +1047,7 @@ data class FileOptions( number = 8, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "javaOuterClassname", - value = FileOptions::javaOuterClassname + value = pbandk.wkt.FileOptions::javaOuterClassname ) ) add( @@ -1057,7 +1057,7 @@ data class FileOptions( number = 9, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.FileOptions.OptimizeMode.Companion, hasPresence = true), jsonName = "optimizeFor", - value = FileOptions::optimizeFor + value = pbandk.wkt.FileOptions::optimizeFor ) ) add( @@ -1067,7 +1067,7 @@ data class FileOptions( number = 10, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "javaMultipleFiles", - value = FileOptions::javaMultipleFiles + value = pbandk.wkt.FileOptions::javaMultipleFiles ) ) add( @@ -1077,7 +1077,7 @@ data class FileOptions( number = 11, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "goPackage", - value = FileOptions::goPackage + value = pbandk.wkt.FileOptions::goPackage ) ) add( @@ -1087,7 +1087,7 @@ data class FileOptions( number = 16, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "ccGenericServices", - value = FileOptions::ccGenericServices + value = pbandk.wkt.FileOptions::ccGenericServices ) ) add( @@ -1097,7 +1097,7 @@ data class FileOptions( number = 17, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "javaGenericServices", - value = FileOptions::javaGenericServices + value = pbandk.wkt.FileOptions::javaGenericServices ) ) add( @@ -1107,7 +1107,7 @@ data class FileOptions( number = 18, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "pyGenericServices", - value = FileOptions::pyGenericServices + value = pbandk.wkt.FileOptions::pyGenericServices ) ) add( @@ -1117,7 +1117,7 @@ data class FileOptions( number = 20, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "javaGenerateEqualsAndHash", - value = FileOptions::javaGenerateEqualsAndHash + value = pbandk.wkt.FileOptions::javaGenerateEqualsAndHash ) ) add( @@ -1127,7 +1127,7 @@ data class FileOptions( number = 23, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = FileOptions::deprecated + value = pbandk.wkt.FileOptions::deprecated ) ) add( @@ -1137,7 +1137,7 @@ data class FileOptions( number = 27, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "javaStringCheckUtf8", - value = FileOptions::javaStringCheckUtf8 + value = pbandk.wkt.FileOptions::javaStringCheckUtf8 ) ) add( @@ -1147,7 +1147,7 @@ data class FileOptions( number = 31, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "ccEnableArenas", - value = FileOptions::ccEnableArenas + value = pbandk.wkt.FileOptions::ccEnableArenas ) ) add( @@ -1157,7 +1157,7 @@ data class FileOptions( number = 36, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "objcClassPrefix", - value = FileOptions::objcClassPrefix + value = pbandk.wkt.FileOptions::objcClassPrefix ) ) add( @@ -1167,7 +1167,7 @@ data class FileOptions( number = 37, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "csharpNamespace", - value = FileOptions::csharpNamespace + value = pbandk.wkt.FileOptions::csharpNamespace ) ) add( @@ -1177,7 +1177,7 @@ data class FileOptions( number = 39, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "swiftPrefix", - value = FileOptions::swiftPrefix + value = pbandk.wkt.FileOptions::swiftPrefix ) ) add( @@ -1187,7 +1187,7 @@ data class FileOptions( number = 40, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "phpClassPrefix", - value = FileOptions::phpClassPrefix + value = pbandk.wkt.FileOptions::phpClassPrefix ) ) add( @@ -1197,7 +1197,7 @@ data class FileOptions( number = 41, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "phpNamespace", - value = FileOptions::phpNamespace + value = pbandk.wkt.FileOptions::phpNamespace ) ) add( @@ -1207,7 +1207,7 @@ data class FileOptions( number = 42, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "phpGenericServices", - value = FileOptions::phpGenericServices + value = pbandk.wkt.FileOptions::phpGenericServices ) ) add( @@ -1217,7 +1217,7 @@ data class FileOptions( number = 44, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "phpMetadataNamespace", - value = FileOptions::phpMetadataNamespace + value = pbandk.wkt.FileOptions::phpMetadataNamespace ) ) add( @@ -1227,7 +1227,7 @@ data class FileOptions( number = 45, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "rubyPackage", - value = FileOptions::rubyPackage + value = pbandk.wkt.FileOptions::rubyPackage ) ) add( @@ -1237,12 +1237,12 @@ data class FileOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = FileOptions::uninterpretedOption + value = pbandk.wkt.FileOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = FileOptions::class, + messageClass = pbandk.wkt.FileOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1250,17 +1250,17 @@ data class FileOptions( } sealed class OptimizeMode(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is FileOptions.OptimizeMode && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.FileOptions.OptimizeMode && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "FileOptions.OptimizeMode.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.FileOptions.OptimizeMode.${name ?: "UNRECOGNIZED"}(value=$value)" object SPEED : OptimizeMode(1, "SPEED") object CODE_SIZE : OptimizeMode(2, "CODE_SIZE") object LITE_RUNTIME : OptimizeMode(3, "LITE_RUNTIME") - class UNRECOGNIZED(value: Int) : FileOptions.OptimizeMode(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.FileOptions.OptimizeMode(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(SPEED, CODE_SIZE, LITE_RUNTIME) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(SPEED, CODE_SIZE, LITE_RUNTIME) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No OptimizeMode with name: $name") } @@ -1278,12 +1278,12 @@ data class MessageOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { MessageOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = MessageOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.MessageOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.MessageOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(5).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(5).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1291,7 +1291,7 @@ data class MessageOptions( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "messageSetWireFormat", - value = MessageOptions::messageSetWireFormat + value = pbandk.wkt.MessageOptions::messageSetWireFormat ) ) add( @@ -1301,7 +1301,7 @@ data class MessageOptions( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "noStandardDescriptorAccessor", - value = MessageOptions::noStandardDescriptorAccessor + value = pbandk.wkt.MessageOptions::noStandardDescriptorAccessor ) ) add( @@ -1311,7 +1311,7 @@ data class MessageOptions( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = MessageOptions::deprecated + value = pbandk.wkt.MessageOptions::deprecated ) ) add( @@ -1321,7 +1321,7 @@ data class MessageOptions( number = 7, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "mapEntry", - value = MessageOptions::mapEntry + value = pbandk.wkt.MessageOptions::mapEntry ) ) add( @@ -1331,12 +1331,12 @@ data class MessageOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = MessageOptions::uninterpretedOption + value = pbandk.wkt.MessageOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = MessageOptions::class, + messageClass = pbandk.wkt.MessageOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1357,12 +1357,12 @@ data class FieldOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FieldOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = FieldOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.FieldOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.FieldOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(7).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(7).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1370,7 +1370,7 @@ data class FieldOptions( number = 1, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.FieldOptions.CType.Companion, hasPresence = true), jsonName = "ctype", - value = FieldOptions::ctype + value = pbandk.wkt.FieldOptions::ctype ) ) add( @@ -1380,7 +1380,7 @@ data class FieldOptions( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "packed", - value = FieldOptions::packed + value = pbandk.wkt.FieldOptions::packed ) ) add( @@ -1390,7 +1390,7 @@ data class FieldOptions( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = FieldOptions::deprecated + value = pbandk.wkt.FieldOptions::deprecated ) ) add( @@ -1400,7 +1400,7 @@ data class FieldOptions( number = 5, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "lazy", - value = FieldOptions::lazy + value = pbandk.wkt.FieldOptions::lazy ) ) add( @@ -1410,7 +1410,7 @@ data class FieldOptions( number = 6, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.FieldOptions.JSType.Companion, hasPresence = true), jsonName = "jstype", - value = FieldOptions::jstype + value = pbandk.wkt.FieldOptions::jstype ) ) add( @@ -1420,7 +1420,7 @@ data class FieldOptions( number = 10, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "weak", - value = FieldOptions::weak + value = pbandk.wkt.FieldOptions::weak ) ) add( @@ -1430,12 +1430,12 @@ data class FieldOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = FieldOptions::uninterpretedOption + value = pbandk.wkt.FieldOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = FieldOptions::class, + messageClass = pbandk.wkt.FieldOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1443,34 +1443,34 @@ data class FieldOptions( } sealed class CType(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is FieldOptions.CType && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.FieldOptions.CType && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "FieldOptions.CType.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.FieldOptions.CType.${name ?: "UNRECOGNIZED"}(value=$value)" object STRING : CType(0, "STRING") object CORD : CType(1, "CORD") object STRING_PIECE : CType(2, "STRING_PIECE") - class UNRECOGNIZED(value: Int) : FieldOptions.CType(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.FieldOptions.CType(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(STRING, CORD, STRING_PIECE) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(STRING, CORD, STRING_PIECE) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No CType with name: $name") } } sealed class JSType(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is FieldOptions.JSType && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.FieldOptions.JSType && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "FieldOptions.JSType.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.FieldOptions.JSType.${name ?: "UNRECOGNIZED"}(value=$value)" object JS_NORMAL : JSType(0, "JS_NORMAL") object JS_STRING : JSType(1, "JS_STRING") object JS_NUMBER : JSType(2, "JS_NUMBER") - class UNRECOGNIZED(value: Int) : FieldOptions.JSType(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.FieldOptions.JSType(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(JS_NORMAL, JS_STRING, JS_NUMBER) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(JS_NORMAL, JS_STRING, JS_NUMBER) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No JSType with name: $name") } @@ -1484,12 +1484,12 @@ data class OneofOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { OneofOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = OneofOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.OneofOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.OneofOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1497,12 +1497,12 @@ data class OneofOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = OneofOptions::uninterpretedOption + value = pbandk.wkt.OneofOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = OneofOptions::class, + messageClass = pbandk.wkt.OneofOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1519,12 +1519,12 @@ data class EnumOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { EnumOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = EnumOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.EnumOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.EnumOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1532,7 +1532,7 @@ data class EnumOptions( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "allowAlias", - value = EnumOptions::allowAlias + value = pbandk.wkt.EnumOptions::allowAlias ) ) add( @@ -1542,7 +1542,7 @@ data class EnumOptions( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = EnumOptions::deprecated + value = pbandk.wkt.EnumOptions::deprecated ) ) add( @@ -1552,12 +1552,12 @@ data class EnumOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = EnumOptions::uninterpretedOption + value = pbandk.wkt.EnumOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = EnumOptions::class, + messageClass = pbandk.wkt.EnumOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1573,12 +1573,12 @@ data class EnumValueOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { EnumValueOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = EnumValueOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.EnumValueOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.EnumValueOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1586,7 +1586,7 @@ data class EnumValueOptions( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = EnumValueOptions::deprecated + value = pbandk.wkt.EnumValueOptions::deprecated ) ) add( @@ -1596,12 +1596,12 @@ data class EnumValueOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = EnumValueOptions::uninterpretedOption + value = pbandk.wkt.EnumValueOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = EnumValueOptions::class, + messageClass = pbandk.wkt.EnumValueOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1617,12 +1617,12 @@ data class ServiceOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ServiceOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = ServiceOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.ServiceOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.ServiceOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1630,7 +1630,7 @@ data class ServiceOptions( number = 33, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = ServiceOptions::deprecated + value = pbandk.wkt.ServiceOptions::deprecated ) ) add( @@ -1640,12 +1640,12 @@ data class ServiceOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = ServiceOptions::uninterpretedOption + value = pbandk.wkt.ServiceOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = ServiceOptions::class, + messageClass = pbandk.wkt.ServiceOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1662,12 +1662,12 @@ data class MethodOptions( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { MethodOptions() } - override fun decodeWith(u: pbandk.MessageDecoder) = MethodOptions.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.MethodOptions() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.MethodOptions.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1675,7 +1675,7 @@ data class MethodOptions( number = 33, type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), jsonName = "deprecated", - value = MethodOptions::deprecated + value = pbandk.wkt.MethodOptions::deprecated ) ) add( @@ -1685,7 +1685,7 @@ data class MethodOptions( number = 34, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.MethodOptions.IdempotencyLevel.Companion, hasPresence = true), jsonName = "idempotencyLevel", - value = MethodOptions::idempotencyLevel + value = pbandk.wkt.MethodOptions::idempotencyLevel ) ) add( @@ -1695,12 +1695,12 @@ data class MethodOptions( number = 999, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.Companion)), jsonName = "uninterpretedOption", - value = MethodOptions::uninterpretedOption + value = pbandk.wkt.MethodOptions::uninterpretedOption ) ) } pbandk.MessageDescriptor( - messageClass = MethodOptions::class, + messageClass = pbandk.wkt.MethodOptions::class, messageCompanion = this, fields = fieldsList ) @@ -1708,17 +1708,17 @@ data class MethodOptions( } sealed class IdempotencyLevel(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is MethodOptions.IdempotencyLevel && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.MethodOptions.IdempotencyLevel && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "MethodOptions.IdempotencyLevel.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.MethodOptions.IdempotencyLevel.${name ?: "UNRECOGNIZED"}(value=$value)" object IDEMPOTENCY_UNKNOWN : IdempotencyLevel(0, "IDEMPOTENCY_UNKNOWN") object NO_SIDE_EFFECTS : IdempotencyLevel(1, "NO_SIDE_EFFECTS") object IDEMPOTENT : IdempotencyLevel(2, "IDEMPOTENT") - class UNRECOGNIZED(value: Int) : MethodOptions.IdempotencyLevel(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.MethodOptions.IdempotencyLevel(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(IDEMPOTENCY_UNKNOWN, NO_SIDE_EFFECTS, IDEMPOTENT) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(IDEMPOTENCY_UNKNOWN, NO_SIDE_EFFECTS, IDEMPOTENT) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No IdempotencyLevel with name: $name") } @@ -1738,12 +1738,12 @@ data class UninterpretedOption( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { UninterpretedOption() } - override fun decodeWith(u: pbandk.MessageDecoder) = UninterpretedOption.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.UninterpretedOption() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.UninterpretedOption.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(7).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(7).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1751,7 +1751,7 @@ data class UninterpretedOption( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.UninterpretedOption.NamePart.Companion)), jsonName = "name", - value = UninterpretedOption::name + value = pbandk.wkt.UninterpretedOption::name ) ) add( @@ -1761,7 +1761,7 @@ data class UninterpretedOption( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "identifierValue", - value = UninterpretedOption::identifierValue + value = pbandk.wkt.UninterpretedOption::identifierValue ) ) add( @@ -1771,7 +1771,7 @@ data class UninterpretedOption( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.UInt64(hasPresence = true), jsonName = "positiveIntValue", - value = UninterpretedOption::positiveIntValue + value = pbandk.wkt.UninterpretedOption::positiveIntValue ) ) add( @@ -1781,7 +1781,7 @@ data class UninterpretedOption( number = 5, type = pbandk.FieldDescriptor.Type.Primitive.Int64(hasPresence = true), jsonName = "negativeIntValue", - value = UninterpretedOption::negativeIntValue + value = pbandk.wkt.UninterpretedOption::negativeIntValue ) ) add( @@ -1791,7 +1791,7 @@ data class UninterpretedOption( number = 6, type = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true), jsonName = "doubleValue", - value = UninterpretedOption::doubleValue + value = pbandk.wkt.UninterpretedOption::doubleValue ) ) add( @@ -1801,7 +1801,7 @@ data class UninterpretedOption( number = 7, type = pbandk.FieldDescriptor.Type.Primitive.Bytes(hasPresence = true), jsonName = "stringValue", - value = UninterpretedOption::stringValue + value = pbandk.wkt.UninterpretedOption::stringValue ) ) add( @@ -1811,12 +1811,12 @@ data class UninterpretedOption( number = 8, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "aggregateValue", - value = UninterpretedOption::aggregateValue + value = pbandk.wkt.UninterpretedOption::aggregateValue ) ) } pbandk.MessageDescriptor( - messageClass = UninterpretedOption::class, + messageClass = pbandk.wkt.UninterpretedOption::class, messageCompanion = this, fields = fieldsList ) @@ -1831,12 +1831,12 @@ data class UninterpretedOption( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { UninterpretedOption.NamePart() } - override fun decodeWith(u: pbandk.MessageDecoder) = UninterpretedOption.NamePart.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.UninterpretedOption.NamePart() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.UninterpretedOption.NamePart.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1844,7 +1844,7 @@ data class UninterpretedOption( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "namePart", - value = UninterpretedOption.NamePart::namePart + value = pbandk.wkt.UninterpretedOption.NamePart::namePart ) ) add( @@ -1854,12 +1854,12 @@ data class UninterpretedOption( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "isExtension", - value = UninterpretedOption.NamePart::isExtension + value = pbandk.wkt.UninterpretedOption.NamePart::isExtension ) ) } pbandk.MessageDescriptor( - messageClass = UninterpretedOption.NamePart::class, + messageClass = pbandk.wkt.UninterpretedOption.NamePart::class, messageCompanion = this, fields = fieldsList ) @@ -1875,12 +1875,12 @@ data class SourceCodeInfo( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { SourceCodeInfo() } - override fun decodeWith(u: pbandk.MessageDecoder) = SourceCodeInfo.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.SourceCodeInfo() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.SourceCodeInfo.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1888,12 +1888,12 @@ data class SourceCodeInfo( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.SourceCodeInfo.Location.Companion)), jsonName = "location", - value = SourceCodeInfo::location + value = pbandk.wkt.SourceCodeInfo::location ) ) } pbandk.MessageDescriptor( - messageClass = SourceCodeInfo::class, + messageClass = pbandk.wkt.SourceCodeInfo::class, messageCompanion = this, fields = fieldsList ) @@ -1911,12 +1911,12 @@ data class SourceCodeInfo( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { SourceCodeInfo.Location() } - override fun decodeWith(u: pbandk.MessageDecoder) = SourceCodeInfo.Location.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.SourceCodeInfo.Location() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.SourceCodeInfo.Location.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(5).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(5).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1924,7 +1924,7 @@ data class SourceCodeInfo( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(), packed = true), jsonName = "path", - value = SourceCodeInfo.Location::path + value = pbandk.wkt.SourceCodeInfo.Location::path ) ) add( @@ -1934,7 +1934,7 @@ data class SourceCodeInfo( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(), packed = true), jsonName = "span", - value = SourceCodeInfo.Location::span + value = pbandk.wkt.SourceCodeInfo.Location::span ) ) add( @@ -1944,7 +1944,7 @@ data class SourceCodeInfo( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "leadingComments", - value = SourceCodeInfo.Location::leadingComments + value = pbandk.wkt.SourceCodeInfo.Location::leadingComments ) ) add( @@ -1954,7 +1954,7 @@ data class SourceCodeInfo( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "trailingComments", - value = SourceCodeInfo.Location::trailingComments + value = pbandk.wkt.SourceCodeInfo.Location::trailingComments ) ) add( @@ -1964,12 +1964,12 @@ data class SourceCodeInfo( number = 6, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "leadingDetachedComments", - value = SourceCodeInfo.Location::leadingDetachedComments + value = pbandk.wkt.SourceCodeInfo.Location::leadingDetachedComments ) ) } pbandk.MessageDescriptor( - messageClass = SourceCodeInfo.Location::class, + messageClass = pbandk.wkt.SourceCodeInfo.Location::class, messageCompanion = this, fields = fieldsList ) @@ -1985,12 +1985,12 @@ data class GeneratedCodeInfo( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { GeneratedCodeInfo() } - override fun decodeWith(u: pbandk.MessageDecoder) = GeneratedCodeInfo.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.GeneratedCodeInfo() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.GeneratedCodeInfo.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -1998,12 +1998,12 @@ data class GeneratedCodeInfo( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.GeneratedCodeInfo.Annotation.Companion)), jsonName = "annotation", - value = GeneratedCodeInfo::annotation + value = pbandk.wkt.GeneratedCodeInfo::annotation ) ) } pbandk.MessageDescriptor( - messageClass = GeneratedCodeInfo::class, + messageClass = pbandk.wkt.GeneratedCodeInfo::class, messageCompanion = this, fields = fieldsList ) @@ -2020,12 +2020,12 @@ data class GeneratedCodeInfo( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { GeneratedCodeInfo.Annotation() } - override fun decodeWith(u: pbandk.MessageDecoder) = GeneratedCodeInfo.Annotation.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.GeneratedCodeInfo.Annotation() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.GeneratedCodeInfo.Annotation.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(4).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(4).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -2033,7 +2033,7 @@ data class GeneratedCodeInfo( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.Int32(), packed = true), jsonName = "path", - value = GeneratedCodeInfo.Annotation::path + value = pbandk.wkt.GeneratedCodeInfo.Annotation::path ) ) add( @@ -2043,7 +2043,7 @@ data class GeneratedCodeInfo( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), jsonName = "sourceFile", - value = GeneratedCodeInfo.Annotation::sourceFile + value = pbandk.wkt.GeneratedCodeInfo.Annotation::sourceFile ) ) add( @@ -2053,7 +2053,7 @@ data class GeneratedCodeInfo( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "begin", - value = GeneratedCodeInfo.Annotation::begin + value = pbandk.wkt.GeneratedCodeInfo.Annotation::begin ) ) add( @@ -2063,12 +2063,12 @@ data class GeneratedCodeInfo( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.Int32(hasPresence = true), jsonName = "end", - value = GeneratedCodeInfo.Annotation::end + value = pbandk.wkt.GeneratedCodeInfo.Annotation::end ) ) } pbandk.MessageDescriptor( - messageClass = GeneratedCodeInfo.Annotation::class, + messageClass = pbandk.wkt.GeneratedCodeInfo.Annotation::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/duration.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/duration.kt index 55fdbf53..772e7e91 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/duration.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/duration.kt @@ -10,12 +10,12 @@ data class Duration( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Duration() } - override fun decodeWith(u: pbandk.MessageDecoder) = Duration.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Duration() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Duration.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -23,7 +23,7 @@ data class Duration( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int64(), jsonName = "seconds", - value = Duration::seconds + value = pbandk.wkt.Duration::seconds ) ) add( @@ -33,12 +33,12 @@ data class Duration( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "nanos", - value = Duration::nanos + value = pbandk.wkt.Duration::nanos ) ) } pbandk.MessageDescriptor( - messageClass = Duration::class, + messageClass = pbandk.wkt.Duration::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/empty.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/empty.kt index 44588493..a26b34b7 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/empty.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/empty.kt @@ -8,15 +8,15 @@ data class Empty( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Empty() } - override fun decodeWith(u: pbandk.MessageDecoder) = Empty.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Empty() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Empty.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(0).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(0).apply { } pbandk.MessageDescriptor( - messageClass = Empty::class, + messageClass = pbandk.wkt.Empty::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/field_mask.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/field_mask.kt index 96ed7b31..e5a3ff3d 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/field_mask.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/field_mask.kt @@ -9,12 +9,12 @@ data class FieldMask( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { FieldMask() } - override fun decodeWith(u: pbandk.MessageDecoder) = FieldMask.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.FieldMask() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.FieldMask.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -22,12 +22,12 @@ data class FieldMask( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "paths", - value = FieldMask::paths + value = pbandk.wkt.FieldMask::paths ) ) } pbandk.MessageDescriptor( - messageClass = FieldMask::class, + messageClass = pbandk.wkt.FieldMask::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/source_context.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/source_context.kt index 528ef701..0c53eb6b 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/source_context.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/source_context.kt @@ -9,12 +9,12 @@ data class SourceContext( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { SourceContext() } - override fun decodeWith(u: pbandk.MessageDecoder) = SourceContext.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.SourceContext() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.SourceContext.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -22,12 +22,12 @@ data class SourceContext( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "fileName", - value = SourceContext::fileName + value = pbandk.wkt.SourceContext::fileName ) ) } pbandk.MessageDescriptor( - messageClass = SourceContext::class, + messageClass = pbandk.wkt.SourceContext::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/struct.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/struct.kt index cc97a94e..a7dc6fa6 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/struct.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/struct.kt @@ -24,12 +24,12 @@ data class Struct( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Struct() } - override fun decodeWith(u: pbandk.MessageDecoder) = Struct.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Struct() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Struct.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -37,12 +37,12 @@ data class Struct( number = 1, type = pbandk.FieldDescriptor.Type.Map(keyType = pbandk.FieldDescriptor.Type.Primitive.String(), valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Value.Companion)), jsonName = "fields", - value = Struct::fields + value = pbandk.wkt.Struct::fields ) ) } pbandk.MessageDescriptor( - messageClass = Struct::class, + messageClass = pbandk.wkt.Struct::class, messageCompanion = this, fields = fieldsList ) @@ -57,12 +57,12 @@ data class Struct( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Struct.FieldsEntry() } - override fun decodeWith(u: pbandk.MessageDecoder) = Struct.FieldsEntry.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Struct.FieldsEntry() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Struct.FieldsEntry.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -70,7 +70,7 @@ data class Struct( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "key", - value = Struct.FieldsEntry::key + value = pbandk.wkt.Struct.FieldsEntry::key ) ) add( @@ -80,12 +80,12 @@ data class Struct( number = 2, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Value.Companion), jsonName = "value", - value = Struct.FieldsEntry::value + value = pbandk.wkt.Struct.FieldsEntry::value ) ) } pbandk.MessageDescriptor( - messageClass = Struct.FieldsEntry::class, + messageClass = pbandk.wkt.Struct.FieldsEntry::class, messageCompanion = this, fields = fieldsList ) @@ -123,12 +123,12 @@ data class Value( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Value() } - override fun decodeWith(u: pbandk.MessageDecoder) = Value.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Value() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Value.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(6).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(6).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -137,7 +137,7 @@ data class Value( type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.NullValue.Companion, hasPresence = true), oneofMember = true, jsonName = "nullValue", - value = Value::nullValue + value = pbandk.wkt.Value::nullValue ) ) add( @@ -148,7 +148,7 @@ data class Value( type = pbandk.FieldDescriptor.Type.Primitive.Double(hasPresence = true), oneofMember = true, jsonName = "numberValue", - value = Value::numberValue + value = pbandk.wkt.Value::numberValue ) ) add( @@ -159,7 +159,7 @@ data class Value( type = pbandk.FieldDescriptor.Type.Primitive.String(hasPresence = true), oneofMember = true, jsonName = "stringValue", - value = Value::stringValue + value = pbandk.wkt.Value::stringValue ) ) add( @@ -170,7 +170,7 @@ data class Value( type = pbandk.FieldDescriptor.Type.Primitive.Bool(hasPresence = true), oneofMember = true, jsonName = "boolValue", - value = Value::boolValue + value = pbandk.wkt.Value::boolValue ) ) add( @@ -181,7 +181,7 @@ data class Value( type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Struct.Companion), oneofMember = true, jsonName = "structValue", - value = Value::structValue + value = pbandk.wkt.Value::structValue ) ) add( @@ -192,12 +192,12 @@ data class Value( type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.ListValue.Companion), oneofMember = true, jsonName = "listValue", - value = Value::listValue + value = pbandk.wkt.Value::listValue ) ) } pbandk.MessageDescriptor( - messageClass = Value::class, + messageClass = pbandk.wkt.Value::class, messageCompanion = this, fields = fieldsList ) @@ -212,12 +212,12 @@ data class ListValue( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { ListValue() } - override fun decodeWith(u: pbandk.MessageDecoder) = ListValue.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.ListValue() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.ListValue.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(1).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(1).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -225,12 +225,12 @@ data class ListValue( number = 1, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Value.Companion)), jsonName = "values", - value = ListValue::values + value = pbandk.wkt.ListValue::values ) ) } pbandk.MessageDescriptor( - messageClass = ListValue::class, + messageClass = pbandk.wkt.ListValue::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/timestamp.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/timestamp.kt index 6370f347..d2a83216 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/timestamp.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/timestamp.kt @@ -10,12 +10,12 @@ data class Timestamp( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Timestamp() } - override fun decodeWith(u: pbandk.MessageDecoder) = Timestamp.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Timestamp() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Timestamp.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(2).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(2).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -23,7 +23,7 @@ data class Timestamp( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.Int64(), jsonName = "seconds", - value = Timestamp::seconds + value = pbandk.wkt.Timestamp::seconds ) ) add( @@ -33,12 +33,12 @@ data class Timestamp( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "nanos", - value = Timestamp::nanos + value = pbandk.wkt.Timestamp::nanos ) ) } pbandk.MessageDescriptor( - messageClass = Timestamp::class, + messageClass = pbandk.wkt.Timestamp::class, messageCompanion = this, fields = fieldsList ) diff --git a/runtime/src/commonMain/kotlin/pbandk/wkt/type.kt b/runtime/src/commonMain/kotlin/pbandk/wkt/type.kt index fb07a8f9..488e8584 100644 --- a/runtime/src/commonMain/kotlin/pbandk/wkt/type.kt +++ b/runtime/src/commonMain/kotlin/pbandk/wkt/type.kt @@ -30,12 +30,12 @@ data class Type( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Type() } - override fun decodeWith(u: pbandk.MessageDecoder) = Type.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Type() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Type.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(6).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(6).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -43,7 +43,7 @@ data class Type( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = Type::name + value = pbandk.wkt.Type::name ) ) add( @@ -53,7 +53,7 @@ data class Type( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Field.Companion)), jsonName = "fields", - value = Type::fields + value = pbandk.wkt.Type::fields ) ) add( @@ -63,7 +63,7 @@ data class Type( number = 3, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Primitive.String()), jsonName = "oneofs", - value = Type::oneofs + value = pbandk.wkt.Type::oneofs ) ) add( @@ -73,7 +73,7 @@ data class Type( number = 4, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Option.Companion)), jsonName = "options", - value = Type::options + value = pbandk.wkt.Type::options ) ) add( @@ -83,7 +83,7 @@ data class Type( number = 5, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.SourceContext.Companion), jsonName = "sourceContext", - value = Type::sourceContext + value = pbandk.wkt.Type::sourceContext ) ) add( @@ -93,12 +93,12 @@ data class Type( number = 6, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.Syntax.Companion), jsonName = "syntax", - value = Type::syntax + value = pbandk.wkt.Type::syntax ) ) } pbandk.MessageDescriptor( - messageClass = Type::class, + messageClass = pbandk.wkt.Type::class, messageCompanion = this, fields = fieldsList ) @@ -122,12 +122,12 @@ data class Field( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Field() } - override fun decodeWith(u: pbandk.MessageDecoder) = Field.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Field() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Field.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(10).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(10).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -135,7 +135,7 @@ data class Field( number = 1, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.Field.Kind.Companion), jsonName = "kind", - value = Field::kind + value = pbandk.wkt.Field::kind ) ) add( @@ -145,7 +145,7 @@ data class Field( number = 2, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.Field.Cardinality.Companion), jsonName = "cardinality", - value = Field::cardinality + value = pbandk.wkt.Field::cardinality ) ) add( @@ -155,7 +155,7 @@ data class Field( number = 3, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "number", - value = Field::number + value = pbandk.wkt.Field::number ) ) add( @@ -165,7 +165,7 @@ data class Field( number = 4, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = Field::name + value = pbandk.wkt.Field::name ) ) add( @@ -175,7 +175,7 @@ data class Field( number = 6, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "typeUrl", - value = Field::typeUrl + value = pbandk.wkt.Field::typeUrl ) ) add( @@ -185,7 +185,7 @@ data class Field( number = 7, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "oneofIndex", - value = Field::oneofIndex + value = pbandk.wkt.Field::oneofIndex ) ) add( @@ -195,7 +195,7 @@ data class Field( number = 8, type = pbandk.FieldDescriptor.Type.Primitive.Bool(), jsonName = "packed", - value = Field::packed + value = pbandk.wkt.Field::packed ) ) add( @@ -205,7 +205,7 @@ data class Field( number = 9, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Option.Companion)), jsonName = "options", - value = Field::options + value = pbandk.wkt.Field::options ) ) add( @@ -215,7 +215,7 @@ data class Field( number = 10, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "jsonName", - value = Field::jsonName + value = pbandk.wkt.Field::jsonName ) ) add( @@ -225,12 +225,12 @@ data class Field( number = 11, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "defaultValue", - value = Field::defaultValue + value = pbandk.wkt.Field::defaultValue ) ) } pbandk.MessageDescriptor( - messageClass = Field::class, + messageClass = pbandk.wkt.Field::class, messageCompanion = this, fields = fieldsList ) @@ -238,9 +238,9 @@ data class Field( } sealed class Kind(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is Field.Kind && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.Field.Kind && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "Field.Kind.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.Field.Kind.${name ?: "UNRECOGNIZED"}(value=$value)" object TYPE_UNKNOWN : Kind(0, "TYPE_UNKNOWN") object TYPE_DOUBLE : Kind(1, "TYPE_DOUBLE") @@ -261,28 +261,28 @@ data class Field( object TYPE_SFIXED64 : Kind(16, "TYPE_SFIXED64") object TYPE_SINT32 : Kind(17, "TYPE_SINT32") object TYPE_SINT64 : Kind(18, "TYPE_SINT64") - class UNRECOGNIZED(value: Int) : Field.Kind(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.Field.Kind(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(TYPE_UNKNOWN, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT64, TYPE_UINT64, TYPE_INT32, TYPE_FIXED64, TYPE_FIXED32, TYPE_BOOL, TYPE_STRING, TYPE_GROUP, TYPE_MESSAGE, TYPE_BYTES, TYPE_UINT32, TYPE_ENUM, TYPE_SFIXED32, TYPE_SFIXED64, TYPE_SINT32, TYPE_SINT64) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(TYPE_UNKNOWN, TYPE_DOUBLE, TYPE_FLOAT, TYPE_INT64, TYPE_UINT64, TYPE_INT32, TYPE_FIXED64, TYPE_FIXED32, TYPE_BOOL, TYPE_STRING, TYPE_GROUP, TYPE_MESSAGE, TYPE_BYTES, TYPE_UINT32, TYPE_ENUM, TYPE_SFIXED32, TYPE_SFIXED64, TYPE_SINT32, TYPE_SINT64) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No Kind with name: $name") } } sealed class Cardinality(override val value: Int, override val name: String? = null) : pbandk.Message.Enum { - override fun equals(other: kotlin.Any?) = other is Field.Cardinality && other.value == value + override fun equals(other: kotlin.Any?) = other is pbandk.wkt.Field.Cardinality && other.value == value override fun hashCode() = value.hashCode() - override fun toString() = "Field.Cardinality.${name ?: "UNRECOGNIZED"}(value=$value)" + override fun toString() = "pbandk.wkt.Field.Cardinality.${name ?: "UNRECOGNIZED"}(value=$value)" object UNKNOWN : Cardinality(0, "CARDINALITY_UNKNOWN") object OPTIONAL : Cardinality(1, "CARDINALITY_OPTIONAL") object REQUIRED : Cardinality(2, "CARDINALITY_REQUIRED") object REPEATED : Cardinality(3, "CARDINALITY_REPEATED") - class UNRECOGNIZED(value: Int) : Field.Cardinality(value) + class UNRECOGNIZED(value: Int) : pbandk.wkt.Field.Cardinality(value) - companion object : pbandk.Message.Enum.Companion { - val values: List by lazy { listOf(UNKNOWN, OPTIONAL, REQUIRED, REPEATED) } + companion object : pbandk.Message.Enum.Companion { + val values: List by lazy { listOf(UNKNOWN, OPTIONAL, REQUIRED, REPEATED) } override fun fromValue(value: Int) = values.firstOrNull { it.value == value } ?: UNRECOGNIZED(value) override fun fromName(name: String) = values.firstOrNull { it.name == name } ?: throw IllegalArgumentException("No Cardinality with name: $name") } @@ -300,12 +300,12 @@ data class Enum( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { Enum() } - override fun decodeWith(u: pbandk.MessageDecoder) = Enum.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.Enum() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.Enum.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(5).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(5).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -313,7 +313,7 @@ data class Enum( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = Enum::name + value = pbandk.wkt.Enum::name ) ) add( @@ -323,7 +323,7 @@ data class Enum( number = 2, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.EnumValue.Companion)), jsonName = "enumvalue", - value = Enum::enumvalue + value = pbandk.wkt.Enum::enumvalue ) ) add( @@ -333,7 +333,7 @@ data class Enum( number = 3, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Option.Companion)), jsonName = "options", - value = Enum::options + value = pbandk.wkt.Enum::options ) ) add( @@ -343,7 +343,7 @@ data class Enum( number = 4, type = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.SourceContext.Companion), jsonName = "sourceContext", - value = Enum::sourceContext + value = pbandk.wkt.Enum::sourceContext ) ) add( @@ -353,12 +353,12 @@ data class Enum( number = 5, type = pbandk.FieldDescriptor.Type.Enum(enumCompanion = pbandk.wkt.Syntax.Companion), jsonName = "syntax", - value = Enum::syntax + value = pbandk.wkt.Enum::syntax ) ) } pbandk.MessageDescriptor( - messageClass = Enum::class, + messageClass = pbandk.wkt.Enum::class, messageCompanion = this, fields = fieldsList ) @@ -375,12 +375,12 @@ data class EnumValue( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion { - val defaultInstance by lazy { EnumValue() } - override fun decodeWith(u: pbandk.MessageDecoder) = EnumValue.decodeWithImpl(u) + companion object : pbandk.Message.Companion { + val defaultInstance by lazy { pbandk.wkt.EnumValue() } + override fun decodeWith(u: pbandk.MessageDecoder) = pbandk.wkt.EnumValue.decodeWithImpl(u) - override val descriptor: pbandk.MessageDescriptor by lazy { - val fieldsList = ArrayList>(3).apply { + override val descriptor: pbandk.MessageDescriptor by lazy { + val fieldsList = ArrayList>(3).apply { add( pbandk.FieldDescriptor( messageDescriptor = this@Companion::descriptor, @@ -388,7 +388,7 @@ data class EnumValue( number = 1, type = pbandk.FieldDescriptor.Type.Primitive.String(), jsonName = "name", - value = EnumValue::name + value = pbandk.wkt.EnumValue::name ) ) add( @@ -398,7 +398,7 @@ data class EnumValue( number = 2, type = pbandk.FieldDescriptor.Type.Primitive.Int32(), jsonName = "number", - value = EnumValue::number + value = pbandk.wkt.EnumValue::number ) ) add( @@ -408,12 +408,12 @@ data class EnumValue( number = 3, type = pbandk.FieldDescriptor.Type.Repeated(valueType = pbandk.FieldDescriptor.Type.Message(messageCompanion = pbandk.wkt.Option.Companion)), jsonName = "options", - value = EnumValue::options + value = pbandk.wkt.EnumValue::options ) ) } pbandk.MessageDescriptor( - messageClass = EnumValue::class, + messageClass = pbandk.wkt.EnumValue::class, messageCompanion = this, fields = fieldsList ) @@ -429,12 +429,12 @@ data class Option( override operator fun plus(other: pbandk.Message?) = protoMergeImpl(other) override val descriptor get() = Companion.descriptor override val protoSize by lazy { super.protoSize } - companion object : pbandk.Message.Companion