grpc-dc 0.46.2 → 0.47.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
// Generated code: use without restriction (see GENERATED-CODE-LICENSE.md).
|
|
2
|
+
// @generated by protoc-gen-grpc-dc-js. DO NOT EDIT.
|
|
3
|
+
// source: kafka_streams_processor.proto
|
|
4
|
+
import { ProcessRecord, ProcessResult, GetStateRequest, GetStateResponse, PutStateRequest, PutStateResponse } from "./kafka_streams_processor_pb.js";
|
|
5
|
+
|
|
6
|
+
export class StreamsProcessorClient {
|
|
7
|
+
#channel;
|
|
8
|
+
constructor(channel) { this.#channel = channel; }
|
|
9
|
+
async process(request, options) {
|
|
10
|
+
return this.#channel.unary("/grpcdc.kafka.streams.processor.v1.StreamsProcessor/Process", request, ProcessRecord, ProcessResult, options);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
export function createStreamsProcessorService(handlers) {
|
|
15
|
+
return {
|
|
16
|
+
name: "grpcdc.kafka.streams.processor.v1.StreamsProcessor",
|
|
17
|
+
methods: {
|
|
18
|
+
Process: { path: "/grpcdc.kafka.streams.processor.v1.StreamsProcessor/Process", kind: "unary", requestType: ProcessRecord, responseType: ProcessResult, handler: handlers.process },
|
|
19
|
+
},
|
|
20
|
+
};
|
|
21
|
+
}
|
|
22
|
+
export class ProcessorContextClient {
|
|
23
|
+
#channel;
|
|
24
|
+
constructor(channel) { this.#channel = channel; }
|
|
25
|
+
async getState(request, options) {
|
|
26
|
+
return this.#channel.unary("/grpcdc.kafka.streams.processor.v1.ProcessorContext/GetState", request, GetStateRequest, GetStateResponse, options);
|
|
27
|
+
}
|
|
28
|
+
async putState(request, options) {
|
|
29
|
+
return this.#channel.unary("/grpcdc.kafka.streams.processor.v1.ProcessorContext/PutState", request, PutStateRequest, PutStateResponse, options);
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
export function createProcessorContextService(handlers) {
|
|
34
|
+
return {
|
|
35
|
+
name: "grpcdc.kafka.streams.processor.v1.ProcessorContext",
|
|
36
|
+
methods: {
|
|
37
|
+
GetState: { path: "/grpcdc.kafka.streams.processor.v1.ProcessorContext/GetState", kind: "unary", requestType: GetStateRequest, responseType: GetStateResponse, handler: handlers.getState },
|
|
38
|
+
PutState: { path: "/grpcdc.kafka.streams.processor.v1.ProcessorContext/PutState", kind: "unary", requestType: PutStateRequest, responseType: PutStateResponse, handler: handlers.putState },
|
|
39
|
+
},
|
|
40
|
+
};
|
|
41
|
+
}
|
|
@@ -0,0 +1,434 @@
|
|
|
1
|
+
// Generated code: use without restriction (see GENERATED-CODE-LICENSE.md).
|
|
2
|
+
// @generated by protoc-gen-grpc-dc-js. DO NOT EDIT.
|
|
3
|
+
// source: kafka_streams_processor.proto
|
|
4
|
+
|
|
5
|
+
function varintBytes(value) {
|
|
6
|
+
let n = BigInt.asUintN(64, BigInt(value));
|
|
7
|
+
const out = [];
|
|
8
|
+
while (n > 0x7fn) {
|
|
9
|
+
out.push(Number((n & 0x7fn) | 0x80n));
|
|
10
|
+
n >>= 7n;
|
|
11
|
+
}
|
|
12
|
+
out.push(Number(n));
|
|
13
|
+
return out;
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
function zz64(v) {
|
|
17
|
+
const b = BigInt(v);
|
|
18
|
+
return (b << 1n) ^ (b >> 63n);
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
function unzz64(v) {
|
|
22
|
+
return (v >> 1n) ^ (-(v & 1n));
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
class Reader {
|
|
26
|
+
constructor(bytes) {
|
|
27
|
+
this.bytes = bytes;
|
|
28
|
+
this.pos = 0;
|
|
29
|
+
}
|
|
30
|
+
get done() {
|
|
31
|
+
return this.pos >= this.bytes.length;
|
|
32
|
+
}
|
|
33
|
+
varint() {
|
|
34
|
+
let result = 0n;
|
|
35
|
+
let shift = 0n;
|
|
36
|
+
for (;;) {
|
|
37
|
+
if (this.pos >= this.bytes.length) throw new Error("truncated varint");
|
|
38
|
+
const byte = this.bytes[this.pos++];
|
|
39
|
+
result |= BigInt(byte & 0x7f) << shift;
|
|
40
|
+
if ((byte & 0x80) === 0) return result;
|
|
41
|
+
shift += 7n;
|
|
42
|
+
if (shift >= 64n) throw new Error("varint too long");
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
take(n) {
|
|
46
|
+
const value = this.bytes.subarray(this.pos, this.pos + n);
|
|
47
|
+
if (value.length !== n) throw new Error("truncated field");
|
|
48
|
+
this.pos += n;
|
|
49
|
+
return value;
|
|
50
|
+
}
|
|
51
|
+
field() {
|
|
52
|
+
if (this.done) return null;
|
|
53
|
+
const start = this.pos;
|
|
54
|
+
const tag = this.varint();
|
|
55
|
+
const field = Number(tag >> 3n);
|
|
56
|
+
const wire = Number(tag & 7n);
|
|
57
|
+
const f = this._f || (this._f = [0, 0, null, null]);
|
|
58
|
+
f[0] = field;
|
|
59
|
+
f[1] = wire;
|
|
60
|
+
switch (wire) {
|
|
61
|
+
case 0:
|
|
62
|
+
f[2] = this.varint();
|
|
63
|
+
break;
|
|
64
|
+
case 2: {
|
|
65
|
+
const len = Number(this.varint());
|
|
66
|
+
f[2] = this.take(len);
|
|
67
|
+
break;
|
|
68
|
+
}
|
|
69
|
+
case 1:
|
|
70
|
+
f[2] = this.take(8);
|
|
71
|
+
break;
|
|
72
|
+
case 5:
|
|
73
|
+
f[2] = this.take(4);
|
|
74
|
+
break;
|
|
75
|
+
default:
|
|
76
|
+
throw new Error("bad wire type " + wire);
|
|
77
|
+
}
|
|
78
|
+
f[3] = this.bytes.subarray(start, this.pos);
|
|
79
|
+
return f;
|
|
80
|
+
}
|
|
81
|
+
}
|
|
82
|
+
|
|
83
|
+
function concatBytes(a, b) {
|
|
84
|
+
const out = new Uint8Array(a.length + b.length);
|
|
85
|
+
out.set(a);
|
|
86
|
+
out.set(b, a.length);
|
|
87
|
+
return out;
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
const textEncoder = new TextEncoder();
|
|
91
|
+
const textDecoder = new TextDecoder();
|
|
92
|
+
const EMPTY_BYTES = new Uint8Array(0);
|
|
93
|
+
function putRaw(out, bytes) {
|
|
94
|
+
for (let i = 0; i < bytes.length; i++) out.push(bytes[i]);
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
function putTag(out, num, wire) {
|
|
98
|
+
out.push(...varintBytes((BigInt(num) << 3n) | BigInt(wire)));
|
|
99
|
+
}
|
|
100
|
+
|
|
101
|
+
function putVarintField(out, num, value) {
|
|
102
|
+
if (value === 0n) return;
|
|
103
|
+
putTag(out, num, 0);
|
|
104
|
+
out.push(...varintBytes(value));
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
function putBytesField(out, num, payload) {
|
|
108
|
+
putTag(out, num, 2);
|
|
109
|
+
putRaw(out, varintBytes(payload.length));
|
|
110
|
+
putRaw(out, payload);
|
|
111
|
+
}
|
|
112
|
+
|
|
113
|
+
function putStringField(out, num, value) {
|
|
114
|
+
if (!value) return;
|
|
115
|
+
putBytesField(out, num, textEncoder.encode(value));
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
function putFixedField(out, num, payload) {
|
|
119
|
+
putTag(out, num, payload.length === 8 ? 1 : 5);
|
|
120
|
+
out.push(...payload);
|
|
121
|
+
}
|
|
122
|
+
|
|
123
|
+
const _fixedBuf = new Uint8Array(8);
|
|
124
|
+
const _fixedView = new DataView(_fixedBuf.buffer);
|
|
125
|
+
function fixedBytes(value, size, write) {
|
|
126
|
+
write(_fixedView, value);
|
|
127
|
+
return _fixedBuf.subarray(0, size);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
function readFixed(bytes, read) {
|
|
131
|
+
return read(new DataView(bytes.buffer, bytes.byteOffset, bytes.byteLength));
|
|
132
|
+
}
|
|
133
|
+
|
|
134
|
+
export class ProcessRecord {
|
|
135
|
+
constructor({ key = new Uint8Array(0), value = new Uint8Array(0), timestampMs = 0n, topology = "" } = {}) {
|
|
136
|
+
this.key = key;
|
|
137
|
+
this.value = value;
|
|
138
|
+
this.timestampMs = timestampMs;
|
|
139
|
+
this.topology = topology;
|
|
140
|
+
this.unknownFields = EMPTY_BYTES;
|
|
141
|
+
}
|
|
142
|
+
static encode(msg) {
|
|
143
|
+
const out = [];
|
|
144
|
+
if (msg.key && msg.key.length) putBytesField(out, 1, msg.key);
|
|
145
|
+
if (msg.value && msg.value.length) putBytesField(out, 2, msg.value);
|
|
146
|
+
putVarintField(out, 3, BigInt(msg.timestampMs));
|
|
147
|
+
putStringField(out, 4, msg.topology);
|
|
148
|
+
putRaw(out, msg.unknownFields);
|
|
149
|
+
return new Uint8Array(out);
|
|
150
|
+
}
|
|
151
|
+
static decode(bytes) {
|
|
152
|
+
const msg = new ProcessRecord();
|
|
153
|
+
ProcessRecord._fill(msg, bytes);
|
|
154
|
+
return msg;
|
|
155
|
+
}
|
|
156
|
+
static decodeInto(msg, bytes) {
|
|
157
|
+
msg._reset();
|
|
158
|
+
ProcessRecord._fill(msg, bytes);
|
|
159
|
+
return msg;
|
|
160
|
+
}
|
|
161
|
+
static _fill(msg, bytes) {
|
|
162
|
+
const reader = new Reader(bytes);
|
|
163
|
+
let f;
|
|
164
|
+
while ((f = reader.field()) !== null) {
|
|
165
|
+
const [num, wire, value, raw] = f;
|
|
166
|
+
switch (num) {
|
|
167
|
+
case 1: msg.key = value; break;
|
|
168
|
+
case 2: msg.value = value; break;
|
|
169
|
+
case 3: msg.timestampMs = BigInt.asIntN(64, value); break;
|
|
170
|
+
case 4: msg.topology = textDecoder.decode(value); break;
|
|
171
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
172
|
+
}
|
|
173
|
+
}
|
|
174
|
+
return msg;
|
|
175
|
+
}
|
|
176
|
+
_reset() {
|
|
177
|
+
this.key = new Uint8Array(0);
|
|
178
|
+
this.value = new Uint8Array(0);
|
|
179
|
+
this.timestampMs = 0n;
|
|
180
|
+
this.topology = "";
|
|
181
|
+
this.unknownFields = EMPTY_BYTES;
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
|
|
185
|
+
export class OutRecord {
|
|
186
|
+
constructor({ key = new Uint8Array(0), value = new Uint8Array(0) } = {}) {
|
|
187
|
+
this.key = key;
|
|
188
|
+
this.value = value;
|
|
189
|
+
this.unknownFields = EMPTY_BYTES;
|
|
190
|
+
}
|
|
191
|
+
static encode(msg) {
|
|
192
|
+
const out = [];
|
|
193
|
+
if (msg.key && msg.key.length) putBytesField(out, 1, msg.key);
|
|
194
|
+
if (msg.value && msg.value.length) putBytesField(out, 2, msg.value);
|
|
195
|
+
putRaw(out, msg.unknownFields);
|
|
196
|
+
return new Uint8Array(out);
|
|
197
|
+
}
|
|
198
|
+
static decode(bytes) {
|
|
199
|
+
const msg = new OutRecord();
|
|
200
|
+
OutRecord._fill(msg, bytes);
|
|
201
|
+
return msg;
|
|
202
|
+
}
|
|
203
|
+
static decodeInto(msg, bytes) {
|
|
204
|
+
msg._reset();
|
|
205
|
+
OutRecord._fill(msg, bytes);
|
|
206
|
+
return msg;
|
|
207
|
+
}
|
|
208
|
+
static _fill(msg, bytes) {
|
|
209
|
+
const reader = new Reader(bytes);
|
|
210
|
+
let f;
|
|
211
|
+
while ((f = reader.field()) !== null) {
|
|
212
|
+
const [num, wire, value, raw] = f;
|
|
213
|
+
switch (num) {
|
|
214
|
+
case 1: msg.key = value; break;
|
|
215
|
+
case 2: msg.value = value; break;
|
|
216
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
217
|
+
}
|
|
218
|
+
}
|
|
219
|
+
return msg;
|
|
220
|
+
}
|
|
221
|
+
_reset() {
|
|
222
|
+
this.key = new Uint8Array(0);
|
|
223
|
+
this.value = new Uint8Array(0);
|
|
224
|
+
this.unknownFields = EMPTY_BYTES;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
export class ProcessResult {
|
|
229
|
+
constructor({ records = [] } = {}) {
|
|
230
|
+
this.records = records;
|
|
231
|
+
this.unknownFields = EMPTY_BYTES;
|
|
232
|
+
}
|
|
233
|
+
static encode(msg) {
|
|
234
|
+
const out = [];
|
|
235
|
+
if (msg.records) for (const v of msg.records) putBytesField(out, 1, OutRecord.encode(v));
|
|
236
|
+
putRaw(out, msg.unknownFields);
|
|
237
|
+
return new Uint8Array(out);
|
|
238
|
+
}
|
|
239
|
+
static decode(bytes) {
|
|
240
|
+
const msg = new ProcessResult();
|
|
241
|
+
ProcessResult._fill(msg, bytes);
|
|
242
|
+
return msg;
|
|
243
|
+
}
|
|
244
|
+
static decodeInto(msg, bytes) {
|
|
245
|
+
msg._reset();
|
|
246
|
+
ProcessResult._fill(msg, bytes);
|
|
247
|
+
return msg;
|
|
248
|
+
}
|
|
249
|
+
static _fill(msg, bytes) {
|
|
250
|
+
const reader = new Reader(bytes);
|
|
251
|
+
let f;
|
|
252
|
+
while ((f = reader.field()) !== null) {
|
|
253
|
+
const [num, wire, value, raw] = f;
|
|
254
|
+
switch (num) {
|
|
255
|
+
case 1: msg.records.push(OutRecord.decode(value)); break;
|
|
256
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
return msg;
|
|
260
|
+
}
|
|
261
|
+
_reset() {
|
|
262
|
+
this.records = [];
|
|
263
|
+
this.unknownFields = EMPTY_BYTES;
|
|
264
|
+
}
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
export class GetStateRequest {
|
|
268
|
+
constructor({ topology = "", key = "" } = {}) {
|
|
269
|
+
this.topology = topology;
|
|
270
|
+
this.key = key;
|
|
271
|
+
this.unknownFields = EMPTY_BYTES;
|
|
272
|
+
}
|
|
273
|
+
static encode(msg) {
|
|
274
|
+
const out = [];
|
|
275
|
+
putStringField(out, 1, msg.topology);
|
|
276
|
+
putStringField(out, 2, msg.key);
|
|
277
|
+
putRaw(out, msg.unknownFields);
|
|
278
|
+
return new Uint8Array(out);
|
|
279
|
+
}
|
|
280
|
+
static decode(bytes) {
|
|
281
|
+
const msg = new GetStateRequest();
|
|
282
|
+
GetStateRequest._fill(msg, bytes);
|
|
283
|
+
return msg;
|
|
284
|
+
}
|
|
285
|
+
static decodeInto(msg, bytes) {
|
|
286
|
+
msg._reset();
|
|
287
|
+
GetStateRequest._fill(msg, bytes);
|
|
288
|
+
return msg;
|
|
289
|
+
}
|
|
290
|
+
static _fill(msg, bytes) {
|
|
291
|
+
const reader = new Reader(bytes);
|
|
292
|
+
let f;
|
|
293
|
+
while ((f = reader.field()) !== null) {
|
|
294
|
+
const [num, wire, value, raw] = f;
|
|
295
|
+
switch (num) {
|
|
296
|
+
case 1: msg.topology = textDecoder.decode(value); break;
|
|
297
|
+
case 2: msg.key = textDecoder.decode(value); break;
|
|
298
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
299
|
+
}
|
|
300
|
+
}
|
|
301
|
+
return msg;
|
|
302
|
+
}
|
|
303
|
+
_reset() {
|
|
304
|
+
this.topology = "";
|
|
305
|
+
this.key = "";
|
|
306
|
+
this.unknownFields = EMPTY_BYTES;
|
|
307
|
+
}
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
export class GetStateResponse {
|
|
311
|
+
constructor({ found = false, value = 0n } = {}) {
|
|
312
|
+
this.found = found;
|
|
313
|
+
this.value = value;
|
|
314
|
+
this.unknownFields = EMPTY_BYTES;
|
|
315
|
+
}
|
|
316
|
+
static encode(msg) {
|
|
317
|
+
const out = [];
|
|
318
|
+
putVarintField(out, 1, (msg.found ? 1n : 0n));
|
|
319
|
+
putVarintField(out, 2, BigInt(msg.value));
|
|
320
|
+
putRaw(out, msg.unknownFields);
|
|
321
|
+
return new Uint8Array(out);
|
|
322
|
+
}
|
|
323
|
+
static decode(bytes) {
|
|
324
|
+
const msg = new GetStateResponse();
|
|
325
|
+
GetStateResponse._fill(msg, bytes);
|
|
326
|
+
return msg;
|
|
327
|
+
}
|
|
328
|
+
static decodeInto(msg, bytes) {
|
|
329
|
+
msg._reset();
|
|
330
|
+
GetStateResponse._fill(msg, bytes);
|
|
331
|
+
return msg;
|
|
332
|
+
}
|
|
333
|
+
static _fill(msg, bytes) {
|
|
334
|
+
const reader = new Reader(bytes);
|
|
335
|
+
let f;
|
|
336
|
+
while ((f = reader.field()) !== null) {
|
|
337
|
+
const [num, wire, value, raw] = f;
|
|
338
|
+
switch (num) {
|
|
339
|
+
case 1: msg.found = value !== 0n; break;
|
|
340
|
+
case 2: msg.value = BigInt.asIntN(64, value); break;
|
|
341
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
342
|
+
}
|
|
343
|
+
}
|
|
344
|
+
return msg;
|
|
345
|
+
}
|
|
346
|
+
_reset() {
|
|
347
|
+
this.found = false;
|
|
348
|
+
this.value = 0n;
|
|
349
|
+
this.unknownFields = EMPTY_BYTES;
|
|
350
|
+
}
|
|
351
|
+
}
|
|
352
|
+
|
|
353
|
+
export class PutStateRequest {
|
|
354
|
+
constructor({ topology = "", key = "", value = 0n } = {}) {
|
|
355
|
+
this.topology = topology;
|
|
356
|
+
this.key = key;
|
|
357
|
+
this.value = value;
|
|
358
|
+
this.unknownFields = EMPTY_BYTES;
|
|
359
|
+
}
|
|
360
|
+
static encode(msg) {
|
|
361
|
+
const out = [];
|
|
362
|
+
putStringField(out, 1, msg.topology);
|
|
363
|
+
putStringField(out, 2, msg.key);
|
|
364
|
+
putVarintField(out, 3, BigInt(msg.value));
|
|
365
|
+
putRaw(out, msg.unknownFields);
|
|
366
|
+
return new Uint8Array(out);
|
|
367
|
+
}
|
|
368
|
+
static decode(bytes) {
|
|
369
|
+
const msg = new PutStateRequest();
|
|
370
|
+
PutStateRequest._fill(msg, bytes);
|
|
371
|
+
return msg;
|
|
372
|
+
}
|
|
373
|
+
static decodeInto(msg, bytes) {
|
|
374
|
+
msg._reset();
|
|
375
|
+
PutStateRequest._fill(msg, bytes);
|
|
376
|
+
return msg;
|
|
377
|
+
}
|
|
378
|
+
static _fill(msg, bytes) {
|
|
379
|
+
const reader = new Reader(bytes);
|
|
380
|
+
let f;
|
|
381
|
+
while ((f = reader.field()) !== null) {
|
|
382
|
+
const [num, wire, value, raw] = f;
|
|
383
|
+
switch (num) {
|
|
384
|
+
case 1: msg.topology = textDecoder.decode(value); break;
|
|
385
|
+
case 2: msg.key = textDecoder.decode(value); break;
|
|
386
|
+
case 3: msg.value = BigInt.asIntN(64, value); break;
|
|
387
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
388
|
+
}
|
|
389
|
+
}
|
|
390
|
+
return msg;
|
|
391
|
+
}
|
|
392
|
+
_reset() {
|
|
393
|
+
this.topology = "";
|
|
394
|
+
this.key = "";
|
|
395
|
+
this.value = 0n;
|
|
396
|
+
this.unknownFields = EMPTY_BYTES;
|
|
397
|
+
}
|
|
398
|
+
}
|
|
399
|
+
|
|
400
|
+
export class PutStateResponse {
|
|
401
|
+
constructor({ } = {}) {
|
|
402
|
+
this.unknownFields = EMPTY_BYTES;
|
|
403
|
+
}
|
|
404
|
+
static encode(msg) {
|
|
405
|
+
const out = [];
|
|
406
|
+
putRaw(out, msg.unknownFields);
|
|
407
|
+
return new Uint8Array(out);
|
|
408
|
+
}
|
|
409
|
+
static decode(bytes) {
|
|
410
|
+
const msg = new PutStateResponse();
|
|
411
|
+
PutStateResponse._fill(msg, bytes);
|
|
412
|
+
return msg;
|
|
413
|
+
}
|
|
414
|
+
static decodeInto(msg, bytes) {
|
|
415
|
+
msg._reset();
|
|
416
|
+
PutStateResponse._fill(msg, bytes);
|
|
417
|
+
return msg;
|
|
418
|
+
}
|
|
419
|
+
static _fill(msg, bytes) {
|
|
420
|
+
const reader = new Reader(bytes);
|
|
421
|
+
let f;
|
|
422
|
+
while ((f = reader.field()) !== null) {
|
|
423
|
+
const [num, wire, value, raw] = f;
|
|
424
|
+
switch (num) {
|
|
425
|
+
default: msg.unknownFields = concatBytes(msg.unknownFields, raw); break;
|
|
426
|
+
}
|
|
427
|
+
}
|
|
428
|
+
return msg;
|
|
429
|
+
}
|
|
430
|
+
_reset() {
|
|
431
|
+
this.unknownFields = EMPTY_BYTES;
|
|
432
|
+
}
|
|
433
|
+
}
|
|
434
|
+
|