forked from danielvladco/go-proto-gql
/
generated.go
13623 lines (12283 loc) · 381 KB
/
generated.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 github.com/99designs/gqlgen, DO NOT EDIT.
package constructs
import (
"bytes"
"context"
"errors"
"fmt"
"strconv"
"sync"
"github.com/99designs/gqlgen/graphql"
"github.com/99designs/gqlgen/graphql/introspection"
"github.com/danielvladco/go-proto-gql/example/codegen/pb"
"github.com/danielvladco/go-proto-gql/pkg/types"
gqlparser "github.com/vektah/gqlparser/v2"
"github.com/vektah/gqlparser/v2/ast"
"google.golang.org/protobuf/types/known/anypb"
"google.golang.org/protobuf/types/known/timestamppb"
)
// region ************************** generated!.gotpl **************************
// NewExecutableSchema creates an ExecutableSchema from the ResolverRoot interface.
func NewExecutableSchema(cfg Config) graphql.ExecutableSchema {
return &executableSchema{
resolvers: cfg.Resolvers,
directives: cfg.Directives,
complexity: cfg.Complexity,
}
}
type Config struct {
Resolvers ResolverRoot
Directives DirectiveRoot
Complexity ComplexityRoot
}
type ResolverRoot interface {
Maps() MapsResolver
Mutation() MutationResolver
Oneof() OneofResolver
Query() QueryResolver
MapsInput() MapsInputResolver
OneofInput() OneofInputResolver
}
type DirectiveRoot struct {
Constructs func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Oneof_Oneof1 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Oneof_Oneof2 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
Oneof_Oneof3 func(ctx context.Context, obj interface{}, next graphql.Resolver) (res interface{}, err error)
}
type ComplexityRoot struct {
Baz struct {
Param1 func(childComplexity int) int
}
Foo struct {
Param1 func(childComplexity int) int
Param2 func(childComplexity int) int
}
FooFoo2 struct {
Param1 func(childComplexity int) int
}
GoogleProtobufTimestamp struct {
Nanos func(childComplexity int) int
Seconds func(childComplexity int) int
}
Maps struct {
BoolBool func(childComplexity int) int
Fixed32Fixed32 func(childComplexity int) int
Fixed64Fixed64 func(childComplexity int) int
Int32Int32 func(childComplexity int) int
Int64Int64 func(childComplexity int) int
Sfixed32Sfixed32 func(childComplexity int) int
Sfixed64Sfixed64 func(childComplexity int) int
Sint32Sint32 func(childComplexity int) int
Sint64Sint64 func(childComplexity int) int
StringBar func(childComplexity int) int
StringBytes func(childComplexity int) int
StringDouble func(childComplexity int) int
StringFloat func(childComplexity int) int
StringFoo func(childComplexity int) int
StringString func(childComplexity int) int
Uint32Uint32 func(childComplexity int) int
Uint64Uint64 func(childComplexity int) int
}
MapsBoolBoolEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsFixed32Fixed32Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsFixed64Fixed64Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsInt32Int32Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsInt64Int64Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsSfixed32Sfixed32Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsSfixed64Sfixed64Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsSint32Sint32Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsSint64Sint64Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsStringBarEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsStringBytesEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsStringDoubleEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsStringFloatEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsStringFooEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsStringStringEntry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsUint32Uint32Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
MapsUint64Uint64Entry struct {
Key func(childComplexity int) int
Value func(childComplexity int) int
}
Mutation struct {
ConstructsAny func(childComplexity int, in *anypb.Any) int
ConstructsCallWithID func(childComplexity int) int
ConstructsEmpty func(childComplexity int) int
ConstructsEmpty2 func(childComplexity int) int
ConstructsEmpty3 func(childComplexity int) int
ConstructsMaps func(childComplexity int, in *pb.Maps) int
ConstructsOneof func(childComplexity int, in *pb.Oneof) int
ConstructsRef func(childComplexity int, in *pb.Ref) int
ConstructsRepeated func(childComplexity int, in *pb.Repeated) int
ConstructsScalars func(childComplexity int, in *pb.Scalars) int
}
Oneof struct {
Oneof1 func(childComplexity int) int
Oneof2 func(childComplexity int) int
Oneof3 func(childComplexity int) int
Param1 func(childComplexity int) int
}
OneofParam2 struct {
Param2 func(childComplexity int) int
}
OneofParam3 struct {
Param3 func(childComplexity int) int
}
OneofParam4 struct {
Param4 func(childComplexity int) int
}
OneofParam5 struct {
Param5 func(childComplexity int) int
}
OneofParam6 struct {
Param6 func(childComplexity int) int
}
PbAny struct {
Param1 func(childComplexity int) int
}
Query struct {
Dummy func(childComplexity int) int
}
Ref struct {
En1 func(childComplexity int) int
En2 func(childComplexity int) int
External func(childComplexity int) int
File func(childComplexity int) int
FileEnum func(childComplexity int) int
FileMsg func(childComplexity int) int
Foreign func(childComplexity int) int
Gz func(childComplexity int) int
Local func(childComplexity int) int
LocalTime func(childComplexity int) int
LocalTime2 func(childComplexity int) int
}
RefBar struct {
Param1 func(childComplexity int) int
}
RefFoo struct {
Bar1 func(childComplexity int) int
Bar2 func(childComplexity int) int
En1 func(childComplexity int) int
En2 func(childComplexity int) int
ExternalTime1 func(childComplexity int) int
LocalTime2 func(childComplexity int) int
}
RefFooBar struct {
Param1 func(childComplexity int) int
}
RefFooBazGz struct {
Param1 func(childComplexity int) int
}
Repeated struct {
Bar func(childComplexity int) int
Bool func(childComplexity int) int
Bytes func(childComplexity int) int
Double func(childComplexity int) int
Fixed32 func(childComplexity int) int
Fixed64 func(childComplexity int) int
Float func(childComplexity int) int
Foo func(childComplexity int) int
Int32 func(childComplexity int) int
Int64 func(childComplexity int) int
Sfixed32 func(childComplexity int) int
Sfixed64 func(childComplexity int) int
Sint32 func(childComplexity int) int
Sint64 func(childComplexity int) int
StringX func(childComplexity int) int
Uint32 func(childComplexity int) int
Uint64 func(childComplexity int) int
}
Scalars struct {
Bool func(childComplexity int) int
Bytes func(childComplexity int) int
Double func(childComplexity int) int
Fixed32 func(childComplexity int) int
Fixed64 func(childComplexity int) int
Float func(childComplexity int) int
Int32 func(childComplexity int) int
Int64 func(childComplexity int) int
Sfixed32 func(childComplexity int) int
Sfixed64 func(childComplexity int) int
Sint32 func(childComplexity int) int
Sint64 func(childComplexity int) int
StringX func(childComplexity int) int
Uint32 func(childComplexity int) int
Uint64 func(childComplexity int) int
}
Timestamp struct {
Time func(childComplexity int) int
}
}
type MapsResolver interface {
Int32Int32(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Int32Int32Entry, error)
Int64Int64(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Int64Int64Entry, error)
Uint32Uint32(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Uint32Uint32Entry, error)
Uint64Uint64(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Uint64Uint64Entry, error)
Sint32Sint32(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Sint32Sint32Entry, error)
Sint64Sint64(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Sint64Sint64Entry, error)
Fixed32Fixed32(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Fixed32Fixed32Entry, error)
Fixed64Fixed64(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Fixed64Fixed64Entry, error)
Sfixed32Sfixed32(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Sfixed32Sfixed32Entry, error)
Sfixed64Sfixed64(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_Sfixed64Sfixed64Entry, error)
BoolBool(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_BoolBoolEntry, error)
StringString(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_StringStringEntry, error)
StringBytes(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_StringBytesEntry, error)
StringFloat(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_StringFloatEntry, error)
StringDouble(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_StringDoubleEntry, error)
StringFoo(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_StringFooEntry, error)
StringBar(ctx context.Context, obj *pb.Maps) ([]*pb.Maps_StringBarEntry, error)
}
type MutationResolver interface {
ConstructsScalars(ctx context.Context, in *pb.Scalars) (*pb.Scalars, error)
ConstructsRepeated(ctx context.Context, in *pb.Repeated) (*pb.Repeated, error)
ConstructsMaps(ctx context.Context, in *pb.Maps) (*pb.Maps, error)
ConstructsAny(ctx context.Context, in *anypb.Any) (*pb.Any, error)
ConstructsEmpty(ctx context.Context) (*bool, error)
ConstructsEmpty2(ctx context.Context) (*bool, error)
ConstructsEmpty3(ctx context.Context) (*bool, error)
ConstructsRef(ctx context.Context, in *pb.Ref) (*pb.Ref, error)
ConstructsOneof(ctx context.Context, in *pb.Oneof) (*pb.Oneof, error)
ConstructsCallWithID(ctx context.Context) (*bool, error)
}
type OneofResolver interface {
Oneof1(ctx context.Context, obj *pb.Oneof) (pb.Oneof_Oneof1, error)
Oneof2(ctx context.Context, obj *pb.Oneof) (pb.Oneof_Oneof2, error)
Oneof3(ctx context.Context, obj *pb.Oneof) (pb.Oneof_Oneof3, error)
}
type QueryResolver interface {
Dummy(ctx context.Context) (*bool, error)
}
type MapsInputResolver interface {
Int32Int32(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Int32Int32Entry) error
Int64Int64(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Int64Int64Entry) error
Uint32Uint32(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Uint32Uint32Entry) error
Uint64Uint64(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Uint64Uint64Entry) error
Sint32Sint32(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Sint32Sint32Entry) error
Sint64Sint64(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Sint64Sint64Entry) error
Fixed32Fixed32(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Fixed32Fixed32Entry) error
Fixed64Fixed64(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Fixed64Fixed64Entry) error
Sfixed32Sfixed32(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Sfixed32Sfixed32Entry) error
Sfixed64Sfixed64(ctx context.Context, obj *pb.Maps, data []*pb.Maps_Sfixed64Sfixed64Entry) error
BoolBool(ctx context.Context, obj *pb.Maps, data []*pb.Maps_BoolBoolEntry) error
StringString(ctx context.Context, obj *pb.Maps, data []*pb.Maps_StringStringEntry) error
StringBytes(ctx context.Context, obj *pb.Maps, data []*pb.Maps_StringBytesEntry) error
StringFloat(ctx context.Context, obj *pb.Maps, data []*pb.Maps_StringFloatEntry) error
StringDouble(ctx context.Context, obj *pb.Maps, data []*pb.Maps_StringDoubleEntry) error
StringFoo(ctx context.Context, obj *pb.Maps, data []*pb.Maps_StringFooEntry) error
StringBar(ctx context.Context, obj *pb.Maps, data []*pb.Maps_StringBarEntry) error
}
type OneofInputResolver interface {
Param2(ctx context.Context, obj *pb.Oneof, data *string) error
Param3(ctx context.Context, obj *pb.Oneof, data *string) error
Param4(ctx context.Context, obj *pb.Oneof, data *string) error
Param5(ctx context.Context, obj *pb.Oneof, data *string) error
Param6(ctx context.Context, obj *pb.Oneof, data *string) error
}
type executableSchema struct {
resolvers ResolverRoot
directives DirectiveRoot
complexity ComplexityRoot
}
func (e *executableSchema) Schema() *ast.Schema {
return parsedSchema
}
func (e *executableSchema) Complexity(typeName, field string, childComplexity int, rawArgs map[string]interface{}) (int, bool) {
ec := executionContext{nil, e}
_ = ec
switch typeName + "." + field {
case "Baz.param1":
if e.complexity.Baz.Param1 == nil {
break
}
return e.complexity.Baz.Param1(childComplexity), true
case "Foo.param1":
if e.complexity.Foo.Param1 == nil {
break
}
return e.complexity.Foo.Param1(childComplexity), true
case "Foo.param2":
if e.complexity.Foo.Param2 == nil {
break
}
return e.complexity.Foo.Param2(childComplexity), true
case "Foo_Foo2.param1":
if e.complexity.FooFoo2.Param1 == nil {
break
}
return e.complexity.FooFoo2.Param1(childComplexity), true
case "GoogleProtobuf_Timestamp.nanos":
if e.complexity.GoogleProtobufTimestamp.Nanos == nil {
break
}
return e.complexity.GoogleProtobufTimestamp.Nanos(childComplexity), true
case "GoogleProtobuf_Timestamp.seconds":
if e.complexity.GoogleProtobufTimestamp.Seconds == nil {
break
}
return e.complexity.GoogleProtobufTimestamp.Seconds(childComplexity), true
case "Maps.boolBool":
if e.complexity.Maps.BoolBool == nil {
break
}
return e.complexity.Maps.BoolBool(childComplexity), true
case "Maps.fixed32Fixed32":
if e.complexity.Maps.Fixed32Fixed32 == nil {
break
}
return e.complexity.Maps.Fixed32Fixed32(childComplexity), true
case "Maps.fixed64Fixed64":
if e.complexity.Maps.Fixed64Fixed64 == nil {
break
}
return e.complexity.Maps.Fixed64Fixed64(childComplexity), true
case "Maps.int32Int32":
if e.complexity.Maps.Int32Int32 == nil {
break
}
return e.complexity.Maps.Int32Int32(childComplexity), true
case "Maps.int64Int64":
if e.complexity.Maps.Int64Int64 == nil {
break
}
return e.complexity.Maps.Int64Int64(childComplexity), true
case "Maps.sfixed32Sfixed32":
if e.complexity.Maps.Sfixed32Sfixed32 == nil {
break
}
return e.complexity.Maps.Sfixed32Sfixed32(childComplexity), true
case "Maps.sfixed64Sfixed64":
if e.complexity.Maps.Sfixed64Sfixed64 == nil {
break
}
return e.complexity.Maps.Sfixed64Sfixed64(childComplexity), true
case "Maps.sint32Sint32":
if e.complexity.Maps.Sint32Sint32 == nil {
break
}
return e.complexity.Maps.Sint32Sint32(childComplexity), true
case "Maps.sint64Sint64":
if e.complexity.Maps.Sint64Sint64 == nil {
break
}
return e.complexity.Maps.Sint64Sint64(childComplexity), true
case "Maps.stringBar":
if e.complexity.Maps.StringBar == nil {
break
}
return e.complexity.Maps.StringBar(childComplexity), true
case "Maps.stringBytes":
if e.complexity.Maps.StringBytes == nil {
break
}
return e.complexity.Maps.StringBytes(childComplexity), true
case "Maps.stringDouble":
if e.complexity.Maps.StringDouble == nil {
break
}
return e.complexity.Maps.StringDouble(childComplexity), true
case "Maps.stringFloat":
if e.complexity.Maps.StringFloat == nil {
break
}
return e.complexity.Maps.StringFloat(childComplexity), true
case "Maps.stringFoo":
if e.complexity.Maps.StringFoo == nil {
break
}
return e.complexity.Maps.StringFoo(childComplexity), true
case "Maps.stringString":
if e.complexity.Maps.StringString == nil {
break
}
return e.complexity.Maps.StringString(childComplexity), true
case "Maps.uint32Uint32":
if e.complexity.Maps.Uint32Uint32 == nil {
break
}
return e.complexity.Maps.Uint32Uint32(childComplexity), true
case "Maps.uint64Uint64":
if e.complexity.Maps.Uint64Uint64 == nil {
break
}
return e.complexity.Maps.Uint64Uint64(childComplexity), true
case "Maps_BoolBoolEntry.key":
if e.complexity.MapsBoolBoolEntry.Key == nil {
break
}
return e.complexity.MapsBoolBoolEntry.Key(childComplexity), true
case "Maps_BoolBoolEntry.value":
if e.complexity.MapsBoolBoolEntry.Value == nil {
break
}
return e.complexity.MapsBoolBoolEntry.Value(childComplexity), true
case "Maps_Fixed32Fixed32Entry.key":
if e.complexity.MapsFixed32Fixed32Entry.Key == nil {
break
}
return e.complexity.MapsFixed32Fixed32Entry.Key(childComplexity), true
case "Maps_Fixed32Fixed32Entry.value":
if e.complexity.MapsFixed32Fixed32Entry.Value == nil {
break
}
return e.complexity.MapsFixed32Fixed32Entry.Value(childComplexity), true
case "Maps_Fixed64Fixed64Entry.key":
if e.complexity.MapsFixed64Fixed64Entry.Key == nil {
break
}
return e.complexity.MapsFixed64Fixed64Entry.Key(childComplexity), true
case "Maps_Fixed64Fixed64Entry.value":
if e.complexity.MapsFixed64Fixed64Entry.Value == nil {
break
}
return e.complexity.MapsFixed64Fixed64Entry.Value(childComplexity), true
case "Maps_Int32Int32Entry.key":
if e.complexity.MapsInt32Int32Entry.Key == nil {
break
}
return e.complexity.MapsInt32Int32Entry.Key(childComplexity), true
case "Maps_Int32Int32Entry.value":
if e.complexity.MapsInt32Int32Entry.Value == nil {
break
}
return e.complexity.MapsInt32Int32Entry.Value(childComplexity), true
case "Maps_Int64Int64Entry.key":
if e.complexity.MapsInt64Int64Entry.Key == nil {
break
}
return e.complexity.MapsInt64Int64Entry.Key(childComplexity), true
case "Maps_Int64Int64Entry.value":
if e.complexity.MapsInt64Int64Entry.Value == nil {
break
}
return e.complexity.MapsInt64Int64Entry.Value(childComplexity), true
case "Maps_Sfixed32Sfixed32Entry.key":
if e.complexity.MapsSfixed32Sfixed32Entry.Key == nil {
break
}
return e.complexity.MapsSfixed32Sfixed32Entry.Key(childComplexity), true
case "Maps_Sfixed32Sfixed32Entry.value":
if e.complexity.MapsSfixed32Sfixed32Entry.Value == nil {
break
}
return e.complexity.MapsSfixed32Sfixed32Entry.Value(childComplexity), true
case "Maps_Sfixed64Sfixed64Entry.key":
if e.complexity.MapsSfixed64Sfixed64Entry.Key == nil {
break
}
return e.complexity.MapsSfixed64Sfixed64Entry.Key(childComplexity), true
case "Maps_Sfixed64Sfixed64Entry.value":
if e.complexity.MapsSfixed64Sfixed64Entry.Value == nil {
break
}
return e.complexity.MapsSfixed64Sfixed64Entry.Value(childComplexity), true
case "Maps_Sint32Sint32Entry.key":
if e.complexity.MapsSint32Sint32Entry.Key == nil {
break
}
return e.complexity.MapsSint32Sint32Entry.Key(childComplexity), true
case "Maps_Sint32Sint32Entry.value":
if e.complexity.MapsSint32Sint32Entry.Value == nil {
break
}
return e.complexity.MapsSint32Sint32Entry.Value(childComplexity), true
case "Maps_Sint64Sint64Entry.key":
if e.complexity.MapsSint64Sint64Entry.Key == nil {
break
}
return e.complexity.MapsSint64Sint64Entry.Key(childComplexity), true
case "Maps_Sint64Sint64Entry.value":
if e.complexity.MapsSint64Sint64Entry.Value == nil {
break
}
return e.complexity.MapsSint64Sint64Entry.Value(childComplexity), true
case "Maps_StringBarEntry.key":
if e.complexity.MapsStringBarEntry.Key == nil {
break
}
return e.complexity.MapsStringBarEntry.Key(childComplexity), true
case "Maps_StringBarEntry.value":
if e.complexity.MapsStringBarEntry.Value == nil {
break
}
return e.complexity.MapsStringBarEntry.Value(childComplexity), true
case "Maps_StringBytesEntry.key":
if e.complexity.MapsStringBytesEntry.Key == nil {
break
}
return e.complexity.MapsStringBytesEntry.Key(childComplexity), true
case "Maps_StringBytesEntry.value":
if e.complexity.MapsStringBytesEntry.Value == nil {
break
}
return e.complexity.MapsStringBytesEntry.Value(childComplexity), true
case "Maps_StringDoubleEntry.key":
if e.complexity.MapsStringDoubleEntry.Key == nil {
break
}
return e.complexity.MapsStringDoubleEntry.Key(childComplexity), true
case "Maps_StringDoubleEntry.value":
if e.complexity.MapsStringDoubleEntry.Value == nil {
break
}
return e.complexity.MapsStringDoubleEntry.Value(childComplexity), true
case "Maps_StringFloatEntry.key":
if e.complexity.MapsStringFloatEntry.Key == nil {
break
}
return e.complexity.MapsStringFloatEntry.Key(childComplexity), true
case "Maps_StringFloatEntry.value":
if e.complexity.MapsStringFloatEntry.Value == nil {
break
}
return e.complexity.MapsStringFloatEntry.Value(childComplexity), true
case "Maps_StringFooEntry.key":
if e.complexity.MapsStringFooEntry.Key == nil {
break
}
return e.complexity.MapsStringFooEntry.Key(childComplexity), true
case "Maps_StringFooEntry.value":
if e.complexity.MapsStringFooEntry.Value == nil {
break
}
return e.complexity.MapsStringFooEntry.Value(childComplexity), true
case "Maps_StringStringEntry.key":
if e.complexity.MapsStringStringEntry.Key == nil {
break
}
return e.complexity.MapsStringStringEntry.Key(childComplexity), true
case "Maps_StringStringEntry.value":
if e.complexity.MapsStringStringEntry.Value == nil {
break
}
return e.complexity.MapsStringStringEntry.Value(childComplexity), true
case "Maps_Uint32Uint32Entry.key":
if e.complexity.MapsUint32Uint32Entry.Key == nil {
break
}
return e.complexity.MapsUint32Uint32Entry.Key(childComplexity), true
case "Maps_Uint32Uint32Entry.value":
if e.complexity.MapsUint32Uint32Entry.Value == nil {
break
}
return e.complexity.MapsUint32Uint32Entry.Value(childComplexity), true
case "Maps_Uint64Uint64Entry.key":
if e.complexity.MapsUint64Uint64Entry.Key == nil {
break
}
return e.complexity.MapsUint64Uint64Entry.Key(childComplexity), true
case "Maps_Uint64Uint64Entry.value":
if e.complexity.MapsUint64Uint64Entry.Value == nil {
break
}
return e.complexity.MapsUint64Uint64Entry.Value(childComplexity), true
case "Mutation.constructsAny_":
if e.complexity.Mutation.ConstructsAny == nil {
break
}
args, err := ec.field_Mutation_constructsAny__args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.ConstructsAny(childComplexity, args["in"].(*anypb.Any)), true
case "Mutation.constructsCallWithId":
if e.complexity.Mutation.ConstructsCallWithID == nil {
break
}
return e.complexity.Mutation.ConstructsCallWithID(childComplexity), true
case "Mutation.constructsEmpty_":
if e.complexity.Mutation.ConstructsEmpty == nil {
break
}
return e.complexity.Mutation.ConstructsEmpty(childComplexity), true
case "Mutation.constructsEmpty2_":
if e.complexity.Mutation.ConstructsEmpty2 == nil {
break
}
return e.complexity.Mutation.ConstructsEmpty2(childComplexity), true
case "Mutation.constructsEmpty3_":
if e.complexity.Mutation.ConstructsEmpty3 == nil {
break
}
return e.complexity.Mutation.ConstructsEmpty3(childComplexity), true
case "Mutation.constructsMaps_":
if e.complexity.Mutation.ConstructsMaps == nil {
break
}
args, err := ec.field_Mutation_constructsMaps__args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.ConstructsMaps(childComplexity, args["in"].(*pb.Maps)), true
case "Mutation.constructsOneof_":
if e.complexity.Mutation.ConstructsOneof == nil {
break
}
args, err := ec.field_Mutation_constructsOneof__args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.ConstructsOneof(childComplexity, args["in"].(*pb.Oneof)), true
case "Mutation.constructsRef_":
if e.complexity.Mutation.ConstructsRef == nil {
break
}
args, err := ec.field_Mutation_constructsRef__args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.ConstructsRef(childComplexity, args["in"].(*pb.Ref)), true
case "Mutation.constructsRepeated_":
if e.complexity.Mutation.ConstructsRepeated == nil {
break
}
args, err := ec.field_Mutation_constructsRepeated__args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.ConstructsRepeated(childComplexity, args["in"].(*pb.Repeated)), true
case "Mutation.constructsScalars_":
if e.complexity.Mutation.ConstructsScalars == nil {
break
}
args, err := ec.field_Mutation_constructsScalars__args(context.TODO(), rawArgs)
if err != nil {
return 0, false
}
return e.complexity.Mutation.ConstructsScalars(childComplexity, args["in"].(*pb.Scalars)), true
case "Oneof.oneof1":
if e.complexity.Oneof.Oneof1 == nil {
break
}
return e.complexity.Oneof.Oneof1(childComplexity), true
case "Oneof.oneof2":
if e.complexity.Oneof.Oneof2 == nil {
break
}
return e.complexity.Oneof.Oneof2(childComplexity), true
case "Oneof.oneof3":
if e.complexity.Oneof.Oneof3 == nil {
break
}
return e.complexity.Oneof.Oneof3(childComplexity), true
case "Oneof.param1":
if e.complexity.Oneof.Param1 == nil {
break
}
return e.complexity.Oneof.Param1(childComplexity), true
case "Oneof_Param2.param2":
if e.complexity.OneofParam2.Param2 == nil {
break
}
return e.complexity.OneofParam2.Param2(childComplexity), true
case "Oneof_Param3.param3":
if e.complexity.OneofParam3.Param3 == nil {
break
}
return e.complexity.OneofParam3.Param3(childComplexity), true
case "Oneof_Param4.param4":
if e.complexity.OneofParam4.Param4 == nil {
break
}
return e.complexity.OneofParam4.Param4(childComplexity), true
case "Oneof_Param5.param5":
if e.complexity.OneofParam5.Param5 == nil {
break
}
return e.complexity.OneofParam5.Param5(childComplexity), true
case "Oneof_Param6.param6":
if e.complexity.OneofParam6.Param6 == nil {
break
}
return e.complexity.OneofParam6.Param6(childComplexity), true
case "Pb_Any.param1":
if e.complexity.PbAny.Param1 == nil {
break
}
return e.complexity.PbAny.Param1(childComplexity), true
case "Query.dummy":
if e.complexity.Query.Dummy == nil {
break
}
return e.complexity.Query.Dummy(childComplexity), true
case "Ref.en1":
if e.complexity.Ref.En1 == nil {
break
}
return e.complexity.Ref.En1(childComplexity), true
case "Ref.en2":
if e.complexity.Ref.En2 == nil {
break
}
return e.complexity.Ref.En2(childComplexity), true
case "Ref.external":
if e.complexity.Ref.External == nil {
break
}
return e.complexity.Ref.External(childComplexity), true
case "Ref.file":
if e.complexity.Ref.File == nil {
break
}
return e.complexity.Ref.File(childComplexity), true
case "Ref.fileEnum":
if e.complexity.Ref.FileEnum == nil {
break
}
return e.complexity.Ref.FileEnum(childComplexity), true
case "Ref.fileMsg":
if e.complexity.Ref.FileMsg == nil {