/
command.pb.go
1861 lines (1634 loc) · 71.3 KB
/
command.pb.go
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
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: proto/feature/command.proto
package feature
import (
fmt "fmt"
proto "github.com/golang/protobuf/proto"
any "github.com/golang/protobuf/ptypes/any"
wrappers "github.com/golang/protobuf/ptypes/wrappers"
math "math"
)
// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf
// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package
type Command struct {
Command *any.Any `protobuf:"bytes,1,opt,name=command,proto3" json:"command,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Command) Reset() { *m = Command{} }
func (m *Command) String() string { return proto.CompactTextString(m) }
func (*Command) ProtoMessage() {}
func (*Command) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{0}
}
func (m *Command) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_Command.Unmarshal(m, b)
}
func (m *Command) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_Command.Marshal(b, m, deterministic)
}
func (m *Command) XXX_Merge(src proto.Message) {
xxx_messageInfo_Command.Merge(m, src)
}
func (m *Command) XXX_Size() int {
return xxx_messageInfo_Command.Size(m)
}
func (m *Command) XXX_DiscardUnknown() {
xxx_messageInfo_Command.DiscardUnknown(m)
}
var xxx_messageInfo_Command proto.InternalMessageInfo
func (m *Command) GetCommand() *any.Any {
if m != nil {
return m.Command
}
return nil
}
type CreateFeatureCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
Variations []*Variation `protobuf:"bytes,4,rep,name=variations,proto3" json:"variations,omitempty"`
Tags []string `protobuf:"bytes,5,rep,name=tags,proto3" json:"tags,omitempty"`
DefaultOnVariationIndex *wrappers.Int32Value `protobuf:"bytes,6,opt,name=default_on_variation_index,json=defaultOnVariationIndex,proto3" json:"default_on_variation_index,omitempty"`
DefaultOffVariationIndex *wrappers.Int32Value `protobuf:"bytes,7,opt,name=default_off_variation_index,json=defaultOffVariationIndex,proto3" json:"default_off_variation_index,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *CreateFeatureCommand) Reset() { *m = CreateFeatureCommand{} }
func (m *CreateFeatureCommand) String() string { return proto.CompactTextString(m) }
func (*CreateFeatureCommand) ProtoMessage() {}
func (*CreateFeatureCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{1}
}
func (m *CreateFeatureCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_CreateFeatureCommand.Unmarshal(m, b)
}
func (m *CreateFeatureCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_CreateFeatureCommand.Marshal(b, m, deterministic)
}
func (m *CreateFeatureCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_CreateFeatureCommand.Merge(m, src)
}
func (m *CreateFeatureCommand) XXX_Size() int {
return xxx_messageInfo_CreateFeatureCommand.Size(m)
}
func (m *CreateFeatureCommand) XXX_DiscardUnknown() {
xxx_messageInfo_CreateFeatureCommand.DiscardUnknown(m)
}
var xxx_messageInfo_CreateFeatureCommand proto.InternalMessageInfo
func (m *CreateFeatureCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *CreateFeatureCommand) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *CreateFeatureCommand) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
func (m *CreateFeatureCommand) GetVariations() []*Variation {
if m != nil {
return m.Variations
}
return nil
}
func (m *CreateFeatureCommand) GetTags() []string {
if m != nil {
return m.Tags
}
return nil
}
func (m *CreateFeatureCommand) GetDefaultOnVariationIndex() *wrappers.Int32Value {
if m != nil {
return m.DefaultOnVariationIndex
}
return nil
}
func (m *CreateFeatureCommand) GetDefaultOffVariationIndex() *wrappers.Int32Value {
if m != nil {
return m.DefaultOffVariationIndex
}
return nil
}
type DeleteFeatureCommand struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteFeatureCommand) Reset() { *m = DeleteFeatureCommand{} }
func (m *DeleteFeatureCommand) String() string { return proto.CompactTextString(m) }
func (*DeleteFeatureCommand) ProtoMessage() {}
func (*DeleteFeatureCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{2}
}
func (m *DeleteFeatureCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteFeatureCommand.Unmarshal(m, b)
}
func (m *DeleteFeatureCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteFeatureCommand.Marshal(b, m, deterministic)
}
func (m *DeleteFeatureCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteFeatureCommand.Merge(m, src)
}
func (m *DeleteFeatureCommand) XXX_Size() int {
return xxx_messageInfo_DeleteFeatureCommand.Size(m)
}
func (m *DeleteFeatureCommand) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteFeatureCommand.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteFeatureCommand proto.InternalMessageInfo
type RenameFeatureCommand struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RenameFeatureCommand) Reset() { *m = RenameFeatureCommand{} }
func (m *RenameFeatureCommand) String() string { return proto.CompactTextString(m) }
func (*RenameFeatureCommand) ProtoMessage() {}
func (*RenameFeatureCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{3}
}
func (m *RenameFeatureCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RenameFeatureCommand.Unmarshal(m, b)
}
func (m *RenameFeatureCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RenameFeatureCommand.Marshal(b, m, deterministic)
}
func (m *RenameFeatureCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_RenameFeatureCommand.Merge(m, src)
}
func (m *RenameFeatureCommand) XXX_Size() int {
return xxx_messageInfo_RenameFeatureCommand.Size(m)
}
func (m *RenameFeatureCommand) XXX_DiscardUnknown() {
xxx_messageInfo_RenameFeatureCommand.DiscardUnknown(m)
}
var xxx_messageInfo_RenameFeatureCommand proto.InternalMessageInfo
func (m *RenameFeatureCommand) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type ChangeDescriptionCommand struct {
Description string `protobuf:"bytes,1,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeDescriptionCommand) Reset() { *m = ChangeDescriptionCommand{} }
func (m *ChangeDescriptionCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeDescriptionCommand) ProtoMessage() {}
func (*ChangeDescriptionCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{4}
}
func (m *ChangeDescriptionCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeDescriptionCommand.Unmarshal(m, b)
}
func (m *ChangeDescriptionCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeDescriptionCommand.Marshal(b, m, deterministic)
}
func (m *ChangeDescriptionCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeDescriptionCommand.Merge(m, src)
}
func (m *ChangeDescriptionCommand) XXX_Size() int {
return xxx_messageInfo_ChangeDescriptionCommand.Size(m)
}
func (m *ChangeDescriptionCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeDescriptionCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeDescriptionCommand proto.InternalMessageInfo
func (m *ChangeDescriptionCommand) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type ChangeBulkUploadSegmentUsersStatusCommand struct {
Status Segment_Status `protobuf:"varint,1,opt,name=status,proto3,enum=bucketeer.feature.Segment_Status" json:"status,omitempty"`
State SegmentUser_State `protobuf:"varint,2,opt,name=state,proto3,enum=bucketeer.feature.SegmentUser_State" json:"state,omitempty"`
Count int64 `protobuf:"varint,3,opt,name=count,proto3" json:"count,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) Reset() {
*m = ChangeBulkUploadSegmentUsersStatusCommand{}
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) String() string {
return proto.CompactTextString(m)
}
func (*ChangeBulkUploadSegmentUsersStatusCommand) ProtoMessage() {}
func (*ChangeBulkUploadSegmentUsersStatusCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{5}
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeBulkUploadSegmentUsersStatusCommand.Unmarshal(m, b)
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeBulkUploadSegmentUsersStatusCommand.Marshal(b, m, deterministic)
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeBulkUploadSegmentUsersStatusCommand.Merge(m, src)
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) XXX_Size() int {
return xxx_messageInfo_ChangeBulkUploadSegmentUsersStatusCommand.Size(m)
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeBulkUploadSegmentUsersStatusCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeBulkUploadSegmentUsersStatusCommand proto.InternalMessageInfo
func (m *ChangeBulkUploadSegmentUsersStatusCommand) GetStatus() Segment_Status {
if m != nil {
return m.Status
}
return Segment_INITIAL
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) GetState() SegmentUser_State {
if m != nil {
return m.State
}
return SegmentUser_INCLUDED
}
func (m *ChangeBulkUploadSegmentUsersStatusCommand) GetCount() int64 {
if m != nil {
return m.Count
}
return 0
}
type AddTagCommand struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddTagCommand) Reset() { *m = AddTagCommand{} }
func (m *AddTagCommand) String() string { return proto.CompactTextString(m) }
func (*AddTagCommand) ProtoMessage() {}
func (*AddTagCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{6}
}
func (m *AddTagCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddTagCommand.Unmarshal(m, b)
}
func (m *AddTagCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddTagCommand.Marshal(b, m, deterministic)
}
func (m *AddTagCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddTagCommand.Merge(m, src)
}
func (m *AddTagCommand) XXX_Size() int {
return xxx_messageInfo_AddTagCommand.Size(m)
}
func (m *AddTagCommand) XXX_DiscardUnknown() {
xxx_messageInfo_AddTagCommand.DiscardUnknown(m)
}
var xxx_messageInfo_AddTagCommand proto.InternalMessageInfo
func (m *AddTagCommand) GetTag() string {
if m != nil {
return m.Tag
}
return ""
}
type RemoveTagCommand struct {
Tag string `protobuf:"bytes,1,opt,name=tag,proto3" json:"tag,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveTagCommand) Reset() { *m = RemoveTagCommand{} }
func (m *RemoveTagCommand) String() string { return proto.CompactTextString(m) }
func (*RemoveTagCommand) ProtoMessage() {}
func (*RemoveTagCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{7}
}
func (m *RemoveTagCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveTagCommand.Unmarshal(m, b)
}
func (m *RemoveTagCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveTagCommand.Marshal(b, m, deterministic)
}
func (m *RemoveTagCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveTagCommand.Merge(m, src)
}
func (m *RemoveTagCommand) XXX_Size() int {
return xxx_messageInfo_RemoveTagCommand.Size(m)
}
func (m *RemoveTagCommand) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveTagCommand.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveTagCommand proto.InternalMessageInfo
func (m *RemoveTagCommand) GetTag() string {
if m != nil {
return m.Tag
}
return ""
}
type EnableFeatureCommand struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *EnableFeatureCommand) Reset() { *m = EnableFeatureCommand{} }
func (m *EnableFeatureCommand) String() string { return proto.CompactTextString(m) }
func (*EnableFeatureCommand) ProtoMessage() {}
func (*EnableFeatureCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{8}
}
func (m *EnableFeatureCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_EnableFeatureCommand.Unmarshal(m, b)
}
func (m *EnableFeatureCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_EnableFeatureCommand.Marshal(b, m, deterministic)
}
func (m *EnableFeatureCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_EnableFeatureCommand.Merge(m, src)
}
func (m *EnableFeatureCommand) XXX_Size() int {
return xxx_messageInfo_EnableFeatureCommand.Size(m)
}
func (m *EnableFeatureCommand) XXX_DiscardUnknown() {
xxx_messageInfo_EnableFeatureCommand.DiscardUnknown(m)
}
var xxx_messageInfo_EnableFeatureCommand proto.InternalMessageInfo
type DisableFeatureCommand struct {
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DisableFeatureCommand) Reset() { *m = DisableFeatureCommand{} }
func (m *DisableFeatureCommand) String() string { return proto.CompactTextString(m) }
func (*DisableFeatureCommand) ProtoMessage() {}
func (*DisableFeatureCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{9}
}
func (m *DisableFeatureCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DisableFeatureCommand.Unmarshal(m, b)
}
func (m *DisableFeatureCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DisableFeatureCommand.Marshal(b, m, deterministic)
}
func (m *DisableFeatureCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_DisableFeatureCommand.Merge(m, src)
}
func (m *DisableFeatureCommand) XXX_Size() int {
return xxx_messageInfo_DisableFeatureCommand.Size(m)
}
func (m *DisableFeatureCommand) XXX_DiscardUnknown() {
xxx_messageInfo_DisableFeatureCommand.DiscardUnknown(m)
}
var xxx_messageInfo_DisableFeatureCommand proto.InternalMessageInfo
type AddVariationCommand struct {
Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddVariationCommand) Reset() { *m = AddVariationCommand{} }
func (m *AddVariationCommand) String() string { return proto.CompactTextString(m) }
func (*AddVariationCommand) ProtoMessage() {}
func (*AddVariationCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{10}
}
func (m *AddVariationCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddVariationCommand.Unmarshal(m, b)
}
func (m *AddVariationCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddVariationCommand.Marshal(b, m, deterministic)
}
func (m *AddVariationCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddVariationCommand.Merge(m, src)
}
func (m *AddVariationCommand) XXX_Size() int {
return xxx_messageInfo_AddVariationCommand.Size(m)
}
func (m *AddVariationCommand) XXX_DiscardUnknown() {
xxx_messageInfo_AddVariationCommand.DiscardUnknown(m)
}
var xxx_messageInfo_AddVariationCommand proto.InternalMessageInfo
func (m *AddVariationCommand) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
func (m *AddVariationCommand) GetName() string {
if m != nil {
return m.Name
}
return ""
}
func (m *AddVariationCommand) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type RemoveVariationCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveVariationCommand) Reset() { *m = RemoveVariationCommand{} }
func (m *RemoveVariationCommand) String() string { return proto.CompactTextString(m) }
func (*RemoveVariationCommand) ProtoMessage() {}
func (*RemoveVariationCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{11}
}
func (m *RemoveVariationCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveVariationCommand.Unmarshal(m, b)
}
func (m *RemoveVariationCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveVariationCommand.Marshal(b, m, deterministic)
}
func (m *RemoveVariationCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveVariationCommand.Merge(m, src)
}
func (m *RemoveVariationCommand) XXX_Size() int {
return xxx_messageInfo_RemoveVariationCommand.Size(m)
}
func (m *RemoveVariationCommand) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveVariationCommand.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveVariationCommand proto.InternalMessageInfo
func (m *RemoveVariationCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type ChangeVariationValueCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeVariationValueCommand) Reset() { *m = ChangeVariationValueCommand{} }
func (m *ChangeVariationValueCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeVariationValueCommand) ProtoMessage() {}
func (*ChangeVariationValueCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{12}
}
func (m *ChangeVariationValueCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeVariationValueCommand.Unmarshal(m, b)
}
func (m *ChangeVariationValueCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeVariationValueCommand.Marshal(b, m, deterministic)
}
func (m *ChangeVariationValueCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeVariationValueCommand.Merge(m, src)
}
func (m *ChangeVariationValueCommand) XXX_Size() int {
return xxx_messageInfo_ChangeVariationValueCommand.Size(m)
}
func (m *ChangeVariationValueCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeVariationValueCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeVariationValueCommand proto.InternalMessageInfo
func (m *ChangeVariationValueCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ChangeVariationValueCommand) GetValue() string {
if m != nil {
return m.Value
}
return ""
}
type ChangeVariationNameCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeVariationNameCommand) Reset() { *m = ChangeVariationNameCommand{} }
func (m *ChangeVariationNameCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeVariationNameCommand) ProtoMessage() {}
func (*ChangeVariationNameCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{13}
}
func (m *ChangeVariationNameCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeVariationNameCommand.Unmarshal(m, b)
}
func (m *ChangeVariationNameCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeVariationNameCommand.Marshal(b, m, deterministic)
}
func (m *ChangeVariationNameCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeVariationNameCommand.Merge(m, src)
}
func (m *ChangeVariationNameCommand) XXX_Size() int {
return xxx_messageInfo_ChangeVariationNameCommand.Size(m)
}
func (m *ChangeVariationNameCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeVariationNameCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeVariationNameCommand proto.InternalMessageInfo
func (m *ChangeVariationNameCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ChangeVariationNameCommand) GetName() string {
if m != nil {
return m.Name
}
return ""
}
type ChangeVariationDescriptionCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeVariationDescriptionCommand) Reset() { *m = ChangeVariationDescriptionCommand{} }
func (m *ChangeVariationDescriptionCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeVariationDescriptionCommand) ProtoMessage() {}
func (*ChangeVariationDescriptionCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{14}
}
func (m *ChangeVariationDescriptionCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeVariationDescriptionCommand.Unmarshal(m, b)
}
func (m *ChangeVariationDescriptionCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeVariationDescriptionCommand.Marshal(b, m, deterministic)
}
func (m *ChangeVariationDescriptionCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeVariationDescriptionCommand.Merge(m, src)
}
func (m *ChangeVariationDescriptionCommand) XXX_Size() int {
return xxx_messageInfo_ChangeVariationDescriptionCommand.Size(m)
}
func (m *ChangeVariationDescriptionCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeVariationDescriptionCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeVariationDescriptionCommand proto.InternalMessageInfo
func (m *ChangeVariationDescriptionCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ChangeVariationDescriptionCommand) GetDescription() string {
if m != nil {
return m.Description
}
return ""
}
type ChangeOffVariationCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeOffVariationCommand) Reset() { *m = ChangeOffVariationCommand{} }
func (m *ChangeOffVariationCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeOffVariationCommand) ProtoMessage() {}
func (*ChangeOffVariationCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{15}
}
func (m *ChangeOffVariationCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeOffVariationCommand.Unmarshal(m, b)
}
func (m *ChangeOffVariationCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeOffVariationCommand.Marshal(b, m, deterministic)
}
func (m *ChangeOffVariationCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeOffVariationCommand.Merge(m, src)
}
func (m *ChangeOffVariationCommand) XXX_Size() int {
return xxx_messageInfo_ChangeOffVariationCommand.Size(m)
}
func (m *ChangeOffVariationCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeOffVariationCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeOffVariationCommand proto.InternalMessageInfo
func (m *ChangeOffVariationCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type AddUserToVariationCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddUserToVariationCommand) Reset() { *m = AddUserToVariationCommand{} }
func (m *AddUserToVariationCommand) String() string { return proto.CompactTextString(m) }
func (*AddUserToVariationCommand) ProtoMessage() {}
func (*AddUserToVariationCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{16}
}
func (m *AddUserToVariationCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddUserToVariationCommand.Unmarshal(m, b)
}
func (m *AddUserToVariationCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddUserToVariationCommand.Marshal(b, m, deterministic)
}
func (m *AddUserToVariationCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddUserToVariationCommand.Merge(m, src)
}
func (m *AddUserToVariationCommand) XXX_Size() int {
return xxx_messageInfo_AddUserToVariationCommand.Size(m)
}
func (m *AddUserToVariationCommand) XXX_DiscardUnknown() {
xxx_messageInfo_AddUserToVariationCommand.DiscardUnknown(m)
}
var xxx_messageInfo_AddUserToVariationCommand proto.InternalMessageInfo
func (m *AddUserToVariationCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *AddUserToVariationCommand) GetUser() string {
if m != nil {
return m.User
}
return ""
}
type RemoveUserFromVariationCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
User string `protobuf:"bytes,2,opt,name=user,proto3" json:"user,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RemoveUserFromVariationCommand) Reset() { *m = RemoveUserFromVariationCommand{} }
func (m *RemoveUserFromVariationCommand) String() string { return proto.CompactTextString(m) }
func (*RemoveUserFromVariationCommand) ProtoMessage() {}
func (*RemoveUserFromVariationCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{17}
}
func (m *RemoveUserFromVariationCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RemoveUserFromVariationCommand.Unmarshal(m, b)
}
func (m *RemoveUserFromVariationCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RemoveUserFromVariationCommand.Marshal(b, m, deterministic)
}
func (m *RemoveUserFromVariationCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_RemoveUserFromVariationCommand.Merge(m, src)
}
func (m *RemoveUserFromVariationCommand) XXX_Size() int {
return xxx_messageInfo_RemoveUserFromVariationCommand.Size(m)
}
func (m *RemoveUserFromVariationCommand) XXX_DiscardUnknown() {
xxx_messageInfo_RemoveUserFromVariationCommand.DiscardUnknown(m)
}
var xxx_messageInfo_RemoveUserFromVariationCommand proto.InternalMessageInfo
func (m *RemoveUserFromVariationCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *RemoveUserFromVariationCommand) GetUser() string {
if m != nil {
return m.User
}
return ""
}
type ChangeDefaultStrategyCommand struct {
Strategy *Strategy `protobuf:"bytes,1,opt,name=strategy,proto3" json:"strategy,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeDefaultStrategyCommand) Reset() { *m = ChangeDefaultStrategyCommand{} }
func (m *ChangeDefaultStrategyCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeDefaultStrategyCommand) ProtoMessage() {}
func (*ChangeDefaultStrategyCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{18}
}
func (m *ChangeDefaultStrategyCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeDefaultStrategyCommand.Unmarshal(m, b)
}
func (m *ChangeDefaultStrategyCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeDefaultStrategyCommand.Marshal(b, m, deterministic)
}
func (m *ChangeDefaultStrategyCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeDefaultStrategyCommand.Merge(m, src)
}
func (m *ChangeDefaultStrategyCommand) XXX_Size() int {
return xxx_messageInfo_ChangeDefaultStrategyCommand.Size(m)
}
func (m *ChangeDefaultStrategyCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeDefaultStrategyCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeDefaultStrategyCommand proto.InternalMessageInfo
func (m *ChangeDefaultStrategyCommand) GetStrategy() *Strategy {
if m != nil {
return m.Strategy
}
return nil
}
type AddRuleCommand struct {
Rule *Rule `protobuf:"bytes,1,opt,name=rule,proto3" json:"rule,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *AddRuleCommand) Reset() { *m = AddRuleCommand{} }
func (m *AddRuleCommand) String() string { return proto.CompactTextString(m) }
func (*AddRuleCommand) ProtoMessage() {}
func (*AddRuleCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{19}
}
func (m *AddRuleCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_AddRuleCommand.Unmarshal(m, b)
}
func (m *AddRuleCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_AddRuleCommand.Marshal(b, m, deterministic)
}
func (m *AddRuleCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_AddRuleCommand.Merge(m, src)
}
func (m *AddRuleCommand) XXX_Size() int {
return xxx_messageInfo_AddRuleCommand.Size(m)
}
func (m *AddRuleCommand) XXX_DiscardUnknown() {
xxx_messageInfo_AddRuleCommand.DiscardUnknown(m)
}
var xxx_messageInfo_AddRuleCommand proto.InternalMessageInfo
func (m *AddRuleCommand) GetRule() *Rule {
if m != nil {
return m.Rule
}
return nil
}
type ChangeRuleStrategyCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
RuleId string `protobuf:"bytes,2,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`
Strategy *Strategy `protobuf:"bytes,3,opt,name=strategy,proto3" json:"strategy,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChangeRuleStrategyCommand) Reset() { *m = ChangeRuleStrategyCommand{} }
func (m *ChangeRuleStrategyCommand) String() string { return proto.CompactTextString(m) }
func (*ChangeRuleStrategyCommand) ProtoMessage() {}
func (*ChangeRuleStrategyCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{20}
}
func (m *ChangeRuleStrategyCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_ChangeRuleStrategyCommand.Unmarshal(m, b)
}
func (m *ChangeRuleStrategyCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_ChangeRuleStrategyCommand.Marshal(b, m, deterministic)
}
func (m *ChangeRuleStrategyCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChangeRuleStrategyCommand.Merge(m, src)
}
func (m *ChangeRuleStrategyCommand) XXX_Size() int {
return xxx_messageInfo_ChangeRuleStrategyCommand.Size(m)
}
func (m *ChangeRuleStrategyCommand) XXX_DiscardUnknown() {
xxx_messageInfo_ChangeRuleStrategyCommand.DiscardUnknown(m)
}
var xxx_messageInfo_ChangeRuleStrategyCommand proto.InternalMessageInfo
func (m *ChangeRuleStrategyCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
func (m *ChangeRuleStrategyCommand) GetRuleId() string {
if m != nil {
return m.RuleId
}
return ""
}
func (m *ChangeRuleStrategyCommand) GetStrategy() *Strategy {
if m != nil {
return m.Strategy
}
return nil
}
type DeleteRuleCommand struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *DeleteRuleCommand) Reset() { *m = DeleteRuleCommand{} }
func (m *DeleteRuleCommand) String() string { return proto.CompactTextString(m) }
func (*DeleteRuleCommand) ProtoMessage() {}
func (*DeleteRuleCommand) Descriptor() ([]byte, []int) {
return fileDescriptor_5f84e00dfd082627, []int{21}
}
func (m *DeleteRuleCommand) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_DeleteRuleCommand.Unmarshal(m, b)
}
func (m *DeleteRuleCommand) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_DeleteRuleCommand.Marshal(b, m, deterministic)
}
func (m *DeleteRuleCommand) XXX_Merge(src proto.Message) {
xxx_messageInfo_DeleteRuleCommand.Merge(m, src)
}
func (m *DeleteRuleCommand) XXX_Size() int {
return xxx_messageInfo_DeleteRuleCommand.Size(m)
}
func (m *DeleteRuleCommand) XXX_DiscardUnknown() {
xxx_messageInfo_DeleteRuleCommand.DiscardUnknown(m)
}
var xxx_messageInfo_DeleteRuleCommand proto.InternalMessageInfo
func (m *DeleteRuleCommand) GetId() string {
if m != nil {
return m.Id
}
return ""
}
type AddClauseCommand struct {
RuleId string `protobuf:"bytes,1,opt,name=rule_id,json=ruleId,proto3" json:"rule_id,omitempty"`