You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/Struct.kt
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -114,7 +114,7 @@ public sealed class NullValue(public open val number: Int) {
Copy file name to clipboardExpand all lines: protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/Type.kt
+26-26Lines changed: 26 additions & 26 deletions
Original file line number
Diff line number
Diff line change
@@ -95,97 +95,97 @@ public interface Field {
95
95
/**
96
96
* Field type unknown.
97
97
*/
98
-
publicobject TYPE_UNKNOWN: Kind(number = 0)
98
+
publicdata objectTYPE_UNKNOWN: Kind(number = 0)
99
99
100
100
/**
101
101
* Field type double.
102
102
*/
103
-
publicobject TYPE_DOUBLE: Kind(number = 1)
103
+
publicdata objectTYPE_DOUBLE: Kind(number = 1)
104
104
105
105
/**
106
106
* Field type float.
107
107
*/
108
-
publicobject TYPE_FLOAT: Kind(number = 2)
108
+
publicdata objectTYPE_FLOAT: Kind(number = 2)
109
109
110
110
/**
111
111
* Field type int64.
112
112
*/
113
-
publicobject TYPE_INT64: Kind(number = 3)
113
+
publicdata objectTYPE_INT64: Kind(number = 3)
114
114
115
115
/**
116
116
* Field type uint64.
117
117
*/
118
-
publicobject TYPE_UINT64: Kind(number = 4)
118
+
publicdata objectTYPE_UINT64: Kind(number = 4)
119
119
120
120
/**
121
121
* Field type int32.
122
122
*/
123
-
publicobject TYPE_INT32: Kind(number = 5)
123
+
publicdata objectTYPE_INT32: Kind(number = 5)
124
124
125
125
/**
126
126
* Field type fixed64.
127
127
*/
128
-
publicobject TYPE_FIXED64: Kind(number = 6)
128
+
publicdata objectTYPE_FIXED64: Kind(number = 6)
129
129
130
130
/**
131
131
* Field type fixed32.
132
132
*/
133
-
publicobject TYPE_FIXED32: Kind(number = 7)
133
+
publicdata objectTYPE_FIXED32: Kind(number = 7)
134
134
135
135
/**
136
136
* Field type bool.
137
137
*/
138
-
publicobject TYPE_BOOL: Kind(number = 8)
138
+
publicdata objectTYPE_BOOL: Kind(number = 8)
139
139
140
140
/**
141
141
* Field type string.
142
142
*/
143
-
publicobject TYPE_STRING: Kind(number = 9)
143
+
publicdata objectTYPE_STRING: Kind(number = 9)
144
144
145
145
/**
146
146
* Field type group. Proto2 syntax only, and deprecated.
Copy file name to clipboardExpand all lines: protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Any.kt
+34Lines changed: 34 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -12,6 +12,40 @@ public class AnyInternal: com.google.protobuf.kotlin.Any, kotlinx.rpc.protobuf.i
12
12
publicoverridevar typeUrl:String by MsgFieldDelegate { "" }
13
13
publicoverridevar value:ByteArray by MsgFieldDelegate { byteArrayOf() }
Copy file name to clipboardExpand all lines: protobuf/protobuf-core/src/commonMain/generated-code/kotlin-multiplatform/com/google/protobuf/kotlin/_rpc_internal/Api.kt
+137Lines changed: 137 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -21,6 +21,60 @@ public class ApiInternal: com.google.protobuf.kotlin.Api, kotlinx.rpc.protobuf.i
21
21
publicoverridevar mixins:List<com.google.protobuf.kotlin.Mixin> by MsgFieldDelegate { mutableListOf() }
22
22
publicoverridevar syntax: com.google.protobuf.kotlin.Syntax by MsgFieldDelegate { com.google.protobuf.kotlin.Syntax.SYNTAX_PROTO2 }
23
23
24
+
publicoverridefunhashCode(): kotlin.Int {
25
+
checkRequiredFields()
26
+
var result = name.hashCode()
27
+
result =31* result + methods.hashCode()
28
+
result =31* result + options.hashCode()
29
+
result =31* result + version.hashCode()
30
+
result =31* result +if (presenceMask[0]) sourceContext.hashCode() else0
0 commit comments