forked from arduino/arduino-cli
-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathcompile.pb.go
1263 lines (1133 loc) · 50.7 KB
/
compile.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
// This file is part of arduino-cli.
//
// Copyright 2024 ARDUINO SA (https://www.arduino.cc/)
//
// 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.34.2
// protoc v5.26.1
// source: cc/arduino/cli/commands/v1/compile.proto
package commands
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 CompileRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Arduino Core Service instance from the `Init` response.
Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"`
// Fully Qualified Board Name, e.g.: `arduino:avr:uno`. If this field is
// not defined, the FQBN of the board attached to the sketch via the
// `BoardAttach` method is used.
Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"`
// The path where the sketch is stored.
SketchPath string `protobuf:"bytes,3,opt,name=sketch_path,json=sketchPath,proto3" json:"sketch_path,omitempty"`
// Just get the build properties and do not run the full compile.
ShowProperties bool `protobuf:"varint,4,opt,name=show_properties,json=showProperties,proto3" json:"show_properties,omitempty"`
// Print preprocessed code to stdout instead of compiling.
Preprocess bool `protobuf:"varint,5,opt,name=preprocess,proto3" json:"preprocess,omitempty"`
// Builds of 'core.a' are saved into this path to be cached and reused.
BuildCachePath string `protobuf:"bytes,6,opt,name=build_cache_path,json=buildCachePath,proto3" json:"build_cache_path,omitempty"`
// Path to use to store the files used for the compilation. If omitted,
// a directory will be created in the operating system's default temporary
// path.
BuildPath string `protobuf:"bytes,7,opt,name=build_path,json=buildPath,proto3" json:"build_path,omitempty"`
// List of custom build properties.
BuildProperties []string `protobuf:"bytes,8,rep,name=build_properties,json=buildProperties,proto3" json:"build_properties,omitempty"`
// Used to tell gcc which warning level to use. The level names are: "none",
// "default", "more" and "all".
Warnings string `protobuf:"bytes,9,opt,name=warnings,proto3" json:"warnings,omitempty"`
// Turns on verbose mode.
Verbose bool `protobuf:"varint,10,opt,name=verbose,proto3" json:"verbose,omitempty"`
// Suppresses almost every output.
Quiet bool `protobuf:"varint,11,opt,name=quiet,proto3" json:"quiet,omitempty"`
// The max number of concurrent compiler instances to run (as `make -jx`).
// If jobs is set to 0, it will use the number of available CPUs as the
// maximum.
Jobs int32 `protobuf:"varint,14,opt,name=jobs,proto3" json:"jobs,omitempty"`
// A list of paths to directories containing a collection of libraries.
Libraries []string `protobuf:"bytes,15,rep,name=libraries,proto3" json:"libraries,omitempty"`
// Optimize compile output for debug, not for release.
OptimizeForDebug bool `protobuf:"varint,16,opt,name=optimize_for_debug,json=optimizeForDebug,proto3" json:"optimize_for_debug,omitempty"`
// Optional: save the build artifacts in this directory, the directory must
// exist.
ExportDir string `protobuf:"bytes,18,opt,name=export_dir,json=exportDir,proto3" json:"export_dir,omitempty"`
// Optional: cleanup the build folder and do not use any previously cached
// build
Clean bool `protobuf:"varint,19,opt,name=clean,proto3" json:"clean,omitempty"`
// When set to `true` only the compilation database will be produced and no
// actual build will be performed.
CreateCompilationDatabaseOnly bool `protobuf:"varint,21,opt,name=create_compilation_database_only,json=createCompilationDatabaseOnly,proto3" json:"create_compilation_database_only,omitempty"`
// This map (source file -> new content) let the builder use the provided
// content instead of reading the corresponding file on disk. This is useful
// for IDE that have unsaved changes in memory. The path must be relative to
// the sketch directory. Only files from the sketch are allowed.
SourceOverride map[string]string `protobuf:"bytes,22,rep,name=source_override,json=sourceOverride,proto3" json:"source_override,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
// When set to `true` the compiled binary will be copied to the export
// directory.
ExportBinaries *bool `protobuf:"varint,23,opt,name=export_binaries,json=exportBinaries,proto3,oneof" json:"export_binaries,omitempty"`
// A list of paths to single libraries root directory.
Library []string `protobuf:"bytes,24,rep,name=library,proto3" json:"library,omitempty"`
// The path where to search for the custom signing key name and the encrypt
// key name
KeysKeychain string `protobuf:"bytes,25,opt,name=keys_keychain,json=keysKeychain,proto3" json:"keys_keychain,omitempty"`
// The name of the custom key to use for signing during the compile process
SignKey string `protobuf:"bytes,26,opt,name=sign_key,json=signKey,proto3" json:"sign_key,omitempty"`
// The name of the custom key to use for encrypting during the compile process
EncryptKey string `protobuf:"bytes,27,opt,name=encrypt_key,json=encryptKey,proto3" json:"encrypt_key,omitempty"`
// If set to true the build will skip the library discovery process and will
// use the same libraries of latest build. Enabling this flag may produce a
// wrong output and should not be used in regular compiles unless there is a
// very specific reason to do so. This flag is mainly provided for usage in
// language servers to optimize the build speed in some particular cases.
SkipLibrariesDiscovery bool `protobuf:"varint,28,opt,name=skip_libraries_discovery,json=skipLibrariesDiscovery,proto3" json:"skip_libraries_discovery,omitempty"`
// If set to true the returned build properties will be left unexpanded, with
// the variables placeholders exactly as defined in the platform.
DoNotExpandBuildProperties bool `protobuf:"varint,29,opt,name=do_not_expand_build_properties,json=doNotExpandBuildProperties,proto3" json:"do_not_expand_build_properties,omitempty"`
// Search for precompiled cores in the given paths and use them if found.
// This search is performed after the standard build_cache directory.
BuildCacheExtraPaths []string `protobuf:"bytes,30,rep,name=build_cache_extra_paths,json=buildCacheExtraPaths,proto3" json:"build_cache_extra_paths,omitempty"`
}
func (x *CompileRequest) Reset() {
*x = CompileRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompileRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompileRequest) ProtoMessage() {}
func (x *CompileRequest) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_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 CompileRequest.ProtoReflect.Descriptor instead.
func (*CompileRequest) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{0}
}
func (x *CompileRequest) GetInstance() *Instance {
if x != nil {
return x.Instance
}
return nil
}
func (x *CompileRequest) GetFqbn() string {
if x != nil {
return x.Fqbn
}
return ""
}
func (x *CompileRequest) GetSketchPath() string {
if x != nil {
return x.SketchPath
}
return ""
}
func (x *CompileRequest) GetShowProperties() bool {
if x != nil {
return x.ShowProperties
}
return false
}
func (x *CompileRequest) GetPreprocess() bool {
if x != nil {
return x.Preprocess
}
return false
}
func (x *CompileRequest) GetBuildCachePath() string {
if x != nil {
return x.BuildCachePath
}
return ""
}
func (x *CompileRequest) GetBuildPath() string {
if x != nil {
return x.BuildPath
}
return ""
}
func (x *CompileRequest) GetBuildProperties() []string {
if x != nil {
return x.BuildProperties
}
return nil
}
func (x *CompileRequest) GetWarnings() string {
if x != nil {
return x.Warnings
}
return ""
}
func (x *CompileRequest) GetVerbose() bool {
if x != nil {
return x.Verbose
}
return false
}
func (x *CompileRequest) GetQuiet() bool {
if x != nil {
return x.Quiet
}
return false
}
func (x *CompileRequest) GetJobs() int32 {
if x != nil {
return x.Jobs
}
return 0
}
func (x *CompileRequest) GetLibraries() []string {
if x != nil {
return x.Libraries
}
return nil
}
func (x *CompileRequest) GetOptimizeForDebug() bool {
if x != nil {
return x.OptimizeForDebug
}
return false
}
func (x *CompileRequest) GetExportDir() string {
if x != nil {
return x.ExportDir
}
return ""
}
func (x *CompileRequest) GetClean() bool {
if x != nil {
return x.Clean
}
return false
}
func (x *CompileRequest) GetCreateCompilationDatabaseOnly() bool {
if x != nil {
return x.CreateCompilationDatabaseOnly
}
return false
}
func (x *CompileRequest) GetSourceOverride() map[string]string {
if x != nil {
return x.SourceOverride
}
return nil
}
func (x *CompileRequest) GetExportBinaries() bool {
if x != nil && x.ExportBinaries != nil {
return *x.ExportBinaries
}
return false
}
func (x *CompileRequest) GetLibrary() []string {
if x != nil {
return x.Library
}
return nil
}
func (x *CompileRequest) GetKeysKeychain() string {
if x != nil {
return x.KeysKeychain
}
return ""
}
func (x *CompileRequest) GetSignKey() string {
if x != nil {
return x.SignKey
}
return ""
}
func (x *CompileRequest) GetEncryptKey() string {
if x != nil {
return x.EncryptKey
}
return ""
}
func (x *CompileRequest) GetSkipLibrariesDiscovery() bool {
if x != nil {
return x.SkipLibrariesDiscovery
}
return false
}
func (x *CompileRequest) GetDoNotExpandBuildProperties() bool {
if x != nil {
return x.DoNotExpandBuildProperties
}
return false
}
func (x *CompileRequest) GetBuildCacheExtraPaths() []string {
if x != nil {
return x.BuildCacheExtraPaths
}
return nil
}
type CompileResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Types that are assignable to Message:
//
// *CompileResponse_OutStream
// *CompileResponse_ErrStream
// *CompileResponse_Progress
// *CompileResponse_Result
Message isCompileResponse_Message `protobuf_oneof:"message"`
}
func (x *CompileResponse) Reset() {
*x = CompileResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompileResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompileResponse) ProtoMessage() {}
func (x *CompileResponse) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[1]
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 CompileResponse.ProtoReflect.Descriptor instead.
func (*CompileResponse) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{1}
}
func (m *CompileResponse) GetMessage() isCompileResponse_Message {
if m != nil {
return m.Message
}
return nil
}
func (x *CompileResponse) GetOutStream() []byte {
if x, ok := x.GetMessage().(*CompileResponse_OutStream); ok {
return x.OutStream
}
return nil
}
func (x *CompileResponse) GetErrStream() []byte {
if x, ok := x.GetMessage().(*CompileResponse_ErrStream); ok {
return x.ErrStream
}
return nil
}
func (x *CompileResponse) GetProgress() *TaskProgress {
if x, ok := x.GetMessage().(*CompileResponse_Progress); ok {
return x.Progress
}
return nil
}
func (x *CompileResponse) GetResult() *BuilderResult {
if x, ok := x.GetMessage().(*CompileResponse_Result); ok {
return x.Result
}
return nil
}
type isCompileResponse_Message interface {
isCompileResponse_Message()
}
type CompileResponse_OutStream struct {
// The output of the compilation process (stream)
OutStream []byte `protobuf:"bytes,1,opt,name=out_stream,json=outStream,proto3,oneof"`
}
type CompileResponse_ErrStream struct {
// The error output of the compilation process (stream)
ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3,oneof"`
}
type CompileResponse_Progress struct {
// Completions reports of the compilation process (stream)
Progress *TaskProgress `protobuf:"bytes,3,opt,name=progress,proto3,oneof"`
}
type CompileResponse_Result struct {
// The compilation result
Result *BuilderResult `protobuf:"bytes,4,opt,name=result,proto3,oneof"`
}
func (*CompileResponse_OutStream) isCompileResponse_Message() {}
func (*CompileResponse_ErrStream) isCompileResponse_Message() {}
func (*CompileResponse_Progress) isCompileResponse_Message() {}
func (*CompileResponse_Result) isCompileResponse_Message() {}
type InstanceNeedsReinitializationError struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *InstanceNeedsReinitializationError) Reset() {
*x = InstanceNeedsReinitializationError{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *InstanceNeedsReinitializationError) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*InstanceNeedsReinitializationError) ProtoMessage() {}
func (x *InstanceNeedsReinitializationError) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[2]
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 InstanceNeedsReinitializationError.ProtoReflect.Descriptor instead.
func (*InstanceNeedsReinitializationError) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{2}
}
type BuilderResult struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The compiler build path
BuildPath string `protobuf:"bytes,1,opt,name=build_path,json=buildPath,proto3" json:"build_path,omitempty"`
// The libraries used in the build
UsedLibraries []*Library `protobuf:"bytes,2,rep,name=used_libraries,json=usedLibraries,proto3" json:"used_libraries,omitempty"`
// The size of the executable split by sections
ExecutableSectionsSize []*ExecutableSectionSize `protobuf:"bytes,3,rep,name=executable_sections_size,json=executableSectionsSize,proto3" json:"executable_sections_size,omitempty"`
// The platform where the board is defined
BoardPlatform *InstalledPlatformReference `protobuf:"bytes,4,opt,name=board_platform,json=boardPlatform,proto3" json:"board_platform,omitempty"`
// The platform used for the build (if referenced from the board platform)
BuildPlatform *InstalledPlatformReference `protobuf:"bytes,5,opt,name=build_platform,json=buildPlatform,proto3" json:"build_platform,omitempty"`
// Build properties used for compiling
BuildProperties []string `protobuf:"bytes,7,rep,name=build_properties,json=buildProperties,proto3" json:"build_properties,omitempty"`
// Compiler errors and warnings
Diagnostics []*CompileDiagnostic `protobuf:"bytes,8,rep,name=diagnostics,proto3" json:"diagnostics,omitempty"`
}
func (x *BuilderResult) Reset() {
*x = BuilderResult{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *BuilderResult) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*BuilderResult) ProtoMessage() {}
func (x *BuilderResult) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[3]
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 BuilderResult.ProtoReflect.Descriptor instead.
func (*BuilderResult) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{3}
}
func (x *BuilderResult) GetBuildPath() string {
if x != nil {
return x.BuildPath
}
return ""
}
func (x *BuilderResult) GetUsedLibraries() []*Library {
if x != nil {
return x.UsedLibraries
}
return nil
}
func (x *BuilderResult) GetExecutableSectionsSize() []*ExecutableSectionSize {
if x != nil {
return x.ExecutableSectionsSize
}
return nil
}
func (x *BuilderResult) GetBoardPlatform() *InstalledPlatformReference {
if x != nil {
return x.BoardPlatform
}
return nil
}
func (x *BuilderResult) GetBuildPlatform() *InstalledPlatformReference {
if x != nil {
return x.BuildPlatform
}
return nil
}
func (x *BuilderResult) GetBuildProperties() []string {
if x != nil {
return x.BuildProperties
}
return nil
}
func (x *BuilderResult) GetDiagnostics() []*CompileDiagnostic {
if x != nil {
return x.Diagnostics
}
return nil
}
type ExecutableSectionSize struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
Size int64 `protobuf:"varint,2,opt,name=size,proto3" json:"size,omitempty"`
MaxSize int64 `protobuf:"varint,3,opt,name=max_size,json=maxSize,proto3" json:"max_size,omitempty"`
}
func (x *ExecutableSectionSize) Reset() {
*x = ExecutableSectionSize{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ExecutableSectionSize) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ExecutableSectionSize) ProtoMessage() {}
func (x *ExecutableSectionSize) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[4]
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 ExecutableSectionSize.ProtoReflect.Descriptor instead.
func (*ExecutableSectionSize) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{4}
}
func (x *ExecutableSectionSize) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ExecutableSectionSize) GetSize() int64 {
if x != nil {
return x.Size
}
return 0
}
func (x *ExecutableSectionSize) GetMaxSize() int64 {
if x != nil {
return x.MaxSize
}
return 0
}
type CompileDiagnostic struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Severity of the diagnostic
Severity string `protobuf:"bytes,1,opt,name=severity,proto3" json:"severity,omitempty"`
// The explanation of the diagnostic (it may be multiple preformatted lines)
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
// The file containing the diagnostic
File string `protobuf:"bytes,3,opt,name=file,proto3" json:"file,omitempty"`
// The line of the diagnostic if available (starts from 1)
Line int64 `protobuf:"varint,4,opt,name=line,proto3" json:"line,omitempty"`
// The column of the diagnostic if available (starts from 1)
Column int64 `protobuf:"varint,5,opt,name=column,proto3" json:"column,omitempty"`
// The context where this diagnostic is found (it may be multiple files that
// represents a chain of includes, or a text describing where the diagnostic
// is found)
Context []*CompileDiagnosticContext `protobuf:"bytes,6,rep,name=context,proto3" json:"context,omitempty"`
// Annotations or suggestions to the diagnostic made by the compiler
Notes []*CompileDiagnosticNote `protobuf:"bytes,7,rep,name=notes,proto3" json:"notes,omitempty"`
}
func (x *CompileDiagnostic) Reset() {
*x = CompileDiagnostic{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[5]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompileDiagnostic) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompileDiagnostic) ProtoMessage() {}
func (x *CompileDiagnostic) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[5]
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 CompileDiagnostic.ProtoReflect.Descriptor instead.
func (*CompileDiagnostic) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{5}
}
func (x *CompileDiagnostic) GetSeverity() string {
if x != nil {
return x.Severity
}
return ""
}
func (x *CompileDiagnostic) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *CompileDiagnostic) GetFile() string {
if x != nil {
return x.File
}
return ""
}
func (x *CompileDiagnostic) GetLine() int64 {
if x != nil {
return x.Line
}
return 0
}
func (x *CompileDiagnostic) GetColumn() int64 {
if x != nil {
return x.Column
}
return 0
}
func (x *CompileDiagnostic) GetContext() []*CompileDiagnosticContext {
if x != nil {
return x.Context
}
return nil
}
func (x *CompileDiagnostic) GetNotes() []*CompileDiagnosticNote {
if x != nil {
return x.Notes
}
return nil
}
type CompileDiagnosticContext struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The message describing the context reference
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The file of the context reference
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// The line of the context reference
Line int64 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// The column of the context reference
Column int64 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
}
func (x *CompileDiagnosticContext) Reset() {
*x = CompileDiagnosticContext{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompileDiagnosticContext) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompileDiagnosticContext) ProtoMessage() {}
func (x *CompileDiagnosticContext) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[6]
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 CompileDiagnosticContext.ProtoReflect.Descriptor instead.
func (*CompileDiagnosticContext) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{6}
}
func (x *CompileDiagnosticContext) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *CompileDiagnosticContext) GetFile() string {
if x != nil {
return x.File
}
return ""
}
func (x *CompileDiagnosticContext) GetLine() int64 {
if x != nil {
return x.Line
}
return 0
}
func (x *CompileDiagnosticContext) GetColumn() int64 {
if x != nil {
return x.Column
}
return 0
}
type CompileDiagnosticNote struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// The message describing the compiler note
Message string `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
// The file of the compiler note
File string `protobuf:"bytes,2,opt,name=file,proto3" json:"file,omitempty"`
// The line of the compiler note
Line int64 `protobuf:"varint,3,opt,name=line,proto3" json:"line,omitempty"`
// The column of the compiler note
Column int64 `protobuf:"varint,4,opt,name=column,proto3" json:"column,omitempty"`
}
func (x *CompileDiagnosticNote) Reset() {
*x = CompileDiagnosticNote{}
if protoimpl.UnsafeEnabled {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompileDiagnosticNote) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompileDiagnosticNote) ProtoMessage() {}
func (x *CompileDiagnosticNote) ProtoReflect() protoreflect.Message {
mi := &file_cc_arduino_cli_commands_v1_compile_proto_msgTypes[7]
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 CompileDiagnosticNote.ProtoReflect.Descriptor instead.
func (*CompileDiagnosticNote) Descriptor() ([]byte, []int) {
return file_cc_arduino_cli_commands_v1_compile_proto_rawDescGZIP(), []int{7}
}
func (x *CompileDiagnosticNote) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
func (x *CompileDiagnosticNote) GetFile() string {
if x != nil {
return x.File
}
return ""
}
func (x *CompileDiagnosticNote) GetLine() int64 {
if x != nil {
return x.Line
}
return 0
}
func (x *CompileDiagnosticNote) GetColumn() int64 {
if x != nil {
return x.Column
}
return 0
}
var File_cc_arduino_cli_commands_v1_compile_proto protoreflect.FileDescriptor
var file_cc_arduino_cli_commands_v1_compile_proto_rawDesc = []byte{
0x0a, 0x28, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69,
0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d,
0x70, 0x69, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1a, 0x63, 0x63, 0x2e, 0x61,
0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61,
0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x1a, 0x27, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69,
0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f,
0x76, 0x31, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a,
0x24, 0x63, 0x63, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x63, 0x6c, 0x69, 0x2f,
0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x6c, 0x69, 0x62, 0x2e,
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x8c, 0x09, 0x0a, 0x0e, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c,
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x40, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74,
0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x24, 0x2e, 0x63, 0x63, 0x2e,
0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d,
0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65,
0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x71,
0x62, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x12, 0x1f,
0x0a, 0x0b, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, 0x12,
0x27, 0x0a, 0x0f, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69,
0x65, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0e, 0x73, 0x68, 0x6f, 0x77, 0x50, 0x72,
0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x65, 0x70,
0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x70, 0x72,
0x65, 0x70, 0x72, 0x6f, 0x63, 0x65, 0x73, 0x73, 0x12, 0x28, 0x0a, 0x10, 0x62, 0x75, 0x69, 0x6c,
0x64, 0x5f, 0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x06, 0x20, 0x01,
0x28, 0x09, 0x52, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, 0x50, 0x61,
0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68,
0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x61, 0x74,
0x68, 0x12, 0x29, 0x0a, 0x10, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65,
0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0f, 0x62, 0x75, 0x69,
0x6c, 0x64, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08,
0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08,
0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62,
0x6f, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f,
0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x69, 0x65, 0x74, 0x18, 0x0b, 0x20, 0x01, 0x28,
0x08, 0x52, 0x05, 0x71, 0x75, 0x69, 0x65, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6a, 0x6f, 0x62, 0x73,
0x18, 0x0e, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x6a, 0x6f, 0x62, 0x73, 0x12, 0x1c, 0x0a, 0x09,
0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x09, 0x52,
0x09, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x12, 0x2c, 0x0a, 0x12, 0x6f, 0x70,
0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x5f, 0x66, 0x6f, 0x72, 0x5f, 0x64, 0x65, 0x62, 0x75, 0x67,
0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65,
0x46, 0x6f, 0x72, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x6f,
0x72, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x12, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x65, 0x78,
0x70, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x63, 0x6c, 0x65, 0x61, 0x6e,
0x18, 0x13, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x63, 0x6c, 0x65, 0x61, 0x6e, 0x12, 0x47, 0x0a,
0x20, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x5f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x6f, 0x6e, 0x6c,
0x79, 0x18, 0x15, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1d, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x43,
0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x62, 0x61,
0x73, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x67, 0x0a, 0x0f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x18, 0x16, 0x20, 0x03, 0x28, 0x0b, 0x32,
0x3e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69,
0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x43, 0x6f, 0x6d,
0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x2e, 0x53, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52,
0x0e, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x12,
0x2c, 0x0a, 0x0f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x69, 0x6e, 0x61, 0x72, 0x69,
0x65, 0x73, 0x18, 0x17, 0x20, 0x01, 0x28, 0x08, 0x48, 0x00, 0x52, 0x0e, 0x65, 0x78, 0x70, 0x6f,
0x72, 0x74, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x69, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x18, 0x0a,
0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x18, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07,
0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x23, 0x0a, 0x0d, 0x6b, 0x65, 0x79, 0x73, 0x5f,
0x6b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x18, 0x19, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c,
0x6b, 0x65, 0x79, 0x73, 0x4b, 0x65, 0x79, 0x63, 0x68, 0x61, 0x69, 0x6e, 0x12, 0x19, 0x0a, 0x08,
0x73, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07,
0x73, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x6e, 0x63, 0x72, 0x79,
0x70, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x1b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x6e,
0x63, 0x72, 0x79, 0x70, 0x74, 0x4b, 0x65, 0x79, 0x12, 0x38, 0x0a, 0x18, 0x73, 0x6b, 0x69, 0x70,
0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x64, 0x69, 0x73, 0x63, 0x6f,
0x76, 0x65, 0x72, 0x79, 0x18, 0x1c, 0x20, 0x01, 0x28, 0x08, 0x52, 0x16, 0x73, 0x6b, 0x69, 0x70,
0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x44, 0x69, 0x73, 0x63, 0x6f, 0x76, 0x65,
0x72, 0x79, 0x12, 0x42, 0x0a, 0x1e, 0x64, 0x6f, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x65, 0x78, 0x70,
0x61, 0x6e, 0x64, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72,
0x74, 0x69, 0x65, 0x73, 0x18, 0x1d, 0x20, 0x01, 0x28, 0x08, 0x52, 0x1a, 0x64, 0x6f, 0x4e, 0x6f,
0x74, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x42, 0x75, 0x69, 0x6c, 0x64, 0x50, 0x72, 0x6f, 0x70,
0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x35, 0x0a, 0x17, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x5f,
0x63, 0x61, 0x63, 0x68, 0x65, 0x5f, 0x65, 0x78, 0x74, 0x72, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x68,
0x73, 0x18, 0x1e, 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x61,
0x63, 0x68, 0x65, 0x45, 0x78, 0x74, 0x72, 0x61, 0x50, 0x61, 0x74, 0x68, 0x73, 0x1a, 0x41, 0x0a,
0x13, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x45,
0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28,
0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01,
0x42, 0x12, 0x0a, 0x10, 0x5f, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x62, 0x69, 0x6e, 0x61,
0x72, 0x69, 0x65, 0x73, 0x22, 0xeb, 0x01, 0x0a, 0x0f, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1f, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x5f,
0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52, 0x09,
0x6f, 0x75, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1f, 0x0a, 0x0a, 0x65, 0x72, 0x72,
0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, 0x00, 0x52,
0x09, 0x65, 0x72, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x46, 0x0a, 0x08, 0x70, 0x72,
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x63,
0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f,
0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72,
0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x48, 0x00, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65,
0x73, 0x73, 0x12, 0x43, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x04, 0x20, 0x01,
0x28, 0x0b, 0x32, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e,
0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2e, 0x76, 0x31, 0x2e,