Skip to content

Commit 6abe3b6

Browse files
committed
Rollback code("msg.checkRequiredFields()") change
1 parent f3d5570 commit 6abe3b6

File tree

14 files changed

+42
-162
lines changed

14 files changed

+42
-162
lines changed

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Any.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class AnyInternal: com.google.protobuf.kotlin.Any, kotlinx.rpc.protobuf.i
3030
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
3131
com.google.protobuf.kotlin.AnyInternal.decodeWith(msg, it)
3232
}
33+
msg.checkRequiredFields()
3334
return msg
3435
}
3536
}
@@ -80,8 +81,6 @@ public fun com.google.protobuf.kotlin.AnyInternal.Companion.decodeWith(msg: com.
8081
}
8182
}
8283
}
83-
84-
msg.checkRequiredFields()
8584
}
8685

8786
private fun com.google.protobuf.kotlin.AnyInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Api.kt

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class ApiInternal: com.google.protobuf.kotlin.Api, kotlinx.rpc.protobuf.i
3939
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
4040
com.google.protobuf.kotlin.ApiInternal.decodeWith(msg, it)
4141
}
42+
msg.checkRequiredFields()
4243
return msg
4344
}
4445
}
@@ -78,6 +79,7 @@ public class MethodInternal: com.google.protobuf.kotlin.Method, kotlinx.rpc.prot
7879
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
7980
com.google.protobuf.kotlin.MethodInternal.decodeWith(msg, it)
8081
}
82+
msg.checkRequiredFields()
8183
return msg
8284
}
8385
}
@@ -112,6 +114,7 @@ public class MixinInternal: com.google.protobuf.kotlin.Mixin, kotlinx.rpc.protob
112114
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
113115
com.google.protobuf.kotlin.MixinInternal.decodeWith(msg, it)
114116
}
117+
msg.checkRequiredFields()
115118
return msg
116119
}
117120
}
@@ -245,8 +248,6 @@ public fun com.google.protobuf.kotlin.ApiInternal.Companion.decodeWith(msg: com.
245248
}
246249
}
247250
}
248-
249-
msg.checkRequiredFields()
250251
}
251252

252253
private fun com.google.protobuf.kotlin.ApiInternal.computeSize(): Int {
@@ -369,8 +370,6 @@ public fun com.google.protobuf.kotlin.MethodInternal.Companion.decodeWith(msg: c
369370
}
370371
}
371372
}
372-
373-
msg.checkRequiredFields()
374373
}
375374

376375
private fun com.google.protobuf.kotlin.MethodInternal.computeSize(): Int {
@@ -446,8 +445,6 @@ public fun com.google.protobuf.kotlin.MixinInternal.Companion.decodeWith(msg: co
446445
}
447446
}
448447
}
449-
450-
msg.checkRequiredFields()
451448
}
452449

453450
private fun com.google.protobuf.kotlin.MixinInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Duration.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class DurationInternal: com.google.protobuf.kotlin.Duration, kotlinx.rpc.
3030
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
3131
com.google.protobuf.kotlin.DurationInternal.decodeWith(msg, it)
3232
}
33+
msg.checkRequiredFields()
3334
return msg
3435
}
3536
}
@@ -80,8 +81,6 @@ public fun com.google.protobuf.kotlin.DurationInternal.Companion.decodeWith(msg:
8081
}
8182
}
8283
}
83-
84-
msg.checkRequiredFields()
8584
}
8685

8786
private fun com.google.protobuf.kotlin.DurationInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Empty.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@ public class EmptyInternal: com.google.protobuf.kotlin.Empty, kotlinx.rpc.protob
2727
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
2828
com.google.protobuf.kotlin.EmptyInternal.decodeWith(msg, it)
2929
}
30+
msg.checkRequiredFields()
3031
return msg
3132
}
3233
}
@@ -63,8 +64,6 @@ public fun com.google.protobuf.kotlin.EmptyInternal.Companion.decodeWith(msg: co
6364
}
6465
}
6566
}
66-
67-
msg.checkRequiredFields()
6867
}
6968

7069
private fun com.google.protobuf.kotlin.EmptyInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/FieldMask.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class FieldMaskInternal: com.google.protobuf.kotlin.FieldMask, kotlinx.rp
2929
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
3030
com.google.protobuf.kotlin.FieldMaskInternal.decodeWith(msg, it)
3131
}
32+
msg.checkRequiredFields()
3233
return msg
3334
}
3435
}
@@ -74,8 +75,6 @@ public fun com.google.protobuf.kotlin.FieldMaskInternal.Companion.decodeWith(msg
7475
}
7576
}
7677
}
77-
78-
msg.checkRequiredFields()
7978
}
8079

8180
private fun com.google.protobuf.kotlin.FieldMaskInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/SourceContext.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ public class SourceContextInternal: com.google.protobuf.kotlin.SourceContext, ko
2929
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
3030
com.google.protobuf.kotlin.SourceContextInternal.decodeWith(msg, it)
3131
}
32+
msg.checkRequiredFields()
3233
return msg
3334
}
3435
}
@@ -71,8 +72,6 @@ public fun com.google.protobuf.kotlin.SourceContextInternal.Companion.decodeWith
7172
}
7273
}
7374
}
74-
75-
msg.checkRequiredFields()
7675
}
7776

7877
private fun com.google.protobuf.kotlin.SourceContextInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Struct.kt

Lines changed: 3 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -44,6 +44,7 @@ public class StructInternal: com.google.protobuf.kotlin.Struct, kotlinx.rpc.prot
4444
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
4545
com.google.protobuf.kotlin.StructInternal.decodeWith(msg, it)
4646
}
47+
msg.checkRequiredFields()
4748
return msg
4849
}
4950
}
@@ -77,6 +78,7 @@ public class ValueInternal: com.google.protobuf.kotlin.Value, kotlinx.rpc.protob
7778
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
7879
com.google.protobuf.kotlin.ValueInternal.decodeWith(msg, it)
7980
}
81+
msg.checkRequiredFields()
8082
return msg
8183
}
8284
}
@@ -110,6 +112,7 @@ public class ListValueInternal: com.google.protobuf.kotlin.ListValue, kotlinx.rp
110112
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
111113
com.google.protobuf.kotlin.ListValueInternal.decodeWith(msg, it)
112114
}
115+
msg.checkRequiredFields()
113116
return msg
114117
}
115118
}
@@ -178,8 +181,6 @@ public fun com.google.protobuf.kotlin.StructInternal.Companion.decodeWith(msg: c
178181
}
179182
}
180183
}
181-
182-
msg.checkRequiredFields()
183184
}
184185

185186
private fun com.google.protobuf.kotlin.StructInternal.computeSize(): Int {
@@ -292,8 +293,6 @@ public fun com.google.protobuf.kotlin.ValueInternal.Companion.decodeWith(msg: co
292293
}
293294
}
294295
}
295-
296-
msg.checkRequiredFields()
297296
}
298297

299298
private fun com.google.protobuf.kotlin.ValueInternal.computeSize(): Int {
@@ -368,8 +367,6 @@ public fun com.google.protobuf.kotlin.ListValueInternal.Companion.decodeWith(msg
368367
}
369368
}
370369
}
371-
372-
msg.checkRequiredFields()
373370
}
374371

375372
private fun com.google.protobuf.kotlin.ListValueInternal.computeSize(): Int {
@@ -428,8 +425,6 @@ public fun com.google.protobuf.kotlin.StructInternal.FieldsEntryInternal.Compani
428425
}
429426
}
430427
}
431-
432-
msg.checkRequiredFields()
433428
}
434429

435430
private fun com.google.protobuf.kotlin.StructInternal.FieldsEntryInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Timestamp.kt

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,7 @@ public class TimestampInternal: com.google.protobuf.kotlin.Timestamp, kotlinx.rp
3030
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
3131
com.google.protobuf.kotlin.TimestampInternal.decodeWith(msg, it)
3232
}
33+
msg.checkRequiredFields()
3334
return msg
3435
}
3536
}
@@ -80,8 +81,6 @@ public fun com.google.protobuf.kotlin.TimestampInternal.Companion.decodeWith(msg
8081
}
8182
}
8283
}
83-
84-
msg.checkRequiredFields()
8584
}
8685

8786
private fun com.google.protobuf.kotlin.TimestampInternal.computeSize(): Int {

protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Type.kt

Lines changed: 5 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ public class TypeInternal: com.google.protobuf.kotlin.Type, kotlinx.rpc.protobuf
3939
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
4040
com.google.protobuf.kotlin.TypeInternal.decodeWith(msg, it)
4141
}
42+
msg.checkRequiredFields()
4243
return msg
4344
}
4445
}
@@ -81,6 +82,7 @@ public class FieldInternal: com.google.protobuf.kotlin.Field, kotlinx.rpc.protob
8182
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
8283
com.google.protobuf.kotlin.FieldInternal.decodeWith(msg, it)
8384
}
85+
msg.checkRequiredFields()
8486
return msg
8587
}
8688
}
@@ -123,6 +125,7 @@ public class EnumInternal: com.google.protobuf.kotlin.Enum, kotlinx.rpc.protobuf
123125
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
124126
com.google.protobuf.kotlin.EnumInternal.decodeWith(msg, it)
125127
}
128+
msg.checkRequiredFields()
126129
return msg
127130
}
128131
}
@@ -158,6 +161,7 @@ public class EnumValueInternal: com.google.protobuf.kotlin.EnumValue, kotlinx.rp
158161
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
159162
com.google.protobuf.kotlin.EnumValueInternal.decodeWith(msg, it)
160163
}
164+
msg.checkRequiredFields()
161165
return msg
162166
}
163167
}
@@ -196,6 +200,7 @@ public class OptionInternal: com.google.protobuf.kotlin.Option, kotlinx.rpc.prot
196200
kotlinx.rpc.protobuf.internal.checkForPlatformDecodeException {
197201
com.google.protobuf.kotlin.OptionInternal.decodeWith(msg, it)
198202
}
203+
msg.checkRequiredFields()
199204
return msg
200205
}
201206
}
@@ -336,8 +341,6 @@ public fun com.google.protobuf.kotlin.TypeInternal.Companion.decodeWith(msg: com
336341
}
337342
}
338343
}
339-
340-
msg.checkRequiredFields()
341344
}
342345

343346
private fun com.google.protobuf.kotlin.TypeInternal.computeSize(): Int {
@@ -484,8 +487,6 @@ public fun com.google.protobuf.kotlin.FieldInternal.Companion.decodeWith(msg: co
484487
}
485488
}
486489
}
487-
488-
msg.checkRequiredFields()
489490
}
490491

491492
private fun com.google.protobuf.kotlin.FieldInternal.computeSize(): Int {
@@ -628,8 +629,6 @@ public fun com.google.protobuf.kotlin.EnumInternal.Companion.decodeWith(msg: com
628629
}
629630
}
630631
}
631-
632-
msg.checkRequiredFields()
633632
}
634633

635634
private fun com.google.protobuf.kotlin.EnumInternal.computeSize(): Int {
@@ -716,8 +715,6 @@ public fun com.google.protobuf.kotlin.EnumValueInternal.Companion.decodeWith(msg
716715
}
717716
}
718717
}
719-
720-
msg.checkRequiredFields()
721718
}
722719

723720
private fun com.google.protobuf.kotlin.EnumValueInternal.computeSize(): Int {
@@ -784,8 +781,6 @@ public fun com.google.protobuf.kotlin.OptionInternal.Companion.decodeWith(msg: c
784781
}
785782
}
786783
}
787-
788-
msg.checkRequiredFields()
789784
}
790785

791786
private fun com.google.protobuf.kotlin.OptionInternal.computeSize(): Int {

0 commit comments

Comments
 (0)