forked from ensody/androidmanifest-changer
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Configuration.pb.go
1315 lines (1147 loc) · 53.5 KB
/
Configuration.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
//
// Copyright (C) 2017 The Android Open Source Project
//
// Licensed under the Apache License, Version 2.0 (the "License");
// you may not use this file except in compliance with the License.
// You may obtain a copy of the License at
//
// http://www.apache.org/licenses/LICENSE-2.0
//
// Unless required by applicable law or agreed to in writing, software
// distributed under the License is distributed on an "AS IS" BASIS,
// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
// See the License for the specific language governing permissions and
// limitations under the License.
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.18.1
// source: Configuration.proto
package main
import (
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
reflect "reflect"
sync "sync"
)
const (
// Verify that this generated code is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
// Verify that runtime/protoimpl is sufficiently up-to-date.
_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)
type Configuration_LayoutDirection int32
const (
Configuration_LAYOUT_DIRECTION_UNSET Configuration_LayoutDirection = 0
Configuration_LAYOUT_DIRECTION_LTR Configuration_LayoutDirection = 1
Configuration_LAYOUT_DIRECTION_RTL Configuration_LayoutDirection = 2
)
// Enum value maps for Configuration_LayoutDirection.
var (
Configuration_LayoutDirection_name = map[int32]string{
0: "LAYOUT_DIRECTION_UNSET",
1: "LAYOUT_DIRECTION_LTR",
2: "LAYOUT_DIRECTION_RTL",
}
Configuration_LayoutDirection_value = map[string]int32{
"LAYOUT_DIRECTION_UNSET": 0,
"LAYOUT_DIRECTION_LTR": 1,
"LAYOUT_DIRECTION_RTL": 2,
}
)
func (x Configuration_LayoutDirection) Enum() *Configuration_LayoutDirection {
p := new(Configuration_LayoutDirection)
*p = x
return p
}
func (x Configuration_LayoutDirection) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_LayoutDirection) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[0].Descriptor()
}
func (Configuration_LayoutDirection) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[0]
}
func (x Configuration_LayoutDirection) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_LayoutDirection.Descriptor instead.
func (Configuration_LayoutDirection) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 0}
}
type Configuration_ScreenLayoutSize int32
const (
Configuration_SCREEN_LAYOUT_SIZE_UNSET Configuration_ScreenLayoutSize = 0
Configuration_SCREEN_LAYOUT_SIZE_SMALL Configuration_ScreenLayoutSize = 1
Configuration_SCREEN_LAYOUT_SIZE_NORMAL Configuration_ScreenLayoutSize = 2
Configuration_SCREEN_LAYOUT_SIZE_LARGE Configuration_ScreenLayoutSize = 3
Configuration_SCREEN_LAYOUT_SIZE_XLARGE Configuration_ScreenLayoutSize = 4
)
// Enum value maps for Configuration_ScreenLayoutSize.
var (
Configuration_ScreenLayoutSize_name = map[int32]string{
0: "SCREEN_LAYOUT_SIZE_UNSET",
1: "SCREEN_LAYOUT_SIZE_SMALL",
2: "SCREEN_LAYOUT_SIZE_NORMAL",
3: "SCREEN_LAYOUT_SIZE_LARGE",
4: "SCREEN_LAYOUT_SIZE_XLARGE",
}
Configuration_ScreenLayoutSize_value = map[string]int32{
"SCREEN_LAYOUT_SIZE_UNSET": 0,
"SCREEN_LAYOUT_SIZE_SMALL": 1,
"SCREEN_LAYOUT_SIZE_NORMAL": 2,
"SCREEN_LAYOUT_SIZE_LARGE": 3,
"SCREEN_LAYOUT_SIZE_XLARGE": 4,
}
)
func (x Configuration_ScreenLayoutSize) Enum() *Configuration_ScreenLayoutSize {
p := new(Configuration_ScreenLayoutSize)
*p = x
return p
}
func (x Configuration_ScreenLayoutSize) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_ScreenLayoutSize) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[1].Descriptor()
}
func (Configuration_ScreenLayoutSize) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[1]
}
func (x Configuration_ScreenLayoutSize) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_ScreenLayoutSize.Descriptor instead.
func (Configuration_ScreenLayoutSize) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 1}
}
type Configuration_ScreenLayoutLong int32
const (
Configuration_SCREEN_LAYOUT_LONG_UNSET Configuration_ScreenLayoutLong = 0
Configuration_SCREEN_LAYOUT_LONG_LONG Configuration_ScreenLayoutLong = 1
Configuration_SCREEN_LAYOUT_LONG_NOTLONG Configuration_ScreenLayoutLong = 2
)
// Enum value maps for Configuration_ScreenLayoutLong.
var (
Configuration_ScreenLayoutLong_name = map[int32]string{
0: "SCREEN_LAYOUT_LONG_UNSET",
1: "SCREEN_LAYOUT_LONG_LONG",
2: "SCREEN_LAYOUT_LONG_NOTLONG",
}
Configuration_ScreenLayoutLong_value = map[string]int32{
"SCREEN_LAYOUT_LONG_UNSET": 0,
"SCREEN_LAYOUT_LONG_LONG": 1,
"SCREEN_LAYOUT_LONG_NOTLONG": 2,
}
)
func (x Configuration_ScreenLayoutLong) Enum() *Configuration_ScreenLayoutLong {
p := new(Configuration_ScreenLayoutLong)
*p = x
return p
}
func (x Configuration_ScreenLayoutLong) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_ScreenLayoutLong) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[2].Descriptor()
}
func (Configuration_ScreenLayoutLong) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[2]
}
func (x Configuration_ScreenLayoutLong) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_ScreenLayoutLong.Descriptor instead.
func (Configuration_ScreenLayoutLong) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 2}
}
type Configuration_ScreenRound int32
const (
Configuration_SCREEN_ROUND_UNSET Configuration_ScreenRound = 0
Configuration_SCREEN_ROUND_ROUND Configuration_ScreenRound = 1
Configuration_SCREEN_ROUND_NOTROUND Configuration_ScreenRound = 2
)
// Enum value maps for Configuration_ScreenRound.
var (
Configuration_ScreenRound_name = map[int32]string{
0: "SCREEN_ROUND_UNSET",
1: "SCREEN_ROUND_ROUND",
2: "SCREEN_ROUND_NOTROUND",
}
Configuration_ScreenRound_value = map[string]int32{
"SCREEN_ROUND_UNSET": 0,
"SCREEN_ROUND_ROUND": 1,
"SCREEN_ROUND_NOTROUND": 2,
}
)
func (x Configuration_ScreenRound) Enum() *Configuration_ScreenRound {
p := new(Configuration_ScreenRound)
*p = x
return p
}
func (x Configuration_ScreenRound) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_ScreenRound) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[3].Descriptor()
}
func (Configuration_ScreenRound) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[3]
}
func (x Configuration_ScreenRound) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_ScreenRound.Descriptor instead.
func (Configuration_ScreenRound) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 3}
}
type Configuration_WideColorGamut int32
const (
Configuration_WIDE_COLOR_GAMUT_UNSET Configuration_WideColorGamut = 0
Configuration_WIDE_COLOR_GAMUT_WIDECG Configuration_WideColorGamut = 1
Configuration_WIDE_COLOR_GAMUT_NOWIDECG Configuration_WideColorGamut = 2
)
// Enum value maps for Configuration_WideColorGamut.
var (
Configuration_WideColorGamut_name = map[int32]string{
0: "WIDE_COLOR_GAMUT_UNSET",
1: "WIDE_COLOR_GAMUT_WIDECG",
2: "WIDE_COLOR_GAMUT_NOWIDECG",
}
Configuration_WideColorGamut_value = map[string]int32{
"WIDE_COLOR_GAMUT_UNSET": 0,
"WIDE_COLOR_GAMUT_WIDECG": 1,
"WIDE_COLOR_GAMUT_NOWIDECG": 2,
}
)
func (x Configuration_WideColorGamut) Enum() *Configuration_WideColorGamut {
p := new(Configuration_WideColorGamut)
*p = x
return p
}
func (x Configuration_WideColorGamut) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_WideColorGamut) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[4].Descriptor()
}
func (Configuration_WideColorGamut) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[4]
}
func (x Configuration_WideColorGamut) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_WideColorGamut.Descriptor instead.
func (Configuration_WideColorGamut) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 4}
}
type Configuration_Hdr int32
const (
Configuration_HDR_UNSET Configuration_Hdr = 0
Configuration_HDR_HIGHDR Configuration_Hdr = 1
Configuration_HDR_LOWDR Configuration_Hdr = 2
)
// Enum value maps for Configuration_Hdr.
var (
Configuration_Hdr_name = map[int32]string{
0: "HDR_UNSET",
1: "HDR_HIGHDR",
2: "HDR_LOWDR",
}
Configuration_Hdr_value = map[string]int32{
"HDR_UNSET": 0,
"HDR_HIGHDR": 1,
"HDR_LOWDR": 2,
}
)
func (x Configuration_Hdr) Enum() *Configuration_Hdr {
p := new(Configuration_Hdr)
*p = x
return p
}
func (x Configuration_Hdr) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_Hdr) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[5].Descriptor()
}
func (Configuration_Hdr) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[5]
}
func (x Configuration_Hdr) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_Hdr.Descriptor instead.
func (Configuration_Hdr) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 5}
}
type Configuration_Orientation int32
const (
Configuration_ORIENTATION_UNSET Configuration_Orientation = 0
Configuration_ORIENTATION_PORT Configuration_Orientation = 1
Configuration_ORIENTATION_LAND Configuration_Orientation = 2
Configuration_ORIENTATION_SQUARE Configuration_Orientation = 3
)
// Enum value maps for Configuration_Orientation.
var (
Configuration_Orientation_name = map[int32]string{
0: "ORIENTATION_UNSET",
1: "ORIENTATION_PORT",
2: "ORIENTATION_LAND",
3: "ORIENTATION_SQUARE",
}
Configuration_Orientation_value = map[string]int32{
"ORIENTATION_UNSET": 0,
"ORIENTATION_PORT": 1,
"ORIENTATION_LAND": 2,
"ORIENTATION_SQUARE": 3,
}
)
func (x Configuration_Orientation) Enum() *Configuration_Orientation {
p := new(Configuration_Orientation)
*p = x
return p
}
func (x Configuration_Orientation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_Orientation) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[6].Descriptor()
}
func (Configuration_Orientation) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[6]
}
func (x Configuration_Orientation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_Orientation.Descriptor instead.
func (Configuration_Orientation) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 6}
}
type Configuration_UiModeType int32
const (
Configuration_UI_MODE_TYPE_UNSET Configuration_UiModeType = 0
Configuration_UI_MODE_TYPE_NORMAL Configuration_UiModeType = 1
Configuration_UI_MODE_TYPE_DESK Configuration_UiModeType = 2
Configuration_UI_MODE_TYPE_CAR Configuration_UiModeType = 3
Configuration_UI_MODE_TYPE_TELEVISION Configuration_UiModeType = 4
Configuration_UI_MODE_TYPE_APPLIANCE Configuration_UiModeType = 5
Configuration_UI_MODE_TYPE_WATCH Configuration_UiModeType = 6
Configuration_UI_MODE_TYPE_VRHEADSET Configuration_UiModeType = 7
)
// Enum value maps for Configuration_UiModeType.
var (
Configuration_UiModeType_name = map[int32]string{
0: "UI_MODE_TYPE_UNSET",
1: "UI_MODE_TYPE_NORMAL",
2: "UI_MODE_TYPE_DESK",
3: "UI_MODE_TYPE_CAR",
4: "UI_MODE_TYPE_TELEVISION",
5: "UI_MODE_TYPE_APPLIANCE",
6: "UI_MODE_TYPE_WATCH",
7: "UI_MODE_TYPE_VRHEADSET",
}
Configuration_UiModeType_value = map[string]int32{
"UI_MODE_TYPE_UNSET": 0,
"UI_MODE_TYPE_NORMAL": 1,
"UI_MODE_TYPE_DESK": 2,
"UI_MODE_TYPE_CAR": 3,
"UI_MODE_TYPE_TELEVISION": 4,
"UI_MODE_TYPE_APPLIANCE": 5,
"UI_MODE_TYPE_WATCH": 6,
"UI_MODE_TYPE_VRHEADSET": 7,
}
)
func (x Configuration_UiModeType) Enum() *Configuration_UiModeType {
p := new(Configuration_UiModeType)
*p = x
return p
}
func (x Configuration_UiModeType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_UiModeType) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[7].Descriptor()
}
func (Configuration_UiModeType) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[7]
}
func (x Configuration_UiModeType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_UiModeType.Descriptor instead.
func (Configuration_UiModeType) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 7}
}
type Configuration_UiModeNight int32
const (
Configuration_UI_MODE_NIGHT_UNSET Configuration_UiModeNight = 0
Configuration_UI_MODE_NIGHT_NIGHT Configuration_UiModeNight = 1
Configuration_UI_MODE_NIGHT_NOTNIGHT Configuration_UiModeNight = 2
)
// Enum value maps for Configuration_UiModeNight.
var (
Configuration_UiModeNight_name = map[int32]string{
0: "UI_MODE_NIGHT_UNSET",
1: "UI_MODE_NIGHT_NIGHT",
2: "UI_MODE_NIGHT_NOTNIGHT",
}
Configuration_UiModeNight_value = map[string]int32{
"UI_MODE_NIGHT_UNSET": 0,
"UI_MODE_NIGHT_NIGHT": 1,
"UI_MODE_NIGHT_NOTNIGHT": 2,
}
)
func (x Configuration_UiModeNight) Enum() *Configuration_UiModeNight {
p := new(Configuration_UiModeNight)
*p = x
return p
}
func (x Configuration_UiModeNight) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_UiModeNight) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[8].Descriptor()
}
func (Configuration_UiModeNight) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[8]
}
func (x Configuration_UiModeNight) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_UiModeNight.Descriptor instead.
func (Configuration_UiModeNight) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 8}
}
type Configuration_Touchscreen int32
const (
Configuration_TOUCHSCREEN_UNSET Configuration_Touchscreen = 0
Configuration_TOUCHSCREEN_NOTOUCH Configuration_Touchscreen = 1
Configuration_TOUCHSCREEN_STYLUS Configuration_Touchscreen = 2
Configuration_TOUCHSCREEN_FINGER Configuration_Touchscreen = 3
)
// Enum value maps for Configuration_Touchscreen.
var (
Configuration_Touchscreen_name = map[int32]string{
0: "TOUCHSCREEN_UNSET",
1: "TOUCHSCREEN_NOTOUCH",
2: "TOUCHSCREEN_STYLUS",
3: "TOUCHSCREEN_FINGER",
}
Configuration_Touchscreen_value = map[string]int32{
"TOUCHSCREEN_UNSET": 0,
"TOUCHSCREEN_NOTOUCH": 1,
"TOUCHSCREEN_STYLUS": 2,
"TOUCHSCREEN_FINGER": 3,
}
)
func (x Configuration_Touchscreen) Enum() *Configuration_Touchscreen {
p := new(Configuration_Touchscreen)
*p = x
return p
}
func (x Configuration_Touchscreen) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_Touchscreen) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[9].Descriptor()
}
func (Configuration_Touchscreen) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[9]
}
func (x Configuration_Touchscreen) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_Touchscreen.Descriptor instead.
func (Configuration_Touchscreen) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 9}
}
type Configuration_KeysHidden int32
const (
Configuration_KEYS_HIDDEN_UNSET Configuration_KeysHidden = 0
Configuration_KEYS_HIDDEN_KEYSEXPOSED Configuration_KeysHidden = 1
Configuration_KEYS_HIDDEN_KEYSHIDDEN Configuration_KeysHidden = 2
Configuration_KEYS_HIDDEN_KEYSSOFT Configuration_KeysHidden = 3
)
// Enum value maps for Configuration_KeysHidden.
var (
Configuration_KeysHidden_name = map[int32]string{
0: "KEYS_HIDDEN_UNSET",
1: "KEYS_HIDDEN_KEYSEXPOSED",
2: "KEYS_HIDDEN_KEYSHIDDEN",
3: "KEYS_HIDDEN_KEYSSOFT",
}
Configuration_KeysHidden_value = map[string]int32{
"KEYS_HIDDEN_UNSET": 0,
"KEYS_HIDDEN_KEYSEXPOSED": 1,
"KEYS_HIDDEN_KEYSHIDDEN": 2,
"KEYS_HIDDEN_KEYSSOFT": 3,
}
)
func (x Configuration_KeysHidden) Enum() *Configuration_KeysHidden {
p := new(Configuration_KeysHidden)
*p = x
return p
}
func (x Configuration_KeysHidden) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_KeysHidden) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[10].Descriptor()
}
func (Configuration_KeysHidden) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[10]
}
func (x Configuration_KeysHidden) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_KeysHidden.Descriptor instead.
func (Configuration_KeysHidden) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 10}
}
type Configuration_Keyboard int32
const (
Configuration_KEYBOARD_UNSET Configuration_Keyboard = 0
Configuration_KEYBOARD_NOKEYS Configuration_Keyboard = 1
Configuration_KEYBOARD_QWERTY Configuration_Keyboard = 2
Configuration_KEYBOARD_TWELVEKEY Configuration_Keyboard = 3
)
// Enum value maps for Configuration_Keyboard.
var (
Configuration_Keyboard_name = map[int32]string{
0: "KEYBOARD_UNSET",
1: "KEYBOARD_NOKEYS",
2: "KEYBOARD_QWERTY",
3: "KEYBOARD_TWELVEKEY",
}
Configuration_Keyboard_value = map[string]int32{
"KEYBOARD_UNSET": 0,
"KEYBOARD_NOKEYS": 1,
"KEYBOARD_QWERTY": 2,
"KEYBOARD_TWELVEKEY": 3,
}
)
func (x Configuration_Keyboard) Enum() *Configuration_Keyboard {
p := new(Configuration_Keyboard)
*p = x
return p
}
func (x Configuration_Keyboard) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_Keyboard) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[11].Descriptor()
}
func (Configuration_Keyboard) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[11]
}
func (x Configuration_Keyboard) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_Keyboard.Descriptor instead.
func (Configuration_Keyboard) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 11}
}
type Configuration_NavHidden int32
const (
Configuration_NAV_HIDDEN_UNSET Configuration_NavHidden = 0
Configuration_NAV_HIDDEN_NAVEXPOSED Configuration_NavHidden = 1
Configuration_NAV_HIDDEN_NAVHIDDEN Configuration_NavHidden = 2
)
// Enum value maps for Configuration_NavHidden.
var (
Configuration_NavHidden_name = map[int32]string{
0: "NAV_HIDDEN_UNSET",
1: "NAV_HIDDEN_NAVEXPOSED",
2: "NAV_HIDDEN_NAVHIDDEN",
}
Configuration_NavHidden_value = map[string]int32{
"NAV_HIDDEN_UNSET": 0,
"NAV_HIDDEN_NAVEXPOSED": 1,
"NAV_HIDDEN_NAVHIDDEN": 2,
}
)
func (x Configuration_NavHidden) Enum() *Configuration_NavHidden {
p := new(Configuration_NavHidden)
*p = x
return p
}
func (x Configuration_NavHidden) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_NavHidden) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[12].Descriptor()
}
func (Configuration_NavHidden) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[12]
}
func (x Configuration_NavHidden) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_NavHidden.Descriptor instead.
func (Configuration_NavHidden) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 12}
}
type Configuration_Navigation int32
const (
Configuration_NAVIGATION_UNSET Configuration_Navigation = 0
Configuration_NAVIGATION_NONAV Configuration_Navigation = 1
Configuration_NAVIGATION_DPAD Configuration_Navigation = 2
Configuration_NAVIGATION_TRACKBALL Configuration_Navigation = 3
Configuration_NAVIGATION_WHEEL Configuration_Navigation = 4
)
// Enum value maps for Configuration_Navigation.
var (
Configuration_Navigation_name = map[int32]string{
0: "NAVIGATION_UNSET",
1: "NAVIGATION_NONAV",
2: "NAVIGATION_DPAD",
3: "NAVIGATION_TRACKBALL",
4: "NAVIGATION_WHEEL",
}
Configuration_Navigation_value = map[string]int32{
"NAVIGATION_UNSET": 0,
"NAVIGATION_NONAV": 1,
"NAVIGATION_DPAD": 2,
"NAVIGATION_TRACKBALL": 3,
"NAVIGATION_WHEEL": 4,
}
)
func (x Configuration_Navigation) Enum() *Configuration_Navigation {
p := new(Configuration_Navigation)
*p = x
return p
}
func (x Configuration_Navigation) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (Configuration_Navigation) Descriptor() protoreflect.EnumDescriptor {
return file_Configuration_proto_enumTypes[13].Descriptor()
}
func (Configuration_Navigation) Type() protoreflect.EnumType {
return &file_Configuration_proto_enumTypes[13]
}
func (x Configuration_Navigation) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use Configuration_Navigation.Descriptor instead.
func (Configuration_Navigation) EnumDescriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0, 13}
}
// A description of the requirements a device must have in order for a
// resource to be matched and selected.
type Configuration struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Mobile country code.
Mcc uint32 `protobuf:"varint,1,opt,name=mcc,proto3" json:"mcc,omitempty"`
// Mobile network code.
Mnc uint32 `protobuf:"varint,2,opt,name=mnc,proto3" json:"mnc,omitempty"`
// BCP-47 locale tag.
Locale string `protobuf:"bytes,3,opt,name=locale,proto3" json:"locale,omitempty"`
// Left-to-right, right-to-left...
LayoutDirection Configuration_LayoutDirection `protobuf:"varint,4,opt,name=layout_direction,json=layoutDirection,proto3,enum=aapt.pb.Configuration_LayoutDirection" json:"layout_direction,omitempty"`
// Screen width in pixels. Prefer screen_width_dp.
ScreenWidth uint32 `protobuf:"varint,5,opt,name=screen_width,json=screenWidth,proto3" json:"screen_width,omitempty"`
// Screen height in pixels. Prefer screen_height_dp.
ScreenHeight uint32 `protobuf:"varint,6,opt,name=screen_height,json=screenHeight,proto3" json:"screen_height,omitempty"`
// Screen width in density independent pixels (dp).
ScreenWidthDp uint32 `protobuf:"varint,7,opt,name=screen_width_dp,json=screenWidthDp,proto3" json:"screen_width_dp,omitempty"`
// Screen height in density independent pixels (dp).
ScreenHeightDp uint32 `protobuf:"varint,8,opt,name=screen_height_dp,json=screenHeightDp,proto3" json:"screen_height_dp,omitempty"`
// The smallest screen dimension, regardless of orientation, in dp.
SmallestScreenWidthDp uint32 `protobuf:"varint,9,opt,name=smallest_screen_width_dp,json=smallestScreenWidthDp,proto3" json:"smallest_screen_width_dp,omitempty"`
// Whether the device screen is classified as small, normal, large, xlarge.
ScreenLayoutSize Configuration_ScreenLayoutSize `protobuf:"varint,10,opt,name=screen_layout_size,json=screenLayoutSize,proto3,enum=aapt.pb.Configuration_ScreenLayoutSize" json:"screen_layout_size,omitempty"`
// Whether the device screen is long.
ScreenLayoutLong Configuration_ScreenLayoutLong `protobuf:"varint,11,opt,name=screen_layout_long,json=screenLayoutLong,proto3,enum=aapt.pb.Configuration_ScreenLayoutLong" json:"screen_layout_long,omitempty"`
// Whether the screen is round (Android Wear).
ScreenRound Configuration_ScreenRound `protobuf:"varint,12,opt,name=screen_round,json=screenRound,proto3,enum=aapt.pb.Configuration_ScreenRound" json:"screen_round,omitempty"`
// Whether the screen supports wide color gamut.
WideColorGamut Configuration_WideColorGamut `protobuf:"varint,13,opt,name=wide_color_gamut,json=wideColorGamut,proto3,enum=aapt.pb.Configuration_WideColorGamut" json:"wide_color_gamut,omitempty"`
// Whether the screen has high dynamic range.
Hdr Configuration_Hdr `protobuf:"varint,14,opt,name=hdr,proto3,enum=aapt.pb.Configuration_Hdr" json:"hdr,omitempty"`
// Which orientation the device is in (portrait, landscape).
Orientation Configuration_Orientation `protobuf:"varint,15,opt,name=orientation,proto3,enum=aapt.pb.Configuration_Orientation" json:"orientation,omitempty"`
// Which type of UI mode the device is in (television, car, etc.).
UiModeType Configuration_UiModeType `protobuf:"varint,16,opt,name=ui_mode_type,json=uiModeType,proto3,enum=aapt.pb.Configuration_UiModeType" json:"ui_mode_type,omitempty"`
// Whether the device is in night mode.
UiModeNight Configuration_UiModeNight `protobuf:"varint,17,opt,name=ui_mode_night,json=uiModeNight,proto3,enum=aapt.pb.Configuration_UiModeNight" json:"ui_mode_night,omitempty"`
// The device's screen density in dots-per-inch (dpi).
Density uint32 `protobuf:"varint,18,opt,name=density,proto3" json:"density,omitempty"`
// Whether a touchscreen exists, supports a stylus, or finger.
Touchscreen Configuration_Touchscreen `protobuf:"varint,19,opt,name=touchscreen,proto3,enum=aapt.pb.Configuration_Touchscreen" json:"touchscreen,omitempty"`
// Whether the keyboard hardware keys are currently hidden, exposed, or
// if the keyboard is a software keyboard.
KeysHidden Configuration_KeysHidden `protobuf:"varint,20,opt,name=keys_hidden,json=keysHidden,proto3,enum=aapt.pb.Configuration_KeysHidden" json:"keys_hidden,omitempty"`
// The type of keyboard present (none, QWERTY, 12-key).
Keyboard Configuration_Keyboard `protobuf:"varint,21,opt,name=keyboard,proto3,enum=aapt.pb.Configuration_Keyboard" json:"keyboard,omitempty"`
// Whether the navigation is exposed or hidden.
NavHidden Configuration_NavHidden `protobuf:"varint,22,opt,name=nav_hidden,json=navHidden,proto3,enum=aapt.pb.Configuration_NavHidden" json:"nav_hidden,omitempty"`
// The type of navigation present on the device
// (trackball, wheel, dpad, etc.).
Navigation Configuration_Navigation `protobuf:"varint,23,opt,name=navigation,proto3,enum=aapt.pb.Configuration_Navigation" json:"navigation,omitempty"`
// The minimum SDK version of the device.
SdkVersion uint32 `protobuf:"varint,24,opt,name=sdk_version,json=sdkVersion,proto3" json:"sdk_version,omitempty"`
Product string `protobuf:"bytes,25,opt,name=product,proto3" json:"product,omitempty"`
}
func (x *Configuration) Reset() {
*x = Configuration{}
if protoimpl.UnsafeEnabled {
mi := &file_Configuration_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Configuration) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Configuration) ProtoMessage() {}
func (x *Configuration) ProtoReflect() protoreflect.Message {
mi := &file_Configuration_proto_msgTypes[0]
if protoimpl.UnsafeEnabled && x != nil {
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
if ms.LoadMessageInfo() == nil {
ms.StoreMessageInfo(mi)
}
return ms
}
return mi.MessageOf(x)
}
// Deprecated: Use Configuration.ProtoReflect.Descriptor instead.
func (*Configuration) Descriptor() ([]byte, []int) {
return file_Configuration_proto_rawDescGZIP(), []int{0}
}
func (x *Configuration) GetMcc() uint32 {
if x != nil {
return x.Mcc
}
return 0
}
func (x *Configuration) GetMnc() uint32 {
if x != nil {
return x.Mnc
}
return 0
}
func (x *Configuration) GetLocale() string {
if x != nil {
return x.Locale
}
return ""
}
func (x *Configuration) GetLayoutDirection() Configuration_LayoutDirection {
if x != nil {
return x.LayoutDirection
}
return Configuration_LAYOUT_DIRECTION_UNSET
}
func (x *Configuration) GetScreenWidth() uint32 {
if x != nil {
return x.ScreenWidth
}
return 0
}
func (x *Configuration) GetScreenHeight() uint32 {
if x != nil {
return x.ScreenHeight
}
return 0
}
func (x *Configuration) GetScreenWidthDp() uint32 {
if x != nil {
return x.ScreenWidthDp
}
return 0
}
func (x *Configuration) GetScreenHeightDp() uint32 {
if x != nil {
return x.ScreenHeightDp
}
return 0
}
func (x *Configuration) GetSmallestScreenWidthDp() uint32 {
if x != nil {
return x.SmallestScreenWidthDp
}
return 0
}
func (x *Configuration) GetScreenLayoutSize() Configuration_ScreenLayoutSize {
if x != nil {
return x.ScreenLayoutSize
}
return Configuration_SCREEN_LAYOUT_SIZE_UNSET
}
func (x *Configuration) GetScreenLayoutLong() Configuration_ScreenLayoutLong {
if x != nil {
return x.ScreenLayoutLong
}
return Configuration_SCREEN_LAYOUT_LONG_UNSET
}
func (x *Configuration) GetScreenRound() Configuration_ScreenRound {
if x != nil {
return x.ScreenRound
}
return Configuration_SCREEN_ROUND_UNSET
}
func (x *Configuration) GetWideColorGamut() Configuration_WideColorGamut {
if x != nil {
return x.WideColorGamut
}
return Configuration_WIDE_COLOR_GAMUT_UNSET
}
func (x *Configuration) GetHdr() Configuration_Hdr {
if x != nil {
return x.Hdr
}
return Configuration_HDR_UNSET
}
func (x *Configuration) GetOrientation() Configuration_Orientation {
if x != nil {
return x.Orientation
}
return Configuration_ORIENTATION_UNSET
}
func (x *Configuration) GetUiModeType() Configuration_UiModeType {
if x != nil {
return x.UiModeType
}
return Configuration_UI_MODE_TYPE_UNSET
}
func (x *Configuration) GetUiModeNight() Configuration_UiModeNight {
if x != nil {
return x.UiModeNight
}
return Configuration_UI_MODE_NIGHT_UNSET
}
func (x *Configuration) GetDensity() uint32 {
if x != nil {
return x.Density
}
return 0
}
func (x *Configuration) GetTouchscreen() Configuration_Touchscreen {
if x != nil {
return x.Touchscreen
}
return Configuration_TOUCHSCREEN_UNSET
}
func (x *Configuration) GetKeysHidden() Configuration_KeysHidden {
if x != nil {
return x.KeysHidden
}
return Configuration_KEYS_HIDDEN_UNSET
}
func (x *Configuration) GetKeyboard() Configuration_Keyboard {
if x != nil {
return x.Keyboard
}
return Configuration_KEYBOARD_UNSET
}