This repository was archived by the owner on Apr 28, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathmodels.pb.go
9932 lines (9779 loc) · 251 KB
/
models.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-gogo. DO NOT EDIT.
// source: models.proto
package otsimopb
import (
encoding_binary "encoding/binary"
fmt "fmt"
proto "github.com/golang/protobuf/proto"
io "io"
math "math"
math_bits "math/bits"
)
// 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.ProtoPackageIsVersion2 // please upgrade the proto package
type Gender int32
const (
Gender_UNKNOWN Gender = 0
Gender_MALE Gender = 1
Gender_FEMALE Gender = 2
)
var Gender_name = map[int32]string{
0: "UNKNOWN",
1: "MALE",
2: "FEMALE",
}
var Gender_value = map[string]int32{
"UNKNOWN": 0,
"MALE": 1,
"FEMALE": 2,
}
func (x Gender) String() string {
return proto.EnumName(Gender_name, int32(x))
}
func (Gender) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{0}
}
type GameVideoSize int32
const (
GameVideoSize_SMALL GameVideoSize = 0
GameVideoSize_MEDIUM GameVideoSize = 1
GameVideoSize_BIG GameVideoSize = 2
)
var GameVideoSize_name = map[int32]string{
0: "SMALL",
1: "MEDIUM",
2: "BIG",
}
var GameVideoSize_value = map[string]int32{
"SMALL": 0,
"MEDIUM": 1,
"BIG": 2,
}
func (x GameVideoSize) String() string {
return proto.EnumName(GameVideoSize_name, int32(x))
}
func (GameVideoSize) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{1}
}
type ReleaseState int32
const (
ReleaseState_CREATED ReleaseState = 0
ReleaseState_DEVELOPMENT ReleaseState = 1
ReleaseState_WAITING ReleaseState = 2
ReleaseState_REJECTED ReleaseState = 3
ReleaseState_VALIDATED ReleaseState = 4
ReleaseState_PRODUCTION ReleaseState = 5
)
var ReleaseState_name = map[int32]string{
0: "CREATED",
1: "DEVELOPMENT",
2: "WAITING",
3: "REJECTED",
4: "VALIDATED",
5: "PRODUCTION",
}
var ReleaseState_value = map[string]int32{
"CREATED": 0,
"DEVELOPMENT": 1,
"WAITING": 2,
"REJECTED": 3,
"VALIDATED": 4,
"PRODUCTION": 5,
}
func (x ReleaseState) String() string {
return proto.EnumName(ReleaseState_name, int32(x))
}
func (ReleaseState) EnumDescriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{2}
}
type Address struct {
StreetAddress string `protobuf:"bytes,1,opt,name=street_address,json=streetAddress,proto3" json:"street_address,omitempty" bson:"street_address,omitempty"`
City string `protobuf:"bytes,2,opt,name=city,proto3" json:"city,omitempty" bson:"city,omitempty"`
State string `protobuf:"bytes,3,opt,name=state,proto3" json:"state,omitempty" bson:"state,omitempty"`
ZipCode string `protobuf:"bytes,4,opt,name=zip_code,json=zipCode,proto3" json:"zip_code,omitempty" bson:"zip_code,omitempty"`
CountryCode string `protobuf:"bytes,5,opt,name=country_code,json=countryCode,proto3" json:"country_code,omitempty" bson:"country_code,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Address) Reset() { *m = Address{} }
func (m *Address) String() string { return proto.CompactTextString(m) }
func (*Address) ProtoMessage() {}
func (*Address) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{0}
}
func (m *Address) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Address) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Address.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Address) XXX_Merge(src proto.Message) {
xxx_messageInfo_Address.Merge(m, src)
}
func (m *Address) XXX_Size() int {
return m.Size()
}
func (m *Address) XXX_DiscardUnknown() {
xxx_messageInfo_Address.DiscardUnknown(m)
}
var xxx_messageInfo_Address proto.InternalMessageInfo
type ProfileAction struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
Kind string `protobuf:"bytes,2,opt,name=kind,proto3" json:"kind,omitempty"`
Editions []string `protobuf:"bytes,3,rep,name=editions,proto3" json:"editions,omitempty"`
Payload map[string]string `protobuf:"bytes,4,rep,name=payload,proto3" json:"payload,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Priority int32 `protobuf:"varint,5,opt,name=priority,proto3" json:"priority,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ProfileAction) Reset() { *m = ProfileAction{} }
func (m *ProfileAction) String() string { return proto.CompactTextString(m) }
func (*ProfileAction) ProtoMessage() {}
func (*ProfileAction) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{1}
}
func (m *ProfileAction) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ProfileAction) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ProfileAction.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ProfileAction) XXX_Merge(src proto.Message) {
xxx_messageInfo_ProfileAction.Merge(m, src)
}
func (m *ProfileAction) XXX_Size() int {
return m.Size()
}
func (m *ProfileAction) XXX_DiscardUnknown() {
xxx_messageInfo_ProfileAction.DiscardUnknown(m)
}
var xxx_messageInfo_ProfileAction proto.InternalMessageInfo
type Profile struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" bson:"email,omitempty"`
FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty" bson:"first_name,omitempty"`
LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty" bson:"last_name,omitempty"`
Language string `protobuf:"bytes,5,opt,name=language,proto3" json:"language,omitempty" bson:"language,omitempty"`
MobilePhone string `protobuf:"bytes,6,opt,name=mobile_phone,json=mobilePhone,proto3" json:"mobile_phone,omitempty" bson:"mobile_phone,omitempty"`
Address *Address `protobuf:"bytes,7,opt,name=address,proto3" json:"address,omitempty" bson:"address,omitempty"`
CreatedAt int64 `protobuf:"varint,8,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"`
LastUpdated int64 `protobuf:"varint,9,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty" bson:"last_updated,omitempty"`
Locale string `protobuf:"bytes,10,opt,name=locale,proto3" json:"locale,omitempty" bson:"locale,omitempty"`
Timezone int32 `protobuf:"varint,11,opt,name=timezone,proto3" json:"timezone,omitempty" bson:"timezone,omitempty"`
Country string `protobuf:"bytes,12,opt,name=country,proto3" json:"country,omitempty" bson:"country,omitempty"`
Labels map[string]string `protobuf:"bytes,13,rep,name=labels,proto3" json:"labels,omitempty" bson:"labels" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Actions []*ProfileAction `protobuf:"bytes,14,rep,name=actions,proto3" json:"actions,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Profile) Reset() { *m = Profile{} }
func (m *Profile) String() string { return proto.CompactTextString(m) }
func (*Profile) ProtoMessage() {}
func (*Profile) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{2}
}
func (m *Profile) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Profile) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Profile.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Profile) XXX_Merge(src proto.Message) {
xxx_messageInfo_Profile.Merge(m, src)
}
func (m *Profile) XXX_Size() int {
return m.Size()
}
func (m *Profile) XXX_DiscardUnknown() {
xxx_messageInfo_Profile.DiscardUnknown(m)
}
var xxx_messageInfo_Profile proto.InternalMessageInfo
type ChildGameEntry struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"id"`
Active bool `protobuf:"varint,2,opt,name=active,proto3" json:"active,omitempty" bson:"active"`
DashboardIndex int32 `protobuf:"varint,3,opt,name=dashboard_index,json=dashboardIndex,proto3" json:"dashboard_index,omitempty" bson:"dashboard_index"`
Settings []byte `protobuf:"bytes,4,opt,name=settings,proto3" json:"settings,omitempty" bson:"settings"`
AddedAt int64 `protobuf:"varint,5,opt,name=added_at,json=addedAt,proto3" json:"added_at,omitempty" bson:"added_at"`
ActivationChangedAt int64 `protobuf:"varint,6,opt,name=activation_changed_at,json=activationChangedAt,proto3" json:"activation_changed_at,omitempty" bson:"activation_changed_at"`
UpdatedAt int64 `protobuf:"varint,7,opt,name=updated_at,json=updatedAt,proto3" json:"updated_at,omitempty" bson:"updated_at"`
LocalSettings []byte `protobuf:"bytes,8,opt,name=local_settings,json=localSettings,proto3" json:"local_settings,omitempty" bson:"local_settings"`
LocalSettingsVersion int64 `protobuf:"varint,9,opt,name=local_settings_version,json=localSettingsVersion,proto3" json:"local_settings_version,omitempty" bson:"local_settings_version"`
// LimitAccess permits user to access to game only if on of the contitions
// match
LimitAccess []string `protobuf:"bytes,10,rep,name=limit_access,json=limitAccess,proto3" json:"limit_access,omitempty" bson:"limit_access"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *ChildGameEntry) Reset() { *m = ChildGameEntry{} }
func (m *ChildGameEntry) String() string { return proto.CompactTextString(m) }
func (*ChildGameEntry) ProtoMessage() {}
func (*ChildGameEntry) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{3}
}
func (m *ChildGameEntry) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *ChildGameEntry) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_ChildGameEntry.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *ChildGameEntry) XXX_Merge(src proto.Message) {
xxx_messageInfo_ChildGameEntry.Merge(m, src)
}
func (m *ChildGameEntry) XXX_Size() int {
return m.Size()
}
func (m *ChildGameEntry) XXX_DiscardUnknown() {
xxx_messageInfo_ChildGameEntry.DiscardUnknown(m)
}
var xxx_messageInfo_ChildGameEntry proto.InternalMessageInfo
type Child struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"`
ParentId string `protobuf:"bytes,2,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty" bson:"parent_id,omitempty"`
FirstName string `protobuf:"bytes,3,opt,name=first_name,json=firstName,proto3" json:"first_name,omitempty" bson:"first_name,omitempty"`
LastName string `protobuf:"bytes,4,opt,name=last_name,json=lastName,proto3" json:"last_name,omitempty" bson:"last_name,omitempty"`
BirthDay int64 `protobuf:"varint,5,opt,name=birth_day,json=birthDay,proto3" json:"birth_day,omitempty" bson:"birth_day,omitempty"`
Gender Gender `protobuf:"varint,7,opt,name=gender,proto3,enum=apipb.Gender" json:"gender,omitempty" bson:"gender,omitempty"`
Language string `protobuf:"bytes,8,opt,name=language,proto3" json:"language,omitempty" bson:"language,omitempty"`
Games []*ChildGameEntry `protobuf:"bytes,9,rep,name=games,proto3" json:"games,omitempty" bson:"games,omitempty"`
Active bool `protobuf:"varint,10,opt,name=active,proto3" json:"active,omitempty" bson:"active,omitempty"`
LoggedIn bool `protobuf:"varint,11,opt,name=logged_in,json=loggedIn,proto3" json:"logged_in,omitempty" bson:"logged_in,omitempty"`
SoundsEnabled bool `protobuf:"varint,12,opt,name=sounds_enabled,json=soundsEnabled,proto3" json:"sounds_enabled,omitempty" bson:"sounds_enabled,omitempty"`
Locale string `protobuf:"bytes,13,opt,name=locale,proto3" json:"locale,omitempty" bson:"locale,omitempty"`
CreatedAt int64 `protobuf:"varint,15,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"`
LastUpdated int64 `protobuf:"varint,16,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty" bson:"last_updated,omitempty"`
ChildInfo map[string]string `protobuf:"bytes,17,rep,name=child_info,json=childInfo,proto3" json:"child_info,omitempty" bson:"child_info,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
TotalStarCount int32 `protobuf:"varint,18,opt,name=total_star_count,json=totalStarCount,proto3" json:"total_star_count,omitempty" bson:"total_star_count,omitempty"`
LevelStarCount int32 `protobuf:"varint,19,opt,name=level_star_count,json=levelStarCount,proto3" json:"level_star_count,omitempty" bson:"level_star_count,omitempty"`
Level int32 `protobuf:"varint,20,opt,name=level,proto3" json:"level,omitempty" bson:"level,omitempty"`
Badges []*Badge `protobuf:"bytes,21,rep,name=badges,proto3" json:"badges,omitempty" bson:"badges,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Child) Reset() { *m = Child{} }
func (m *Child) String() string { return proto.CompactTextString(m) }
func (*Child) ProtoMessage() {}
func (*Child) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{4}
}
func (m *Child) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Child) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Child.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Child) XXX_Merge(src proto.Message) {
xxx_messageInfo_Child.Merge(m, src)
}
func (m *Child) XXX_Size() int {
return m.Size()
}
func (m *Child) XXX_DiscardUnknown() {
xxx_messageInfo_Child.DiscardUnknown(m)
}
var xxx_messageInfo_Child proto.InternalMessageInfo
type Badge struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
CreatedAt int64 `protobuf:"varint,2,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty"`
Level int32 `protobuf:"varint,3,opt,name=level,proto3" json:"level,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Badge) Reset() { *m = Badge{} }
func (m *Badge) String() string { return proto.CompactTextString(m) }
func (*Badge) ProtoMessage() {}
func (*Badge) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{5}
}
func (m *Badge) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Badge) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Badge.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Badge) XXX_Merge(src proto.Message) {
xxx_messageInfo_Badge.Merge(m, src)
}
func (m *Badge) XXX_Size() int {
return m.Size()
}
func (m *Badge) XXX_DiscardUnknown() {
xxx_messageInfo_Badge.DiscardUnknown(m)
}
var xxx_messageInfo_Badge proto.InternalMessageInfo
type Author struct {
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty" bson:"name,omitempty"`
Email string `protobuf:"bytes,2,opt,name=email,proto3" json:"email,omitempty" bson:"email,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Author) Reset() { *m = Author{} }
func (m *Author) String() string { return proto.CompactTextString(m) }
func (*Author) ProtoMessage() {}
func (*Author) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{6}
}
func (m *Author) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Author) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Author.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Author) XXX_Merge(src proto.Message) {
xxx_messageInfo_Author.Merge(m, src)
}
func (m *Author) XXX_Size() int {
return m.Size()
}
func (m *Author) XXX_DiscardUnknown() {
xxx_messageInfo_Author.DiscardUnknown(m)
}
var xxx_messageInfo_Author proto.InternalMessageInfo
type GameMetadata struct {
Language string `protobuf:"bytes,1,opt,name=language,proto3" json:"language,omitempty" bson:"language,omitempty"`
// Visible Name
VisibleName string `protobuf:"bytes,2,opt,name=visible_name,json=visibleName,proto3" json:"visible_name,omitempty" bson:"visible_name,omitempty"`
// Summary is summary of game
Summary string `protobuf:"bytes,3,opt,name=summary,proto3" json:"summary,omitempty" bson:"summary,omitempty"`
// Description
Description string `protobuf:"bytes,4,opt,name=description,proto3" json:"description,omitempty" bson:"description,omitempty"`
// Logo is a rectangle image
Logo string `protobuf:"bytes,5,opt,name=logo,proto3" json:"logo,omitempty" bson:"logo,omitempty"`
// Icon is a square image
Icon string `protobuf:"bytes,6,opt,name=icon,proto3" json:"icon,omitempty" bson:"icon,omitempty"`
// Keywords
Keywords []string `protobuf:"bytes,7,rep,name=keywords,proto3" json:"keywords,omitempty" bson:"keywords,omitempty"`
// Images are image files that show on market
Images []string `protobuf:"bytes,8,rep,name=images,proto3" json:"images,omitempty" bson:"images,omitempty"`
// InfoSlug is the id of the content which describes how to play this game
InfoSlug string `protobuf:"bytes,9,opt,name=info_slug,json=infoSlug,proto3" json:"info_slug,omitempty" bson:"info_slug,omitempty"`
// Assets are asset folders or paths for this language
Assets []string `protobuf:"bytes,10,rep,name=assets,proto3" json:"assets,omitempty" bson:"assets,omitempty"`
// Localized Annotations
Annotations map[string]string `protobuf:"bytes,11,rep,name=annotations,proto3" json:"annotations,omitempty" bson:"annotations,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// Videos are preview videos that show on market
Videos []*GameVideo `protobuf:"bytes,12,rep,name=videos,proto3" json:"videos,omitempty" bson:"videos,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameMetadata) Reset() { *m = GameMetadata{} }
func (m *GameMetadata) String() string { return proto.CompactTextString(m) }
func (*GameMetadata) ProtoMessage() {}
func (*GameMetadata) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{7}
}
func (m *GameMetadata) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameMetadata) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameMetadata.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameMetadata) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameMetadata.Merge(m, src)
}
func (m *GameMetadata) XXX_Size() int {
return m.Size()
}
func (m *GameMetadata) XXX_DiscardUnknown() {
xxx_messageInfo_GameMetadata.DiscardUnknown(m)
}
var xxx_messageInfo_GameMetadata proto.InternalMessageInfo
type GameVideoURL struct {
Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"`
Size_ GameVideoSize `protobuf:"varint,2,opt,name=size,proto3,enum=apipb.GameVideoSize" json:"size,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameVideoURL) Reset() { *m = GameVideoURL{} }
func (m *GameVideoURL) String() string { return proto.CompactTextString(m) }
func (*GameVideoURL) ProtoMessage() {}
func (*GameVideoURL) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{8}
}
func (m *GameVideoURL) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameVideoURL) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameVideoURL.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameVideoURL) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameVideoURL.Merge(m, src)
}
func (m *GameVideoURL) XXX_Size() int {
return m.Size()
}
func (m *GameVideoURL) XXX_DiscardUnknown() {
xxx_messageInfo_GameVideoURL.DiscardUnknown(m)
}
var xxx_messageInfo_GameVideoURL proto.InternalMessageInfo
type GameVideo struct {
Tags []string `protobuf:"bytes,1,rep,name=tags,proto3" json:"tags,omitempty"`
Urls []*GameVideoURL `protobuf:"bytes,2,rep,name=urls,proto3" json:"urls,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameVideo) Reset() { *m = GameVideo{} }
func (m *GameVideo) String() string { return proto.CompactTextString(m) }
func (*GameVideo) ProtoMessage() {}
func (*GameVideo) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{9}
}
func (m *GameVideo) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameVideo) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameVideo.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameVideo) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameVideo.Merge(m, src)
}
func (m *GameVideo) XXX_Size() int {
return m.Size()
}
func (m *GameVideo) XXX_DiscardUnknown() {
xxx_messageInfo_GameVideo.DiscardUnknown(m)
}
var xxx_messageInfo_GameVideo proto.InternalMessageInfo
type GameManifest struct {
// Unique Name of game
UniqueName string `protobuf:"bytes,1,opt,name=unique_name,json=uniqueName,proto3" json:"unique_name,omitempty" bson:"unique_name,omitempty" cli:"Unique Name"`
// Licence
Licence string `protobuf:"bytes,2,opt,name=licence,proto3" json:"licence,omitempty" bson:"licence,omitempty" cli:"Licence"`
// Languages
Languages []string `protobuf:"bytes,3,rep,name=languages,proto3" json:"languages,omitempty" bson:"languages,omitempty"`
// Homepage is the website of game
Homepage string `protobuf:"bytes,4,opt,name=homepage,proto3" json:"homepage,omitempty" bson:"homepage,omitempty"`
// Main points to index.html file
Main string `protobuf:"bytes,5,opt,name=main,proto3" json:"main,omitempty" bson:"main" cli:"Main"`
// Version is current version for using on manifest file
Version string `protobuf:"bytes,6,opt,name=version,proto3" json:"version,omitempty" bson:"version" cli:"Version"`
// Authors is for using at manifest file
Authors []*Author `protobuf:"bytes,7,rep,name=authors,proto3" json:"authors,omitempty" bson:"authors"`
// Repository
Repository string `protobuf:"bytes,8,opt,name=repository,proto3" json:"repository,omitempty" bson:"repository"`
// SupportedOrientations are the orientations that can be used for this app
SupportedOrientations []string `protobuf:"bytes,9,rep,name=supported_orientations,json=supportedOrientations,proto3" json:"supported_orientations,omitempty" bson:"supported_orientations,omitempty"`
// Metadata information for each languages
Metadata []*GameMetadata `protobuf:"bytes,13,rep,name=metadata,proto3" json:"metadata,omitempty" bson:"metadata,omitempty"`
// Exclude directories when building
Exclude []string `protobuf:"bytes,14,rep,name=exclude,proto3" json:"exclude,omitempty" bson:"exclude"`
// Settings.json path
Settings string `protobuf:"bytes,15,opt,name=settings,proto3" json:"settings,omitempty" bson:"settings,omitempty"`
// KV directory path
KvPath string `protobuf:"bytes,16,opt,name=kv_path,json=kvPath,proto3" json:"kv_path,omitempty" bson:"kv_path,omitempty"`
// DeveloperName is the visible developer name
DeveloperName string `protobuf:"bytes,17,opt,name=developer_name,json=developerName,proto3" json:"developer_name,omitempty" bson:"developer_name,omitempty"`
// DefaultLanguage
DefaultLanguage string `protobuf:"bytes,18,opt,name=default_language,json=defaultLanguage,proto3" json:"default_language,omitempty" bson:"default_language,omitempty"`
// Loading Background Color of the Game
LoadingColor string `protobuf:"bytes,19,opt,name=loading_color,json=loadingColor,proto3" json:"loading_color,omitempty" bson:"loading_color,omitempty"`
// Capabilities are required host app features. The most basic capability is
// 'sandbox'.
Capabilities []string `protobuf:"bytes,20,rep,name=capabilities,proto3" json:"capabilities,omitempty" bson:"capabilities,omitempty"`
// AbTest determines whether or not this version is for ab testing
AbTest string `protobuf:"bytes,21,opt,name=ab_test,json=abTest,proto3" json:"ab_test,omitempty" bson:"ab_test"`
// Labels are string key value pairs
Labels map[string]string `protobuf:"bytes,22,rep,name=labels,proto3" json:"labels,omitempty" bson:"labels" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// ManifestVersion
ManifestVersion int32 `protobuf:"varint,23,opt,name=manifest_version,json=manifestVersion,proto3" json:"manifest_version,omitempty"`
Options map[string]*GameOption `protobuf:"bytes,24,rep,name=options,proto3" json:"options,omitempty" bson:"options" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
IsMultiScene bool `protobuf:"varint,25,opt,name=is_multi_scene,json=isMultiScene,proto3" json:"is_multi_scene,omitempty" bson:"is_multi_scene"`
DeviceFilter map[string]*FilterParams `protobuf:"bytes,26,rep,name=device_filter,json=deviceFilter,proto3" json:"device_filter,omitempty" bson:"device_filter" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameManifest) Reset() { *m = GameManifest{} }
func (m *GameManifest) String() string { return proto.CompactTextString(m) }
func (*GameManifest) ProtoMessage() {}
func (*GameManifest) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{10}
}
func (m *GameManifest) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameManifest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameManifest.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameManifest) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameManifest.Merge(m, src)
}
func (m *GameManifest) XXX_Size() int {
return m.Size()
}
func (m *GameManifest) XXX_DiscardUnknown() {
xxx_messageInfo_GameManifest.DiscardUnknown(m)
}
var xxx_messageInfo_GameManifest proto.InternalMessageInfo
type GameEnumGroup struct {
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
DefaultValue string `protobuf:"bytes,2,opt,name=default_value,json=defaultValue,proto3" json:"default_value,omitempty"`
Values []string `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameEnumGroup) Reset() { *m = GameEnumGroup{} }
func (m *GameEnumGroup) String() string { return proto.CompactTextString(m) }
func (*GameEnumGroup) ProtoMessage() {}
func (*GameEnumGroup) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{11}
}
func (m *GameEnumGroup) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameEnumGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameEnumGroup.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameEnumGroup) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameEnumGroup.Merge(m, src)
}
func (m *GameEnumGroup) XXX_Size() int {
return m.Size()
}
func (m *GameEnumGroup) XXX_DiscardUnknown() {
xxx_messageInfo_GameEnumGroup.DiscardUnknown(m)
}
var xxx_messageInfo_GameEnumGroup proto.InternalMessageInfo
type FilterParams struct {
Exclude []string `protobuf:"bytes,1,rep,name=exclude,proto3" json:"exclude,omitempty"`
Include []string `protobuf:"bytes,2,rep,name=include,proto3" json:"include,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *FilterParams) Reset() { *m = FilterParams{} }
func (m *FilterParams) String() string { return proto.CompactTextString(m) }
func (*FilterParams) ProtoMessage() {}
func (*FilterParams) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{12}
}
func (m *FilterParams) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *FilterParams) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_FilterParams.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *FilterParams) XXX_Merge(src proto.Message) {
xxx_messageInfo_FilterParams.Merge(m, src)
}
func (m *FilterParams) XXX_Size() int {
return m.Size()
}
func (m *FilterParams) XXX_DiscardUnknown() {
xxx_messageInfo_FilterParams.DiscardUnknown(m)
}
var xxx_messageInfo_FilterParams proto.InternalMessageInfo
type GameSceneProps struct {
// Index of the scene or category
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
// Languages of the
Languages []string `protobuf:"bytes,2,rep,name=languages,proto3" json:"languages,omitempty"`
// ParentId of the scene. Can be empty or a category
ParentId string `protobuf:"bytes,3,opt,name=parent_id,json=parentId,proto3" json:"parent_id,omitempty"`
// CanOverrideImage enables overriding scene image.
CanOverrideImage bool `protobuf:"varint,4,opt,name=can_override_image,json=canOverrideImage,proto3" json:"can_override_image,omitempty"`
// ActiveAfter is a date YYYY-MM-DD formated string.
ActiveAfter string `protobuf:"bytes,5,opt,name=active_after,json=activeAfter,proto3" json:"active_after,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameSceneProps) Reset() { *m = GameSceneProps{} }
func (m *GameSceneProps) String() string { return proto.CompactTextString(m) }
func (*GameSceneProps) ProtoMessage() {}
func (*GameSceneProps) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{13}
}
func (m *GameSceneProps) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameSceneProps) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameSceneProps.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameSceneProps) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameSceneProps.Merge(m, src)
}
func (m *GameSceneProps) XXX_Size() int {
return m.Size()
}
func (m *GameSceneProps) XXX_DiscardUnknown() {
xxx_messageInfo_GameSceneProps.DiscardUnknown(m)
}
var xxx_messageInfo_GameSceneProps proto.InternalMessageInfo
type GameOption struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
// Type is determines what kind of option is this: string, number, boolean,
// scene, category
Type string `protobuf:"bytes,2,opt,name=type,proto3" json:"type,omitempty"`
// Description of the option
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
// Default value of option.
Default string `protobuf:"bytes,4,opt,name=default,proto3" json:"default,omitempty"`
// Enum is limits of string values
Enum []string `protobuf:"bytes,5,rep,name=enum,proto3" json:"enum,omitempty"`
// Format of the string
Format string `protobuf:"bytes,6,opt,name=format,proto3" json:"format,omitempty"`
// MinValue can be used when type is number and limits number
MinValue float64 `protobuf:"fixed64,7,opt,name=min_value,json=minValue,proto3" json:"min_value,omitempty"`
// MaxValue can be used when type is number and limits number
MaxValue float64 `protobuf:"fixed64,8,opt,name=max_value,json=maxValue,proto3" json:"max_value,omitempty"`
// Image of the option. It is available on material options
Image string `protobuf:"bytes,9,opt,name=image,proto3" json:"image,omitempty"`
// SortKey is a key to use sort options. If it is empty id is used instead
SortKey string `protobuf:"bytes,10,opt,name=sort_key,json=sortKey,proto3" json:"sort_key,omitempty"`
// EnumGroups further limits string enums.
EnumGroups []*GameEnumGroup `protobuf:"bytes,11,rep,name=enum_groups,json=enumGroups,proto3" json:"enum_groups,omitempty"`
// Scene is properties of game scene or category options.
Scene *GameSceneProps `protobuf:"bytes,12,opt,name=scene,proto3" json:"scene,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameOption) Reset() { *m = GameOption{} }
func (m *GameOption) String() string { return proto.CompactTextString(m) }
func (*GameOption) ProtoMessage() {}
func (*GameOption) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{14}
}
func (m *GameOption) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameOption.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameOption) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameOption.Merge(m, src)
}
func (m *GameOption) XXX_Size() int {
return m.Size()
}
func (m *GameOption) XXX_DiscardUnknown() {
xxx_messageInfo_GameOption.DiscardUnknown(m)
}
var xxx_messageInfo_GameOption proto.InternalMessageInfo
type Game struct {
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty" bson:"_id,omitempty"`
UniqueName string `protobuf:"bytes,2,opt,name=unique_name,json=uniqueName,proto3" json:"unique_name,omitempty" bson:"unique_name,omitempty"`
OwnerId string `protobuf:"bytes,3,opt,name=owner_id,json=ownerId,proto3" json:"owner_id,omitempty" bson:"owner_id,omitempty"`
ProductionVersion string `protobuf:"bytes,4,opt,name=production_version,json=productionVersion,proto3" json:"production_version,omitempty" bson:"production_version,omitempty"`
IsOnProduction bool `protobuf:"varint,5,opt,name=is_on_production,json=isOnProduction,proto3" json:"is_on_production,omitempty" bson:"is_on_production,omitempty"`
CreatedAt int64 `protobuf:"varint,6,opt,name=created_at,json=createdAt,proto3" json:"created_at,omitempty" bson:"created_at,omitempty"`
LastUpdated int64 `protobuf:"varint,7,opt,name=last_updated,json=lastUpdated,proto3" json:"last_updated,omitempty" bson:"last_updated,omitempty"`
Labels map[string]string `protobuf:"bytes,8,rep,name=labels,proto3" json:"labels,omitempty" bson:"labels" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *Game) Reset() { *m = Game{} }
func (m *Game) String() string { return proto.CompactTextString(m) }
func (*Game) ProtoMessage() {}
func (*Game) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{15}
}
func (m *Game) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *Game) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_Game.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *Game) XXX_Merge(src proto.Message) {
xxx_messageInfo_Game.Merge(m, src)
}
func (m *Game) XXX_Size() int {
return m.Size()
}
func (m *Game) XXX_DiscardUnknown() {
xxx_messageInfo_Game.DiscardUnknown(m)
}
var xxx_messageInfo_Game proto.InternalMessageInfo
type GameRelease struct {
ReleaseId string `protobuf:"bytes,1,opt,name=release_id,json=releaseId,proto3" json:"release_id,omitempty" bson:"_id"`
GameId string `protobuf:"bytes,2,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty" bson:"game_id"`
Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty" bson:"version"`
GameManifest *GameManifest `protobuf:"bytes,4,opt,name=game_manifest,json=gameManifest,proto3" json:"game_manifest,omitempty" bson:"game_manifest,omitempty"`
ReleasedAt int64 `protobuf:"varint,5,opt,name=released_at,json=releasedAt,proto3" json:"released_at,omitempty" bson:"released_at"`
ReleasedBy string `protobuf:"bytes,6,opt,name=released_by,json=releasedBy,proto3" json:"released_by,omitempty" bson:"released_by,omitempty"`
ReleaseState ReleaseState `protobuf:"varint,7,opt,name=release_state,json=releaseState,proto3,enum=apipb.ReleaseState" json:"release_state,omitempty" bson:"release_state"`
ValidatedBy string `protobuf:"bytes,8,opt,name=validated_by,json=validatedBy,proto3" json:"validated_by,omitempty" bson:"validated_by,omitempty"`
ValidatedAt int64 `protobuf:"varint,9,opt,name=validated_at,json=validatedAt,proto3" json:"validated_at,omitempty" bson:"validated_at"`
IntVersion int64 `protobuf:"varint,10,opt,name=int_version,json=intVersion,proto3" json:"int_version,omitempty" bson:"int_version"`
Storage string `protobuf:"bytes,11,opt,name=storage,proto3" json:"storage,omitempty" bson:"-"`
ArchiveFormat string `protobuf:"bytes,12,opt,name=archive_format,json=archiveFormat,proto3" json:"archive_format,omitempty" bson:"-"`
PackageUrl string `protobuf:"bytes,13,opt,name=package_url,json=packageUrl,proto3" json:"package_url,omitempty" bson:"-"`
Packages map[string]string `protobuf:"bytes,14,rep,name=packages,proto3" json:"packages,omitempty" bson:"-" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *GameRelease) Reset() { *m = GameRelease{} }
func (m *GameRelease) String() string { return proto.CompactTextString(m) }
func (*GameRelease) ProtoMessage() {}
func (*GameRelease) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{16}
}
func (m *GameRelease) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *GameRelease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_GameRelease.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)
if err != nil {
return nil, err
}
return b[:n], nil
}
}
func (m *GameRelease) XXX_Merge(src proto.Message) {
xxx_messageInfo_GameRelease.Merge(m, src)
}
func (m *GameRelease) XXX_Size() int {
return m.Size()
}
func (m *GameRelease) XXX_DiscardUnknown() {
xxx_messageInfo_GameRelease.DiscardUnknown(m)
}
var xxx_messageInfo_GameRelease proto.InternalMessageInfo
type UploadToken struct {
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty" bson:"token,omitempty"`
ExpiresAt int64 `protobuf:"varint,2,opt,name=expires_at,json=expiresAt,proto3" json:"expires_at,omitempty" bson:"expires_at,omitempty"`
UserId string `protobuf:"bytes,3,opt,name=user_id,json=userId,proto3" json:"user_id,omitempty" bson:"user_id,omitempty"`
GameId string `protobuf:"bytes,4,opt,name=game_id,json=gameId,proto3" json:"game_id,omitempty" bson:"game_id,omitempty"`
NewVersion string `protobuf:"bytes,5,opt,name=new_version,json=newVersion,proto3" json:"new_version,omitempty" bson:"new_version,omitempty"`
UploadTo string `protobuf:"bytes,6,opt,name=upload_to,json=uploadTo,proto3" json:"upload_to,omitempty" bson:"upload_to,omitempty"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *UploadToken) Reset() { *m = UploadToken{} }
func (m *UploadToken) String() string { return proto.CompactTextString(m) }
func (*UploadToken) ProtoMessage() {}
func (*UploadToken) Descriptor() ([]byte, []int) {
return fileDescriptor_0b5431a010549573, []int{17}
}
func (m *UploadToken) XXX_Unmarshal(b []byte) error {
return m.Unmarshal(b)
}
func (m *UploadToken) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
if deterministic {
return xxx_messageInfo_UploadToken.Marshal(b, m, deterministic)
} else {
b = b[:cap(b)]
n, err := m.MarshalTo(b)