1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
|
//
// Generated code. Do not modify.
// source: voice_agent.proto
//
// @dart = 2.12
// ignore_for_file: annotate_overrides, camel_case_types, comment_references
// ignore_for_file: constant_identifier_names, library_prefixes
// ignore_for_file: non_constant_identifier_names, prefer_final_fields
// ignore_for_file: unnecessary_import, unnecessary_this, unused_import
import 'dart:core' as $core;
import 'package:protobuf/protobuf.dart' as $pb;
import 'voice_agent.pbenum.dart';
export 'voice_agent.pbenum.dart';
class Empty extends $pb.GeneratedMessage {
factory Empty() => create();
Empty._() : super();
factory Empty.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory Empty.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'Empty',
createEmptyInstance: create)
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
Empty clone() => Empty()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
Empty copyWith(void Function(Empty) updates) =>
super.copyWith((message) => updates(message as Empty)) as Empty;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static Empty create() => Empty._();
Empty createEmptyInstance() => create();
static $pb.PbList<Empty> createRepeated() => $pb.PbList<Empty>();
@$core.pragma('dart2js:noInline')
static Empty getDefault() =>
_defaultInstance ??= $pb.GeneratedMessage.$_defaultFor<Empty>(create);
static Empty? _defaultInstance;
}
class ServiceStatus extends $pb.GeneratedMessage {
factory ServiceStatus({
$core.String? version,
$core.bool? status,
}) {
final $result = create();
if (version != null) {
$result.version = version;
}
if (status != null) {
$result.status = status;
}
return $result;
}
ServiceStatus._() : super();
factory ServiceStatus.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory ServiceStatus.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'ServiceStatus',
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'version')
..aOB(2, _omitFieldNames ? '' : 'status')
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ServiceStatus clone() => ServiceStatus()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ServiceStatus copyWith(void Function(ServiceStatus) updates) =>
super.copyWith((message) => updates(message as ServiceStatus))
as ServiceStatus;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ServiceStatus create() => ServiceStatus._();
ServiceStatus createEmptyInstance() => create();
static $pb.PbList<ServiceStatus> createRepeated() =>
$pb.PbList<ServiceStatus>();
@$core.pragma('dart2js:noInline')
static ServiceStatus getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<ServiceStatus>(create);
static ServiceStatus? _defaultInstance;
@$pb.TagNumber(1)
$core.String get version => $_getSZ(0);
@$pb.TagNumber(1)
set version($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(1)
$core.bool hasVersion() => $_has(0);
@$pb.TagNumber(1)
void clearVersion() => clearField(1);
@$pb.TagNumber(2)
$core.bool get status => $_getBF(1);
@$pb.TagNumber(2)
set status($core.bool v) {
$_setBool(1, v);
}
@$pb.TagNumber(2)
$core.bool hasStatus() => $_has(1);
@$pb.TagNumber(2)
void clearStatus() => clearField(2);
}
class WakeWordStatus extends $pb.GeneratedMessage {
factory WakeWordStatus({
$core.bool? status,
}) {
final $result = create();
if (status != null) {
$result.status = status;
}
return $result;
}
WakeWordStatus._() : super();
factory WakeWordStatus.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory WakeWordStatus.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'WakeWordStatus',
createEmptyInstance: create)
..aOB(1, _omitFieldNames ? '' : 'status')
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
WakeWordStatus clone() => WakeWordStatus()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
WakeWordStatus copyWith(void Function(WakeWordStatus) updates) =>
super.copyWith((message) => updates(message as WakeWordStatus))
as WakeWordStatus;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static WakeWordStatus create() => WakeWordStatus._();
WakeWordStatus createEmptyInstance() => create();
static $pb.PbList<WakeWordStatus> createRepeated() =>
$pb.PbList<WakeWordStatus>();
@$core.pragma('dart2js:noInline')
static WakeWordStatus getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<WakeWordStatus>(create);
static WakeWordStatus? _defaultInstance;
@$pb.TagNumber(1)
$core.bool get status => $_getBF(0);
@$pb.TagNumber(1)
set status($core.bool v) {
$_setBool(0, v);
}
@$pb.TagNumber(1)
$core.bool hasStatus() => $_has(0);
@$pb.TagNumber(1)
void clearStatus() => clearField(1);
}
class RecognizeControl extends $pb.GeneratedMessage {
factory RecognizeControl({
RecordAction? action,
NLUModel? nluModel,
RecordMode? recordMode,
$core.String? streamId,
}) {
final $result = create();
if (action != null) {
$result.action = action;
}
if (nluModel != null) {
$result.nluModel = nluModel;
}
if (recordMode != null) {
$result.recordMode = recordMode;
}
if (streamId != null) {
$result.streamId = streamId;
}
return $result;
}
RecognizeControl._() : super();
factory RecognizeControl.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory RecognizeControl.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'RecognizeControl',
createEmptyInstance: create)
..e<RecordAction>(1, _omitFieldNames ? '' : 'action', $pb.PbFieldType.OE,
defaultOrMaker: RecordAction.START,
valueOf: RecordAction.valueOf,
enumValues: RecordAction.values)
..e<NLUModel>(2, _omitFieldNames ? '' : 'nluModel', $pb.PbFieldType.OE,
defaultOrMaker: NLUModel.SNIPS,
valueOf: NLUModel.valueOf,
enumValues: NLUModel.values)
..e<RecordMode>(3, _omitFieldNames ? '' : 'recordMode', $pb.PbFieldType.OE,
defaultOrMaker: RecordMode.MANUAL,
valueOf: RecordMode.valueOf,
enumValues: RecordMode.values)
..aOS(4, _omitFieldNames ? '' : 'streamId')
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
RecognizeControl clone() => RecognizeControl()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
RecognizeControl copyWith(void Function(RecognizeControl) updates) =>
super.copyWith((message) => updates(message as RecognizeControl))
as RecognizeControl;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static RecognizeControl create() => RecognizeControl._();
RecognizeControl createEmptyInstance() => create();
static $pb.PbList<RecognizeControl> createRepeated() =>
$pb.PbList<RecognizeControl>();
@$core.pragma('dart2js:noInline')
static RecognizeControl getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<RecognizeControl>(create);
static RecognizeControl? _defaultInstance;
@$pb.TagNumber(1)
RecordAction get action => $_getN(0);
@$pb.TagNumber(1)
set action(RecordAction v) {
setField(1, v);
}
@$pb.TagNumber(1)
$core.bool hasAction() => $_has(0);
@$pb.TagNumber(1)
void clearAction() => clearField(1);
@$pb.TagNumber(2)
NLUModel get nluModel => $_getN(1);
@$pb.TagNumber(2)
set nluModel(NLUModel v) {
setField(2, v);
}
@$pb.TagNumber(2)
$core.bool hasNluModel() => $_has(1);
@$pb.TagNumber(2)
void clearNluModel() => clearField(2);
@$pb.TagNumber(3)
RecordMode get recordMode => $_getN(2);
@$pb.TagNumber(3)
set recordMode(RecordMode v) {
setField(3, v);
}
@$pb.TagNumber(3)
$core.bool hasRecordMode() => $_has(2);
@$pb.TagNumber(3)
void clearRecordMode() => clearField(3);
@$pb.TagNumber(4)
$core.String get streamId => $_getSZ(3);
@$pb.TagNumber(4)
set streamId($core.String v) {
$_setString(3, v);
}
@$pb.TagNumber(4)
$core.bool hasStreamId() => $_has(3);
@$pb.TagNumber(4)
void clearStreamId() => clearField(4);
}
class IntentSlot extends $pb.GeneratedMessage {
factory IntentSlot({
$core.String? name,
$core.String? value,
}) {
final $result = create();
if (name != null) {
$result.name = name;
}
if (value != null) {
$result.value = value;
}
return $result;
}
IntentSlot._() : super();
factory IntentSlot.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory IntentSlot.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'IntentSlot',
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'name')
..aOS(2, _omitFieldNames ? '' : 'value')
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
IntentSlot clone() => IntentSlot()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
IntentSlot copyWith(void Function(IntentSlot) updates) =>
super.copyWith((message) => updates(message as IntentSlot)) as IntentSlot;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static IntentSlot create() => IntentSlot._();
IntentSlot createEmptyInstance() => create();
static $pb.PbList<IntentSlot> createRepeated() => $pb.PbList<IntentSlot>();
@$core.pragma('dart2js:noInline')
static IntentSlot getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<IntentSlot>(create);
static IntentSlot? _defaultInstance;
@$pb.TagNumber(1)
$core.String get name => $_getSZ(0);
@$pb.TagNumber(1)
set name($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(1)
$core.bool hasName() => $_has(0);
@$pb.TagNumber(1)
void clearName() => clearField(1);
@$pb.TagNumber(2)
$core.String get value => $_getSZ(1);
@$pb.TagNumber(2)
set value($core.String v) {
$_setString(1, v);
}
@$pb.TagNumber(2)
$core.bool hasValue() => $_has(1);
@$pb.TagNumber(2)
void clearValue() => clearField(2);
}
class RecognizeResult extends $pb.GeneratedMessage {
factory RecognizeResult({
$core.String? command,
$core.String? intent,
$core.Iterable<IntentSlot>? intentSlots,
$core.String? streamId,
RecognizeStatusType? status,
}) {
final $result = create();
if (command != null) {
$result.command = command;
}
if (intent != null) {
$result.intent = intent;
}
if (intentSlots != null) {
$result.intentSlots.addAll(intentSlots);
}
if (streamId != null) {
$result.streamId = streamId;
}
if (status != null) {
$result.status = status;
}
return $result;
}
RecognizeResult._() : super();
factory RecognizeResult.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory RecognizeResult.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'RecognizeResult',
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'command')
..aOS(2, _omitFieldNames ? '' : 'intent')
..pc<IntentSlot>(
3, _omitFieldNames ? '' : 'intentSlots', $pb.PbFieldType.PM,
subBuilder: IntentSlot.create)
..aOS(4, _omitFieldNames ? '' : 'streamId')
..e<RecognizeStatusType>(
5, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE,
defaultOrMaker: RecognizeStatusType.REC_ERROR,
valueOf: RecognizeStatusType.valueOf,
enumValues: RecognizeStatusType.values)
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
RecognizeResult clone() => RecognizeResult()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
RecognizeResult copyWith(void Function(RecognizeResult) updates) =>
super.copyWith((message) => updates(message as RecognizeResult))
as RecognizeResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static RecognizeResult create() => RecognizeResult._();
RecognizeResult createEmptyInstance() => create();
static $pb.PbList<RecognizeResult> createRepeated() =>
$pb.PbList<RecognizeResult>();
@$core.pragma('dart2js:noInline')
static RecognizeResult getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<RecognizeResult>(create);
static RecognizeResult? _defaultInstance;
@$pb.TagNumber(1)
$core.String get command => $_getSZ(0);
@$pb.TagNumber(1)
set command($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(1)
$core.bool hasCommand() => $_has(0);
@$pb.TagNumber(1)
void clearCommand() => clearField(1);
@$pb.TagNumber(2)
$core.String get intent => $_getSZ(1);
@$pb.TagNumber(2)
set intent($core.String v) {
$_setString(1, v);
}
@$pb.TagNumber(2)
$core.bool hasIntent() => $_has(1);
@$pb.TagNumber(2)
void clearIntent() => clearField(2);
@$pb.TagNumber(3)
$core.List<IntentSlot> get intentSlots => $_getList(2);
@$pb.TagNumber(4)
$core.String get streamId => $_getSZ(3);
@$pb.TagNumber(4)
set streamId($core.String v) {
$_setString(3, v);
}
@$pb.TagNumber(4)
$core.bool hasStreamId() => $_has(3);
@$pb.TagNumber(4)
void clearStreamId() => clearField(4);
@$pb.TagNumber(5)
RecognizeStatusType get status => $_getN(4);
@$pb.TagNumber(5)
set status(RecognizeStatusType v) {
setField(5, v);
}
@$pb.TagNumber(5)
$core.bool hasStatus() => $_has(4);
@$pb.TagNumber(5)
void clearStatus() => clearField(5);
}
class ExecuteInput extends $pb.GeneratedMessage {
factory ExecuteInput({
$core.String? intent,
$core.Iterable<IntentSlot>? intentSlots,
}) {
final $result = create();
if (intent != null) {
$result.intent = intent;
}
if (intentSlots != null) {
$result.intentSlots.addAll(intentSlots);
}
return $result;
}
ExecuteInput._() : super();
factory ExecuteInput.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory ExecuteInput.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'ExecuteInput',
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'intent')
..pc<IntentSlot>(
2, _omitFieldNames ? '' : 'intentSlots', $pb.PbFieldType.PM,
subBuilder: IntentSlot.create)
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ExecuteInput clone() => ExecuteInput()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ExecuteInput copyWith(void Function(ExecuteInput) updates) =>
super.copyWith((message) => updates(message as ExecuteInput))
as ExecuteInput;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ExecuteInput create() => ExecuteInput._();
ExecuteInput createEmptyInstance() => create();
static $pb.PbList<ExecuteInput> createRepeated() =>
$pb.PbList<ExecuteInput>();
@$core.pragma('dart2js:noInline')
static ExecuteInput getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<ExecuteInput>(create);
static ExecuteInput? _defaultInstance;
@$pb.TagNumber(1)
$core.String get intent => $_getSZ(0);
@$pb.TagNumber(1)
set intent($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(1)
$core.bool hasIntent() => $_has(0);
@$pb.TagNumber(1)
void clearIntent() => clearField(1);
@$pb.TagNumber(2)
$core.List<IntentSlot> get intentSlots => $_getList(1);
}
class ExecuteResult extends $pb.GeneratedMessage {
factory ExecuteResult({
$core.String? response,
ExecuteStatusType? status,
}) {
final $result = create();
if (response != null) {
$result.response = response;
}
if (status != null) {
$result.status = status;
}
return $result;
}
ExecuteResult._() : super();
factory ExecuteResult.fromBuffer($core.List<$core.int> i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromBuffer(i, r);
factory ExecuteResult.fromJson($core.String i,
[$pb.ExtensionRegistry r = $pb.ExtensionRegistry.EMPTY]) =>
create()..mergeFromJson(i, r);
static final $pb.BuilderInfo _i = $pb.BuilderInfo(
_omitMessageNames ? '' : 'ExecuteResult',
createEmptyInstance: create)
..aOS(1, _omitFieldNames ? '' : 'response')
..e<ExecuteStatusType>(
2, _omitFieldNames ? '' : 'status', $pb.PbFieldType.OE,
defaultOrMaker: ExecuteStatusType.EXEC_ERROR,
valueOf: ExecuteStatusType.valueOf,
enumValues: ExecuteStatusType.values)
..hasRequiredFields = false;
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.deepCopy] instead. '
'Will be removed in next major version')
ExecuteResult clone() => ExecuteResult()..mergeFromMessage(this);
@$core.Deprecated('Using this can add significant overhead to your binary. '
'Use [GeneratedMessageGenericExtensions.rebuild] instead. '
'Will be removed in next major version')
ExecuteResult copyWith(void Function(ExecuteResult) updates) =>
super.copyWith((message) => updates(message as ExecuteResult))
as ExecuteResult;
$pb.BuilderInfo get info_ => _i;
@$core.pragma('dart2js:noInline')
static ExecuteResult create() => ExecuteResult._();
ExecuteResult createEmptyInstance() => create();
static $pb.PbList<ExecuteResult> createRepeated() =>
$pb.PbList<ExecuteResult>();
@$core.pragma('dart2js:noInline')
static ExecuteResult getDefault() => _defaultInstance ??=
$pb.GeneratedMessage.$_defaultFor<ExecuteResult>(create);
static ExecuteResult? _defaultInstance;
@$pb.TagNumber(1)
$core.String get response => $_getSZ(0);
@$pb.TagNumber(1)
set response($core.String v) {
$_setString(0, v);
}
@$pb.TagNumber(1)
$core.bool hasResponse() => $_has(0);
@$pb.TagNumber(1)
void clearResponse() => clearField(1);
@$pb.TagNumber(2)
ExecuteStatusType get status => $_getN(1);
@$pb.TagNumber(2)
set status(ExecuteStatusType v) {
setField(2, v);
}
@$pb.TagNumber(2)
$core.bool hasStatus() => $_has(1);
@$pb.TagNumber(2)
void clearStatus() => clearField(2);
}
const _omitFieldNames = $core.bool.fromEnvironment('protobuf.omit_field_names');
const _omitMessageNames =
$core.bool.fromEnvironment('protobuf.omit_message_names');
|