From daf2288c68c7cc53cb88ee48489257f4d9a8ed26 Mon Sep 17 00:00:00 2001 From: Silvano Cerza Date: Thu, 20 Aug 2020 10:11:00 +0200 Subject: [PATCH] [skip changelog] Update protoc files --- go.mod | 4 +- go.sum | 23 + rpc/commands/board.pb.go | 2026 ++++++++++++++++++---------- rpc/commands/commands.pb.go | 1502 +++++++++++++++------ rpc/commands/common.pb.go | 401 ++++-- rpc/commands/compile.pb.go | 482 ++++--- rpc/commands/core.pb.go | 1469 +++++++++++++------- rpc/commands/lib.pb.go | 2526 +++++++++++++++++++++++------------ rpc/commands/upload.pb.go | 846 ++++++++---- rpc/debug/debug.pb.go | 454 ++++--- rpc/monitor/monitor.pb.go | 487 ++++--- rpc/settings/settings.pb.go | 596 ++++++--- 12 files changed, 7159 insertions(+), 3657 deletions(-) diff --git a/go.mod b/go.mod index a325cf6ec01..958cb993898 100644 --- a/go.mod +++ b/go.mod @@ -20,7 +20,7 @@ require ( github.com/fluxio/iohelpers v0.0.0-20160419043813-3a4dd67a94d2 // indirect github.com/fluxio/multierror v0.0.0-20160419044231-9c68d39025e5 // indirect github.com/gofrs/uuid v3.2.0+incompatible - github.com/golang/protobuf v1.3.3 + github.com/golang/protobuf v1.4.1 github.com/h2non/filetype v1.0.8 // indirect github.com/imjasonmiller/godice v0.1.2 github.com/juju/errors v0.0.0-20181118221551-089d3ea4e4d5 // indirect @@ -51,8 +51,8 @@ require ( golang.org/x/net v0.0.0-20200202094626-16171245cfb2 golang.org/x/sys v0.0.0-20200202164722-d101bd2416d5 // indirect golang.org/x/text v0.3.2 - google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90 // indirect google.golang.org/grpc v1.27.0 + google.golang.org/protobuf v1.25.0 gopkg.in/check.v1 v1.0.0-20190902080502-41f04d3bba15 // indirect gopkg.in/mgo.v2 v2.0.0-20180705113604-9856a29383ce // indirect gopkg.in/yaml.v2 v2.3.0 diff --git a/go.sum b/go.sum index 6f89d9aa42f..b9f3a932c64 100644 --- a/go.sum +++ b/go.sum @@ -82,9 +82,20 @@ github.com/golang/protobuf v1.3.1/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5y github.com/golang/protobuf v1.3.2/go.mod h1:6lQm79b+lXiMfvg/cZm0SGofjICqVBUtrP5yJMmIC1U= github.com/golang/protobuf v1.3.3 h1:gyjaxf+svBWX08ZjK86iN9geUJF0H6gp2IRKX6Nf6/I= github.com/golang/protobuf v1.3.3/go.mod h1:vzj43D7+SQXF/4pzW/hwtAqwc6iTitCiVSaWz5lYuqw= +github.com/golang/protobuf v1.4.0-rc.1/go.mod h1:ceaxUfeHdC40wWswd/P6IGgMaK3YpKi5j83Wpe3EHw8= +github.com/golang/protobuf v1.4.0-rc.1.0.20200221234624-67d41d38c208/go.mod h1:xKAWHe0F5eneWXFV3EuXVDTCmh+JuBKY0li0aMyXATA= +github.com/golang/protobuf v1.4.0-rc.2/go.mod h1:LlEzMj4AhA7rCAGe4KMBDvJI+AwstrUpVNzEA03Pprs= +github.com/golang/protobuf v1.4.0-rc.4.0.20200313231945-b860323f09d0/go.mod h1:WU3c8KckQ9AFe+yFwt9sWVRKCVIyN9cPHBJSNnbL67w= +github.com/golang/protobuf v1.4.0/go.mod h1:jodUvKwWbYaEsadDk5Fwe5c77LiNKVO9IDvqG2KuDX0= +github.com/golang/protobuf v1.4.1 h1:ZFgWrT+bLgsYPirOnRfKLYJLvssAegOj/hgyMFdJZe0= +github.com/golang/protobuf v1.4.1/go.mod h1:U8fpvMrcmy5pZrNK1lt4xCsGvpyWQ/VVv6QDs8UjoX8= github.com/google/btree v1.0.0/go.mod h1:lNA+9X1NB3Zf8V7Ke586lFgjr2dZNuvo3lPJSGZ5JPQ= github.com/google/go-cmp v0.2.0 h1:+dTQ8DZQJz0Mb/HjFlkptS1FeQ4cWSnN941F8aEG4SQ= github.com/google/go-cmp v0.2.0/go.mod h1:oXzfMopK8JAjlY9xF4vHSVASa0yLyX7SntLO5aqRK0M= +github.com/google/go-cmp v0.3.0/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.3.1/go.mod h1:8QqcDgzrUqlUb/G2PQTWiueGozuR1884gddMywk6iLU= +github.com/google/go-cmp v0.4.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= +github.com/google/go-cmp v0.5.0/go.mod h1:v8dTdLbMG2kIc/vJvl+f65V22dbkXbowE6jgT/gNBxE= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1 h1:EGx4pi6eqNxGaHF6qqu48+N2wcFQ5qg5FXgOdqsJ5d8= github.com/gopherjs/gopherjs v0.0.0-20181017120253-0766667cb4d1/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY= github.com/gorilla/websocket v1.4.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ= @@ -288,17 +299,29 @@ golang.org/x/tools v0.0.0-20190311212946-11955173bddd/go.mod h1:LCzVGOaR6xXOjkQ3 golang.org/x/tools v0.0.0-20190328211700-ab21143f2384/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135 h1:5Beo0mZN8dRzgrMMkDp0jc8YXQKx9DiJ2k1dkvGsn5A= golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q= +golang.org/x/xerrors v0.0.0-20191204190536-9bdfabe68543/go.mod h1:I/5z698sn9Ka8TeJc9MKroUUfqBBauWjQqLJ2OPfmY0= google.golang.org/appengine v1.1.0/go.mod h1:EbEs0AVv82hx2wNQdGPgUI5lhzA/G0D9YwlJXL52JkM= google.golang.org/appengine v1.4.0/go.mod h1:xpcJRLb0r/rnEns0DIKYYv+WjYCduHsrkT7/EB5XEv4= google.golang.org/genproto v0.0.0-20180817151627-c66870c02cf8/go.mod h1:JiN7NxoALGmiZfu7CAH4rXhgtRTLTxftemlI0sWmxmc= google.golang.org/genproto v0.0.0-20190819201941-24fa4b261c55/go.mod h1:DMBHOl98Agz4BDEuKkezgsaosCRResVns1a3J2ZsMNc= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90 h1:7THRSvPuzF1bql5kyFzX0JM0vpGhwuhskgJrJsbZ80Y= google.golang.org/genproto v0.0.0-20200204135345-fa8e72b47b90/go.mod h1:GmwEX6Z4W5gMy59cAlVYjN9JhxgbQH6Gn+gFDQe2lzA= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013 h1:+kGHl1aib/qcwaRi1CbqBZ1rk19r85MNUf8HaBghugY= +google.golang.org/genproto v0.0.0-20200526211855-cb27e3aa2013/go.mod h1:NbSheEEYHJ7i3ixzK3sjbqSGDJWnxyFXZblF3eUsNvo= google.golang.org/grpc v1.19.0/go.mod h1:mqu4LbDTu4XGKhr4mRzUsmM4RtVoemTSY81AxZiDr8c= google.golang.org/grpc v1.21.0/go.mod h1:oYelfM1adQP15Ek0mdvEgi9Df8B9CZIaU1084ijfRaM= google.golang.org/grpc v1.23.0/go.mod h1:Y5yQAOtifL1yxbo5wqy6BxZv8vAUGQwXBOALyacEbxg= google.golang.org/grpc v1.27.0 h1:rRYRFMVgRv6E0D70Skyfsr28tDXIuuPZyWGMPdMcnXg= google.golang.org/grpc v1.27.0/go.mod h1:qbnxyOmOxrQa7FizSgH+ReBfzJrCY1pSN7KXBS8abTk= +google.golang.org/protobuf v0.0.0-20200109180630-ec00e32a8dfd/go.mod h1:DFci5gLYBciE7Vtevhsrf46CRTquxDuWsQurQQe4oz8= +google.golang.org/protobuf v0.0.0-20200221191635-4d8936d0db64/go.mod h1:kwYJMbMJ01Woi6D6+Kah6886xMZcty6N08ah7+eCXa0= +google.golang.org/protobuf v0.0.0-20200228230310-ab0ca4ff8a60/go.mod h1:cfTl7dwQJ+fmap5saPgwCLgHXTUD7jkjRqWcaiX5VyM= +google.golang.org/protobuf v1.20.1-0.20200309200217-e05f789c0967/go.mod h1:A+miEFZTKqfCUM6K7xSMQL9OKL/b6hQv+e19PK+JZNE= +google.golang.org/protobuf v1.21.0/go.mod h1:47Nbq4nVaFHyn7ilMalzfO3qCViNmqZ2kzikPIcrTAo= +google.golang.org/protobuf v1.22.0/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.23.1-0.20200526195155-81db48ad09cc/go.mod h1:EGpADcykh3NcUnDUJcl1+ZksZNG86OlYog2l/sGQquU= +google.golang.org/protobuf v1.25.0 h1:Ejskq+SyPohKW+1uil0JJMtmHCgJPJ/qWTxr8qp+R4c= +google.golang.org/protobuf v1.25.0/go.mod h1:9JNX74DMeImyA3h4bdi1ymwjUzf21/xIlbajtzgsN7c= gopkg.in/alecthomas/kingpin.v2 v2.2.6/go.mod h1:FMv+mEhP44yOT+4EoQTLFTRgOQ1FBLkstjWtayDeSgw= gopkg.in/check.v1 v0.0.0-20161208181325-20d25e280405/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= gopkg.in/check.v1 v1.0.0-20180628173108-788fd7840127/go.mod h1:Co6ibVJAznAaIkqp8huTwlJQCZ016jof/cbN4VW5Yz0= diff --git a/rpc/commands/board.pb.go b/rpc/commands/board.pb.go index 0d59ac0cd1d..1c437c2aefe 100644 --- a/rpc/commands/board.pb.go +++ b/rpc/commands/board.pb.go @@ -1,76 +1,108 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/board.proto package commands import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type BoardDetailsReq 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"` // The fully qualified board name of the board you want information about // (e.g., `arduino:avr:uno`). - Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` } -func (m *BoardDetailsReq) Reset() { *m = BoardDetailsReq{} } -func (m *BoardDetailsReq) String() string { return proto.CompactTextString(m) } -func (*BoardDetailsReq) ProtoMessage() {} -func (*BoardDetailsReq) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{0} +func (x *BoardDetailsReq) Reset() { + *x = BoardDetailsReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardDetailsReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardDetailsReq.Unmarshal(m, b) -} -func (m *BoardDetailsReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardDetailsReq.Marshal(b, m, deterministic) -} -func (m *BoardDetailsReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardDetailsReq.Merge(m, src) +func (x *BoardDetailsReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardDetailsReq) XXX_Size() int { - return xxx_messageInfo_BoardDetailsReq.Size(m) -} -func (m *BoardDetailsReq) XXX_DiscardUnknown() { - xxx_messageInfo_BoardDetailsReq.DiscardUnknown(m) + +func (*BoardDetailsReq) ProtoMessage() {} + +func (x *BoardDetailsReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_BoardDetailsReq proto.InternalMessageInfo +// Deprecated: Use BoardDetailsReq.ProtoReflect.Descriptor instead. +func (*BoardDetailsReq) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{0} +} -func (m *BoardDetailsReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *BoardDetailsReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *BoardDetailsReq) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *BoardDetailsReq) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } type BoardDetailsResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The fully qualified board name of the board. Fqbn string `protobuf:"bytes,1,opt,name=fqbn,proto3" json:"fqbn,omitempty"` // Name used to identify the board to humans (e.g., Arduino Uno). @@ -95,211 +127,235 @@ type BoardDetailsResp struct { // The board's custom configuration options. ConfigOptions []*ConfigOption `protobuf:"bytes,11,rep,name=config_options,json=configOptions,proto3" json:"config_options,omitempty"` // Identifying information for the board (e.g., USB VID/PID). - IdentificationPref []*IdentificationPref `protobuf:"bytes,12,rep,name=identification_pref,json=identificationPref,proto3" json:"identification_pref,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + IdentificationPref []*IdentificationPref `protobuf:"bytes,12,rep,name=identification_pref,json=identificationPref,proto3" json:"identification_pref,omitempty"` } -func (m *BoardDetailsResp) Reset() { *m = BoardDetailsResp{} } -func (m *BoardDetailsResp) String() string { return proto.CompactTextString(m) } -func (*BoardDetailsResp) ProtoMessage() {} -func (*BoardDetailsResp) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{1} +func (x *BoardDetailsResp) Reset() { + *x = BoardDetailsResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardDetailsResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardDetailsResp.Unmarshal(m, b) -} -func (m *BoardDetailsResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardDetailsResp.Marshal(b, m, deterministic) -} -func (m *BoardDetailsResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardDetailsResp.Merge(m, src) +func (x *BoardDetailsResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardDetailsResp) XXX_Size() int { - return xxx_messageInfo_BoardDetailsResp.Size(m) -} -func (m *BoardDetailsResp) XXX_DiscardUnknown() { - xxx_messageInfo_BoardDetailsResp.DiscardUnknown(m) + +func (*BoardDetailsResp) ProtoMessage() {} + +func (x *BoardDetailsResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_BoardDetailsResp proto.InternalMessageInfo +// Deprecated: Use BoardDetailsResp.ProtoReflect.Descriptor instead. +func (*BoardDetailsResp) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{1} +} -func (m *BoardDetailsResp) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *BoardDetailsResp) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } -func (m *BoardDetailsResp) GetName() string { - if m != nil { - return m.Name +func (x *BoardDetailsResp) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *BoardDetailsResp) GetVersion() string { - if m != nil { - return m.Version +func (x *BoardDetailsResp) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *BoardDetailsResp) GetPropertiesId() string { - if m != nil { - return m.PropertiesId +func (x *BoardDetailsResp) GetPropertiesId() string { + if x != nil { + return x.PropertiesId } return "" } -func (m *BoardDetailsResp) GetAlias() string { - if m != nil { - return m.Alias +func (x *BoardDetailsResp) GetAlias() string { + if x != nil { + return x.Alias } return "" } -func (m *BoardDetailsResp) GetOfficial() bool { - if m != nil { - return m.Official +func (x *BoardDetailsResp) GetOfficial() bool { + if x != nil { + return x.Official } return false } -func (m *BoardDetailsResp) GetPinout() string { - if m != nil { - return m.Pinout +func (x *BoardDetailsResp) GetPinout() string { + if x != nil { + return x.Pinout } return "" } -func (m *BoardDetailsResp) GetPackage() *Package { - if m != nil { - return m.Package +func (x *BoardDetailsResp) GetPackage() *Package { + if x != nil { + return x.Package } return nil } -func (m *BoardDetailsResp) GetPlatform() *BoardPlatform { - if m != nil { - return m.Platform +func (x *BoardDetailsResp) GetPlatform() *BoardPlatform { + if x != nil { + return x.Platform } return nil } -func (m *BoardDetailsResp) GetToolsDependencies() []*ToolsDependencies { - if m != nil { - return m.ToolsDependencies +func (x *BoardDetailsResp) GetToolsDependencies() []*ToolsDependencies { + if x != nil { + return x.ToolsDependencies } return nil } -func (m *BoardDetailsResp) GetConfigOptions() []*ConfigOption { - if m != nil { - return m.ConfigOptions +func (x *BoardDetailsResp) GetConfigOptions() []*ConfigOption { + if x != nil { + return x.ConfigOptions } return nil } -func (m *BoardDetailsResp) GetIdentificationPref() []*IdentificationPref { - if m != nil { - return m.IdentificationPref +func (x *BoardDetailsResp) GetIdentificationPref() []*IdentificationPref { + if x != nil { + return x.IdentificationPref } return nil } type IdentificationPref struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Identifying information for USB-connected boards. - UsbID *USBID `protobuf:"bytes,1,opt,name=usbID,proto3" json:"usbID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UsbID *USBID `protobuf:"bytes,1,opt,name=usbID,proto3" json:"usbID,omitempty"` } -func (m *IdentificationPref) Reset() { *m = IdentificationPref{} } -func (m *IdentificationPref) String() string { return proto.CompactTextString(m) } -func (*IdentificationPref) ProtoMessage() {} -func (*IdentificationPref) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{2} +func (x *IdentificationPref) Reset() { + *x = IdentificationPref{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *IdentificationPref) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_IdentificationPref.Unmarshal(m, b) +func (x *IdentificationPref) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *IdentificationPref) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_IdentificationPref.Marshal(b, m, deterministic) -} -func (m *IdentificationPref) XXX_Merge(src proto.Message) { - xxx_messageInfo_IdentificationPref.Merge(m, src) -} -func (m *IdentificationPref) XXX_Size() int { - return xxx_messageInfo_IdentificationPref.Size(m) -} -func (m *IdentificationPref) XXX_DiscardUnknown() { - xxx_messageInfo_IdentificationPref.DiscardUnknown(m) + +func (*IdentificationPref) ProtoMessage() {} + +func (x *IdentificationPref) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_IdentificationPref proto.InternalMessageInfo +// Deprecated: Use IdentificationPref.ProtoReflect.Descriptor instead. +func (*IdentificationPref) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{2} +} -func (m *IdentificationPref) GetUsbID() *USBID { - if m != nil { - return m.UsbID +func (x *IdentificationPref) GetUsbID() *USBID { + if x != nil { + return x.UsbID } return nil } type USBID struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // USB vendor ID. VID string `protobuf:"bytes,1,opt,name=VID,proto3" json:"VID,omitempty"` // USB product ID. - PID string `protobuf:"bytes,2,opt,name=PID,proto3" json:"PID,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + PID string `protobuf:"bytes,2,opt,name=PID,proto3" json:"PID,omitempty"` } -func (m *USBID) Reset() { *m = USBID{} } -func (m *USBID) String() string { return proto.CompactTextString(m) } -func (*USBID) ProtoMessage() {} -func (*USBID) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{3} +func (x *USBID) Reset() { + *x = USBID{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *USBID) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_USBID.Unmarshal(m, b) -} -func (m *USBID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_USBID.Marshal(b, m, deterministic) -} -func (m *USBID) XXX_Merge(src proto.Message) { - xxx_messageInfo_USBID.Merge(m, src) -} -func (m *USBID) XXX_Size() int { - return xxx_messageInfo_USBID.Size(m) +func (x *USBID) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *USBID) XXX_DiscardUnknown() { - xxx_messageInfo_USBID.DiscardUnknown(m) + +func (*USBID) ProtoMessage() {} + +func (x *USBID) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_USBID proto.InternalMessageInfo +// Deprecated: Use USBID.ProtoReflect.Descriptor instead. +func (*USBID) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{3} +} -func (m *USBID) GetVID() string { - if m != nil { - return m.VID +func (x *USBID) GetVID() string { + if x != nil { + return x.VID } return "" } -func (m *USBID) GetPID() string { - if m != nil { - return m.PID +func (x *USBID) GetPID() string { + if x != nil { + return x.PID } return "" } type Package struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Maintainer of the package. Maintainer string `protobuf:"bytes,1,opt,name=maintainer,proto3" json:"maintainer,omitempty"` // The URL of the platforms index file @@ -312,120 +368,136 @@ type Package struct { // Package vendor name. Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // Resources for getting help about using the package. - Help *Help `protobuf:"bytes,6,opt,name=help,proto3" json:"help,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Help *Help `protobuf:"bytes,6,opt,name=help,proto3" json:"help,omitempty"` } -func (m *Package) Reset() { *m = Package{} } -func (m *Package) String() string { return proto.CompactTextString(m) } -func (*Package) ProtoMessage() {} -func (*Package) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{4} +func (x *Package) Reset() { + *x = Package{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Package) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Package.Unmarshal(m, b) -} -func (m *Package) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Package.Marshal(b, m, deterministic) -} -func (m *Package) XXX_Merge(src proto.Message) { - xxx_messageInfo_Package.Merge(m, src) +func (x *Package) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Package) XXX_Size() int { - return xxx_messageInfo_Package.Size(m) -} -func (m *Package) XXX_DiscardUnknown() { - xxx_messageInfo_Package.DiscardUnknown(m) + +func (*Package) ProtoMessage() {} + +func (x *Package) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_Package proto.InternalMessageInfo +// Deprecated: Use Package.ProtoReflect.Descriptor instead. +func (*Package) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{4} +} -func (m *Package) GetMaintainer() string { - if m != nil { - return m.Maintainer +func (x *Package) GetMaintainer() string { + if x != nil { + return x.Maintainer } return "" } -func (m *Package) GetUrl() string { - if m != nil { - return m.Url +func (x *Package) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *Package) GetWebsiteURL() string { - if m != nil { - return m.WebsiteURL +func (x *Package) GetWebsiteURL() string { + if x != nil { + return x.WebsiteURL } return "" } -func (m *Package) GetEmail() string { - if m != nil { - return m.Email +func (x *Package) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *Package) GetName() string { - if m != nil { - return m.Name +func (x *Package) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Package) GetHelp() *Help { - if m != nil { - return m.Help +func (x *Package) GetHelp() *Help { + if x != nil { + return x.Help } return nil } type Help struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // URL for getting online help. - Online string `protobuf:"bytes,1,opt,name=online,proto3" json:"online,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Online string `protobuf:"bytes,1,opt,name=online,proto3" json:"online,omitempty"` } -func (m *Help) Reset() { *m = Help{} } -func (m *Help) String() string { return proto.CompactTextString(m) } -func (*Help) ProtoMessage() {} -func (*Help) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{5} +func (x *Help) Reset() { + *x = Help{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Help) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Help.Unmarshal(m, b) -} -func (m *Help) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Help.Marshal(b, m, deterministic) +func (x *Help) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Help) XXX_Merge(src proto.Message) { - xxx_messageInfo_Help.Merge(m, src) -} -func (m *Help) XXX_Size() int { - return xxx_messageInfo_Help.Size(m) -} -func (m *Help) XXX_DiscardUnknown() { - xxx_messageInfo_Help.DiscardUnknown(m) + +func (*Help) ProtoMessage() {} + +func (x *Help) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_Help proto.InternalMessageInfo +// Deprecated: Use Help.ProtoReflect.Descriptor instead. +func (*Help) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{5} +} -func (m *Help) GetOnline() string { - if m != nil { - return m.Online +func (x *Help) GetOnline() string { + if x != nil { + return x.Online } return "" } type BoardPlatform struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Architecture of the platform (e.g., `avr`). Architecture string `protobuf:"bytes,1,opt,name=architecture,proto3" json:"architecture,omitempty"` // Category of the platform. Set to `Contributed` for 3rd party platforms. @@ -439,87 +511,95 @@ type BoardPlatform struct { // File size of the platform archive. Size int64 `protobuf:"varint,6,opt,name=size,proto3" json:"size,omitempty"` // Name used to identify the platform to humans. - Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Name string `protobuf:"bytes,7,opt,name=name,proto3" json:"name,omitempty"` } -func (m *BoardPlatform) Reset() { *m = BoardPlatform{} } -func (m *BoardPlatform) String() string { return proto.CompactTextString(m) } -func (*BoardPlatform) ProtoMessage() {} -func (*BoardPlatform) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{6} +func (x *BoardPlatform) Reset() { + *x = BoardPlatform{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardPlatform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardPlatform.Unmarshal(m, b) -} -func (m *BoardPlatform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardPlatform.Marshal(b, m, deterministic) +func (x *BoardPlatform) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardPlatform) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardPlatform.Merge(m, src) -} -func (m *BoardPlatform) XXX_Size() int { - return xxx_messageInfo_BoardPlatform.Size(m) -} -func (m *BoardPlatform) XXX_DiscardUnknown() { - xxx_messageInfo_BoardPlatform.DiscardUnknown(m) + +func (*BoardPlatform) ProtoMessage() {} + +func (x *BoardPlatform) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_BoardPlatform proto.InternalMessageInfo +// Deprecated: Use BoardPlatform.ProtoReflect.Descriptor instead. +func (*BoardPlatform) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{6} +} -func (m *BoardPlatform) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *BoardPlatform) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } -func (m *BoardPlatform) GetCategory() string { - if m != nil { - return m.Category +func (x *BoardPlatform) GetCategory() string { + if x != nil { + return x.Category } return "" } -func (m *BoardPlatform) GetUrl() string { - if m != nil { - return m.Url +func (x *BoardPlatform) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *BoardPlatform) GetArchiveFileName() string { - if m != nil { - return m.ArchiveFileName +func (x *BoardPlatform) GetArchiveFileName() string { + if x != nil { + return x.ArchiveFileName } return "" } -func (m *BoardPlatform) GetChecksum() string { - if m != nil { - return m.Checksum +func (x *BoardPlatform) GetChecksum() string { + if x != nil { + return x.Checksum } return "" } -func (m *BoardPlatform) GetSize() int64 { - if m != nil { - return m.Size +func (x *BoardPlatform) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *BoardPlatform) GetName() string { - if m != nil { - return m.Name +func (x *BoardPlatform) GetName() string { + if x != nil { + return x.Name } return "" } type ToolsDependencies struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Vendor name of the package containing the tool definition. Packager string `protobuf:"bytes,1,opt,name=packager,proto3" json:"packager,omitempty"` // Tool name. @@ -527,66 +607,74 @@ type ToolsDependencies struct { // Tool version. Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` // Data for the operating system-specific builds of the tool. - Systems []*Systems `protobuf:"bytes,4,rep,name=systems,proto3" json:"systems,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Systems []*Systems `protobuf:"bytes,4,rep,name=systems,proto3" json:"systems,omitempty"` } -func (m *ToolsDependencies) Reset() { *m = ToolsDependencies{} } -func (m *ToolsDependencies) String() string { return proto.CompactTextString(m) } -func (*ToolsDependencies) ProtoMessage() {} -func (*ToolsDependencies) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{7} +func (x *ToolsDependencies) Reset() { + *x = ToolsDependencies{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ToolsDependencies) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ToolsDependencies.Unmarshal(m, b) -} -func (m *ToolsDependencies) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ToolsDependencies.Marshal(b, m, deterministic) -} -func (m *ToolsDependencies) XXX_Merge(src proto.Message) { - xxx_messageInfo_ToolsDependencies.Merge(m, src) -} -func (m *ToolsDependencies) XXX_Size() int { - return xxx_messageInfo_ToolsDependencies.Size(m) +func (x *ToolsDependencies) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ToolsDependencies) XXX_DiscardUnknown() { - xxx_messageInfo_ToolsDependencies.DiscardUnknown(m) + +func (*ToolsDependencies) ProtoMessage() {} + +func (x *ToolsDependencies) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_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) } -var xxx_messageInfo_ToolsDependencies proto.InternalMessageInfo +// Deprecated: Use ToolsDependencies.ProtoReflect.Descriptor instead. +func (*ToolsDependencies) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{7} +} -func (m *ToolsDependencies) GetPackager() string { - if m != nil { - return m.Packager +func (x *ToolsDependencies) GetPackager() string { + if x != nil { + return x.Packager } return "" } -func (m *ToolsDependencies) GetName() string { - if m != nil { - return m.Name +func (x *ToolsDependencies) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *ToolsDependencies) GetVersion() string { - if m != nil { - return m.Version +func (x *ToolsDependencies) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *ToolsDependencies) GetSystems() []*Systems { - if m != nil { - return m.Systems +func (x *ToolsDependencies) GetSystems() []*Systems { + if x != nil { + return x.Systems } return nil } type Systems struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Checksum of the tool archive. Checksum string `protobuf:"bytes,1,opt,name=checksum,proto3" json:"checksum,omitempty"` // Operating system identifier. @@ -596,189 +684,213 @@ type Systems struct { // Download URL of the tool archive. Url string `protobuf:"bytes,4,opt,name=url,proto3" json:"url,omitempty"` // File size of the tool archive. - Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Size int64 `protobuf:"varint,5,opt,name=size,proto3" json:"size,omitempty"` } -func (m *Systems) Reset() { *m = Systems{} } -func (m *Systems) String() string { return proto.CompactTextString(m) } -func (*Systems) ProtoMessage() {} -func (*Systems) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{8} +func (x *Systems) Reset() { + *x = Systems{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Systems) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Systems.Unmarshal(m, b) -} -func (m *Systems) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Systems.Marshal(b, m, deterministic) -} -func (m *Systems) XXX_Merge(src proto.Message) { - xxx_messageInfo_Systems.Merge(m, src) +func (x *Systems) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Systems) XXX_Size() int { - return xxx_messageInfo_Systems.Size(m) -} -func (m *Systems) XXX_DiscardUnknown() { - xxx_messageInfo_Systems.DiscardUnknown(m) + +func (*Systems) ProtoMessage() {} + +func (x *Systems) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[8] + 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) } -var xxx_messageInfo_Systems proto.InternalMessageInfo +// Deprecated: Use Systems.ProtoReflect.Descriptor instead. +func (*Systems) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{8} +} -func (m *Systems) GetChecksum() string { - if m != nil { - return m.Checksum +func (x *Systems) GetChecksum() string { + if x != nil { + return x.Checksum } return "" } -func (m *Systems) GetHost() string { - if m != nil { - return m.Host +func (x *Systems) GetHost() string { + if x != nil { + return x.Host } return "" } -func (m *Systems) GetArchiveFileName() string { - if m != nil { - return m.ArchiveFileName +func (x *Systems) GetArchiveFileName() string { + if x != nil { + return x.ArchiveFileName } return "" } -func (m *Systems) GetUrl() string { - if m != nil { - return m.Url +func (x *Systems) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *Systems) GetSize() int64 { - if m != nil { - return m.Size +func (x *Systems) GetSize() int64 { + if x != nil { + return x.Size } return 0 } type ConfigOption struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // ID of the configuration option. For identifying the option to machines. Option string `protobuf:"bytes,1,opt,name=option,proto3" json:"option,omitempty"` // Name of the configuration option for identifying the option to humans. OptionLabel string `protobuf:"bytes,2,opt,name=option_label,json=optionLabel,proto3" json:"option_label,omitempty"` // Possible values of the configuration option. - Values []*ConfigValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Values []*ConfigValue `protobuf:"bytes,3,rep,name=values,proto3" json:"values,omitempty"` } -func (m *ConfigOption) Reset() { *m = ConfigOption{} } -func (m *ConfigOption) String() string { return proto.CompactTextString(m) } -func (*ConfigOption) ProtoMessage() {} -func (*ConfigOption) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{9} +func (x *ConfigOption) Reset() { + *x = ConfigOption{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConfigOption) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigOption.Unmarshal(m, b) -} -func (m *ConfigOption) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigOption.Marshal(b, m, deterministic) +func (x *ConfigOption) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfigOption) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigOption.Merge(m, src) -} -func (m *ConfigOption) XXX_Size() int { - return xxx_messageInfo_ConfigOption.Size(m) -} -func (m *ConfigOption) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigOption.DiscardUnknown(m) + +func (*ConfigOption) ProtoMessage() {} + +func (x *ConfigOption) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[9] + 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) } -var xxx_messageInfo_ConfigOption proto.InternalMessageInfo +// Deprecated: Use ConfigOption.ProtoReflect.Descriptor instead. +func (*ConfigOption) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{9} +} -func (m *ConfigOption) GetOption() string { - if m != nil { - return m.Option +func (x *ConfigOption) GetOption() string { + if x != nil { + return x.Option } return "" } -func (m *ConfigOption) GetOptionLabel() string { - if m != nil { - return m.OptionLabel +func (x *ConfigOption) GetOptionLabel() string { + if x != nil { + return x.OptionLabel } return "" } -func (m *ConfigOption) GetValues() []*ConfigValue { - if m != nil { - return m.Values +func (x *ConfigOption) GetValues() []*ConfigValue { + if x != nil { + return x.Values } return nil } type ConfigValue struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The configuration option value. Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` // Label to identify the configuration option to humans. ValueLabel string `protobuf:"bytes,2,opt,name=value_label,json=valueLabel,proto3" json:"value_label,omitempty"` // Whether the configuration option is selected. - Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Selected bool `protobuf:"varint,3,opt,name=selected,proto3" json:"selected,omitempty"` } -func (m *ConfigValue) Reset() { *m = ConfigValue{} } -func (m *ConfigValue) String() string { return proto.CompactTextString(m) } -func (*ConfigValue) ProtoMessage() {} -func (*ConfigValue) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{10} +func (x *ConfigValue) Reset() { + *x = ConfigValue{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ConfigValue) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ConfigValue.Unmarshal(m, b) +func (x *ConfigValue) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ConfigValue) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ConfigValue.Marshal(b, m, deterministic) -} -func (m *ConfigValue) XXX_Merge(src proto.Message) { - xxx_messageInfo_ConfigValue.Merge(m, src) -} -func (m *ConfigValue) XXX_Size() int { - return xxx_messageInfo_ConfigValue.Size(m) -} -func (m *ConfigValue) XXX_DiscardUnknown() { - xxx_messageInfo_ConfigValue.DiscardUnknown(m) + +func (*ConfigValue) ProtoMessage() {} + +func (x *ConfigValue) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[10] + 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) } -var xxx_messageInfo_ConfigValue proto.InternalMessageInfo +// Deprecated: Use ConfigValue.ProtoReflect.Descriptor instead. +func (*ConfigValue) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{10} +} -func (m *ConfigValue) GetValue() string { - if m != nil { - return m.Value +func (x *ConfigValue) GetValue() string { + if x != nil { + return x.Value } return "" } -func (m *ConfigValue) GetValueLabel() string { - if m != nil { - return m.ValueLabel +func (x *ConfigValue) GetValueLabel() string { + if x != nil { + return x.ValueLabel } return "" } -func (m *ConfigValue) GetSelected() bool { - if m != nil { - return m.Selected +func (x *ConfigValue) GetSelected() bool { + if x != nil { + return x.Selected } return false } type BoardAttachReq 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"` // The board's URI (e.g., /dev/ttyACM0). @@ -788,186 +900,218 @@ type BoardAttachReq struct { SketchPath string `protobuf:"bytes,3,opt,name=sketch_path,json=sketchPath,proto3" json:"sketch_path,omitempty"` // Duration in seconds to search the given URI for a connected board before // timing out. The default value is 5 seconds. - SearchTimeout string `protobuf:"bytes,4,opt,name=search_timeout,json=searchTimeout,proto3" json:"search_timeout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SearchTimeout string `protobuf:"bytes,4,opt,name=search_timeout,json=searchTimeout,proto3" json:"search_timeout,omitempty"` } -func (m *BoardAttachReq) Reset() { *m = BoardAttachReq{} } -func (m *BoardAttachReq) String() string { return proto.CompactTextString(m) } -func (*BoardAttachReq) ProtoMessage() {} -func (*BoardAttachReq) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{11} +func (x *BoardAttachReq) Reset() { + *x = BoardAttachReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardAttachReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardAttachReq.Unmarshal(m, b) -} -func (m *BoardAttachReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardAttachReq.Marshal(b, m, deterministic) -} -func (m *BoardAttachReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardAttachReq.Merge(m, src) -} -func (m *BoardAttachReq) XXX_Size() int { - return xxx_messageInfo_BoardAttachReq.Size(m) +func (x *BoardAttachReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardAttachReq) XXX_DiscardUnknown() { - xxx_messageInfo_BoardAttachReq.DiscardUnknown(m) + +func (*BoardAttachReq) ProtoMessage() {} + +func (x *BoardAttachReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[11] + 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) } -var xxx_messageInfo_BoardAttachReq proto.InternalMessageInfo +// Deprecated: Use BoardAttachReq.ProtoReflect.Descriptor instead. +func (*BoardAttachReq) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{11} +} -func (m *BoardAttachReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *BoardAttachReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *BoardAttachReq) GetBoardUri() string { - if m != nil { - return m.BoardUri +func (x *BoardAttachReq) GetBoardUri() string { + if x != nil { + return x.BoardUri } return "" } -func (m *BoardAttachReq) GetSketchPath() string { - if m != nil { - return m.SketchPath +func (x *BoardAttachReq) GetSketchPath() string { + if x != nil { + return x.SketchPath } return "" } -func (m *BoardAttachReq) GetSearchTimeout() string { - if m != nil { - return m.SearchTimeout +func (x *BoardAttachReq) GetSearchTimeout() string { + if x != nil { + return x.SearchTimeout } return "" } type BoardAttachResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Description of the current stage of the board attachment. - TaskProgress *TaskProgress `protobuf:"bytes,1,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,1,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *BoardAttachResp) Reset() { *m = BoardAttachResp{} } -func (m *BoardAttachResp) String() string { return proto.CompactTextString(m) } -func (*BoardAttachResp) ProtoMessage() {} -func (*BoardAttachResp) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{12} +func (x *BoardAttachResp) Reset() { + *x = BoardAttachResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardAttachResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardAttachResp.Unmarshal(m, b) -} -func (m *BoardAttachResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardAttachResp.Marshal(b, m, deterministic) -} -func (m *BoardAttachResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardAttachResp.Merge(m, src) +func (x *BoardAttachResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardAttachResp) XXX_Size() int { - return xxx_messageInfo_BoardAttachResp.Size(m) -} -func (m *BoardAttachResp) XXX_DiscardUnknown() { - xxx_messageInfo_BoardAttachResp.DiscardUnknown(m) + +func (*BoardAttachResp) ProtoMessage() {} + +func (x *BoardAttachResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[12] + 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) } -var xxx_messageInfo_BoardAttachResp proto.InternalMessageInfo +// Deprecated: Use BoardAttachResp.ProtoReflect.Descriptor instead. +func (*BoardAttachResp) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{12} +} -func (m *BoardAttachResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *BoardAttachResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type BoardListReq 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` } -func (m *BoardListReq) Reset() { *m = BoardListReq{} } -func (m *BoardListReq) String() string { return proto.CompactTextString(m) } -func (*BoardListReq) ProtoMessage() {} -func (*BoardListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{13} +func (x *BoardListReq) Reset() { + *x = BoardListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardListReq.Unmarshal(m, b) +func (x *BoardListReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardListReq.Marshal(b, m, deterministic) -} -func (m *BoardListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardListReq.Merge(m, src) -} -func (m *BoardListReq) XXX_Size() int { - return xxx_messageInfo_BoardListReq.Size(m) -} -func (m *BoardListReq) XXX_DiscardUnknown() { - xxx_messageInfo_BoardListReq.DiscardUnknown(m) + +func (*BoardListReq) ProtoMessage() {} + +func (x *BoardListReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[13] + 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) } -var xxx_messageInfo_BoardListReq proto.InternalMessageInfo +// Deprecated: Use BoardListReq.ProtoReflect.Descriptor instead. +func (*BoardListReq) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{13} +} -func (m *BoardListReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *BoardListReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } type BoardListResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of ports and the boards detected on those ports. - Ports []*DetectedPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Ports []*DetectedPort `protobuf:"bytes,1,rep,name=ports,proto3" json:"ports,omitempty"` } -func (m *BoardListResp) Reset() { *m = BoardListResp{} } -func (m *BoardListResp) String() string { return proto.CompactTextString(m) } -func (*BoardListResp) ProtoMessage() {} -func (*BoardListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{14} +func (x *BoardListResp) Reset() { + *x = BoardListResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardListResp.Unmarshal(m, b) -} -func (m *BoardListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardListResp.Marshal(b, m, deterministic) -} -func (m *BoardListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardListResp.Merge(m, src) +func (x *BoardListResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardListResp) XXX_Size() int { - return xxx_messageInfo_BoardListResp.Size(m) -} -func (m *BoardListResp) XXX_DiscardUnknown() { - xxx_messageInfo_BoardListResp.DiscardUnknown(m) + +func (*BoardListResp) ProtoMessage() {} + +func (x *BoardListResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[14] + 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) } -var xxx_messageInfo_BoardListResp proto.InternalMessageInfo +// Deprecated: Use BoardListResp.ProtoReflect.Descriptor instead. +func (*BoardListResp) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{14} +} -func (m *BoardListResp) GetPorts() []*DetectedPort { - if m != nil { - return m.Ports +func (x *BoardListResp) GetPorts() []*DetectedPort { + if x != nil { + return x.Ports } return nil } type DetectedPort struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Address of the port (e.g., `serial:///dev/ttyACM0`). Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // Protocol of the port (e.g., `serial`). @@ -975,294 +1119,722 @@ type DetectedPort struct { // A human friendly description of the protocol (e.g., "Serial Port (USB)"). ProtocolLabel string `protobuf:"bytes,3,opt,name=protocol_label,json=protocolLabel,proto3" json:"protocol_label,omitempty"` // The boards attached to the port. - Boards []*BoardListItem `protobuf:"bytes,4,rep,name=boards,proto3" json:"boards,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Boards []*BoardListItem `protobuf:"bytes,4,rep,name=boards,proto3" json:"boards,omitempty"` } -func (m *DetectedPort) Reset() { *m = DetectedPort{} } -func (m *DetectedPort) String() string { return proto.CompactTextString(m) } -func (*DetectedPort) ProtoMessage() {} -func (*DetectedPort) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{15} +func (x *DetectedPort) Reset() { + *x = DetectedPort{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DetectedPort) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DetectedPort.Unmarshal(m, b) -} -func (m *DetectedPort) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DetectedPort.Marshal(b, m, deterministic) -} -func (m *DetectedPort) XXX_Merge(src proto.Message) { - xxx_messageInfo_DetectedPort.Merge(m, src) +func (x *DetectedPort) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DetectedPort) XXX_Size() int { - return xxx_messageInfo_DetectedPort.Size(m) -} -func (m *DetectedPort) XXX_DiscardUnknown() { - xxx_messageInfo_DetectedPort.DiscardUnknown(m) + +func (*DetectedPort) ProtoMessage() {} + +func (x *DetectedPort) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[15] + 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) } -var xxx_messageInfo_DetectedPort proto.InternalMessageInfo +// Deprecated: Use DetectedPort.ProtoReflect.Descriptor instead. +func (*DetectedPort) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{15} +} -func (m *DetectedPort) GetAddress() string { - if m != nil { - return m.Address +func (x *DetectedPort) GetAddress() string { + if x != nil { + return x.Address } return "" } -func (m *DetectedPort) GetProtocol() string { - if m != nil { - return m.Protocol +func (x *DetectedPort) GetProtocol() string { + if x != nil { + return x.Protocol } return "" } -func (m *DetectedPort) GetProtocolLabel() string { - if m != nil { - return m.ProtocolLabel +func (x *DetectedPort) GetProtocolLabel() string { + if x != nil { + return x.ProtocolLabel } return "" } -func (m *DetectedPort) GetBoards() []*BoardListItem { - if m != nil { - return m.Boards +func (x *DetectedPort) GetBoards() []*BoardListItem { + if x != nil { + return x.Boards } return nil } type BoardListAllReq 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"` // The search query to filter the board list by. - SearchArgs []string `protobuf:"bytes,2,rep,name=search_args,json=searchArgs,proto3" json:"search_args,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SearchArgs []string `protobuf:"bytes,2,rep,name=search_args,json=searchArgs,proto3" json:"search_args,omitempty"` } -func (m *BoardListAllReq) Reset() { *m = BoardListAllReq{} } -func (m *BoardListAllReq) String() string { return proto.CompactTextString(m) } -func (*BoardListAllReq) ProtoMessage() {} -func (*BoardListAllReq) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{16} +func (x *BoardListAllReq) Reset() { + *x = BoardListAllReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardListAllReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardListAllReq.Unmarshal(m, b) -} -func (m *BoardListAllReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardListAllReq.Marshal(b, m, deterministic) +func (x *BoardListAllReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardListAllReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardListAllReq.Merge(m, src) -} -func (m *BoardListAllReq) XXX_Size() int { - return xxx_messageInfo_BoardListAllReq.Size(m) -} -func (m *BoardListAllReq) XXX_DiscardUnknown() { - xxx_messageInfo_BoardListAllReq.DiscardUnknown(m) + +func (*BoardListAllReq) ProtoMessage() {} + +func (x *BoardListAllReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[16] + 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) } -var xxx_messageInfo_BoardListAllReq proto.InternalMessageInfo +// Deprecated: Use BoardListAllReq.ProtoReflect.Descriptor instead. +func (*BoardListAllReq) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{16} +} -func (m *BoardListAllReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *BoardListAllReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *BoardListAllReq) GetSearchArgs() []string { - if m != nil { - return m.SearchArgs +func (x *BoardListAllReq) GetSearchArgs() []string { + if x != nil { + return x.SearchArgs } return nil } type BoardListAllResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of installed boards. - Boards []*BoardListItem `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Boards []*BoardListItem `protobuf:"bytes,1,rep,name=boards,proto3" json:"boards,omitempty"` } -func (m *BoardListAllResp) Reset() { *m = BoardListAllResp{} } -func (m *BoardListAllResp) String() string { return proto.CompactTextString(m) } -func (*BoardListAllResp) ProtoMessage() {} -func (*BoardListAllResp) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{17} +func (x *BoardListAllResp) Reset() { + *x = BoardListAllResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardListAllResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardListAllResp.Unmarshal(m, b) -} -func (m *BoardListAllResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardListAllResp.Marshal(b, m, deterministic) -} -func (m *BoardListAllResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardListAllResp.Merge(m, src) -} -func (m *BoardListAllResp) XXX_Size() int { - return xxx_messageInfo_BoardListAllResp.Size(m) +func (x *BoardListAllResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardListAllResp) XXX_DiscardUnknown() { - xxx_messageInfo_BoardListAllResp.DiscardUnknown(m) + +func (*BoardListAllResp) ProtoMessage() {} + +func (x *BoardListAllResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[17] + 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) } -var xxx_messageInfo_BoardListAllResp proto.InternalMessageInfo +// Deprecated: Use BoardListAllResp.ProtoReflect.Descriptor instead. +func (*BoardListAllResp) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{17} +} -func (m *BoardListAllResp) GetBoards() []*BoardListItem { - if m != nil { - return m.Boards +func (x *BoardListAllResp) GetBoards() []*BoardListItem { + if x != nil { + return x.Boards } return nil } type BoardListItem struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name for use when identifying the board to a human. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The fully qualified board name. Used to identify the board to a machine. - FQBN string `protobuf:"bytes,2,opt,name=FQBN,proto3" json:"FQBN,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + FQBN string `protobuf:"bytes,2,opt,name=FQBN,proto3" json:"FQBN,omitempty"` } -func (m *BoardListItem) Reset() { *m = BoardListItem{} } -func (m *BoardListItem) String() string { return proto.CompactTextString(m) } -func (*BoardListItem) ProtoMessage() {} -func (*BoardListItem) Descriptor() ([]byte, []int) { - return fileDescriptor_0882eeddaa6507ab, []int{18} +func (x *BoardListItem) Reset() { + *x = BoardListItem{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_board_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BoardListItem) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BoardListItem.Unmarshal(m, b) -} -func (m *BoardListItem) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BoardListItem.Marshal(b, m, deterministic) -} -func (m *BoardListItem) XXX_Merge(src proto.Message) { - xxx_messageInfo_BoardListItem.Merge(m, src) -} -func (m *BoardListItem) XXX_Size() int { - return xxx_messageInfo_BoardListItem.Size(m) +func (x *BoardListItem) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BoardListItem) XXX_DiscardUnknown() { - xxx_messageInfo_BoardListItem.DiscardUnknown(m) + +func (*BoardListItem) ProtoMessage() {} + +func (x *BoardListItem) ProtoReflect() protoreflect.Message { + mi := &file_commands_board_proto_msgTypes[18] + 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) } -var xxx_messageInfo_BoardListItem proto.InternalMessageInfo +// Deprecated: Use BoardListItem.ProtoReflect.Descriptor instead. +func (*BoardListItem) Descriptor() ([]byte, []int) { + return file_commands_board_proto_rawDescGZIP(), []int{18} +} -func (m *BoardListItem) GetName() string { - if m != nil { - return m.Name +func (x *BoardListItem) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *BoardListItem) GetFQBN() string { - if m != nil { - return m.FQBN +func (x *BoardListItem) GetFQBN() string { + if x != nil { + return x.FQBN } return "" } -func init() { - proto.RegisterType((*BoardDetailsReq)(nil), "cc.arduino.cli.commands.BoardDetailsReq") - proto.RegisterType((*BoardDetailsResp)(nil), "cc.arduino.cli.commands.BoardDetailsResp") - proto.RegisterType((*IdentificationPref)(nil), "cc.arduino.cli.commands.IdentificationPref") - proto.RegisterType((*USBID)(nil), "cc.arduino.cli.commands.USBID") - proto.RegisterType((*Package)(nil), "cc.arduino.cli.commands.Package") - proto.RegisterType((*Help)(nil), "cc.arduino.cli.commands.Help") - proto.RegisterType((*BoardPlatform)(nil), "cc.arduino.cli.commands.BoardPlatform") - proto.RegisterType((*ToolsDependencies)(nil), "cc.arduino.cli.commands.ToolsDependencies") - proto.RegisterType((*Systems)(nil), "cc.arduino.cli.commands.Systems") - proto.RegisterType((*ConfigOption)(nil), "cc.arduino.cli.commands.ConfigOption") - proto.RegisterType((*ConfigValue)(nil), "cc.arduino.cli.commands.ConfigValue") - proto.RegisterType((*BoardAttachReq)(nil), "cc.arduino.cli.commands.BoardAttachReq") - proto.RegisterType((*BoardAttachResp)(nil), "cc.arduino.cli.commands.BoardAttachResp") - proto.RegisterType((*BoardListReq)(nil), "cc.arduino.cli.commands.BoardListReq") - proto.RegisterType((*BoardListResp)(nil), "cc.arduino.cli.commands.BoardListResp") - proto.RegisterType((*DetectedPort)(nil), "cc.arduino.cli.commands.DetectedPort") - proto.RegisterType((*BoardListAllReq)(nil), "cc.arduino.cli.commands.BoardListAllReq") - proto.RegisterType((*BoardListAllResp)(nil), "cc.arduino.cli.commands.BoardListAllResp") - proto.RegisterType((*BoardListItem)(nil), "cc.arduino.cli.commands.BoardListItem") -} - -func init() { proto.RegisterFile("commands/board.proto", fileDescriptor_0882eeddaa6507ab) } - -var fileDescriptor_0882eeddaa6507ab = []byte{ - // 1066 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xac, 0x56, 0xdf, 0x6e, 0x1b, 0xc5, - 0x17, 0xd6, 0xd6, 0x76, 0xec, 0x1c, 0x3b, 0x69, 0x3b, 0xbf, 0xfe, 0x60, 0x15, 0x44, 0x70, 0x57, - 0x14, 0x45, 0x44, 0x75, 0x44, 0x40, 0x42, 0x2a, 0x7f, 0xa4, 0x04, 0xab, 0xc2, 0x55, 0x28, 0x66, - 0x9a, 0x54, 0x08, 0x81, 0xcc, 0x78, 0x3c, 0xb6, 0x47, 0x59, 0xef, 0x6c, 0x66, 0x66, 0x83, 0xca, - 0x0b, 0x20, 0x1e, 0x81, 0x67, 0xe0, 0x96, 0x0b, 0x1e, 0x81, 0x3b, 0x5e, 0x09, 0xcd, 0xbf, 0xcd, - 0xba, 0xe9, 0x52, 0x01, 0xbd, 0xf2, 0x39, 0xdf, 0x9e, 0x6f, 0x66, 0xce, 0x39, 0xdf, 0x99, 0x31, - 0xdc, 0xa1, 0x62, 0xb5, 0x22, 0xd9, 0x4c, 0x1d, 0x4c, 0x05, 0x91, 0xb3, 0x41, 0x2e, 0x85, 0x16, - 0xe8, 0x75, 0x4a, 0x07, 0x44, 0xce, 0x0a, 0x9e, 0x89, 0x01, 0x4d, 0xf9, 0x20, 0x04, 0xed, 0xfc, - 0xbf, 0x0c, 0x37, 0x86, 0xc8, 0x5c, 0x7c, 0x32, 0x83, 0x9b, 0xc7, 0x86, 0x3e, 0x64, 0x9a, 0xf0, - 0x54, 0x61, 0x76, 0x81, 0x3e, 0x81, 0x0e, 0xcf, 0x94, 0x26, 0x19, 0x65, 0x71, 0xd4, 0x8f, 0xf6, - 0xba, 0x87, 0x77, 0x07, 0x35, 0xab, 0x0e, 0x46, 0x3e, 0x10, 0x97, 0x14, 0x84, 0xa0, 0x39, 0xbf, - 0x98, 0x66, 0xf1, 0x8d, 0x7e, 0xb4, 0xb7, 0x89, 0xad, 0x9d, 0xfc, 0xd1, 0x84, 0x5b, 0xeb, 0xdb, - 0xa8, 0xbc, 0x0c, 0x8c, 0xae, 0x02, 0x0d, 0x96, 0x91, 0x15, 0x0b, 0x64, 0x63, 0xa3, 0x18, 0xda, - 0x97, 0x4c, 0x2a, 0x2e, 0xb2, 0xb8, 0x61, 0xe1, 0xe0, 0xa2, 0x04, 0x7a, 0xb9, 0x14, 0x39, 0x93, - 0x9a, 0x33, 0x35, 0x9a, 0xc5, 0x4d, 0xfb, 0x79, 0x0d, 0x43, 0x77, 0xa0, 0x45, 0x52, 0x4e, 0x54, - 0xdc, 0xb2, 0x1f, 0x9d, 0x83, 0x76, 0xa0, 0x23, 0xe6, 0x73, 0x4e, 0x39, 0x49, 0xe3, 0x8d, 0x7e, - 0xb4, 0xd7, 0xc1, 0xa5, 0x8f, 0x5e, 0x83, 0x8d, 0x9c, 0x67, 0xa2, 0xd0, 0x71, 0xdb, 0x52, 0xbc, - 0x87, 0x1e, 0x40, 0x3b, 0x27, 0xf4, 0x9c, 0x2c, 0x58, 0xdc, 0xb1, 0x65, 0xe9, 0xd7, 0x96, 0x65, - 0xec, 0xe2, 0x70, 0x20, 0xa0, 0x63, 0xe8, 0xe4, 0x29, 0xd1, 0x73, 0x21, 0x57, 0xf1, 0xa6, 0x25, - 0xbf, 0x53, 0x4b, 0xb6, 0x85, 0x1a, 0xfb, 0x68, 0x5c, 0xf2, 0xd0, 0xd7, 0x70, 0x5b, 0x0b, 0x91, - 0xaa, 0x21, 0xcb, 0x59, 0x36, 0x63, 0x19, 0xe5, 0x4c, 0xc5, 0xd0, 0x6f, 0xec, 0x75, 0x0f, 0xdf, - 0xad, 0x5d, 0xec, 0xf4, 0x79, 0x06, 0xbe, 0xbe, 0x08, 0x3a, 0x81, 0x6d, 0x2a, 0xb2, 0x39, 0x5f, - 0x4c, 0x44, 0xae, 0xb9, 0xc8, 0x54, 0xdc, 0xb5, 0xcb, 0xde, 0xab, 0x5d, 0xf6, 0x33, 0x1b, 0xfe, - 0xa5, 0x8d, 0xc6, 0x5b, 0xb4, 0xe2, 0x29, 0xf4, 0x2d, 0xfc, 0x8f, 0xcf, 0x58, 0xa6, 0xf9, 0x9c, - 0x53, 0x62, 0xa0, 0x49, 0x2e, 0xd9, 0x3c, 0xee, 0xd9, 0x25, 0xf7, 0xeb, 0xa5, 0xb4, 0xc6, 0x19, - 0x4b, 0x36, 0xc7, 0x88, 0x5f, 0xc3, 0x92, 0x47, 0x80, 0xae, 0x47, 0xa2, 0x0f, 0xa0, 0x55, 0xa8, - 0xe9, 0x68, 0xe8, 0x05, 0xbb, 0x5b, 0xbb, 0xcb, 0xd9, 0x93, 0xe3, 0xd1, 0x10, 0xbb, 0xe0, 0x64, - 0x1f, 0x5a, 0xd6, 0x47, 0xb7, 0xa0, 0xf1, 0xd4, 0x93, 0x37, 0xb1, 0x31, 0x0d, 0x32, 0x1e, 0x0d, - 0xbd, 0x0e, 0x8d, 0x99, 0xfc, 0x1e, 0x41, 0xdb, 0xf7, 0x15, 0xed, 0x02, 0xac, 0x08, 0xcf, 0x34, - 0xe1, 0x19, 0x93, 0x9e, 0x56, 0x41, 0x0c, 0xbb, 0x90, 0x69, 0x60, 0x17, 0x32, 0x35, 0x8c, 0x1f, - 0xd8, 0x54, 0x71, 0xcd, 0xce, 0xf0, 0x89, 0xd7, 0x71, 0x05, 0x31, 0x32, 0x65, 0x2b, 0xc2, 0x53, - 0xaf, 0x61, 0xe7, 0x94, 0xe3, 0xd0, 0xaa, 0x8c, 0xc3, 0x7b, 0xd0, 0x5c, 0xb2, 0x34, 0xb7, 0xb2, - 0xed, 0x1e, 0xbe, 0x59, 0x9b, 0xe9, 0xe7, 0x2c, 0xcd, 0xb1, 0x0d, 0x4d, 0x76, 0xa1, 0x69, 0x3c, - 0xa3, 0x6c, 0x91, 0xa5, 0x3c, 0x63, 0xfe, 0xc8, 0xde, 0x4b, 0xfe, 0x8c, 0x60, 0x6b, 0x4d, 0x75, - 0x66, 0xb2, 0x88, 0xa4, 0x4b, 0xae, 0x19, 0xd5, 0x85, 0x0c, 0xf1, 0x6b, 0x98, 0x99, 0x21, 0x4a, - 0x34, 0x5b, 0x08, 0xf9, 0xcc, 0x67, 0x5a, 0xfa, 0xa1, 0x00, 0x8d, 0xab, 0x02, 0xec, 0xc1, 0x4d, - 0xcb, 0xbe, 0x64, 0x0f, 0x79, 0xca, 0x1e, 0x9b, 0xac, 0x5c, 0xaa, 0xcf, 0xc3, 0x76, 0xdd, 0x25, - 0xa3, 0xe7, 0xaa, 0x58, 0xf9, 0xc4, 0x4b, 0xdf, 0x14, 0x44, 0xf1, 0x1f, 0x99, 0x4d, 0xbe, 0x81, - 0xad, 0x5d, 0x16, 0xa9, 0x7d, 0x55, 0xa4, 0xe4, 0x97, 0x08, 0x6e, 0x5f, 0x93, 0xbe, 0x59, 0xd9, - 0x0f, 0x64, 0x68, 0x5a, 0xe9, 0xff, 0xc3, 0x9b, 0xe7, 0x01, 0xb4, 0xd5, 0x33, 0xa5, 0xd9, 0x4a, - 0xc5, 0x4d, 0xab, 0xeb, 0xfa, 0xbb, 0xe0, 0x89, 0x8b, 0xc3, 0x81, 0x90, 0xfc, 0x1c, 0x41, 0xdb, - 0x83, 0x6b, 0xb9, 0x46, 0xd7, 0x73, 0x5d, 0x0a, 0xa5, 0xc3, 0x89, 0x8c, 0xfd, 0xa2, 0x2a, 0x36, - 0x5e, 0x5c, 0x45, 0xdf, 0x81, 0xe6, 0x55, 0x07, 0x42, 0xed, 0x5a, 0x57, 0xb5, 0x4b, 0x7e, 0x8a, - 0xa0, 0x57, 0x9d, 0x65, 0x2b, 0x11, 0x6b, 0x95, 0x12, 0x71, 0xf8, 0x5d, 0xe8, 0x39, 0x6b, 0x92, - 0x92, 0x29, 0x0b, 0xd2, 0xee, 0x3a, 0xec, 0xc4, 0x40, 0xe8, 0x63, 0xd8, 0xb8, 0x24, 0x69, 0xc1, - 0x54, 0xdc, 0xb0, 0x25, 0x79, 0xfb, 0x25, 0xb7, 0xc7, 0x53, 0x13, 0x8c, 0x3d, 0x27, 0xf9, 0x1e, - 0xba, 0x15, 0xd8, 0xcc, 0x83, 0xfd, 0xe0, 0x8f, 0xe1, 0x1c, 0xf4, 0x16, 0x74, 0xad, 0xb1, 0x76, - 0x08, 0xb0, 0x90, 0x3b, 0xc3, 0x0e, 0x74, 0x14, 0x4b, 0x19, 0xd5, 0x6c, 0x66, 0x0b, 0xd3, 0xc1, - 0xa5, 0x9f, 0xfc, 0x16, 0xc1, 0xb6, 0x55, 0xf9, 0x91, 0xd6, 0x84, 0x2e, 0x5f, 0xc1, 0x53, 0xf7, - 0x06, 0x6c, 0xda, 0xb7, 0x77, 0x52, 0x48, 0x1e, 0x46, 0xc0, 0x02, 0x67, 0x92, 0x9b, 0xb3, 0xaa, - 0x73, 0xa6, 0xe9, 0x72, 0x92, 0x13, 0xbd, 0x0c, 0x23, 0xef, 0xa0, 0x31, 0xd1, 0x4b, 0x74, 0x0f, - 0xb6, 0x15, 0x33, 0x6d, 0x9b, 0x68, 0xbe, 0x62, 0xe6, 0xbd, 0x71, 0xcd, 0xda, 0x72, 0xe8, 0xa9, - 0x03, 0x93, 0xef, 0xfc, 0x0b, 0x1d, 0x4e, 0xad, 0x72, 0xf4, 0x08, 0xb6, 0x34, 0x51, 0xe7, 0x93, - 0x5c, 0x8a, 0x85, 0x64, 0x4a, 0xf9, 0xb3, 0xd7, 0x5f, 0xd7, 0xa7, 0x44, 0x9d, 0x8f, 0x7d, 0x30, - 0xee, 0xe9, 0x8a, 0x97, 0x7c, 0x01, 0x3d, 0xbb, 0xfc, 0x09, 0x57, 0xfa, 0xbf, 0x97, 0x24, 0x39, - 0xf1, 0x37, 0x89, 0x5b, 0x4e, 0xe5, 0xe8, 0x23, 0x68, 0xe5, 0x42, 0x6a, 0x73, 0xc6, 0xbf, 0x7f, - 0x52, 0x86, 0x4c, 0xdb, 0x3e, 0x8d, 0x85, 0xd4, 0xd8, 0x71, 0x92, 0x5f, 0x23, 0xe8, 0x55, 0x71, - 0x33, 0x91, 0x64, 0x36, 0x2b, 0x73, 0xde, 0xc4, 0xc1, 0xb5, 0xb3, 0x6d, 0xfe, 0xd1, 0x50, 0x11, - 0x74, 0x51, 0xfa, 0xa6, 0xd2, 0xc1, 0xf6, 0xca, 0x71, 0xdd, 0xd8, 0x0a, 0xa8, 0x13, 0xcf, 0xa7, - 0xb0, 0x61, 0xbb, 0x17, 0x66, 0xfa, 0x25, 0x4f, 0xb4, 0x49, 0x71, 0xa4, 0xd9, 0x0a, 0x7b, 0x56, - 0x72, 0xe1, 0x3b, 0x65, 0x3e, 0x1c, 0xa5, 0xe9, 0x2b, 0x10, 0x98, 0xd1, 0x90, 0x93, 0x08, 0x91, - 0x0b, 0x15, 0xdf, 0xe8, 0x37, 0xac, 0x86, 0x2c, 0x74, 0x24, 0x17, 0x2a, 0xc1, 0xfe, 0x7f, 0x55, - 0xb9, 0xa5, 0xca, 0x2b, 0x69, 0x44, 0xff, 0x2a, 0x8d, 0x0f, 0x2b, 0x2d, 0x34, 0x1f, 0xca, 0xab, - 0x31, 0xaa, 0x5c, 0x8d, 0x08, 0x9a, 0x0f, 0xbf, 0x3a, 0x7e, 0x1c, 0x2e, 0x27, 0x63, 0x1f, 0xdf, - 0xff, 0x66, 0x7f, 0xc1, 0xf5, 0xb2, 0x98, 0x9a, 0x1d, 0x0e, 0xfc, 0x8e, 0xe1, 0xf7, 0x3e, 0x4d, - 0xf9, 0x81, 0xcc, 0xe9, 0x41, 0xd8, 0x7d, 0xba, 0x61, 0xab, 0xff, 0xfe, 0x5f, 0x01, 0x00, 0x00, - 0xff, 0xff, 0x09, 0x63, 0xfa, 0x64, 0xc9, 0x0a, 0x00, 0x00, +var File_commands_board_proto protoreflect.FileDescriptor + +var file_commands_board_proto_rawDesc = []byte{ + 0x0a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x62, 0x6f, 0x61, 0x72, 0x64, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x1a, + 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x64, 0x0a, 0x0f, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, + 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 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, 0x22, 0xc8, 0x04, 0x0a, + 0x10, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x71, 0x62, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x66, 0x71, 0x62, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, + 0x73, 0x49, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x70, 0x65, + 0x72, 0x74, 0x69, 0x65, 0x73, 0x49, 0x64, 0x12, 0x14, 0x0a, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x61, 0x6c, 0x69, 0x61, 0x73, 0x12, 0x1a, 0x0a, + 0x08, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x69, 0x61, 0x6c, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x08, 0x6f, 0x66, 0x66, 0x69, 0x63, 0x69, 0x61, 0x6c, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x69, 0x6e, + 0x6f, 0x75, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x70, 0x69, 0x6e, 0x6f, 0x75, + 0x74, 0x12, 0x3a, 0x0a, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x08, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x20, 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, 0x50, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x52, 0x07, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x42, 0x0a, + 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x26, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x50, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x08, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x12, 0x58, 0x0a, 0x11, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, + 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0a, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x44, 0x65, 0x70, 0x65, + 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x11, 0x74, 0x6f, 0x6f, 0x6c, 0x73, 0x44, + 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x12, 0x4c, 0x0a, 0x0e, 0x63, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x0b, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x25, 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, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x5c, 0x0a, 0x13, 0x69, 0x64, 0x65, + 0x6e, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x70, 0x72, 0x65, 0x66, + 0x18, 0x0c, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 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, 0x49, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, + 0x72, 0x65, 0x66, 0x52, 0x12, 0x69, 0x64, 0x65, 0x6e, 0x74, 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x22, 0x4a, 0x0a, 0x12, 0x49, 0x64, 0x65, 0x6e, 0x74, + 0x69, 0x66, 0x69, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x72, 0x65, 0x66, 0x12, 0x34, 0x0a, + 0x05, 0x75, 0x73, 0x62, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 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, 0x55, 0x53, 0x42, 0x49, 0x44, 0x52, 0x05, 0x75, 0x73, + 0x62, 0x49, 0x44, 0x22, 0x2b, 0x0a, 0x05, 0x55, 0x53, 0x42, 0x49, 0x44, 0x12, 0x10, 0x0a, 0x03, + 0x56, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x56, 0x49, 0x44, 0x12, 0x10, + 0x0a, 0x03, 0x50, 0x49, 0x44, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x50, 0x49, 0x44, + 0x22, 0xb8, 0x01, 0x0a, 0x07, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x1e, 0x0a, 0x0a, + 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x10, 0x0a, 0x03, + 0x75, 0x72, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x1e, + 0x0a, 0x0a, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x55, 0x52, 0x4c, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x55, 0x52, 0x4c, 0x12, 0x14, + 0x0a, 0x05, 0x65, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, + 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x05, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x31, 0x0a, 0x04, 0x68, 0x65, 0x6c, 0x70, + 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1d, 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, 0x48, 0x65, 0x6c, 0x70, 0x52, 0x04, 0x68, 0x65, 0x6c, 0x70, 0x22, 0x1e, 0x0a, 0x04, 0x48, + 0x65, 0x6c, 0x70, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x6e, 0x6c, 0x69, 0x6e, 0x65, 0x22, 0xcf, 0x01, 0x0a, 0x0d, + 0x42, 0x6f, 0x61, 0x72, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x22, 0x0a, + 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x10, 0x0a, + 0x03, 0x75, 0x72, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, + 0x28, 0x0a, 0x0f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, + 0x65, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, + 0x63, 0x6b, 0x73, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, + 0x0a, 0x11, 0x54, 0x6f, 0x6f, 0x6c, 0x73, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, + 0x69, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x72, 0x12, + 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x3a, 0x0a, + 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x20, + 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, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, + 0x52, 0x07, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x22, 0x89, 0x01, 0x0a, 0x07, 0x53, 0x79, + 0x73, 0x74, 0x65, 0x6d, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x73, 0x75, + 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x68, 0x6f, 0x73, 0x74, 0x12, 0x28, 0x0a, 0x0f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, + 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, + 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, + 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x03, 0x52, + 0x04, 0x73, 0x69, 0x7a, 0x65, 0x22, 0x87, 0x01, 0x0a, 0x0c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x21, + 0x0a, 0x0c, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x4c, 0x61, 0x62, 0x65, + 0x6c, 0x12, 0x3c, 0x0a, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 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, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x06, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x22, + 0x60, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x5f, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x22, 0xb4, 0x01, 0x0a, 0x0e, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, + 0x68, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0x1b, 0x0a, 0x09, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5f, 0x75, 0x72, 0x69, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x55, 0x72, 0x69, + 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, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x74, 0x69, 0x6d, 0x65, + 0x6f, 0x75, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x54, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x22, 0x5d, 0x0a, 0x0f, 0x42, 0x6f, 0x61, 0x72, + 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4a, 0x0a, 0x0d, 0x74, + 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x25, 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, 0x54, 0x61, 0x73, + 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x50, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4d, 0x0a, 0x0c, 0x42, 0x6f, 0x61, 0x72, 0x64, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x4c, 0x0a, 0x0d, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, + 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3b, 0x0a, 0x05, 0x70, 0x6f, 0x72, 0x74, 0x73, + 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x25, 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, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, 0x64, 0x50, 0x6f, 0x72, 0x74, 0x52, 0x05, 0x70, + 0x6f, 0x72, 0x74, 0x73, 0x22, 0xab, 0x01, 0x0a, 0x0c, 0x44, 0x65, 0x74, 0x65, 0x63, 0x74, 0x65, + 0x64, 0x50, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x64, 0x64, 0x72, 0x65, 0x73, 0x73, 0x12, + 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x25, 0x0a, 0x0e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0d, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4c, 0x61, 0x62, + 0x65, 0x6c, 0x12, 0x3e, 0x0a, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x18, 0x04, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x26, 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, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, + 0x64, 0x73, 0x22, 0x71, 0x0a, 0x0f, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, + 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, + 0x68, 0x41, 0x72, 0x67, 0x73, 0x22, 0x52, 0x0a, 0x10, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x3e, 0x0a, 0x06, 0x62, 0x6f, 0x61, + 0x72, 0x64, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, + 0x6d, 0x52, 0x06, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x22, 0x37, 0x0a, 0x0d, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x49, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, + 0x0a, 0x04, 0x46, 0x51, 0x42, 0x4e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x46, 0x51, + 0x42, 0x4e, 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, + 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_commands_board_proto_rawDescOnce sync.Once + file_commands_board_proto_rawDescData = file_commands_board_proto_rawDesc +) + +func file_commands_board_proto_rawDescGZIP() []byte { + file_commands_board_proto_rawDescOnce.Do(func() { + file_commands_board_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_board_proto_rawDescData) + }) + return file_commands_board_proto_rawDescData +} + +var file_commands_board_proto_msgTypes = make([]protoimpl.MessageInfo, 19) +var file_commands_board_proto_goTypes = []interface{}{ + (*BoardDetailsReq)(nil), // 0: cc.arduino.cli.commands.BoardDetailsReq + (*BoardDetailsResp)(nil), // 1: cc.arduino.cli.commands.BoardDetailsResp + (*IdentificationPref)(nil), // 2: cc.arduino.cli.commands.IdentificationPref + (*USBID)(nil), // 3: cc.arduino.cli.commands.USBID + (*Package)(nil), // 4: cc.arduino.cli.commands.Package + (*Help)(nil), // 5: cc.arduino.cli.commands.Help + (*BoardPlatform)(nil), // 6: cc.arduino.cli.commands.BoardPlatform + (*ToolsDependencies)(nil), // 7: cc.arduino.cli.commands.ToolsDependencies + (*Systems)(nil), // 8: cc.arduino.cli.commands.Systems + (*ConfigOption)(nil), // 9: cc.arduino.cli.commands.ConfigOption + (*ConfigValue)(nil), // 10: cc.arduino.cli.commands.ConfigValue + (*BoardAttachReq)(nil), // 11: cc.arduino.cli.commands.BoardAttachReq + (*BoardAttachResp)(nil), // 12: cc.arduino.cli.commands.BoardAttachResp + (*BoardListReq)(nil), // 13: cc.arduino.cli.commands.BoardListReq + (*BoardListResp)(nil), // 14: cc.arduino.cli.commands.BoardListResp + (*DetectedPort)(nil), // 15: cc.arduino.cli.commands.DetectedPort + (*BoardListAllReq)(nil), // 16: cc.arduino.cli.commands.BoardListAllReq + (*BoardListAllResp)(nil), // 17: cc.arduino.cli.commands.BoardListAllResp + (*BoardListItem)(nil), // 18: cc.arduino.cli.commands.BoardListItem + (*Instance)(nil), // 19: cc.arduino.cli.commands.Instance + (*TaskProgress)(nil), // 20: cc.arduino.cli.commands.TaskProgress +} +var file_commands_board_proto_depIdxs = []int32{ + 19, // 0: cc.arduino.cli.commands.BoardDetailsReq.instance:type_name -> cc.arduino.cli.commands.Instance + 4, // 1: cc.arduino.cli.commands.BoardDetailsResp.package:type_name -> cc.arduino.cli.commands.Package + 6, // 2: cc.arduino.cli.commands.BoardDetailsResp.platform:type_name -> cc.arduino.cli.commands.BoardPlatform + 7, // 3: cc.arduino.cli.commands.BoardDetailsResp.toolsDependencies:type_name -> cc.arduino.cli.commands.ToolsDependencies + 9, // 4: cc.arduino.cli.commands.BoardDetailsResp.config_options:type_name -> cc.arduino.cli.commands.ConfigOption + 2, // 5: cc.arduino.cli.commands.BoardDetailsResp.identification_pref:type_name -> cc.arduino.cli.commands.IdentificationPref + 3, // 6: cc.arduino.cli.commands.IdentificationPref.usbID:type_name -> cc.arduino.cli.commands.USBID + 5, // 7: cc.arduino.cli.commands.Package.help:type_name -> cc.arduino.cli.commands.Help + 8, // 8: cc.arduino.cli.commands.ToolsDependencies.systems:type_name -> cc.arduino.cli.commands.Systems + 10, // 9: cc.arduino.cli.commands.ConfigOption.values:type_name -> cc.arduino.cli.commands.ConfigValue + 19, // 10: cc.arduino.cli.commands.BoardAttachReq.instance:type_name -> cc.arduino.cli.commands.Instance + 20, // 11: cc.arduino.cli.commands.BoardAttachResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 19, // 12: cc.arduino.cli.commands.BoardListReq.instance:type_name -> cc.arduino.cli.commands.Instance + 15, // 13: cc.arduino.cli.commands.BoardListResp.ports:type_name -> cc.arduino.cli.commands.DetectedPort + 18, // 14: cc.arduino.cli.commands.DetectedPort.boards:type_name -> cc.arduino.cli.commands.BoardListItem + 19, // 15: cc.arduino.cli.commands.BoardListAllReq.instance:type_name -> cc.arduino.cli.commands.Instance + 18, // 16: cc.arduino.cli.commands.BoardListAllResp.boards:type_name -> cc.arduino.cli.commands.BoardListItem + 17, // [17:17] is the sub-list for method output_type + 17, // [17:17] is the sub-list for method input_type + 17, // [17:17] is the sub-list for extension type_name + 17, // [17:17] is the sub-list for extension extendee + 0, // [0:17] is the sub-list for field type_name +} + +func init() { file_commands_board_proto_init() } +func file_commands_board_proto_init() { + if File_commands_board_proto != nil { + return + } + file_commands_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_commands_board_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardDetailsReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardDetailsResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*IdentificationPref); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*USBID); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Package); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Help); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardPlatform); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ToolsDependencies); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Systems); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigOption); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ConfigValue); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardAttachReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardAttachResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardListResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DetectedPort); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardListAllReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardListAllResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_board_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BoardListItem); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_board_proto_rawDesc, + NumEnums: 0, + NumMessages: 19, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_commands_board_proto_goTypes, + DependencyIndexes: file_commands_board_proto_depIdxs, + MessageInfos: file_commands_board_proto_msgTypes, + }.Build() + File_commands_board_proto = out.File + file_commands_board_proto_rawDesc = nil + file_commands_board_proto_goTypes = nil + file_commands_board_proto_depIdxs = nil } diff --git a/rpc/commands/commands.pb.go b/rpc/commands/commands.pb.go index 01b4ad6d82c..e23158b6544 100644 --- a/rpc/commands/commands.pb.go +++ b/rpc/commands/commands.pb.go @@ -1,71 +1,103 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/commands.proto package commands import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type InitReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Start a Arduino Core Service instance that will provide only Library // Manager functionality. - LibraryManagerOnly bool `protobuf:"varint,2,opt,name=library_manager_only,json=libraryManagerOnly,proto3" json:"library_manager_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LibraryManagerOnly bool `protobuf:"varint,2,opt,name=library_manager_only,json=libraryManagerOnly,proto3" json:"library_manager_only,omitempty"` } -func (m *InitReq) Reset() { *m = InitReq{} } -func (m *InitReq) String() string { return proto.CompactTextString(m) } -func (*InitReq) ProtoMessage() {} -func (*InitReq) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{0} +func (x *InitReq) Reset() { + *x = InitReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitReq.Unmarshal(m, b) -} -func (m *InitReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitReq.Marshal(b, m, deterministic) -} -func (m *InitReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitReq.Merge(m, src) +func (x *InitReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitReq) XXX_Size() int { - return xxx_messageInfo_InitReq.Size(m) -} -func (m *InitReq) XXX_DiscardUnknown() { - xxx_messageInfo_InitReq.DiscardUnknown(m) + +func (*InitReq) ProtoMessage() {} + +func (x *InitReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_InitReq proto.InternalMessageInfo +// Deprecated: Use InitReq.ProtoReflect.Descriptor instead. +func (*InitReq) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{0} +} -func (m *InitReq) GetLibraryManagerOnly() bool { - if m != nil { - return m.LibraryManagerOnly +func (x *InitReq) GetLibraryManagerOnly() bool { + if x != nil { + return x.LibraryManagerOnly } return false } type InitResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // An Arduino Core Service instance. Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Error messages related to any problems encountered while parsing the @@ -77,548 +109,1138 @@ type InitResp struct { // Progress of the downloads of platforms and libraries index files. DownloadProgress *DownloadProgress `protobuf:"bytes,4,opt,name=download_progress,json=downloadProgress,proto3" json:"download_progress,omitempty"` // Describes the current stage of the initialization. - TaskProgress *TaskProgress `protobuf:"bytes,5,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,5,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *InitResp) Reset() { *m = InitResp{} } -func (m *InitResp) String() string { return proto.CompactTextString(m) } -func (*InitResp) ProtoMessage() {} -func (*InitResp) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{1} +func (x *InitResp) Reset() { + *x = InitResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InitResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InitResp.Unmarshal(m, b) -} -func (m *InitResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InitResp.Marshal(b, m, deterministic) -} -func (m *InitResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_InitResp.Merge(m, src) +func (x *InitResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InitResp) XXX_Size() int { - return xxx_messageInfo_InitResp.Size(m) -} -func (m *InitResp) XXX_DiscardUnknown() { - xxx_messageInfo_InitResp.DiscardUnknown(m) + +func (*InitResp) ProtoMessage() {} + +func (x *InitResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_InitResp proto.InternalMessageInfo +// Deprecated: Use InitResp.ProtoReflect.Descriptor instead. +func (*InitResp) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{1} +} -func (m *InitResp) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *InitResp) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *InitResp) GetPlatformsIndexErrors() []string { - if m != nil { - return m.PlatformsIndexErrors +func (x *InitResp) GetPlatformsIndexErrors() []string { + if x != nil { + return x.PlatformsIndexErrors } return nil } -func (m *InitResp) GetLibrariesIndexError() string { - if m != nil { - return m.LibrariesIndexError +func (x *InitResp) GetLibrariesIndexError() string { + if x != nil { + return x.LibrariesIndexError } return "" } -func (m *InitResp) GetDownloadProgress() *DownloadProgress { - if m != nil { - return m.DownloadProgress +func (x *InitResp) GetDownloadProgress() *DownloadProgress { + if x != nil { + return x.DownloadProgress } return nil } -func (m *InitResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *InitResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type DestroyReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The Arduino Core Service instance to destroy. - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` } -func (m *DestroyReq) Reset() { *m = DestroyReq{} } -func (m *DestroyReq) String() string { return proto.CompactTextString(m) } -func (*DestroyReq) ProtoMessage() {} -func (*DestroyReq) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{2} +func (x *DestroyReq) Reset() { + *x = DestroyReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DestroyReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DestroyReq.Unmarshal(m, b) -} -func (m *DestroyReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DestroyReq.Marshal(b, m, deterministic) -} -func (m *DestroyReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_DestroyReq.Merge(m, src) -} -func (m *DestroyReq) XXX_Size() int { - return xxx_messageInfo_DestroyReq.Size(m) +func (x *DestroyReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DestroyReq) XXX_DiscardUnknown() { - xxx_messageInfo_DestroyReq.DiscardUnknown(m) + +func (*DestroyReq) ProtoMessage() {} + +func (x *DestroyReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_DestroyReq proto.InternalMessageInfo +// Deprecated: Use DestroyReq.ProtoReflect.Descriptor instead. +func (*DestroyReq) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{2} +} -func (m *DestroyReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *DestroyReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } type DestroyResp struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *DestroyResp) Reset() { *m = DestroyResp{} } -func (m *DestroyResp) String() string { return proto.CompactTextString(m) } -func (*DestroyResp) ProtoMessage() {} -func (*DestroyResp) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{3} +func (x *DestroyResp) Reset() { + *x = DestroyResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DestroyResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DestroyResp.Unmarshal(m, b) -} -func (m *DestroyResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DestroyResp.Marshal(b, m, deterministic) -} -func (m *DestroyResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_DestroyResp.Merge(m, src) +func (x *DestroyResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DestroyResp) XXX_Size() int { - return xxx_messageInfo_DestroyResp.Size(m) -} -func (m *DestroyResp) XXX_DiscardUnknown() { - xxx_messageInfo_DestroyResp.DiscardUnknown(m) + +func (*DestroyResp) ProtoMessage() {} + +func (x *DestroyResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_DestroyResp proto.InternalMessageInfo +// Deprecated: Use DestroyResp.ProtoReflect.Descriptor instead. +func (*DestroyResp) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{3} +} type RescanReq 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` } -func (m *RescanReq) Reset() { *m = RescanReq{} } -func (m *RescanReq) String() string { return proto.CompactTextString(m) } -func (*RescanReq) ProtoMessage() {} -func (*RescanReq) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{4} +func (x *RescanReq) Reset() { + *x = RescanReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanReq.Unmarshal(m, b) -} -func (m *RescanReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanReq.Marshal(b, m, deterministic) -} -func (m *RescanReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanReq.Merge(m, src) +func (x *RescanReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RescanReq) XXX_Size() int { - return xxx_messageInfo_RescanReq.Size(m) -} -func (m *RescanReq) XXX_DiscardUnknown() { - xxx_messageInfo_RescanReq.DiscardUnknown(m) + +func (*RescanReq) ProtoMessage() {} + +func (x *RescanReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_RescanReq proto.InternalMessageInfo +// Deprecated: Use RescanReq.ProtoReflect.Descriptor instead. +func (*RescanReq) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{4} +} -func (m *RescanReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *RescanReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } type RescanResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Error messages related to any problems encountered while parsing the // platforms index file. PlatformsIndexErrors []string `protobuf:"bytes,1,rep,name=platforms_index_errors,json=platformsIndexErrors,proto3" json:"platforms_index_errors,omitempty"` // Error message if a problem was encountered while parsing the libraries // index file. - LibrariesIndexError string `protobuf:"bytes,2,opt,name=libraries_index_error,json=librariesIndexError,proto3" json:"libraries_index_error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + LibrariesIndexError string `protobuf:"bytes,2,opt,name=libraries_index_error,json=librariesIndexError,proto3" json:"libraries_index_error,omitempty"` } -func (m *RescanResp) Reset() { *m = RescanResp{} } -func (m *RescanResp) String() string { return proto.CompactTextString(m) } -func (*RescanResp) ProtoMessage() {} -func (*RescanResp) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{5} +func (x *RescanResp) Reset() { + *x = RescanResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RescanResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RescanResp.Unmarshal(m, b) -} -func (m *RescanResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RescanResp.Marshal(b, m, deterministic) -} -func (m *RescanResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_RescanResp.Merge(m, src) +func (x *RescanResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RescanResp) XXX_Size() int { - return xxx_messageInfo_RescanResp.Size(m) -} -func (m *RescanResp) XXX_DiscardUnknown() { - xxx_messageInfo_RescanResp.DiscardUnknown(m) + +func (*RescanResp) ProtoMessage() {} + +func (x *RescanResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_RescanResp proto.InternalMessageInfo +// Deprecated: Use RescanResp.ProtoReflect.Descriptor instead. +func (*RescanResp) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{5} +} -func (m *RescanResp) GetPlatformsIndexErrors() []string { - if m != nil { - return m.PlatformsIndexErrors +func (x *RescanResp) GetPlatformsIndexErrors() []string { + if x != nil { + return x.PlatformsIndexErrors } return nil } -func (m *RescanResp) GetLibrariesIndexError() string { - if m != nil { - return m.LibrariesIndexError +func (x *RescanResp) GetLibrariesIndexError() string { + if x != nil { + return x.LibrariesIndexError } return "" } type UpdateIndexReq 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` } -func (m *UpdateIndexReq) Reset() { *m = UpdateIndexReq{} } -func (m *UpdateIndexReq) String() string { return proto.CompactTextString(m) } -func (*UpdateIndexReq) ProtoMessage() {} -func (*UpdateIndexReq) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{6} +func (x *UpdateIndexReq) Reset() { + *x = UpdateIndexReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateIndexReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateIndexReq.Unmarshal(m, b) -} -func (m *UpdateIndexReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateIndexReq.Marshal(b, m, deterministic) -} -func (m *UpdateIndexReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIndexReq.Merge(m, src) -} -func (m *UpdateIndexReq) XXX_Size() int { - return xxx_messageInfo_UpdateIndexReq.Size(m) +func (x *UpdateIndexReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateIndexReq) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIndexReq.DiscardUnknown(m) + +func (*UpdateIndexReq) ProtoMessage() {} + +func (x *UpdateIndexReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_UpdateIndexReq proto.InternalMessageInfo +// Deprecated: Use UpdateIndexReq.ProtoReflect.Descriptor instead. +func (*UpdateIndexReq) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{6} +} -func (m *UpdateIndexReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *UpdateIndexReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } type UpdateIndexResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the platforms index download. - DownloadProgress *DownloadProgress `protobuf:"bytes,1,opt,name=download_progress,json=downloadProgress,proto3" json:"download_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DownloadProgress *DownloadProgress `protobuf:"bytes,1,opt,name=download_progress,json=downloadProgress,proto3" json:"download_progress,omitempty"` } -func (m *UpdateIndexResp) Reset() { *m = UpdateIndexResp{} } -func (m *UpdateIndexResp) String() string { return proto.CompactTextString(m) } -func (*UpdateIndexResp) ProtoMessage() {} -func (*UpdateIndexResp) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{7} +func (x *UpdateIndexResp) Reset() { + *x = UpdateIndexResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateIndexResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateIndexResp.Unmarshal(m, b) -} -func (m *UpdateIndexResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateIndexResp.Marshal(b, m, deterministic) +func (x *UpdateIndexResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateIndexResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateIndexResp.Merge(m, src) -} -func (m *UpdateIndexResp) XXX_Size() int { - return xxx_messageInfo_UpdateIndexResp.Size(m) -} -func (m *UpdateIndexResp) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateIndexResp.DiscardUnknown(m) + +func (*UpdateIndexResp) ProtoMessage() {} + +func (x *UpdateIndexResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_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) } -var xxx_messageInfo_UpdateIndexResp proto.InternalMessageInfo +// Deprecated: Use UpdateIndexResp.ProtoReflect.Descriptor instead. +func (*UpdateIndexResp) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{7} +} -func (m *UpdateIndexResp) GetDownloadProgress() *DownloadProgress { - if m != nil { - return m.DownloadProgress +func (x *UpdateIndexResp) GetDownloadProgress() *DownloadProgress { + if x != nil { + return x.DownloadProgress } return nil } type UpdateLibrariesIndexReq 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` } -func (m *UpdateLibrariesIndexReq) Reset() { *m = UpdateLibrariesIndexReq{} } -func (m *UpdateLibrariesIndexReq) String() string { return proto.CompactTextString(m) } -func (*UpdateLibrariesIndexReq) ProtoMessage() {} -func (*UpdateLibrariesIndexReq) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{8} +func (x *UpdateLibrariesIndexReq) Reset() { + *x = UpdateLibrariesIndexReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateLibrariesIndexReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateLibrariesIndexReq.Unmarshal(m, b) -} -func (m *UpdateLibrariesIndexReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateLibrariesIndexReq.Marshal(b, m, deterministic) -} -func (m *UpdateLibrariesIndexReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLibrariesIndexReq.Merge(m, src) -} -func (m *UpdateLibrariesIndexReq) XXX_Size() int { - return xxx_messageInfo_UpdateLibrariesIndexReq.Size(m) +func (x *UpdateLibrariesIndexReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateLibrariesIndexReq) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateLibrariesIndexReq.DiscardUnknown(m) + +func (*UpdateLibrariesIndexReq) ProtoMessage() {} + +func (x *UpdateLibrariesIndexReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_proto_msgTypes[8] + 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) } -var xxx_messageInfo_UpdateLibrariesIndexReq proto.InternalMessageInfo +// Deprecated: Use UpdateLibrariesIndexReq.ProtoReflect.Descriptor instead. +func (*UpdateLibrariesIndexReq) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{8} +} -func (m *UpdateLibrariesIndexReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *UpdateLibrariesIndexReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } type UpdateLibrariesIndexResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the libraries index download. - DownloadProgress *DownloadProgress `protobuf:"bytes,1,opt,name=download_progress,json=downloadProgress,proto3" json:"download_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + DownloadProgress *DownloadProgress `protobuf:"bytes,1,opt,name=download_progress,json=downloadProgress,proto3" json:"download_progress,omitempty"` } -func (m *UpdateLibrariesIndexResp) Reset() { *m = UpdateLibrariesIndexResp{} } -func (m *UpdateLibrariesIndexResp) String() string { return proto.CompactTextString(m) } -func (*UpdateLibrariesIndexResp) ProtoMessage() {} -func (*UpdateLibrariesIndexResp) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{9} +func (x *UpdateLibrariesIndexResp) Reset() { + *x = UpdateLibrariesIndexResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UpdateLibrariesIndexResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UpdateLibrariesIndexResp.Unmarshal(m, b) -} -func (m *UpdateLibrariesIndexResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UpdateLibrariesIndexResp.Marshal(b, m, deterministic) +func (x *UpdateLibrariesIndexResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UpdateLibrariesIndexResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UpdateLibrariesIndexResp.Merge(m, src) -} -func (m *UpdateLibrariesIndexResp) XXX_Size() int { - return xxx_messageInfo_UpdateLibrariesIndexResp.Size(m) -} -func (m *UpdateLibrariesIndexResp) XXX_DiscardUnknown() { - xxx_messageInfo_UpdateLibrariesIndexResp.DiscardUnknown(m) + +func (*UpdateLibrariesIndexResp) ProtoMessage() {} + +func (x *UpdateLibrariesIndexResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_proto_msgTypes[9] + 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) } -var xxx_messageInfo_UpdateLibrariesIndexResp proto.InternalMessageInfo +// Deprecated: Use UpdateLibrariesIndexResp.ProtoReflect.Descriptor instead. +func (*UpdateLibrariesIndexResp) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{9} +} -func (m *UpdateLibrariesIndexResp) GetDownloadProgress() *DownloadProgress { - if m != nil { - return m.DownloadProgress +func (x *UpdateLibrariesIndexResp) GetDownloadProgress() *DownloadProgress { + if x != nil { + return x.DownloadProgress } return nil } type VersionReq struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *VersionReq) Reset() { *m = VersionReq{} } -func (m *VersionReq) String() string { return proto.CompactTextString(m) } -func (*VersionReq) ProtoMessage() {} -func (*VersionReq) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{10} +func (x *VersionReq) Reset() { + *x = VersionReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VersionReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionReq.Unmarshal(m, b) +func (x *VersionReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VersionReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionReq.Marshal(b, m, deterministic) -} -func (m *VersionReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionReq.Merge(m, src) -} -func (m *VersionReq) XXX_Size() int { - return xxx_messageInfo_VersionReq.Size(m) -} -func (m *VersionReq) XXX_DiscardUnknown() { - xxx_messageInfo_VersionReq.DiscardUnknown(m) + +func (*VersionReq) ProtoMessage() {} + +func (x *VersionReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_proto_msgTypes[10] + 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) } -var xxx_messageInfo_VersionReq proto.InternalMessageInfo +// Deprecated: Use VersionReq.ProtoReflect.Descriptor instead. +func (*VersionReq) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{10} +} type VersionResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The version of Arduino CLI in use. - Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` } -func (m *VersionResp) Reset() { *m = VersionResp{} } -func (m *VersionResp) String() string { return proto.CompactTextString(m) } -func (*VersionResp) ProtoMessage() {} -func (*VersionResp) Descriptor() ([]byte, []int) { - return fileDescriptor_3690061a1131852d, []int{11} +func (x *VersionResp) Reset() { + *x = VersionResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_commands_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *VersionResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_VersionResp.Unmarshal(m, b) -} -func (m *VersionResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_VersionResp.Marshal(b, m, deterministic) -} -func (m *VersionResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_VersionResp.Merge(m, src) +func (x *VersionResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *VersionResp) XXX_Size() int { - return xxx_messageInfo_VersionResp.Size(m) -} -func (m *VersionResp) XXX_DiscardUnknown() { - xxx_messageInfo_VersionResp.DiscardUnknown(m) + +func (*VersionResp) ProtoMessage() {} + +func (x *VersionResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_commands_proto_msgTypes[11] + 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) } -var xxx_messageInfo_VersionResp proto.InternalMessageInfo +// Deprecated: Use VersionResp.ProtoReflect.Descriptor instead. +func (*VersionResp) Descriptor() ([]byte, []int) { + return file_commands_commands_proto_rawDescGZIP(), []int{11} +} -func (m *VersionResp) GetVersion() string { - if m != nil { - return m.Version +func (x *VersionResp) GetVersion() string { + if x != nil { + return x.Version } return "" } -func init() { - proto.RegisterType((*InitReq)(nil), "cc.arduino.cli.commands.InitReq") - proto.RegisterType((*InitResp)(nil), "cc.arduino.cli.commands.InitResp") - proto.RegisterType((*DestroyReq)(nil), "cc.arduino.cli.commands.DestroyReq") - proto.RegisterType((*DestroyResp)(nil), "cc.arduino.cli.commands.DestroyResp") - proto.RegisterType((*RescanReq)(nil), "cc.arduino.cli.commands.RescanReq") - proto.RegisterType((*RescanResp)(nil), "cc.arduino.cli.commands.RescanResp") - proto.RegisterType((*UpdateIndexReq)(nil), "cc.arduino.cli.commands.UpdateIndexReq") - proto.RegisterType((*UpdateIndexResp)(nil), "cc.arduino.cli.commands.UpdateIndexResp") - proto.RegisterType((*UpdateLibrariesIndexReq)(nil), "cc.arduino.cli.commands.UpdateLibrariesIndexReq") - proto.RegisterType((*UpdateLibrariesIndexResp)(nil), "cc.arduino.cli.commands.UpdateLibrariesIndexResp") - proto.RegisterType((*VersionReq)(nil), "cc.arduino.cli.commands.VersionReq") - proto.RegisterType((*VersionResp)(nil), "cc.arduino.cli.commands.VersionResp") -} - -func init() { proto.RegisterFile("commands/commands.proto", fileDescriptor_3690061a1131852d) } - -var fileDescriptor_3690061a1131852d = []byte{ - // 1012 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x98, 0xdd, 0x52, 0xdb, 0x46, - 0x14, 0x80, 0x23, 0x92, 0x02, 0x3e, 0x06, 0x92, 0x6c, 0x08, 0x78, 0x7c, 0x65, 0x94, 0xa6, 0x18, - 0x5c, 0x0c, 0xa5, 0x9d, 0xf6, 0xa2, 0x93, 0xce, 0x98, 0xd0, 0xce, 0x90, 0xa6, 0x43, 0x46, 0x14, - 0xa6, 0x93, 0x1b, 0x77, 0x2d, 0x6d, 0x60, 0x07, 0x59, 0xbb, 0xd9, 0x15, 0xb4, 0xbe, 0xea, 0x13, - 0xf4, 0x25, 0xfa, 0x3c, 0xbd, 0xef, 0xeb, 0x74, 0x76, 0xb5, 0x2b, 0x5b, 0x60, 0xfd, 0xf0, 0x93, - 0x2b, 0xd0, 0x39, 0xdf, 0x39, 0x67, 0xf7, 0xfc, 0x49, 0x00, 0xab, 0x3e, 0x1b, 0x0e, 0x71, 0x14, - 0xc8, 0x6d, 0xfb, 0x4b, 0x97, 0x0b, 0x16, 0x33, 0xb4, 0xea, 0xfb, 0x5d, 0x2c, 0x82, 0x0b, 0x1a, - 0xb1, 0xae, 0x1f, 0xd2, 0xae, 0x55, 0x37, 0x9f, 0x67, 0x2c, 0x58, 0x94, 0xf0, 0xcd, 0xe5, 0x54, - 0x3c, 0x60, 0x58, 0x04, 0x46, 0xba, 0x32, 0x09, 0x73, 0x1a, 0x12, 0x23, 0x7f, 0x36, 0x21, 0x17, - 0x56, 0x38, 0xf6, 0x7c, 0xc1, 0x43, 0x86, 0xad, 0x0f, 0x94, 0x8a, 0x43, 0x3a, 0x48, 0x64, 0xee, - 0xf7, 0x30, 0x77, 0x10, 0xd1, 0xd8, 0x23, 0x1f, 0xd1, 0x0e, 0x2c, 0x87, 0x74, 0x20, 0xb0, 0x18, - 0xf5, 0x87, 0x38, 0xc2, 0xa7, 0x44, 0xf4, 0x59, 0x14, 0x8e, 0x1a, 0x33, 0x2d, 0xa7, 0x3d, 0xef, - 0x21, 0xa3, 0xfb, 0x25, 0x51, 0x1d, 0x46, 0xe1, 0xc8, 0xfd, 0x6f, 0x06, 0xe6, 0x13, 0x6b, 0xc9, - 0xd1, 0x2b, 0x98, 0xa7, 0x91, 0x8c, 0x71, 0xe4, 0x93, 0x86, 0xd3, 0x72, 0xda, 0xf5, 0xdd, 0xb5, - 0x6e, 0xce, 0xd5, 0xbb, 0x07, 0x06, 0xf4, 0x52, 0x13, 0xf4, 0x0d, 0xac, 0xf0, 0x10, 0xc7, 0x1f, - 0x98, 0x18, 0xca, 0x3e, 0x8d, 0x02, 0xf2, 0x67, 0x9f, 0x08, 0xc1, 0x84, 0x6c, 0xcc, 0xb4, 0x1e, - 0xb6, 0x6b, 0xde, 0x72, 0xaa, 0x3d, 0x50, 0xca, 0x1f, 0xb5, 0x0e, 0xed, 0xc2, 0xf3, 0xe4, 0x5c, - 0x94, 0x64, 0xac, 0x1a, 0x0f, 0x5b, 0x4e, 0xbb, 0xe6, 0x3d, 0x4b, 0x95, 0x63, 0x23, 0x74, 0x02, - 0x4f, 0x03, 0xf6, 0x47, 0xa4, 0x12, 0xd3, 0xe7, 0x82, 0x9d, 0x0a, 0x22, 0x65, 0xe3, 0x91, 0x3e, - 0xf1, 0x46, 0xee, 0x89, 0xf7, 0x8d, 0xc5, 0x3b, 0x63, 0xe0, 0x3d, 0x09, 0xae, 0x48, 0xd0, 0x1b, - 0x58, 0x8c, 0xb1, 0x3c, 0x1f, 0xfb, 0xfc, 0x4c, 0xfb, 0x7c, 0x99, 0xeb, 0xf3, 0x57, 0x2c, 0xcf, - 0x53, 0x7f, 0x0b, 0xf1, 0xc4, 0x93, 0xfb, 0x33, 0xc0, 0x3e, 0x91, 0xb1, 0x60, 0x23, 0x55, 0x99, - 0xbb, 0xa5, 0xd6, 0x5d, 0x84, 0x7a, 0xea, 0x4c, 0x72, 0xf7, 0x0d, 0xd4, 0x3c, 0x22, 0x7d, 0x1c, - 0xdd, 0x83, 0xeb, 0x4b, 0x00, 0xeb, 0x4b, 0xf2, 0x82, 0x1a, 0x3a, 0xb7, 0xa9, 0xe1, 0x4c, 0x6e, - 0x0d, 0xdd, 0x43, 0x58, 0x3a, 0xe6, 0x01, 0x8e, 0x89, 0x96, 0xdd, 0xc3, 0x45, 0x28, 0x3c, 0xce, - 0x38, 0x94, 0x7c, 0x7a, 0x9f, 0x38, 0x77, 0xee, 0x13, 0xf7, 0x37, 0x58, 0x4d, 0x42, 0xbd, 0xcd, - 0x5c, 0xec, 0x1e, 0x2e, 0x21, 0xa0, 0x31, 0xdd, 0xf3, 0x27, 0xbc, 0xcd, 0x02, 0xc0, 0x09, 0x11, - 0x92, 0x32, 0xd5, 0x4e, 0xee, 0x3a, 0xd4, 0xd3, 0x27, 0xc9, 0x51, 0x03, 0xe6, 0x2e, 0x93, 0x47, - 0x1d, 0xaa, 0xe6, 0xd9, 0xc7, 0xdd, 0x7f, 0x57, 0xa0, 0xde, 0x4b, 0x42, 0xbe, 0x66, 0x82, 0xa0, - 0x43, 0x78, 0xa4, 0x36, 0x09, 0x6a, 0x15, 0xdc, 0x57, 0xaf, 0xa9, 0xe6, 0x5a, 0x09, 0x21, 0xb9, - 0xfb, 0x60, 0xc7, 0x41, 0x27, 0x30, 0x67, 0x9a, 0x1e, 0xbd, 0xc8, 0xbf, 0x5f, 0x3a, 0x63, 0xcd, - 0xcf, 0xcb, 0x21, 0xe5, 0x19, 0x1d, 0xc1, 0x6c, 0xd2, 0xf1, 0xc8, 0xcd, 0xb5, 0x48, 0xc7, 0xab, - 0xf9, 0xa2, 0x94, 0xd1, 0x4e, 0x03, 0xa8, 0x4f, 0x74, 0x1f, 0x5a, 0xcf, 0xb5, 0xca, 0x36, 0x7d, - 0xb3, 0x5d, 0x0d, 0x34, 0x29, 0xf9, 0x0b, 0x96, 0xa7, 0xb5, 0x07, 0xda, 0x29, 0xf1, 0x72, 0xad, - 0x4f, 0x9b, 0x5f, 0xdd, 0xd0, 0x62, 0x5c, 0x13, 0xd3, 0x1d, 0x05, 0x35, 0x19, 0x77, 0x53, 0x41, - 0x4d, 0x26, 0x9a, 0xcc, 0x7d, 0x80, 0x7c, 0x58, 0xd8, 0x53, 0xef, 0xca, 0x7d, 0x12, 0x63, 0x1a, - 0x4a, 0x94, 0x9f, 0x96, 0x49, 0x4c, 0x45, 0xd8, 0xa8, 0x48, 0x4a, 0x8e, 0x06, 0x50, 0xd7, 0xb2, - 0x5e, 0x1c, 0x63, 0xff, 0xac, 0xa0, 0x46, 0x13, 0x54, 0x71, 0x8d, 0x32, 0xa0, 0xe4, 0x3b, 0x0e, - 0x7a, 0x0f, 0x35, 0x2d, 0x7c, 0x4b, 0x65, 0x8c, 0x5e, 0x16, 0x1b, 0x2a, 0x46, 0xf9, 0xff, 0xa2, - 0x0a, 0x26, 0x79, 0x9a, 0x24, 0x25, 0xe8, 0x85, 0x61, 0x59, 0x92, 0x0c, 0x56, 0x21, 0x49, 0x29, - 0xa9, 0xb7, 0xcc, 0xdc, 0xeb, 0xe4, 0xfb, 0xa4, 0xa0, 0xc2, 0x86, 0x28, 0xae, 0x70, 0x0a, 0xe9, - 0xc4, 0x44, 0xf0, 0xf8, 0x9d, 0x79, 0x77, 0xe8, 0xbd, 0x17, 0x86, 0xa8, 0x93, 0x6b, 0x7a, 0x85, - 0x54, 0x71, 0xbe, 0xac, 0x0e, 0xeb, 0x78, 0x1f, 0xe1, 0x89, 0x55, 0xd8, 0x1d, 0x88, 0xca, 0x7d, - 0x58, 0x54, 0x45, 0xdc, 0xba, 0x01, 0xad, 0x43, 0xc6, 0xf0, 0xd4, 0x6a, 0x8e, 0x23, 0x6a, 0x2e, - 0x59, 0xee, 0x25, 0x65, 0x55, 0xd0, 0xee, 0x4d, 0xf0, 0xab, 0x89, 0x3d, 0xe6, 0xa7, 0x02, 0x07, - 0xa4, 0x42, 0x62, 0x0d, 0x59, 0x2d, 0xb1, 0x29, 0xac, 0xe3, 0x1d, 0xc1, 0xec, 0xb1, 0xfe, 0x26, - 0x2d, 0x58, 0x9f, 0x09, 0x50, 0xbc, 0x3e, 0x2d, 0xa3, 0x9d, 0xfe, 0xe3, 0xc0, 0x9a, 0xea, 0x42, - 0xfd, 0x52, 0xc2, 0xc3, 0x21, 0x11, 0xb2, 0x77, 0x89, 0x69, 0x88, 0x07, 0x21, 0xf9, 0x89, 0x09, - 0x13, 0xf0, 0x55, 0xae, 0xb3, 0x52, 0x5b, 0x75, 0x96, 0x1f, 0xee, 0x62, 0x2e, 0x39, 0x3a, 0x87, - 0xa5, 0xbd, 0x0b, 0x11, 0xed, 0x31, 0x16, 0x2b, 0x19, 0x11, 0x68, 0x33, 0x7f, 0xae, 0x32, 0xa0, - 0x8a, 0xde, 0xa9, 0xcc, 0xea, 0x8c, 0x50, 0x58, 0xb2, 0xf9, 0x3f, 0x22, 0x58, 0xf8, 0x67, 0x05, - 0xc1, 0xb2, 0x60, 0x71, 0xb0, 0xab, 0x6c, 0xb2, 0x57, 0xac, 0x54, 0xaf, 0xad, 0x76, 0xa9, 0xb1, - 0xdd, 0x5c, 0x1b, 0x15, 0x49, 0xc9, 0x55, 0x9b, 0x26, 0xef, 0x94, 0x51, 0x3a, 0x8e, 0x9d, 0x82, - 0x7a, 0x64, 0xc8, 0xe2, 0x36, 0xbd, 0x06, 0xeb, 0xfc, 0x9d, 0xc3, 0x92, 0x51, 0xd8, 0x75, 0xb3, - 0x59, 0xe6, 0x61, 0x62, 0xdb, 0x74, 0x2a, 0xb3, 0x76, 0xd9, 0x18, 0xf9, 0x78, 0xf0, 0x4b, 0x0f, - 0x9c, 0x99, 0xfb, 0xad, 0x1b, 0xd0, 0x76, 0xd9, 0x58, 0x4d, 0x32, 0x9e, 0xbd, 0xc2, 0x65, 0x73, - 0x8d, 0x2d, 0x5e, 0x36, 0x53, 0x70, 0x1d, 0xf5, 0x6f, 0x07, 0x9a, 0x46, 0xe7, 0x11, 0xc9, 0xc2, - 0x4b, 0xb2, 0x4f, 0x38, 0x89, 0x02, 0x12, 0xf9, 0x94, 0x48, 0xf4, 0x6d, 0x99, 0xc3, 0x29, 0x46, - 0xea, 0x20, 0xdf, 0xdd, 0xca, 0x4e, 0x72, 0xf4, 0x01, 0x16, 0x0d, 0x61, 0x86, 0x64, 0xa3, 0xcc, - 0xd3, 0x78, 0x46, 0x36, 0xab, 0xa2, 0x92, 0xa3, 0xdf, 0xa1, 0x6e, 0x84, 0x7a, 0x42, 0xd6, 0xcb, - 0x4c, 0xed, 0x80, 0xb4, 0xab, 0x81, 0x92, 0xef, 0x6d, 0xbd, 0xef, 0x9c, 0xd2, 0xf8, 0xec, 0x62, - 0xa0, 0x90, 0x6d, 0x63, 0x62, 0x7f, 0x6e, 0xf9, 0x21, 0xdd, 0x16, 0xdc, 0x4f, 0xff, 0x33, 0x31, - 0x98, 0xd5, 0x7f, 0xfc, 0x7f, 0xfd, 0x7f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xbe, 0x72, 0x97, 0x90, - 0xb5, 0x10, 0x00, 0x00, +var File_commands_commands_proto protoreflect.FileDescriptor + +var file_commands_commands_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, + 0x64, 0x73, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, + 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x14, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2f, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, + 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, + 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x15, 0x63, 0x6f, + 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x75, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x1a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x6c, 0x69, + 0x62, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x3b, 0x0a, 0x07, 0x49, 0x6e, 0x69, 0x74, 0x52, + 0x65, 0x71, 0x12, 0x30, 0x0a, 0x14, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x5f, 0x6d, 0x61, + 0x6e, 0x61, 0x67, 0x65, 0x72, 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, + 0x52, 0x12, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, + 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0xd7, 0x02, 0x0a, 0x08, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x34, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x5f, 0x69, 0x6e, + 0x64, 0x65, 0x78, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x14, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, + 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x69, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, + 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x56, 0x0a, 0x11, 0x64, 0x6f, + 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 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, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 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, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x4b, + 0x0a, 0x0a, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x0d, 0x0a, 0x0b, 0x44, + 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x73, 0x70, 0x22, 0x4a, 0x0a, 0x09, 0x52, 0x65, + 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x76, 0x0a, 0x0a, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x34, 0x0a, 0x16, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x73, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x14, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x73, 0x49, + 0x6e, 0x64, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x32, 0x0a, 0x15, 0x6c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x5f, 0x65, 0x72, + 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x13, 0x6c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x4f, + 0x0a, 0x0e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, + 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, + 0x69, 0x0a, 0x0f, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, + 0x73, 0x70, 0x12, 0x56, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x70, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x58, 0x0a, 0x17, 0x55, 0x70, + 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, + 0x61, 0x6e, 0x63, 0x65, 0x22, 0x72, 0x0a, 0x18, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x56, 0x0a, 0x11, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x10, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x0c, 0x0a, 0x0a, 0x56, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x22, 0x27, 0x0a, 0x0b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x32, + 0xcc, 0x16, 0x0a, 0x0b, 0x41, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x43, 0x6f, 0x72, 0x65, 0x12, + 0x4f, 0x0a, 0x04, 0x49, 0x6e, 0x69, 0x74, 0x12, 0x20, 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, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x21, 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, 0x49, 0x6e, 0x69, 0x74, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x30, 0x01, + 0x12, 0x56, 0x0a, 0x07, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x12, 0x23, 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, 0x44, 0x65, 0x73, 0x74, 0x72, 0x6f, 0x79, 0x52, 0x65, 0x71, + 0x1a, 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, 0x44, 0x65, 0x73, 0x74, 0x72, + 0x6f, 0x79, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x53, 0x0a, 0x06, 0x52, 0x65, 0x73, 0x63, + 0x61, 0x6e, 0x12, 0x22, 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, 0x52, 0x65, 0x73, + 0x63, 0x61, 0x6e, 0x52, 0x65, 0x71, 0x1a, 0x23, 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, 0x52, 0x65, 0x73, 0x63, 0x61, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x64, 0x0a, + 0x0b, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x27, 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, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, + 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 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, + 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, 0x22, + 0x00, 0x30, 0x01, 0x12, 0x7f, 0x0a, 0x14, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x30, 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, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x71, 0x1a, 0x31, 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, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x49, 0x6e, 0x64, 0x65, 0x78, 0x52, 0x65, 0x73, 0x70, + 0x22, 0x00, 0x30, 0x01, 0x12, 0x56, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, + 0x23, 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, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x52, 0x65, 0x71, 0x1a, 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, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x12, 0x63, 0x0a, 0x0c, + 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, + 0x69, 0x6c, 0x73, 0x52, 0x65, 0x71, 0x1a, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x62, 0x0a, 0x0b, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, + 0x12, 0x27, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, + 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x52, 0x65, 0x71, 0x1a, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x41, 0x74, 0x74, 0x61, 0x63, 0x68, 0x52, + 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x5a, 0x0a, 0x09, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, + 0x73, 0x74, 0x12, 0x25, 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, 0x42, 0x6f, 0x61, + 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x1a, 0x26, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x63, 0x0a, 0x0c, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, + 0x6c, 0x12, 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, 0x42, 0x6f, 0x61, 0x72, + 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x1a, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x4c, 0x69, 0x73, 0x74, 0x41, + 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x56, 0x0a, 0x07, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, + 0x65, 0x12, 0x23, 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, 0x43, 0x6f, 0x6d, 0x70, + 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x1a, 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, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x6e, + 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x6c, 0x12, 0x2b, 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, 0x50, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x2c, + 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x71, + 0x0a, 0x10, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x12, 0x2c, 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, 0x50, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, + 0x1a, 0x2d, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x30, + 0x01, 0x12, 0x74, 0x0a, 0x11, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, 0x2d, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x2e, 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, + 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, + 0x6c, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x6e, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x12, 0x2b, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, + 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, 0x71, 0x1a, 0x2c, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, + 0x65, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x53, 0x0a, 0x06, 0x55, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x22, 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, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x23, 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, + 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0xa2, 0x01, 0x0a, + 0x21, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x12, 0x3d, 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, 0x4c, 0x69, 0x73, + 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, + 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, + 0x71, 0x1a, 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, 0x4c, 0x69, 0x73, 0x74, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, + 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x6b, 0x0a, 0x0e, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, + 0x64, 0x65, 0x72, 0x12, 0x2a, 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, 0x42, 0x75, + 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x71, 0x1a, + 0x2b, 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, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, + 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x69, + 0x0a, 0x0e, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x12, 0x2a, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, 0x1a, 0x2b, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x63, 0x0a, 0x0c, 0x50, 0x6c, 0x61, + 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x12, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, + 0x52, 0x65, 0x71, 0x1a, 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, 0x50, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x6e, + 0x0a, 0x0f, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, + 0x64, 0x12, 0x2b, 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, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x1a, 0x2c, + 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x6b, + 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, + 0x12, 0x2a, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x2b, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x71, 0x0a, 0x10, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x12, + 0x2c, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x1a, 0x2d, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, + 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x30, 0x01, 0x12, 0x74, + 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, + 0x41, 0x6c, 0x6c, 0x12, 0x2d, 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, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, + 0x65, 0x71, 0x1a, 0x2e, 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, 0x4c, 0x69, 0x62, + 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, + 0x73, 0x70, 0x30, 0x01, 0x12, 0x8d, 0x01, 0x0a, 0x1a, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, + 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, + 0x69, 0x65, 0x73, 0x12, 0x36, 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, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, + 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x37, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, + 0x6f, 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x66, 0x0a, 0x0d, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x12, 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, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x1a, 0x2a, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x60, 0x0a, 0x0b, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x27, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x1a, 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, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x42, 0x2d, + 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, + 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_commands_commands_proto_rawDescOnce sync.Once + file_commands_commands_proto_rawDescData = file_commands_commands_proto_rawDesc +) + +func file_commands_commands_proto_rawDescGZIP() []byte { + file_commands_commands_proto_rawDescOnce.Do(func() { + file_commands_commands_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_commands_proto_rawDescData) + }) + return file_commands_commands_proto_rawDescData +} + +var file_commands_commands_proto_msgTypes = make([]protoimpl.MessageInfo, 12) +var file_commands_commands_proto_goTypes = []interface{}{ + (*InitReq)(nil), // 0: cc.arduino.cli.commands.InitReq + (*InitResp)(nil), // 1: cc.arduino.cli.commands.InitResp + (*DestroyReq)(nil), // 2: cc.arduino.cli.commands.DestroyReq + (*DestroyResp)(nil), // 3: cc.arduino.cli.commands.DestroyResp + (*RescanReq)(nil), // 4: cc.arduino.cli.commands.RescanReq + (*RescanResp)(nil), // 5: cc.arduino.cli.commands.RescanResp + (*UpdateIndexReq)(nil), // 6: cc.arduino.cli.commands.UpdateIndexReq + (*UpdateIndexResp)(nil), // 7: cc.arduino.cli.commands.UpdateIndexResp + (*UpdateLibrariesIndexReq)(nil), // 8: cc.arduino.cli.commands.UpdateLibrariesIndexReq + (*UpdateLibrariesIndexResp)(nil), // 9: cc.arduino.cli.commands.UpdateLibrariesIndexResp + (*VersionReq)(nil), // 10: cc.arduino.cli.commands.VersionReq + (*VersionResp)(nil), // 11: cc.arduino.cli.commands.VersionResp + (*Instance)(nil), // 12: cc.arduino.cli.commands.Instance + (*DownloadProgress)(nil), // 13: cc.arduino.cli.commands.DownloadProgress + (*TaskProgress)(nil), // 14: cc.arduino.cli.commands.TaskProgress + (*BoardDetailsReq)(nil), // 15: cc.arduino.cli.commands.BoardDetailsReq + (*BoardAttachReq)(nil), // 16: cc.arduino.cli.commands.BoardAttachReq + (*BoardListReq)(nil), // 17: cc.arduino.cli.commands.BoardListReq + (*BoardListAllReq)(nil), // 18: cc.arduino.cli.commands.BoardListAllReq + (*CompileReq)(nil), // 19: cc.arduino.cli.commands.CompileReq + (*PlatformInstallReq)(nil), // 20: cc.arduino.cli.commands.PlatformInstallReq + (*PlatformDownloadReq)(nil), // 21: cc.arduino.cli.commands.PlatformDownloadReq + (*PlatformUninstallReq)(nil), // 22: cc.arduino.cli.commands.PlatformUninstallReq + (*PlatformUpgradeReq)(nil), // 23: cc.arduino.cli.commands.PlatformUpgradeReq + (*UploadReq)(nil), // 24: cc.arduino.cli.commands.UploadReq + (*ListProgrammersAvailableForUploadReq)(nil), // 25: cc.arduino.cli.commands.ListProgrammersAvailableForUploadReq + (*BurnBootloaderReq)(nil), // 26: cc.arduino.cli.commands.BurnBootloaderReq + (*PlatformSearchReq)(nil), // 27: cc.arduino.cli.commands.PlatformSearchReq + (*PlatformListReq)(nil), // 28: cc.arduino.cli.commands.PlatformListReq + (*LibraryDownloadReq)(nil), // 29: cc.arduino.cli.commands.LibraryDownloadReq + (*LibraryInstallReq)(nil), // 30: cc.arduino.cli.commands.LibraryInstallReq + (*LibraryUninstallReq)(nil), // 31: cc.arduino.cli.commands.LibraryUninstallReq + (*LibraryUpgradeAllReq)(nil), // 32: cc.arduino.cli.commands.LibraryUpgradeAllReq + (*LibraryResolveDependenciesReq)(nil), // 33: cc.arduino.cli.commands.LibraryResolveDependenciesReq + (*LibrarySearchReq)(nil), // 34: cc.arduino.cli.commands.LibrarySearchReq + (*LibraryListReq)(nil), // 35: cc.arduino.cli.commands.LibraryListReq + (*BoardDetailsResp)(nil), // 36: cc.arduino.cli.commands.BoardDetailsResp + (*BoardAttachResp)(nil), // 37: cc.arduino.cli.commands.BoardAttachResp + (*BoardListResp)(nil), // 38: cc.arduino.cli.commands.BoardListResp + (*BoardListAllResp)(nil), // 39: cc.arduino.cli.commands.BoardListAllResp + (*CompileResp)(nil), // 40: cc.arduino.cli.commands.CompileResp + (*PlatformInstallResp)(nil), // 41: cc.arduino.cli.commands.PlatformInstallResp + (*PlatformDownloadResp)(nil), // 42: cc.arduino.cli.commands.PlatformDownloadResp + (*PlatformUninstallResp)(nil), // 43: cc.arduino.cli.commands.PlatformUninstallResp + (*PlatformUpgradeResp)(nil), // 44: cc.arduino.cli.commands.PlatformUpgradeResp + (*UploadResp)(nil), // 45: cc.arduino.cli.commands.UploadResp + (*ListProgrammersAvailableForUploadResp)(nil), // 46: cc.arduino.cli.commands.ListProgrammersAvailableForUploadResp + (*BurnBootloaderResp)(nil), // 47: cc.arduino.cli.commands.BurnBootloaderResp + (*PlatformSearchResp)(nil), // 48: cc.arduino.cli.commands.PlatformSearchResp + (*PlatformListResp)(nil), // 49: cc.arduino.cli.commands.PlatformListResp + (*LibraryDownloadResp)(nil), // 50: cc.arduino.cli.commands.LibraryDownloadResp + (*LibraryInstallResp)(nil), // 51: cc.arduino.cli.commands.LibraryInstallResp + (*LibraryUninstallResp)(nil), // 52: cc.arduino.cli.commands.LibraryUninstallResp + (*LibraryUpgradeAllResp)(nil), // 53: cc.arduino.cli.commands.LibraryUpgradeAllResp + (*LibraryResolveDependenciesResp)(nil), // 54: cc.arduino.cli.commands.LibraryResolveDependenciesResp + (*LibrarySearchResp)(nil), // 55: cc.arduino.cli.commands.LibrarySearchResp + (*LibraryListResp)(nil), // 56: cc.arduino.cli.commands.LibraryListResp +} +var file_commands_commands_proto_depIdxs = []int32{ + 12, // 0: cc.arduino.cli.commands.InitResp.instance:type_name -> cc.arduino.cli.commands.Instance + 13, // 1: cc.arduino.cli.commands.InitResp.download_progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 14, // 2: cc.arduino.cli.commands.InitResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 12, // 3: cc.arduino.cli.commands.DestroyReq.instance:type_name -> cc.arduino.cli.commands.Instance + 12, // 4: cc.arduino.cli.commands.RescanReq.instance:type_name -> cc.arduino.cli.commands.Instance + 12, // 5: cc.arduino.cli.commands.UpdateIndexReq.instance:type_name -> cc.arduino.cli.commands.Instance + 13, // 6: cc.arduino.cli.commands.UpdateIndexResp.download_progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 12, // 7: cc.arduino.cli.commands.UpdateLibrariesIndexReq.instance:type_name -> cc.arduino.cli.commands.Instance + 13, // 8: cc.arduino.cli.commands.UpdateLibrariesIndexResp.download_progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 0, // 9: cc.arduino.cli.commands.ArduinoCore.Init:input_type -> cc.arduino.cli.commands.InitReq + 2, // 10: cc.arduino.cli.commands.ArduinoCore.Destroy:input_type -> cc.arduino.cli.commands.DestroyReq + 4, // 11: cc.arduino.cli.commands.ArduinoCore.Rescan:input_type -> cc.arduino.cli.commands.RescanReq + 6, // 12: cc.arduino.cli.commands.ArduinoCore.UpdateIndex:input_type -> cc.arduino.cli.commands.UpdateIndexReq + 8, // 13: cc.arduino.cli.commands.ArduinoCore.UpdateLibrariesIndex:input_type -> cc.arduino.cli.commands.UpdateLibrariesIndexReq + 10, // 14: cc.arduino.cli.commands.ArduinoCore.Version:input_type -> cc.arduino.cli.commands.VersionReq + 15, // 15: cc.arduino.cli.commands.ArduinoCore.BoardDetails:input_type -> cc.arduino.cli.commands.BoardDetailsReq + 16, // 16: cc.arduino.cli.commands.ArduinoCore.BoardAttach:input_type -> cc.arduino.cli.commands.BoardAttachReq + 17, // 17: cc.arduino.cli.commands.ArduinoCore.BoardList:input_type -> cc.arduino.cli.commands.BoardListReq + 18, // 18: cc.arduino.cli.commands.ArduinoCore.BoardListAll:input_type -> cc.arduino.cli.commands.BoardListAllReq + 19, // 19: cc.arduino.cli.commands.ArduinoCore.Compile:input_type -> cc.arduino.cli.commands.CompileReq + 20, // 20: cc.arduino.cli.commands.ArduinoCore.PlatformInstall:input_type -> cc.arduino.cli.commands.PlatformInstallReq + 21, // 21: cc.arduino.cli.commands.ArduinoCore.PlatformDownload:input_type -> cc.arduino.cli.commands.PlatformDownloadReq + 22, // 22: cc.arduino.cli.commands.ArduinoCore.PlatformUninstall:input_type -> cc.arduino.cli.commands.PlatformUninstallReq + 23, // 23: cc.arduino.cli.commands.ArduinoCore.PlatformUpgrade:input_type -> cc.arduino.cli.commands.PlatformUpgradeReq + 24, // 24: cc.arduino.cli.commands.ArduinoCore.Upload:input_type -> cc.arduino.cli.commands.UploadReq + 25, // 25: cc.arduino.cli.commands.ArduinoCore.ListProgrammersAvailableForUpload:input_type -> cc.arduino.cli.commands.ListProgrammersAvailableForUploadReq + 26, // 26: cc.arduino.cli.commands.ArduinoCore.BurnBootloader:input_type -> cc.arduino.cli.commands.BurnBootloaderReq + 27, // 27: cc.arduino.cli.commands.ArduinoCore.PlatformSearch:input_type -> cc.arduino.cli.commands.PlatformSearchReq + 28, // 28: cc.arduino.cli.commands.ArduinoCore.PlatformList:input_type -> cc.arduino.cli.commands.PlatformListReq + 29, // 29: cc.arduino.cli.commands.ArduinoCore.LibraryDownload:input_type -> cc.arduino.cli.commands.LibraryDownloadReq + 30, // 30: cc.arduino.cli.commands.ArduinoCore.LibraryInstall:input_type -> cc.arduino.cli.commands.LibraryInstallReq + 31, // 31: cc.arduino.cli.commands.ArduinoCore.LibraryUninstall:input_type -> cc.arduino.cli.commands.LibraryUninstallReq + 32, // 32: cc.arduino.cli.commands.ArduinoCore.LibraryUpgradeAll:input_type -> cc.arduino.cli.commands.LibraryUpgradeAllReq + 33, // 33: cc.arduino.cli.commands.ArduinoCore.LibraryResolveDependencies:input_type -> cc.arduino.cli.commands.LibraryResolveDependenciesReq + 34, // 34: cc.arduino.cli.commands.ArduinoCore.LibrarySearch:input_type -> cc.arduino.cli.commands.LibrarySearchReq + 35, // 35: cc.arduino.cli.commands.ArduinoCore.LibraryList:input_type -> cc.arduino.cli.commands.LibraryListReq + 1, // 36: cc.arduino.cli.commands.ArduinoCore.Init:output_type -> cc.arduino.cli.commands.InitResp + 3, // 37: cc.arduino.cli.commands.ArduinoCore.Destroy:output_type -> cc.arduino.cli.commands.DestroyResp + 5, // 38: cc.arduino.cli.commands.ArduinoCore.Rescan:output_type -> cc.arduino.cli.commands.RescanResp + 7, // 39: cc.arduino.cli.commands.ArduinoCore.UpdateIndex:output_type -> cc.arduino.cli.commands.UpdateIndexResp + 9, // 40: cc.arduino.cli.commands.ArduinoCore.UpdateLibrariesIndex:output_type -> cc.arduino.cli.commands.UpdateLibrariesIndexResp + 11, // 41: cc.arduino.cli.commands.ArduinoCore.Version:output_type -> cc.arduino.cli.commands.VersionResp + 36, // 42: cc.arduino.cli.commands.ArduinoCore.BoardDetails:output_type -> cc.arduino.cli.commands.BoardDetailsResp + 37, // 43: cc.arduino.cli.commands.ArduinoCore.BoardAttach:output_type -> cc.arduino.cli.commands.BoardAttachResp + 38, // 44: cc.arduino.cli.commands.ArduinoCore.BoardList:output_type -> cc.arduino.cli.commands.BoardListResp + 39, // 45: cc.arduino.cli.commands.ArduinoCore.BoardListAll:output_type -> cc.arduino.cli.commands.BoardListAllResp + 40, // 46: cc.arduino.cli.commands.ArduinoCore.Compile:output_type -> cc.arduino.cli.commands.CompileResp + 41, // 47: cc.arduino.cli.commands.ArduinoCore.PlatformInstall:output_type -> cc.arduino.cli.commands.PlatformInstallResp + 42, // 48: cc.arduino.cli.commands.ArduinoCore.PlatformDownload:output_type -> cc.arduino.cli.commands.PlatformDownloadResp + 43, // 49: cc.arduino.cli.commands.ArduinoCore.PlatformUninstall:output_type -> cc.arduino.cli.commands.PlatformUninstallResp + 44, // 50: cc.arduino.cli.commands.ArduinoCore.PlatformUpgrade:output_type -> cc.arduino.cli.commands.PlatformUpgradeResp + 45, // 51: cc.arduino.cli.commands.ArduinoCore.Upload:output_type -> cc.arduino.cli.commands.UploadResp + 46, // 52: cc.arduino.cli.commands.ArduinoCore.ListProgrammersAvailableForUpload:output_type -> cc.arduino.cli.commands.ListProgrammersAvailableForUploadResp + 47, // 53: cc.arduino.cli.commands.ArduinoCore.BurnBootloader:output_type -> cc.arduino.cli.commands.BurnBootloaderResp + 48, // 54: cc.arduino.cli.commands.ArduinoCore.PlatformSearch:output_type -> cc.arduino.cli.commands.PlatformSearchResp + 49, // 55: cc.arduino.cli.commands.ArduinoCore.PlatformList:output_type -> cc.arduino.cli.commands.PlatformListResp + 50, // 56: cc.arduino.cli.commands.ArduinoCore.LibraryDownload:output_type -> cc.arduino.cli.commands.LibraryDownloadResp + 51, // 57: cc.arduino.cli.commands.ArduinoCore.LibraryInstall:output_type -> cc.arduino.cli.commands.LibraryInstallResp + 52, // 58: cc.arduino.cli.commands.ArduinoCore.LibraryUninstall:output_type -> cc.arduino.cli.commands.LibraryUninstallResp + 53, // 59: cc.arduino.cli.commands.ArduinoCore.LibraryUpgradeAll:output_type -> cc.arduino.cli.commands.LibraryUpgradeAllResp + 54, // 60: cc.arduino.cli.commands.ArduinoCore.LibraryResolveDependencies:output_type -> cc.arduino.cli.commands.LibraryResolveDependenciesResp + 55, // 61: cc.arduino.cli.commands.ArduinoCore.LibrarySearch:output_type -> cc.arduino.cli.commands.LibrarySearchResp + 56, // 62: cc.arduino.cli.commands.ArduinoCore.LibraryList:output_type -> cc.arduino.cli.commands.LibraryListResp + 36, // [36:63] is the sub-list for method output_type + 9, // [9:36] is the sub-list for method input_type + 9, // [9:9] is the sub-list for extension type_name + 9, // [9:9] is the sub-list for extension extendee + 0, // [0:9] is the sub-list for field type_name +} + +func init() { file_commands_commands_proto_init() } +func file_commands_commands_proto_init() { + if File_commands_commands_proto != nil { + return + } + file_commands_common_proto_init() + file_commands_board_proto_init() + file_commands_compile_proto_init() + file_commands_core_proto_init() + file_commands_upload_proto_init() + file_commands_lib_proto_init() + if !protoimpl.UnsafeEnabled { + file_commands_commands_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InitResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DestroyResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RescanResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIndexReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateIndexResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLibrariesIndexReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UpdateLibrariesIndexResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_commands_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*VersionResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_commands_proto_rawDesc, + NumEnums: 0, + NumMessages: 12, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_commands_commands_proto_goTypes, + DependencyIndexes: file_commands_commands_proto_depIdxs, + MessageInfos: file_commands_commands_proto_msgTypes, + }.Build() + File_commands_commands_proto = out.File + file_commands_commands_proto_rawDesc = nil + file_commands_commands_proto_goTypes = nil + file_commands_commands_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -1355,85 +1977,85 @@ type ArduinoCoreServer interface { type UnimplementedArduinoCoreServer struct { } -func (*UnimplementedArduinoCoreServer) Init(req *InitReq, srv ArduinoCore_InitServer) error { +func (*UnimplementedArduinoCoreServer) Init(*InitReq, ArduinoCore_InitServer) error { return status.Errorf(codes.Unimplemented, "method Init not implemented") } -func (*UnimplementedArduinoCoreServer) Destroy(ctx context.Context, req *DestroyReq) (*DestroyResp, error) { +func (*UnimplementedArduinoCoreServer) Destroy(context.Context, *DestroyReq) (*DestroyResp, error) { return nil, status.Errorf(codes.Unimplemented, "method Destroy not implemented") } -func (*UnimplementedArduinoCoreServer) Rescan(ctx context.Context, req *RescanReq) (*RescanResp, error) { +func (*UnimplementedArduinoCoreServer) Rescan(context.Context, *RescanReq) (*RescanResp, error) { return nil, status.Errorf(codes.Unimplemented, "method Rescan not implemented") } -func (*UnimplementedArduinoCoreServer) UpdateIndex(req *UpdateIndexReq, srv ArduinoCore_UpdateIndexServer) error { +func (*UnimplementedArduinoCoreServer) UpdateIndex(*UpdateIndexReq, ArduinoCore_UpdateIndexServer) error { return status.Errorf(codes.Unimplemented, "method UpdateIndex not implemented") } -func (*UnimplementedArduinoCoreServer) UpdateLibrariesIndex(req *UpdateLibrariesIndexReq, srv ArduinoCore_UpdateLibrariesIndexServer) error { +func (*UnimplementedArduinoCoreServer) UpdateLibrariesIndex(*UpdateLibrariesIndexReq, ArduinoCore_UpdateLibrariesIndexServer) error { return status.Errorf(codes.Unimplemented, "method UpdateLibrariesIndex not implemented") } -func (*UnimplementedArduinoCoreServer) Version(ctx context.Context, req *VersionReq) (*VersionResp, error) { +func (*UnimplementedArduinoCoreServer) Version(context.Context, *VersionReq) (*VersionResp, error) { return nil, status.Errorf(codes.Unimplemented, "method Version not implemented") } -func (*UnimplementedArduinoCoreServer) BoardDetails(ctx context.Context, req *BoardDetailsReq) (*BoardDetailsResp, error) { +func (*UnimplementedArduinoCoreServer) BoardDetails(context.Context, *BoardDetailsReq) (*BoardDetailsResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BoardDetails not implemented") } -func (*UnimplementedArduinoCoreServer) BoardAttach(req *BoardAttachReq, srv ArduinoCore_BoardAttachServer) error { +func (*UnimplementedArduinoCoreServer) BoardAttach(*BoardAttachReq, ArduinoCore_BoardAttachServer) error { return status.Errorf(codes.Unimplemented, "method BoardAttach not implemented") } -func (*UnimplementedArduinoCoreServer) BoardList(ctx context.Context, req *BoardListReq) (*BoardListResp, error) { +func (*UnimplementedArduinoCoreServer) BoardList(context.Context, *BoardListReq) (*BoardListResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BoardList not implemented") } -func (*UnimplementedArduinoCoreServer) BoardListAll(ctx context.Context, req *BoardListAllReq) (*BoardListAllResp, error) { +func (*UnimplementedArduinoCoreServer) BoardListAll(context.Context, *BoardListAllReq) (*BoardListAllResp, error) { return nil, status.Errorf(codes.Unimplemented, "method BoardListAll not implemented") } -func (*UnimplementedArduinoCoreServer) Compile(req *CompileReq, srv ArduinoCore_CompileServer) error { +func (*UnimplementedArduinoCoreServer) Compile(*CompileReq, ArduinoCore_CompileServer) error { return status.Errorf(codes.Unimplemented, "method Compile not implemented") } -func (*UnimplementedArduinoCoreServer) PlatformInstall(req *PlatformInstallReq, srv ArduinoCore_PlatformInstallServer) error { +func (*UnimplementedArduinoCoreServer) PlatformInstall(*PlatformInstallReq, ArduinoCore_PlatformInstallServer) error { return status.Errorf(codes.Unimplemented, "method PlatformInstall not implemented") } -func (*UnimplementedArduinoCoreServer) PlatformDownload(req *PlatformDownloadReq, srv ArduinoCore_PlatformDownloadServer) error { +func (*UnimplementedArduinoCoreServer) PlatformDownload(*PlatformDownloadReq, ArduinoCore_PlatformDownloadServer) error { return status.Errorf(codes.Unimplemented, "method PlatformDownload not implemented") } -func (*UnimplementedArduinoCoreServer) PlatformUninstall(req *PlatformUninstallReq, srv ArduinoCore_PlatformUninstallServer) error { +func (*UnimplementedArduinoCoreServer) PlatformUninstall(*PlatformUninstallReq, ArduinoCore_PlatformUninstallServer) error { return status.Errorf(codes.Unimplemented, "method PlatformUninstall not implemented") } -func (*UnimplementedArduinoCoreServer) PlatformUpgrade(req *PlatformUpgradeReq, srv ArduinoCore_PlatformUpgradeServer) error { +func (*UnimplementedArduinoCoreServer) PlatformUpgrade(*PlatformUpgradeReq, ArduinoCore_PlatformUpgradeServer) error { return status.Errorf(codes.Unimplemented, "method PlatformUpgrade not implemented") } -func (*UnimplementedArduinoCoreServer) Upload(req *UploadReq, srv ArduinoCore_UploadServer) error { +func (*UnimplementedArduinoCoreServer) Upload(*UploadReq, ArduinoCore_UploadServer) error { return status.Errorf(codes.Unimplemented, "method Upload not implemented") } -func (*UnimplementedArduinoCoreServer) ListProgrammersAvailableForUpload(ctx context.Context, req *ListProgrammersAvailableForUploadReq) (*ListProgrammersAvailableForUploadResp, error) { +func (*UnimplementedArduinoCoreServer) ListProgrammersAvailableForUpload(context.Context, *ListProgrammersAvailableForUploadReq) (*ListProgrammersAvailableForUploadResp, error) { return nil, status.Errorf(codes.Unimplemented, "method ListProgrammersAvailableForUpload not implemented") } -func (*UnimplementedArduinoCoreServer) BurnBootloader(req *BurnBootloaderReq, srv ArduinoCore_BurnBootloaderServer) error { +func (*UnimplementedArduinoCoreServer) BurnBootloader(*BurnBootloaderReq, ArduinoCore_BurnBootloaderServer) error { return status.Errorf(codes.Unimplemented, "method BurnBootloader not implemented") } -func (*UnimplementedArduinoCoreServer) PlatformSearch(ctx context.Context, req *PlatformSearchReq) (*PlatformSearchResp, error) { +func (*UnimplementedArduinoCoreServer) PlatformSearch(context.Context, *PlatformSearchReq) (*PlatformSearchResp, error) { return nil, status.Errorf(codes.Unimplemented, "method PlatformSearch not implemented") } -func (*UnimplementedArduinoCoreServer) PlatformList(ctx context.Context, req *PlatformListReq) (*PlatformListResp, error) { +func (*UnimplementedArduinoCoreServer) PlatformList(context.Context, *PlatformListReq) (*PlatformListResp, error) { return nil, status.Errorf(codes.Unimplemented, "method PlatformList not implemented") } -func (*UnimplementedArduinoCoreServer) LibraryDownload(req *LibraryDownloadReq, srv ArduinoCore_LibraryDownloadServer) error { +func (*UnimplementedArduinoCoreServer) LibraryDownload(*LibraryDownloadReq, ArduinoCore_LibraryDownloadServer) error { return status.Errorf(codes.Unimplemented, "method LibraryDownload not implemented") } -func (*UnimplementedArduinoCoreServer) LibraryInstall(req *LibraryInstallReq, srv ArduinoCore_LibraryInstallServer) error { +func (*UnimplementedArduinoCoreServer) LibraryInstall(*LibraryInstallReq, ArduinoCore_LibraryInstallServer) error { return status.Errorf(codes.Unimplemented, "method LibraryInstall not implemented") } -func (*UnimplementedArduinoCoreServer) LibraryUninstall(req *LibraryUninstallReq, srv ArduinoCore_LibraryUninstallServer) error { +func (*UnimplementedArduinoCoreServer) LibraryUninstall(*LibraryUninstallReq, ArduinoCore_LibraryUninstallServer) error { return status.Errorf(codes.Unimplemented, "method LibraryUninstall not implemented") } -func (*UnimplementedArduinoCoreServer) LibraryUpgradeAll(req *LibraryUpgradeAllReq, srv ArduinoCore_LibraryUpgradeAllServer) error { +func (*UnimplementedArduinoCoreServer) LibraryUpgradeAll(*LibraryUpgradeAllReq, ArduinoCore_LibraryUpgradeAllServer) error { return status.Errorf(codes.Unimplemented, "method LibraryUpgradeAll not implemented") } -func (*UnimplementedArduinoCoreServer) LibraryResolveDependencies(ctx context.Context, req *LibraryResolveDependenciesReq) (*LibraryResolveDependenciesResp, error) { +func (*UnimplementedArduinoCoreServer) LibraryResolveDependencies(context.Context, *LibraryResolveDependenciesReq) (*LibraryResolveDependenciesResp, error) { return nil, status.Errorf(codes.Unimplemented, "method LibraryResolveDependencies not implemented") } -func (*UnimplementedArduinoCoreServer) LibrarySearch(ctx context.Context, req *LibrarySearchReq) (*LibrarySearchResp, error) { +func (*UnimplementedArduinoCoreServer) LibrarySearch(context.Context, *LibrarySearchReq) (*LibrarySearchResp, error) { return nil, status.Errorf(codes.Unimplemented, "method LibrarySearch not implemented") } -func (*UnimplementedArduinoCoreServer) LibraryList(ctx context.Context, req *LibraryListReq) (*LibraryListResp, error) { +func (*UnimplementedArduinoCoreServer) LibraryList(context.Context, *LibraryListReq) (*LibraryListResp, error) { return nil, status.Errorf(codes.Unimplemented, "method LibraryList not implemented") } diff --git a/rpc/commands/common.pb.go b/rpc/commands/common.pb.go index cee26c9b025..01e9abcb10c 100644 --- a/rpc/commands/common.pb.go +++ b/rpc/commands/common.pb.go @@ -1,66 +1,98 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/common.proto package commands import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type Instance struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The ID of the instance. - Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Id int32 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"` } -func (m *Instance) Reset() { *m = Instance{} } -func (m *Instance) String() string { return proto.CompactTextString(m) } -func (*Instance) ProtoMessage() {} -func (*Instance) Descriptor() ([]byte, []int) { - return fileDescriptor_0b273be58978a133, []int{0} +func (x *Instance) Reset() { + *x = Instance{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_common_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Instance) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Instance.Unmarshal(m, b) -} -func (m *Instance) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Instance.Marshal(b, m, deterministic) +func (x *Instance) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Instance) XXX_Merge(src proto.Message) { - xxx_messageInfo_Instance.Merge(m, src) -} -func (m *Instance) XXX_Size() int { - return xxx_messageInfo_Instance.Size(m) -} -func (m *Instance) XXX_DiscardUnknown() { - xxx_messageInfo_Instance.DiscardUnknown(m) + +func (*Instance) ProtoMessage() {} + +func (x *Instance) ProtoReflect() protoreflect.Message { + mi := &file_commands_common_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) } -var xxx_messageInfo_Instance proto.InternalMessageInfo +// Deprecated: Use Instance.ProtoReflect.Descriptor instead. +func (*Instance) Descriptor() ([]byte, []int) { + return file_commands_common_proto_rawDescGZIP(), []int{0} +} -func (m *Instance) GetId() int32 { - if m != nil { - return m.Id +func (x *Instance) GetId() int32 { + if x != nil { + return x.Id } return 0 } type DownloadProgress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // URL of the download. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // The file being downloaded. @@ -70,155 +102,256 @@ type DownloadProgress struct { // Size of the downloaded portion of the file. Downloaded int64 `protobuf:"varint,4,opt,name=downloaded,proto3" json:"downloaded,omitempty"` // Whether the download is complete. - Completed bool `protobuf:"varint,5,opt,name=completed,proto3" json:"completed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Completed bool `protobuf:"varint,5,opt,name=completed,proto3" json:"completed,omitempty"` } -func (m *DownloadProgress) Reset() { *m = DownloadProgress{} } -func (m *DownloadProgress) String() string { return proto.CompactTextString(m) } -func (*DownloadProgress) ProtoMessage() {} -func (*DownloadProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_0b273be58978a133, []int{1} +func (x *DownloadProgress) Reset() { + *x = DownloadProgress{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_common_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DownloadProgress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DownloadProgress.Unmarshal(m, b) -} -func (m *DownloadProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DownloadProgress.Marshal(b, m, deterministic) -} -func (m *DownloadProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_DownloadProgress.Merge(m, src) +func (x *DownloadProgress) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DownloadProgress) XXX_Size() int { - return xxx_messageInfo_DownloadProgress.Size(m) -} -func (m *DownloadProgress) XXX_DiscardUnknown() { - xxx_messageInfo_DownloadProgress.DiscardUnknown(m) + +func (*DownloadProgress) ProtoMessage() {} + +func (x *DownloadProgress) ProtoReflect() protoreflect.Message { + mi := &file_commands_common_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) } -var xxx_messageInfo_DownloadProgress proto.InternalMessageInfo +// Deprecated: Use DownloadProgress.ProtoReflect.Descriptor instead. +func (*DownloadProgress) Descriptor() ([]byte, []int) { + return file_commands_common_proto_rawDescGZIP(), []int{1} +} -func (m *DownloadProgress) GetUrl() string { - if m != nil { - return m.Url +func (x *DownloadProgress) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *DownloadProgress) GetFile() string { - if m != nil { - return m.File +func (x *DownloadProgress) GetFile() string { + if x != nil { + return x.File } return "" } -func (m *DownloadProgress) GetTotalSize() int64 { - if m != nil { - return m.TotalSize +func (x *DownloadProgress) GetTotalSize() int64 { + if x != nil { + return x.TotalSize } return 0 } -func (m *DownloadProgress) GetDownloaded() int64 { - if m != nil { - return m.Downloaded +func (x *DownloadProgress) GetDownloaded() int64 { + if x != nil { + return x.Downloaded } return 0 } -func (m *DownloadProgress) GetCompleted() bool { - if m != nil { - return m.Completed +func (x *DownloadProgress) GetCompleted() bool { + if x != nil { + return x.Completed } return false } type TaskProgress struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Description of the task. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Additional information about the task. Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"` // Whether the task is complete. - Completed bool `protobuf:"varint,3,opt,name=completed,proto3" json:"completed,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Completed bool `protobuf:"varint,3,opt,name=completed,proto3" json:"completed,omitempty"` } -func (m *TaskProgress) Reset() { *m = TaskProgress{} } -func (m *TaskProgress) String() string { return proto.CompactTextString(m) } -func (*TaskProgress) ProtoMessage() {} -func (*TaskProgress) Descriptor() ([]byte, []int) { - return fileDescriptor_0b273be58978a133, []int{2} +func (x *TaskProgress) Reset() { + *x = TaskProgress{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_common_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *TaskProgress) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_TaskProgress.Unmarshal(m, b) -} -func (m *TaskProgress) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_TaskProgress.Marshal(b, m, deterministic) -} -func (m *TaskProgress) XXX_Merge(src proto.Message) { - xxx_messageInfo_TaskProgress.Merge(m, src) +func (x *TaskProgress) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *TaskProgress) XXX_Size() int { - return xxx_messageInfo_TaskProgress.Size(m) -} -func (m *TaskProgress) XXX_DiscardUnknown() { - xxx_messageInfo_TaskProgress.DiscardUnknown(m) + +func (*TaskProgress) ProtoMessage() {} + +func (x *TaskProgress) ProtoReflect() protoreflect.Message { + mi := &file_commands_common_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) } -var xxx_messageInfo_TaskProgress proto.InternalMessageInfo +// Deprecated: Use TaskProgress.ProtoReflect.Descriptor instead. +func (*TaskProgress) Descriptor() ([]byte, []int) { + return file_commands_common_proto_rawDescGZIP(), []int{2} +} -func (m *TaskProgress) GetName() string { - if m != nil { - return m.Name +func (x *TaskProgress) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *TaskProgress) GetMessage() string { - if m != nil { - return m.Message +func (x *TaskProgress) GetMessage() string { + if x != nil { + return x.Message } return "" } -func (m *TaskProgress) GetCompleted() bool { - if m != nil { - return m.Completed +func (x *TaskProgress) GetCompleted() bool { + if x != nil { + return x.Completed } return false } -func init() { - proto.RegisterType((*Instance)(nil), "cc.arduino.cli.commands.Instance") - proto.RegisterType((*DownloadProgress)(nil), "cc.arduino.cli.commands.DownloadProgress") - proto.RegisterType((*TaskProgress)(nil), "cc.arduino.cli.commands.TaskProgress") -} - -func init() { proto.RegisterFile("commands/common.proto", fileDescriptor_0b273be58978a133) } - -var fileDescriptor_0b273be58978a133 = []byte{ - // 263 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xcd, 0x4a, 0xc4, 0x30, - 0x14, 0x85, 0xe9, 0xcf, 0xe8, 0xf4, 0x22, 0x32, 0x04, 0xc4, 0x20, 0x2a, 0xa5, 0xab, 0x82, 0x4c, - 0xbb, 0xf0, 0x0d, 0xc4, 0x8d, 0x3b, 0xa9, 0xae, 0x66, 0x23, 0x99, 0x24, 0xd6, 0x60, 0x9a, 0x5b, - 0x92, 0x14, 0x61, 0xde, 0xc3, 0xf7, 0x95, 0x86, 0xc6, 0xbf, 0x55, 0x4e, 0xce, 0x3d, 0x1c, 0x0e, - 0x1f, 0x9c, 0x71, 0x1c, 0x06, 0x66, 0x84, 0x6b, 0x67, 0x81, 0xa6, 0x19, 0x2d, 0x7a, 0x24, 0xe7, - 0x9c, 0x37, 0xcc, 0x8a, 0x49, 0x19, 0x6c, 0xb8, 0x56, 0x4d, 0x4c, 0x55, 0x17, 0xb0, 0x7e, 0x30, - 0xce, 0x33, 0xc3, 0x25, 0x39, 0x85, 0x54, 0x09, 0x9a, 0x94, 0x49, 0xbd, 0xea, 0x52, 0x25, 0xaa, - 0xcf, 0x04, 0x36, 0xf7, 0xf8, 0x61, 0x34, 0x32, 0xf1, 0x68, 0xb1, 0xb7, 0xd2, 0x39, 0xb2, 0x81, - 0x6c, 0xb2, 0x3a, 0xa4, 0x8a, 0x6e, 0x96, 0x84, 0x40, 0xfe, 0xaa, 0xb4, 0xa4, 0x69, 0xb0, 0x82, - 0x26, 0x57, 0x00, 0x1e, 0x3d, 0xd3, 0x2f, 0x4e, 0x1d, 0x24, 0xcd, 0xca, 0xa4, 0xce, 0xba, 0x22, - 0x38, 0x4f, 0xea, 0x20, 0xc9, 0x35, 0x80, 0x58, 0x8a, 0xa5, 0xa0, 0x79, 0x38, 0xff, 0x72, 0xc8, - 0x25, 0x14, 0x1c, 0x87, 0x51, 0x4b, 0x2f, 0x05, 0x5d, 0x95, 0x49, 0xbd, 0xee, 0x7e, 0x8c, 0x6a, - 0x07, 0x27, 0xcf, 0xcc, 0xbd, 0x7f, 0x4f, 0x22, 0x90, 0x1b, 0x36, 0xc8, 0x65, 0x53, 0xd0, 0x84, - 0xc2, 0xf1, 0x20, 0x9d, 0x63, 0x7d, 0xdc, 0x15, 0xbf, 0x7f, 0xbb, 0xb3, 0x7f, 0xdd, 0x77, 0xdb, - 0xdd, 0x4d, 0xaf, 0xfc, 0xdb, 0xb4, 0x9f, 0x11, 0xb5, 0x0b, 0xb2, 0xf8, 0x6e, 0xb9, 0x56, 0xad, - 0x1d, 0x79, 0x1b, 0xf1, 0xed, 0x8f, 0x02, 0xde, 0xdb, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x77, - 0x28, 0x70, 0xdd, 0x77, 0x01, 0x00, 0x00, +var File_commands_common_proto protoreflect.FileDescriptor + +var file_commands_common_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, + 0x22, 0x1a, 0x0a, 0x08, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x0e, 0x0a, 0x02, + 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x02, 0x69, 0x64, 0x22, 0x95, 0x01, 0x0a, + 0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x12, 0x10, 0x0a, 0x03, 0x75, 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, + 0x75, 0x72, 0x6c, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x74, 0x6f, 0x74, 0x61, 0x6c, + 0x5f, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x09, 0x74, 0x6f, 0x74, + 0x61, 0x6c, 0x53, 0x69, 0x7a, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x64, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x65, 0x64, 0x18, 0x04, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0a, 0x64, 0x6f, 0x77, 0x6e, + 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x64, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, + 0x74, 0x65, 0x64, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, + 0x65, 0x74, 0x65, 0x64, 0x22, 0x5a, 0x0a, 0x0c, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x63, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x64, + 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, + 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_commands_common_proto_rawDescOnce sync.Once + file_commands_common_proto_rawDescData = file_commands_common_proto_rawDesc +) + +func file_commands_common_proto_rawDescGZIP() []byte { + file_commands_common_proto_rawDescOnce.Do(func() { + file_commands_common_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_common_proto_rawDescData) + }) + return file_commands_common_proto_rawDescData +} + +var file_commands_common_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_commands_common_proto_goTypes = []interface{}{ + (*Instance)(nil), // 0: cc.arduino.cli.commands.Instance + (*DownloadProgress)(nil), // 1: cc.arduino.cli.commands.DownloadProgress + (*TaskProgress)(nil), // 2: cc.arduino.cli.commands.TaskProgress +} +var file_commands_common_proto_depIdxs = []int32{ + 0, // [0:0] is the sub-list for method output_type + 0, // [0:0] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_commands_common_proto_init() } +func file_commands_common_proto_init() { + if File_commands_common_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_commands_common_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Instance); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_common_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownloadProgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_common_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TaskProgress); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_common_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_commands_common_proto_goTypes, + DependencyIndexes: file_commands_common_proto_depIdxs, + MessageInfos: file_commands_common_proto_msgTypes, + }.Build() + File_commands_common_proto = out.File + file_commands_common_proto_rawDesc = nil + file_commands_common_proto_goTypes = nil + file_commands_common_proto_depIdxs = nil } diff --git a/rpc/commands/compile.pb.go b/rpc/commands/compile.pb.go index e00cd60c078..d6159bd7924 100644 --- a/rpc/commands/compile.pb.go +++ b/rpc/commands/compile.pb.go @@ -1,284 +1,416 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/compile.proto package commands import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type CompileReq struct { - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` - SketchPath string `protobuf:"bytes,3,opt,name=sketchPath,proto3" json:"sketchPath,omitempty"` - ShowProperties bool `protobuf:"varint,4,opt,name=showProperties,proto3" json:"showProperties,omitempty"` - Preprocess bool `protobuf:"varint,5,opt,name=preprocess,proto3" json:"preprocess,omitempty"` - BuildCachePath string `protobuf:"bytes,6,opt,name=buildCachePath,proto3" json:"buildCachePath,omitempty"` - BuildPath string `protobuf:"bytes,7,opt,name=buildPath,proto3" json:"buildPath,omitempty"` - BuildProperties []string `protobuf:"bytes,8,rep,name=buildProperties,proto3" json:"buildProperties,omitempty"` - Warnings string `protobuf:"bytes,9,opt,name=warnings,proto3" json:"warnings,omitempty"` - Verbose bool `protobuf:"varint,10,opt,name=verbose,proto3" json:"verbose,omitempty"` - Quiet bool `protobuf:"varint,11,opt,name=quiet,proto3" json:"quiet,omitempty"` - VidPid string `protobuf:"bytes,12,opt,name=vidPid,proto3" json:"vidPid,omitempty"` - ExportFile string `protobuf:"bytes,13,opt,name=exportFile,proto3" json:"exportFile,omitempty"` // Deprecated: Do not use. - Jobs int32 `protobuf:"varint,14,opt,name=jobs,proto3" json:"jobs,omitempty"` - Libraries []string `protobuf:"bytes,15,rep,name=libraries,proto3" json:"libraries,omitempty"` - OptimizeForDebug bool `protobuf:"varint,16,opt,name=optimizeForDebug,proto3" json:"optimizeForDebug,omitempty"` - DryRun bool `protobuf:"varint,17,opt,name=dryRun,proto3" json:"dryRun,omitempty"` - ExportDir string `protobuf:"bytes,18,opt,name=export_dir,json=exportDir,proto3" json:"export_dir,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} - -func (m *CompileReq) Reset() { *m = CompileReq{} } -func (m *CompileReq) String() string { return proto.CompactTextString(m) } -func (*CompileReq) ProtoMessage() {} -func (*CompileReq) Descriptor() ([]byte, []int) { - return fileDescriptor_86bc582849c76c3d, []int{0} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Arduino Core Service instance from the `Init` response. + Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,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. + SketchPath string `protobuf:"bytes,3,opt,name=sketchPath,proto3" json:"sketchPath,omitempty"` // The path where the sketch is stored. + ShowProperties bool `protobuf:"varint,4,opt,name=showProperties,proto3" json:"showProperties,omitempty"` // Show all build preferences used instead of compiling. + Preprocess bool `protobuf:"varint,5,opt,name=preprocess,proto3" json:"preprocess,omitempty"` // Print preprocessed code to stdout instead of compiling. + BuildCachePath string `protobuf:"bytes,6,opt,name=buildCachePath,proto3" json:"buildCachePath,omitempty"` // Builds of 'core.a' are saved into this path to be cached and reused. + BuildPath string `protobuf:"bytes,7,opt,name=buildPath,proto3" json:"buildPath,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. + BuildProperties []string `protobuf:"bytes,8,rep,name=buildProperties,proto3" json:"buildProperties,omitempty"` // List of custom build properties separated by commas. + Warnings string `protobuf:"bytes,9,opt,name=warnings,proto3" json:"warnings,omitempty"` // Used to tell gcc which warning level to use. The level names are: "none", "default", "more" and "all". + Verbose bool `protobuf:"varint,10,opt,name=verbose,proto3" json:"verbose,omitempty"` // Turns on verbose mode. + Quiet bool `protobuf:"varint,11,opt,name=quiet,proto3" json:"quiet,omitempty"` // Suppresses almost every output. + VidPid string `protobuf:"bytes,12,opt,name=vidPid,proto3" json:"vidPid,omitempty"` // VID/PID specific build properties. + // Deprecated: Do not use. + ExportFile string `protobuf:"bytes,13,opt,name=exportFile,proto3" json:"exportFile,omitempty"` // DEPRECATED: use exportDir instead + Jobs int32 `protobuf:"varint,14,opt,name=jobs,proto3" json:"jobs,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. + Libraries []string `protobuf:"bytes,15,rep,name=libraries,proto3" json:"libraries,omitempty"` // List of custom libraries paths separated by commas. + OptimizeForDebug bool `protobuf:"varint,16,opt,name=optimizeForDebug,proto3" json:"optimizeForDebug,omitempty"` // Optimize compile output for debug, not for release. + DryRun bool `protobuf:"varint,17,opt,name=dryRun,proto3" json:"dryRun,omitempty"` // When set to `true` the compiled binary will not be copied to the export directory. + ExportDir string `protobuf:"bytes,18,opt,name=export_dir,json=exportDir,proto3" json:"export_dir,omitempty"` // Optional: save the build artifacts in this directory, the directory must exist. +} + +func (x *CompileReq) Reset() { + *x = CompileReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_compile_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CompileReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompileReq.Unmarshal(m, b) +func (x *CompileReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CompileReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompileReq.Marshal(b, m, deterministic) -} -func (m *CompileReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompileReq.Merge(m, src) -} -func (m *CompileReq) XXX_Size() int { - return xxx_messageInfo_CompileReq.Size(m) -} -func (m *CompileReq) XXX_DiscardUnknown() { - xxx_messageInfo_CompileReq.DiscardUnknown(m) + +func (*CompileReq) ProtoMessage() {} + +func (x *CompileReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_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) } -var xxx_messageInfo_CompileReq proto.InternalMessageInfo +// Deprecated: Use CompileReq.ProtoReflect.Descriptor instead. +func (*CompileReq) Descriptor() ([]byte, []int) { + return file_commands_compile_proto_rawDescGZIP(), []int{0} +} -func (m *CompileReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *CompileReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *CompileReq) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *CompileReq) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } -func (m *CompileReq) GetSketchPath() string { - if m != nil { - return m.SketchPath +func (x *CompileReq) GetSketchPath() string { + if x != nil { + return x.SketchPath } return "" } -func (m *CompileReq) GetShowProperties() bool { - if m != nil { - return m.ShowProperties +func (x *CompileReq) GetShowProperties() bool { + if x != nil { + return x.ShowProperties } return false } -func (m *CompileReq) GetPreprocess() bool { - if m != nil { - return m.Preprocess +func (x *CompileReq) GetPreprocess() bool { + if x != nil { + return x.Preprocess } return false } -func (m *CompileReq) GetBuildCachePath() string { - if m != nil { - return m.BuildCachePath +func (x *CompileReq) GetBuildCachePath() string { + if x != nil { + return x.BuildCachePath } return "" } -func (m *CompileReq) GetBuildPath() string { - if m != nil { - return m.BuildPath +func (x *CompileReq) GetBuildPath() string { + if x != nil { + return x.BuildPath } return "" } -func (m *CompileReq) GetBuildProperties() []string { - if m != nil { - return m.BuildProperties +func (x *CompileReq) GetBuildProperties() []string { + if x != nil { + return x.BuildProperties } return nil } -func (m *CompileReq) GetWarnings() string { - if m != nil { - return m.Warnings +func (x *CompileReq) GetWarnings() string { + if x != nil { + return x.Warnings } return "" } -func (m *CompileReq) GetVerbose() bool { - if m != nil { - return m.Verbose +func (x *CompileReq) GetVerbose() bool { + if x != nil { + return x.Verbose } return false } -func (m *CompileReq) GetQuiet() bool { - if m != nil { - return m.Quiet +func (x *CompileReq) GetQuiet() bool { + if x != nil { + return x.Quiet } return false } -func (m *CompileReq) GetVidPid() string { - if m != nil { - return m.VidPid +func (x *CompileReq) GetVidPid() string { + if x != nil { + return x.VidPid } return "" } // Deprecated: Do not use. -func (m *CompileReq) GetExportFile() string { - if m != nil { - return m.ExportFile +func (x *CompileReq) GetExportFile() string { + if x != nil { + return x.ExportFile } return "" } -func (m *CompileReq) GetJobs() int32 { - if m != nil { - return m.Jobs +func (x *CompileReq) GetJobs() int32 { + if x != nil { + return x.Jobs } return 0 } -func (m *CompileReq) GetLibraries() []string { - if m != nil { - return m.Libraries +func (x *CompileReq) GetLibraries() []string { + if x != nil { + return x.Libraries } return nil } -func (m *CompileReq) GetOptimizeForDebug() bool { - if m != nil { - return m.OptimizeForDebug +func (x *CompileReq) GetOptimizeForDebug() bool { + if x != nil { + return x.OptimizeForDebug } return false } -func (m *CompileReq) GetDryRun() bool { - if m != nil { - return m.DryRun +func (x *CompileReq) GetDryRun() bool { + if x != nil { + return x.DryRun } return false } -func (m *CompileReq) GetExportDir() string { - if m != nil { - return m.ExportDir +func (x *CompileReq) GetExportDir() string { + if x != nil { + return x.ExportDir } return "" } type CompileResp struct { - OutStream []byte `protobuf:"bytes,1,opt,name=out_stream,json=outStream,proto3" json:"out_stream,omitempty"` - ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *CompileResp) Reset() { *m = CompileResp{} } -func (m *CompileResp) String() string { return proto.CompactTextString(m) } -func (*CompileResp) ProtoMessage() {} -func (*CompileResp) Descriptor() ([]byte, []int) { - return fileDescriptor_86bc582849c76c3d, []int{1} + OutStream []byte `protobuf:"bytes,1,opt,name=out_stream,json=outStream,proto3" json:"out_stream,omitempty"` // The output of the compilation process. + ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"` // The error output of the compilation process. } -func (m *CompileResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_CompileResp.Unmarshal(m, b) -} -func (m *CompileResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_CompileResp.Marshal(b, m, deterministic) -} -func (m *CompileResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_CompileResp.Merge(m, src) +func (x *CompileResp) Reset() { + *x = CompileResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_compile_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *CompileResp) XXX_Size() int { - return xxx_messageInfo_CompileResp.Size(m) + +func (x *CompileResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *CompileResp) XXX_DiscardUnknown() { - xxx_messageInfo_CompileResp.DiscardUnknown(m) + +func (*CompileResp) ProtoMessage() {} + +func (x *CompileResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_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) } -var xxx_messageInfo_CompileResp proto.InternalMessageInfo +// Deprecated: Use CompileResp.ProtoReflect.Descriptor instead. +func (*CompileResp) Descriptor() ([]byte, []int) { + return file_commands_compile_proto_rawDescGZIP(), []int{1} +} -func (m *CompileResp) GetOutStream() []byte { - if m != nil { - return m.OutStream +func (x *CompileResp) GetOutStream() []byte { + if x != nil { + return x.OutStream } return nil } -func (m *CompileResp) GetErrStream() []byte { - if m != nil { - return m.ErrStream +func (x *CompileResp) GetErrStream() []byte { + if x != nil { + return x.ErrStream } return nil } -func init() { - proto.RegisterType((*CompileReq)(nil), "cc.arduino.cli.commands.CompileReq") - proto.RegisterType((*CompileResp)(nil), "cc.arduino.cli.commands.CompileResp") -} - -func init() { proto.RegisterFile("commands/compile.proto", fileDescriptor_86bc582849c76c3d) } - -var fileDescriptor_86bc582849c76c3d = []byte{ - // 453 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x74, 0x92, 0x41, 0x6f, 0xd3, 0x40, - 0x10, 0x85, 0xe5, 0x34, 0x49, 0xe3, 0x49, 0x69, 0xcb, 0x0a, 0xca, 0xaa, 0x02, 0x64, 0x72, 0x40, - 0x16, 0xa8, 0x8e, 0x04, 0x67, 0x2e, 0x6d, 0x55, 0x09, 0x71, 0x89, 0xcc, 0x8d, 0x4b, 0x65, 0xaf, - 0x97, 0x78, 0xc0, 0xf6, 0x3a, 0xb3, 0xeb, 0x06, 0xf8, 0x9d, 0xfc, 0x20, 0xe4, 0x71, 0x9c, 0x44, - 0x41, 0x3d, 0xc5, 0xf3, 0xcd, 0xdb, 0xb7, 0x2f, 0xab, 0x07, 0x17, 0xca, 0x94, 0x65, 0x52, 0x65, - 0x76, 0xae, 0x4c, 0x59, 0x63, 0xa1, 0xa3, 0x9a, 0x8c, 0x33, 0xe2, 0x85, 0x52, 0x51, 0x42, 0x59, - 0x83, 0x95, 0x89, 0x54, 0x81, 0x51, 0x2f, 0xbb, 0x7c, 0xbe, 0x7f, 0xa0, 0x34, 0x55, 0xa7, 0x9f, - 0xfd, 0x1d, 0x02, 0xdc, 0x74, 0x0e, 0xb1, 0x5e, 0x89, 0x4f, 0x30, 0xc1, 0xca, 0xba, 0xa4, 0x52, - 0x5a, 0x7a, 0x81, 0x17, 0x4e, 0x3f, 0xbc, 0x89, 0x1e, 0x71, 0x8c, 0x3e, 0x6f, 0x84, 0xf1, 0xf6, - 0x88, 0x10, 0x30, 0xfc, 0xbe, 0x4a, 0x2b, 0x39, 0x08, 0xbc, 0xd0, 0x8f, 0xf9, 0x5b, 0xbc, 0x06, - 0xb0, 0x3f, 0xb5, 0x53, 0xf9, 0x22, 0x71, 0xb9, 0x3c, 0xe2, 0xcd, 0x1e, 0x11, 0x6f, 0xe1, 0xd4, - 0xe6, 0x66, 0xbd, 0x20, 0x53, 0x6b, 0x72, 0xa8, 0xad, 0x1c, 0x06, 0x5e, 0x38, 0x89, 0x0f, 0x68, - 0xeb, 0x53, 0x93, 0xae, 0xc9, 0x28, 0x6d, 0xad, 0x1c, 0xb1, 0x66, 0x8f, 0xb4, 0x3e, 0x69, 0x83, - 0x45, 0x76, 0x93, 0xa8, 0x5c, 0xf3, 0x5d, 0x63, 0xbe, 0xeb, 0x80, 0x8a, 0x97, 0xe0, 0x33, 0x61, - 0xc9, 0x31, 0x4b, 0x76, 0x40, 0x84, 0x70, 0xd6, 0x0d, 0xbb, 0x38, 0x93, 0xe0, 0x28, 0xf4, 0xe3, - 0x43, 0x2c, 0x2e, 0x61, 0xb2, 0x4e, 0xa8, 0xc2, 0x6a, 0x69, 0xa5, 0xcf, 0x36, 0xdb, 0x59, 0x48, - 0x38, 0x7e, 0xd0, 0x94, 0x1a, 0xab, 0x25, 0x70, 0xd0, 0x7e, 0x14, 0xcf, 0x60, 0xb4, 0x6a, 0x50, - 0x3b, 0x39, 0x65, 0xde, 0x0d, 0xe2, 0x02, 0xc6, 0x0f, 0x98, 0x2d, 0x30, 0x93, 0x27, 0xec, 0xb4, - 0x99, 0xc4, 0x0c, 0x40, 0xff, 0xaa, 0x0d, 0xb9, 0x3b, 0x2c, 0xb4, 0x7c, 0xd2, 0xee, 0xae, 0x07, - 0xd2, 0x8b, 0xf7, 0x68, 0xfb, 0xe6, 0x3f, 0x4c, 0x6a, 0xe5, 0x69, 0xe0, 0x85, 0xa3, 0x98, 0xbf, - 0xdb, 0xff, 0x58, 0x60, 0x4a, 0x09, 0xb5, 0xf9, 0xcf, 0x38, 0xff, 0x0e, 0x88, 0x77, 0x70, 0x6e, - 0x6a, 0x87, 0x25, 0xfe, 0xd1, 0x77, 0x86, 0x6e, 0x75, 0xda, 0x2c, 0xe5, 0x39, 0xc7, 0xf9, 0x8f, - 0xb7, 0xc9, 0x32, 0xfa, 0x1d, 0x37, 0x95, 0x7c, 0xca, 0x8a, 0xcd, 0x24, 0x5e, 0xf5, 0xc9, 0xee, - 0x33, 0x24, 0x29, 0xba, 0x67, 0xec, 0xc8, 0x2d, 0xd2, 0xec, 0x0b, 0x4c, 0xb7, 0xad, 0xb2, 0x75, - 0xab, 0x36, 0x8d, 0xbb, 0xb7, 0x8e, 0x74, 0x52, 0x72, 0xb1, 0x4e, 0x62, 0xdf, 0x34, 0xee, 0x2b, - 0x03, 0x36, 0x23, 0xea, 0xd7, 0x83, 0x6e, 0xad, 0x89, 0xba, 0xf5, 0xf5, 0xd5, 0xb7, 0xf7, 0x4b, - 0x74, 0x79, 0x93, 0xb6, 0xdd, 0x9b, 0x6f, 0xba, 0xd8, 0xff, 0x5e, 0xa9, 0x02, 0xe7, 0x54, 0xab, - 0x79, 0xdf, 0xcb, 0x74, 0xcc, 0xcd, 0xfe, 0xf8, 0x2f, 0x00, 0x00, 0xff, 0xff, 0x40, 0x39, 0x20, - 0x0a, 0x23, 0x03, 0x00, 0x00, +var File_commands_compile_proto protoreflect.FileDescriptor + +var file_commands_compile_proto_rawDesc = []byte{ + 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x70, 0x69, + 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, + 0x73, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, + 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xd4, 0x04, 0x0a, 0x0a, 0x43, 0x6f, 0x6d, + 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 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, 0x1e, 0x0a, 0x0a, 0x73, 0x6b, + 0x65, 0x74, 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x73, 0x6b, 0x65, 0x74, 0x63, 0x68, 0x50, 0x61, 0x74, 0x68, 0x12, 0x26, 0x0a, 0x0e, 0x73, 0x68, + 0x6f, 0x77, 0x50, 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, 0x26, 0x0a, 0x0e, 0x62, 0x75, 0x69, 0x6c, 0x64, 0x43, 0x61, 0x63, 0x68, 0x65, + 0x50, 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, 0x1c, 0x0a, 0x09, 0x62, 0x75, + 0x69, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x62, + 0x75, 0x69, 0x6c, 0x64, 0x50, 0x61, 0x74, 0x68, 0x12, 0x28, 0x0a, 0x0f, 0x62, 0x75, 0x69, 0x6c, + 0x64, 0x50, 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, 0x16, + 0x0a, 0x06, 0x76, 0x69, 0x64, 0x50, 0x69, 0x64, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, + 0x76, 0x69, 0x64, 0x50, 0x69, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, + 0x46, 0x69, 0x6c, 0x65, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, + 0x65, 0x78, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 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, 0x2a, 0x0a, 0x10, + 0x6f, 0x70, 0x74, 0x69, 0x6d, 0x69, 0x7a, 0x65, 0x46, 0x6f, 0x72, 0x44, 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, 0x16, 0x0a, 0x06, 0x64, 0x72, 0x79, 0x52, + 0x75, 0x6e, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x64, 0x72, 0x79, 0x52, 0x75, 0x6e, + 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, 0x22, + 0x4b, 0x0a, 0x0b, 0x43, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, + 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0c, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x12, 0x1d, 0x0a, + 0x0a, 0x65, 0x72, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0c, 0x52, 0x09, 0x65, 0x72, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x42, 0x2d, 0x5a, 0x2b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, + 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_commands_compile_proto_rawDescOnce sync.Once + file_commands_compile_proto_rawDescData = file_commands_compile_proto_rawDesc +) + +func file_commands_compile_proto_rawDescGZIP() []byte { + file_commands_compile_proto_rawDescOnce.Do(func() { + file_commands_compile_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_compile_proto_rawDescData) + }) + return file_commands_compile_proto_rawDescData +} + +var file_commands_compile_proto_msgTypes = make([]protoimpl.MessageInfo, 2) +var file_commands_compile_proto_goTypes = []interface{}{ + (*CompileReq)(nil), // 0: cc.arduino.cli.commands.CompileReq + (*CompileResp)(nil), // 1: cc.arduino.cli.commands.CompileResp + (*Instance)(nil), // 2: cc.arduino.cli.commands.Instance +} +var file_commands_compile_proto_depIdxs = []int32{ + 2, // 0: cc.arduino.cli.commands.CompileReq.instance:type_name -> cc.arduino.cli.commands.Instance + 1, // [1:1] is the sub-list for method output_type + 1, // [1:1] is the sub-list for method input_type + 1, // [1:1] is the sub-list for extension type_name + 1, // [1:1] is the sub-list for extension extendee + 0, // [0:1] is the sub-list for field type_name +} + +func init() { file_commands_compile_proto_init() } +func file_commands_compile_proto_init() { + if File_commands_compile_proto != nil { + return + } + file_commands_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_commands_compile_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompileReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_compile_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*CompileResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_compile_proto_rawDesc, + NumEnums: 0, + NumMessages: 2, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_commands_compile_proto_goTypes, + DependencyIndexes: file_commands_compile_proto_depIdxs, + MessageInfos: file_commands_compile_proto_msgTypes, + }.Build() + File_commands_compile_proto = out.File + file_commands_compile_proto_rawDesc = nil + file_commands_compile_proto_goTypes = nil + file_commands_compile_proto_depIdxs = nil } diff --git a/rpc/commands/core.pb.go b/rpc/commands/core.pb.go index c8fce32f25f..7f6f517c61b 100644 --- a/rpc/commands/core.pb.go +++ b/rpc/commands/core.pb.go @@ -1,26 +1,50 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/core.proto package commands import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type PlatformInstallReq 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"` // Vendor name of the platform (e.g., `arduino`). @@ -28,615 +52,711 @@ type PlatformInstallReq struct { // Architecture name of the platform (e.g., `avr`). Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` // Platform version to install. - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` } -func (m *PlatformInstallReq) Reset() { *m = PlatformInstallReq{} } -func (m *PlatformInstallReq) String() string { return proto.CompactTextString(m) } -func (*PlatformInstallReq) ProtoMessage() {} -func (*PlatformInstallReq) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{0} +func (x *PlatformInstallReq) Reset() { + *x = PlatformInstallReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformInstallReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformInstallReq.Unmarshal(m, b) -} -func (m *PlatformInstallReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformInstallReq.Marshal(b, m, deterministic) +func (x *PlatformInstallReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformInstallReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformInstallReq.Merge(m, src) -} -func (m *PlatformInstallReq) XXX_Size() int { - return xxx_messageInfo_PlatformInstallReq.Size(m) -} -func (m *PlatformInstallReq) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformInstallReq.DiscardUnknown(m) + +func (*PlatformInstallReq) ProtoMessage() {} + +func (x *PlatformInstallReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformInstallReq proto.InternalMessageInfo +// Deprecated: Use PlatformInstallReq.ProtoReflect.Descriptor instead. +func (*PlatformInstallReq) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{0} +} -func (m *PlatformInstallReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *PlatformInstallReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *PlatformInstallReq) GetPlatformPackage() string { - if m != nil { - return m.PlatformPackage +func (x *PlatformInstallReq) GetPlatformPackage() string { + if x != nil { + return x.PlatformPackage } return "" } -func (m *PlatformInstallReq) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *PlatformInstallReq) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } -func (m *PlatformInstallReq) GetVersion() string { - if m != nil { - return m.Version +func (x *PlatformInstallReq) GetVersion() string { + if x != nil { + return x.Version } return "" } type PlatformInstallResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the downloads of the platform and tool files. Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` // Description of the current stage of the installation. - TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *PlatformInstallResp) Reset() { *m = PlatformInstallResp{} } -func (m *PlatformInstallResp) String() string { return proto.CompactTextString(m) } -func (*PlatformInstallResp) ProtoMessage() {} -func (*PlatformInstallResp) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{1} +func (x *PlatformInstallResp) Reset() { + *x = PlatformInstallResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformInstallResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformInstallResp.Unmarshal(m, b) +func (x *PlatformInstallResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformInstallResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformInstallResp.Marshal(b, m, deterministic) -} -func (m *PlatformInstallResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformInstallResp.Merge(m, src) -} -func (m *PlatformInstallResp) XXX_Size() int { - return xxx_messageInfo_PlatformInstallResp.Size(m) -} -func (m *PlatformInstallResp) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformInstallResp.DiscardUnknown(m) + +func (*PlatformInstallResp) ProtoMessage() {} + +func (x *PlatformInstallResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformInstallResp proto.InternalMessageInfo +// Deprecated: Use PlatformInstallResp.ProtoReflect.Descriptor instead. +func (*PlatformInstallResp) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{1} +} -func (m *PlatformInstallResp) GetProgress() *DownloadProgress { - if m != nil { - return m.Progress +func (x *PlatformInstallResp) GetProgress() *DownloadProgress { + if x != nil { + return x.Progress } return nil } -func (m *PlatformInstallResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *PlatformInstallResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type PlatformDownloadReq 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"` PlatformPackage string `protobuf:"bytes,2,opt,name=platform_package,json=platformPackage,proto3" json:"platform_package,omitempty"` // Architecture name of the platform (e.g., `avr`). Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` // Platform version to download. - Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,4,opt,name=version,proto3" json:"version,omitempty"` } -func (m *PlatformDownloadReq) Reset() { *m = PlatformDownloadReq{} } -func (m *PlatformDownloadReq) String() string { return proto.CompactTextString(m) } -func (*PlatformDownloadReq) ProtoMessage() {} -func (*PlatformDownloadReq) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{2} +func (x *PlatformDownloadReq) Reset() { + *x = PlatformDownloadReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformDownloadReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformDownloadReq.Unmarshal(m, b) -} -func (m *PlatformDownloadReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformDownloadReq.Marshal(b, m, deterministic) -} -func (m *PlatformDownloadReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformDownloadReq.Merge(m, src) +func (x *PlatformDownloadReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformDownloadReq) XXX_Size() int { - return xxx_messageInfo_PlatformDownloadReq.Size(m) -} -func (m *PlatformDownloadReq) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformDownloadReq.DiscardUnknown(m) + +func (*PlatformDownloadReq) ProtoMessage() {} + +func (x *PlatformDownloadReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformDownloadReq proto.InternalMessageInfo +// Deprecated: Use PlatformDownloadReq.ProtoReflect.Descriptor instead. +func (*PlatformDownloadReq) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{2} +} -func (m *PlatformDownloadReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *PlatformDownloadReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *PlatformDownloadReq) GetPlatformPackage() string { - if m != nil { - return m.PlatformPackage +func (x *PlatformDownloadReq) GetPlatformPackage() string { + if x != nil { + return x.PlatformPackage } return "" } -func (m *PlatformDownloadReq) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *PlatformDownloadReq) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } -func (m *PlatformDownloadReq) GetVersion() string { - if m != nil { - return m.Version +func (x *PlatformDownloadReq) GetVersion() string { + if x != nil { + return x.Version } return "" } type PlatformDownloadResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the downloads of platform and tool files. - Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` } -func (m *PlatformDownloadResp) Reset() { *m = PlatformDownloadResp{} } -func (m *PlatformDownloadResp) String() string { return proto.CompactTextString(m) } -func (*PlatformDownloadResp) ProtoMessage() {} -func (*PlatformDownloadResp) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{3} +func (x *PlatformDownloadResp) Reset() { + *x = PlatformDownloadResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformDownloadResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformDownloadResp.Unmarshal(m, b) -} -func (m *PlatformDownloadResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformDownloadResp.Marshal(b, m, deterministic) -} -func (m *PlatformDownloadResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformDownloadResp.Merge(m, src) +func (x *PlatformDownloadResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformDownloadResp) XXX_Size() int { - return xxx_messageInfo_PlatformDownloadResp.Size(m) -} -func (m *PlatformDownloadResp) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformDownloadResp.DiscardUnknown(m) + +func (*PlatformDownloadResp) ProtoMessage() {} + +func (x *PlatformDownloadResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformDownloadResp proto.InternalMessageInfo +// Deprecated: Use PlatformDownloadResp.ProtoReflect.Descriptor instead. +func (*PlatformDownloadResp) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{3} +} -func (m *PlatformDownloadResp) GetProgress() *DownloadProgress { - if m != nil { - return m.Progress +func (x *PlatformDownloadResp) GetProgress() *DownloadProgress { + if x != nil { + return x.Progress } return nil } type PlatformUninstallReq 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"` // Vendor name of the platform (e.g., `arduino`). PlatformPackage string `protobuf:"bytes,2,opt,name=platform_package,json=platformPackage,proto3" json:"platform_package,omitempty"` // Architecture name of the platform (e.g., `avr`). - Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` } -func (m *PlatformUninstallReq) Reset() { *m = PlatformUninstallReq{} } -func (m *PlatformUninstallReq) String() string { return proto.CompactTextString(m) } -func (*PlatformUninstallReq) ProtoMessage() {} -func (*PlatformUninstallReq) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{4} +func (x *PlatformUninstallReq) Reset() { + *x = PlatformUninstallReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformUninstallReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformUninstallReq.Unmarshal(m, b) -} -func (m *PlatformUninstallReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformUninstallReq.Marshal(b, m, deterministic) +func (x *PlatformUninstallReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformUninstallReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformUninstallReq.Merge(m, src) -} -func (m *PlatformUninstallReq) XXX_Size() int { - return xxx_messageInfo_PlatformUninstallReq.Size(m) -} -func (m *PlatformUninstallReq) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformUninstallReq.DiscardUnknown(m) + +func (*PlatformUninstallReq) ProtoMessage() {} + +func (x *PlatformUninstallReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformUninstallReq proto.InternalMessageInfo +// Deprecated: Use PlatformUninstallReq.ProtoReflect.Descriptor instead. +func (*PlatformUninstallReq) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{4} +} -func (m *PlatformUninstallReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *PlatformUninstallReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *PlatformUninstallReq) GetPlatformPackage() string { - if m != nil { - return m.PlatformPackage +func (x *PlatformUninstallReq) GetPlatformPackage() string { + if x != nil { + return x.PlatformPackage } return "" } -func (m *PlatformUninstallReq) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *PlatformUninstallReq) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } type PlatformUninstallResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Description of the current stage of the uninstall. - TaskProgress *TaskProgress `protobuf:"bytes,1,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,1,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *PlatformUninstallResp) Reset() { *m = PlatformUninstallResp{} } -func (m *PlatformUninstallResp) String() string { return proto.CompactTextString(m) } -func (*PlatformUninstallResp) ProtoMessage() {} -func (*PlatformUninstallResp) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{5} +func (x *PlatformUninstallResp) Reset() { + *x = PlatformUninstallResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformUninstallResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformUninstallResp.Unmarshal(m, b) +func (x *PlatformUninstallResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformUninstallResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformUninstallResp.Marshal(b, m, deterministic) -} -func (m *PlatformUninstallResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformUninstallResp.Merge(m, src) -} -func (m *PlatformUninstallResp) XXX_Size() int { - return xxx_messageInfo_PlatformUninstallResp.Size(m) -} -func (m *PlatformUninstallResp) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformUninstallResp.DiscardUnknown(m) + +func (*PlatformUninstallResp) ProtoMessage() {} + +func (x *PlatformUninstallResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformUninstallResp proto.InternalMessageInfo +// Deprecated: Use PlatformUninstallResp.ProtoReflect.Descriptor instead. +func (*PlatformUninstallResp) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{5} +} -func (m *PlatformUninstallResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *PlatformUninstallResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type PlatformUpgradeReq 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"` // Vendor name of the platform (e.g., `arduino`). PlatformPackage string `protobuf:"bytes,2,opt,name=platform_package,json=platformPackage,proto3" json:"platform_package,omitempty"` // Architecture name of the platform (e.g., `avr`). - Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Architecture string `protobuf:"bytes,3,opt,name=architecture,proto3" json:"architecture,omitempty"` } -func (m *PlatformUpgradeReq) Reset() { *m = PlatformUpgradeReq{} } -func (m *PlatformUpgradeReq) String() string { return proto.CompactTextString(m) } -func (*PlatformUpgradeReq) ProtoMessage() {} -func (*PlatformUpgradeReq) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{6} +func (x *PlatformUpgradeReq) Reset() { + *x = PlatformUpgradeReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformUpgradeReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformUpgradeReq.Unmarshal(m, b) -} -func (m *PlatformUpgradeReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformUpgradeReq.Marshal(b, m, deterministic) -} -func (m *PlatformUpgradeReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformUpgradeReq.Merge(m, src) -} -func (m *PlatformUpgradeReq) XXX_Size() int { - return xxx_messageInfo_PlatformUpgradeReq.Size(m) +func (x *PlatformUpgradeReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformUpgradeReq) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformUpgradeReq.DiscardUnknown(m) + +func (*PlatformUpgradeReq) ProtoMessage() {} + +func (x *PlatformUpgradeReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformUpgradeReq proto.InternalMessageInfo +// Deprecated: Use PlatformUpgradeReq.ProtoReflect.Descriptor instead. +func (*PlatformUpgradeReq) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{6} +} -func (m *PlatformUpgradeReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *PlatformUpgradeReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *PlatformUpgradeReq) GetPlatformPackage() string { - if m != nil { - return m.PlatformPackage +func (x *PlatformUpgradeReq) GetPlatformPackage() string { + if x != nil { + return x.PlatformPackage } return "" } -func (m *PlatformUpgradeReq) GetArchitecture() string { - if m != nil { - return m.Architecture +func (x *PlatformUpgradeReq) GetArchitecture() string { + if x != nil { + return x.Architecture } return "" } type PlatformUpgradeResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the downloads of the platform and tool files. Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` // Description of the current stage of the upgrade. - TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *PlatformUpgradeResp) Reset() { *m = PlatformUpgradeResp{} } -func (m *PlatformUpgradeResp) String() string { return proto.CompactTextString(m) } -func (*PlatformUpgradeResp) ProtoMessage() {} -func (*PlatformUpgradeResp) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{7} +func (x *PlatformUpgradeResp) Reset() { + *x = PlatformUpgradeResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformUpgradeResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformUpgradeResp.Unmarshal(m, b) -} -func (m *PlatformUpgradeResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformUpgradeResp.Marshal(b, m, deterministic) -} -func (m *PlatformUpgradeResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformUpgradeResp.Merge(m, src) -} -func (m *PlatformUpgradeResp) XXX_Size() int { - return xxx_messageInfo_PlatformUpgradeResp.Size(m) +func (x *PlatformUpgradeResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformUpgradeResp) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformUpgradeResp.DiscardUnknown(m) + +func (*PlatformUpgradeResp) ProtoMessage() {} + +func (x *PlatformUpgradeResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_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) } -var xxx_messageInfo_PlatformUpgradeResp proto.InternalMessageInfo +// Deprecated: Use PlatformUpgradeResp.ProtoReflect.Descriptor instead. +func (*PlatformUpgradeResp) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{7} +} -func (m *PlatformUpgradeResp) GetProgress() *DownloadProgress { - if m != nil { - return m.Progress +func (x *PlatformUpgradeResp) GetProgress() *DownloadProgress { + if x != nil { + return x.Progress } return nil } -func (m *PlatformUpgradeResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *PlatformUpgradeResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type PlatformSearchReq 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"` // Keywords for the search. SearchArgs string `protobuf:"bytes,2,opt,name=search_args,json=searchArgs,proto3" json:"search_args,omitempty"` // Whether to show all available versions. `false` causes only the newest // versions of the cores to be listed in the search results. - AllVersions bool `protobuf:"varint,3,opt,name=all_versions,json=allVersions,proto3" json:"all_versions,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AllVersions bool `protobuf:"varint,3,opt,name=all_versions,json=allVersions,proto3" json:"all_versions,omitempty"` } -func (m *PlatformSearchReq) Reset() { *m = PlatformSearchReq{} } -func (m *PlatformSearchReq) String() string { return proto.CompactTextString(m) } -func (*PlatformSearchReq) ProtoMessage() {} -func (*PlatformSearchReq) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{8} +func (x *PlatformSearchReq) Reset() { + *x = PlatformSearchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformSearchReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformSearchReq.Unmarshal(m, b) -} -func (m *PlatformSearchReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformSearchReq.Marshal(b, m, deterministic) -} -func (m *PlatformSearchReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformSearchReq.Merge(m, src) +func (x *PlatformSearchReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformSearchReq) XXX_Size() int { - return xxx_messageInfo_PlatformSearchReq.Size(m) -} -func (m *PlatformSearchReq) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformSearchReq.DiscardUnknown(m) + +func (*PlatformSearchReq) ProtoMessage() {} + +func (x *PlatformSearchReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_proto_msgTypes[8] + 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) } -var xxx_messageInfo_PlatformSearchReq proto.InternalMessageInfo +// Deprecated: Use PlatformSearchReq.ProtoReflect.Descriptor instead. +func (*PlatformSearchReq) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{8} +} -func (m *PlatformSearchReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *PlatformSearchReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *PlatformSearchReq) GetSearchArgs() string { - if m != nil { - return m.SearchArgs +func (x *PlatformSearchReq) GetSearchArgs() string { + if x != nil { + return x.SearchArgs } return "" } -func (m *PlatformSearchReq) GetAllVersions() bool { - if m != nil { - return m.AllVersions +func (x *PlatformSearchReq) GetAllVersions() bool { + if x != nil { + return x.AllVersions } return false } type PlatformSearchResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Results of the search. - SearchOutput []*Platform `protobuf:"bytes,1,rep,name=search_output,json=searchOutput,proto3" json:"search_output,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SearchOutput []*Platform `protobuf:"bytes,1,rep,name=search_output,json=searchOutput,proto3" json:"search_output,omitempty"` } -func (m *PlatformSearchResp) Reset() { *m = PlatformSearchResp{} } -func (m *PlatformSearchResp) String() string { return proto.CompactTextString(m) } -func (*PlatformSearchResp) ProtoMessage() {} -func (*PlatformSearchResp) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{9} +func (x *PlatformSearchResp) Reset() { + *x = PlatformSearchResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformSearchResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformSearchResp.Unmarshal(m, b) -} -func (m *PlatformSearchResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformSearchResp.Marshal(b, m, deterministic) +func (x *PlatformSearchResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformSearchResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformSearchResp.Merge(m, src) -} -func (m *PlatformSearchResp) XXX_Size() int { - return xxx_messageInfo_PlatformSearchResp.Size(m) -} -func (m *PlatformSearchResp) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformSearchResp.DiscardUnknown(m) + +func (*PlatformSearchResp) ProtoMessage() {} + +func (x *PlatformSearchResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_proto_msgTypes[9] + 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) } -var xxx_messageInfo_PlatformSearchResp proto.InternalMessageInfo +// Deprecated: Use PlatformSearchResp.ProtoReflect.Descriptor instead. +func (*PlatformSearchResp) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{9} +} -func (m *PlatformSearchResp) GetSearchOutput() []*Platform { - if m != nil { - return m.SearchOutput +func (x *PlatformSearchResp) GetSearchOutput() []*Platform { + if x != nil { + return x.SearchOutput } return nil } type PlatformListReq 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"` // Set to true to only list platforms which have a newer version available // than the one currently installed. - UpdatableOnly bool `protobuf:"varint,2,opt,name=updatable_only,json=updatableOnly,proto3" json:"updatable_only,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + UpdatableOnly bool `protobuf:"varint,2,opt,name=updatable_only,json=updatableOnly,proto3" json:"updatable_only,omitempty"` } -func (m *PlatformListReq) Reset() { *m = PlatformListReq{} } -func (m *PlatformListReq) String() string { return proto.CompactTextString(m) } -func (*PlatformListReq) ProtoMessage() {} -func (*PlatformListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{10} +func (x *PlatformListReq) Reset() { + *x = PlatformListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformListReq.Unmarshal(m, b) +func (x *PlatformListReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformListReq.Marshal(b, m, deterministic) -} -func (m *PlatformListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformListReq.Merge(m, src) -} -func (m *PlatformListReq) XXX_Size() int { - return xxx_messageInfo_PlatformListReq.Size(m) -} -func (m *PlatformListReq) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformListReq.DiscardUnknown(m) + +func (*PlatformListReq) ProtoMessage() {} + +func (x *PlatformListReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_proto_msgTypes[10] + 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) } -var xxx_messageInfo_PlatformListReq proto.InternalMessageInfo +// Deprecated: Use PlatformListReq.ProtoReflect.Descriptor instead. +func (*PlatformListReq) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{10} +} -func (m *PlatformListReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *PlatformListReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *PlatformListReq) GetUpdatableOnly() bool { - if m != nil { - return m.UpdatableOnly +func (x *PlatformListReq) GetUpdatableOnly() bool { + if x != nil { + return x.UpdatableOnly } return false } type PlatformListResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The installed platforms. - InstalledPlatform []*Platform `protobuf:"bytes,1,rep,name=installed_platform,json=installedPlatform,proto3" json:"installed_platform,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InstalledPlatform []*Platform `protobuf:"bytes,1,rep,name=installed_platform,json=installedPlatform,proto3" json:"installed_platform,omitempty"` } -func (m *PlatformListResp) Reset() { *m = PlatformListResp{} } -func (m *PlatformListResp) String() string { return proto.CompactTextString(m) } -func (*PlatformListResp) ProtoMessage() {} -func (*PlatformListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{11} +func (x *PlatformListResp) Reset() { + *x = PlatformListResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *PlatformListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_PlatformListResp.Unmarshal(m, b) -} -func (m *PlatformListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_PlatformListResp.Marshal(b, m, deterministic) -} -func (m *PlatformListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_PlatformListResp.Merge(m, src) +func (x *PlatformListResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *PlatformListResp) XXX_Size() int { - return xxx_messageInfo_PlatformListResp.Size(m) -} -func (m *PlatformListResp) XXX_DiscardUnknown() { - xxx_messageInfo_PlatformListResp.DiscardUnknown(m) + +func (*PlatformListResp) ProtoMessage() {} + +func (x *PlatformListResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_proto_msgTypes[11] + 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) } -var xxx_messageInfo_PlatformListResp proto.InternalMessageInfo +// Deprecated: Use PlatformListResp.ProtoReflect.Descriptor instead. +func (*PlatformListResp) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{11} +} -func (m *PlatformListResp) GetInstalledPlatform() []*Platform { - if m != nil { - return m.InstalledPlatform +func (x *PlatformListResp) GetInstalledPlatform() []*Platform { + if x != nil { + return x.InstalledPlatform } return nil } type Platform struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Platform ID (e.g., `arduino:avr`). ID string `protobuf:"bytes,1,opt,name=ID,proto3" json:"ID,omitempty"` // Version of the platform. @@ -656,202 +776,541 @@ type Platform struct { // this is the boards listed in the platform's boards.txt. If the platform is // not installed, this is an arbitrary list of board names provided by the // platform author for display and may not match boards.txt. - Boards []*Board `protobuf:"bytes,8,rep,name=Boards,proto3" json:"Boards,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Boards []*Board `protobuf:"bytes,8,rep,name=Boards,proto3" json:"Boards,omitempty"` } -func (m *Platform) Reset() { *m = Platform{} } -func (m *Platform) String() string { return proto.CompactTextString(m) } -func (*Platform) ProtoMessage() {} -func (*Platform) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{12} +func (x *Platform) Reset() { + *x = Platform{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Platform) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Platform.Unmarshal(m, b) -} -func (m *Platform) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Platform.Marshal(b, m, deterministic) -} -func (m *Platform) XXX_Merge(src proto.Message) { - xxx_messageInfo_Platform.Merge(m, src) -} -func (m *Platform) XXX_Size() int { - return xxx_messageInfo_Platform.Size(m) +func (x *Platform) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Platform) XXX_DiscardUnknown() { - xxx_messageInfo_Platform.DiscardUnknown(m) + +func (*Platform) ProtoMessage() {} + +func (x *Platform) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_proto_msgTypes[12] + 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) } -var xxx_messageInfo_Platform proto.InternalMessageInfo +// Deprecated: Use Platform.ProtoReflect.Descriptor instead. +func (*Platform) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{12} +} -func (m *Platform) GetID() string { - if m != nil { - return m.ID +func (x *Platform) GetID() string { + if x != nil { + return x.ID } return "" } -func (m *Platform) GetInstalled() string { - if m != nil { - return m.Installed +func (x *Platform) GetInstalled() string { + if x != nil { + return x.Installed } return "" } -func (m *Platform) GetLatest() string { - if m != nil { - return m.Latest +func (x *Platform) GetLatest() string { + if x != nil { + return x.Latest } return "" } -func (m *Platform) GetName() string { - if m != nil { - return m.Name +func (x *Platform) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Platform) GetMaintainer() string { - if m != nil { - return m.Maintainer +func (x *Platform) GetMaintainer() string { + if x != nil { + return x.Maintainer } return "" } -func (m *Platform) GetWebsite() string { - if m != nil { - return m.Website +func (x *Platform) GetWebsite() string { + if x != nil { + return x.Website } return "" } -func (m *Platform) GetEmail() string { - if m != nil { - return m.Email +func (x *Platform) GetEmail() string { + if x != nil { + return x.Email } return "" } -func (m *Platform) GetBoards() []*Board { - if m != nil { - return m.Boards +func (x *Platform) GetBoards() []*Board { + if x != nil { + return x.Boards } return nil } type Board struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Name used to identify the board to humans. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Fully qualified board name used to identify the board to machines. The FQBN // is only available for installed boards. - Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` } -func (m *Board) Reset() { *m = Board{} } -func (m *Board) String() string { return proto.CompactTextString(m) } -func (*Board) ProtoMessage() {} -func (*Board) Descriptor() ([]byte, []int) { - return fileDescriptor_ed02318f567db566, []int{13} +func (x *Board) Reset() { + *x = Board{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_core_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Board) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Board.Unmarshal(m, b) -} -func (m *Board) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Board.Marshal(b, m, deterministic) -} -func (m *Board) XXX_Merge(src proto.Message) { - xxx_messageInfo_Board.Merge(m, src) +func (x *Board) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Board) XXX_Size() int { - return xxx_messageInfo_Board.Size(m) -} -func (m *Board) XXX_DiscardUnknown() { - xxx_messageInfo_Board.DiscardUnknown(m) + +func (*Board) ProtoMessage() {} + +func (x *Board) ProtoReflect() protoreflect.Message { + mi := &file_commands_core_proto_msgTypes[13] + 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) } -var xxx_messageInfo_Board proto.InternalMessageInfo +// Deprecated: Use Board.ProtoReflect.Descriptor instead. +func (*Board) Descriptor() ([]byte, []int) { + return file_commands_core_proto_rawDescGZIP(), []int{13} +} -func (m *Board) GetName() string { - if m != nil { - return m.Name +func (x *Board) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Board) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *Board) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } -func init() { - proto.RegisterType((*PlatformInstallReq)(nil), "cc.arduino.cli.commands.PlatformInstallReq") - proto.RegisterType((*PlatformInstallResp)(nil), "cc.arduino.cli.commands.PlatformInstallResp") - proto.RegisterType((*PlatformDownloadReq)(nil), "cc.arduino.cli.commands.PlatformDownloadReq") - proto.RegisterType((*PlatformDownloadResp)(nil), "cc.arduino.cli.commands.PlatformDownloadResp") - proto.RegisterType((*PlatformUninstallReq)(nil), "cc.arduino.cli.commands.PlatformUninstallReq") - proto.RegisterType((*PlatformUninstallResp)(nil), "cc.arduino.cli.commands.PlatformUninstallResp") - proto.RegisterType((*PlatformUpgradeReq)(nil), "cc.arduino.cli.commands.PlatformUpgradeReq") - proto.RegisterType((*PlatformUpgradeResp)(nil), "cc.arduino.cli.commands.PlatformUpgradeResp") - proto.RegisterType((*PlatformSearchReq)(nil), "cc.arduino.cli.commands.PlatformSearchReq") - proto.RegisterType((*PlatformSearchResp)(nil), "cc.arduino.cli.commands.PlatformSearchResp") - proto.RegisterType((*PlatformListReq)(nil), "cc.arduino.cli.commands.PlatformListReq") - proto.RegisterType((*PlatformListResp)(nil), "cc.arduino.cli.commands.PlatformListResp") - proto.RegisterType((*Platform)(nil), "cc.arduino.cli.commands.Platform") - proto.RegisterType((*Board)(nil), "cc.arduino.cli.commands.Board") -} - -func init() { proto.RegisterFile("commands/core.proto", fileDescriptor_ed02318f567db566) } - -var fileDescriptor_ed02318f567db566 = []byte{ - // 628 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xd4, 0x56, 0xdd, 0x6a, 0x14, 0x31, - 0x14, 0x66, 0xb6, 0xed, 0x76, 0x7b, 0xba, 0xfd, 0x4b, 0x5b, 0x1d, 0x44, 0x6a, 0x3b, 0x50, 0x68, - 0x91, 0xee, 0x82, 0x82, 0x77, 0x5e, 0x58, 0x5a, 0x61, 0xa5, 0xda, 0x65, 0xb4, 0x0a, 0xa2, 0x2c, - 0xd9, 0x99, 0x74, 0x1b, 0x9a, 0x49, 0xd2, 0x24, 0x63, 0xe9, 0x8b, 0xf8, 0x00, 0xe2, 0x85, 0x0f, - 0xa1, 0x6f, 0xe4, 0x43, 0xc8, 0x64, 0x92, 0xd9, 0x2d, 0x75, 0x45, 0xa4, 0x17, 0xeb, 0xd5, 0xe6, - 0x7c, 0x73, 0xce, 0x97, 0xef, 0x3b, 0xc9, 0x09, 0x0b, 0xab, 0x89, 0xc8, 0x32, 0xcc, 0x53, 0xdd, - 0x4e, 0x84, 0x22, 0x2d, 0xa9, 0x84, 0x11, 0xe8, 0x6e, 0x92, 0xb4, 0xb0, 0x4a, 0x73, 0xca, 0x45, - 0x2b, 0x61, 0xb4, 0xe5, 0x73, 0xee, 0xad, 0x8f, 0x64, 0x67, 0x99, 0xe0, 0x65, 0x7e, 0xf4, 0x3d, - 0x00, 0xd4, 0x65, 0xd8, 0x9c, 0x0a, 0x95, 0x75, 0xb8, 0x36, 0x98, 0xb1, 0x98, 0x5c, 0xa0, 0xa7, - 0xd0, 0xa0, 0x45, 0xc4, 0x13, 0x12, 0x06, 0x9b, 0xc1, 0xce, 0xfc, 0xa3, 0xad, 0xd6, 0x18, 0xe6, - 0x56, 0xc7, 0x25, 0xc6, 0x55, 0x09, 0xda, 0x85, 0x65, 0xe9, 0x48, 0x7b, 0x12, 0x27, 0xe7, 0x78, - 0x40, 0xc2, 0xda, 0x66, 0xb0, 0x33, 0x17, 0x2f, 0x79, 0xbc, 0x5b, 0xc2, 0x28, 0x82, 0x26, 0x56, - 0xc9, 0x19, 0x35, 0x24, 0x31, 0xb9, 0x22, 0xe1, 0x94, 0x4d, 0xbb, 0x86, 0xa1, 0x10, 0x66, 0x3f, - 0x11, 0xa5, 0xa9, 0xe0, 0xe1, 0xb4, 0xfd, 0xec, 0xc3, 0xe8, 0x5b, 0x00, 0xab, 0x37, 0xe4, 0x6b, - 0x89, 0x0e, 0xa1, 0x21, 0x95, 0x18, 0x28, 0xa2, 0xb5, 0xd3, 0xbf, 0x3b, 0x56, 0xff, 0x81, 0xb8, - 0xe4, 0x4c, 0xe0, 0xb4, 0xeb, 0x0a, 0xe2, 0xaa, 0x14, 0xbd, 0x80, 0x05, 0x83, 0xf5, 0x79, 0xaf, - 0xe2, 0xaa, 0x59, 0xae, 0xed, 0xb1, 0x5c, 0x6f, 0xb0, 0x3e, 0xaf, 0x78, 0x9a, 0x66, 0x24, 0x8a, - 0x7e, 0x8c, 0x48, 0xf5, 0x5b, 0xfe, 0x4f, 0xad, 0xfe, 0x08, 0x6b, 0x37, 0xe5, 0xdf, 0x5a, 0xab, - 0xa3, 0xaf, 0xc1, 0x90, 0xff, 0x84, 0xd3, 0x09, 0xbd, 0x8a, 0x51, 0x02, 0xeb, 0xbf, 0x51, 0xa9, - 0xe5, 0xcd, 0xab, 0x12, 0xfc, 0xfb, 0x55, 0xf9, 0x32, 0x32, 0x94, 0x27, 0x72, 0xa0, 0x70, 0x4a, - 0x26, 0xaf, 0x13, 0xa3, 0xa3, 0x57, 0x89, 0x9c, 0xcc, 0xd1, 0xfb, 0x1c, 0xc0, 0x8a, 0x97, 0xfa, - 0x9a, 0x14, 0x2e, 0x6e, 0xa1, 0x9d, 0x0f, 0x60, 0x5e, 0x5b, 0xae, 0x1e, 0x56, 0x03, 0xed, 0x3a, - 0x09, 0x25, 0xf4, 0x4c, 0x0d, 0x34, 0xda, 0x82, 0x26, 0x66, 0xac, 0xe7, 0xe6, 0x47, 0xdb, 0x26, - 0x36, 0xe2, 0x79, 0xcc, 0xd8, 0x5b, 0x07, 0x45, 0x1f, 0x86, 0xe7, 0xec, 0x75, 0x69, 0x89, 0x9e, - 0xc3, 0x82, 0x63, 0x16, 0xb9, 0x91, 0xb9, 0x09, 0x83, 0xcd, 0xa9, 0x3f, 0xaa, 0xf3, 0x1c, 0x71, - 0xb3, 0xac, 0x3b, 0xb6, 0x65, 0xd1, 0x25, 0x2c, 0xf9, 0x2f, 0x47, 0x54, 0x9b, 0x5b, 0xf0, 0xbc, - 0x0d, 0x8b, 0xb9, 0x4c, 0xb1, 0xc1, 0x7d, 0x46, 0x7a, 0x82, 0xb3, 0x2b, 0x6b, 0xbb, 0x11, 0x2f, - 0x54, 0xe8, 0x31, 0x67, 0x57, 0x51, 0x0a, 0xcb, 0xd7, 0x37, 0xd6, 0x12, 0x75, 0x01, 0xb9, 0x71, - 0x21, 0x69, 0xcf, 0xdf, 0xb7, 0xbf, 0x77, 0xb6, 0x52, 0x15, 0x7b, 0x28, 0xfa, 0x19, 0x40, 0xc3, - 0x07, 0x68, 0x11, 0x6a, 0x9d, 0x03, 0x6b, 0x69, 0x2e, 0xae, 0x75, 0x0e, 0xd0, 0x7d, 0x98, 0xeb, - 0xf8, 0x0a, 0x77, 0x36, 0x43, 0x00, 0xdd, 0x81, 0xfa, 0x11, 0x36, 0x44, 0x1b, 0x77, 0xb3, 0x5d, - 0x84, 0x10, 0x4c, 0xbf, 0xc2, 0x19, 0x71, 0x4f, 0x9f, 0x5d, 0xa3, 0x0d, 0x80, 0x97, 0x98, 0x72, - 0x83, 0x29, 0x27, 0x2a, 0x9c, 0x29, 0x8f, 0x79, 0x88, 0x14, 0x2f, 0xe6, 0x3b, 0xd2, 0xd7, 0xd4, - 0x90, 0xb0, 0x5e, 0xbe, 0x98, 0x2e, 0x44, 0x6b, 0x30, 0x73, 0x98, 0x61, 0xca, 0xc2, 0x59, 0x8b, - 0x97, 0x01, 0x7a, 0x02, 0xf5, 0x7d, 0x81, 0x55, 0xaa, 0xc3, 0x86, 0x35, 0xbf, 0x31, 0xd6, 0xbc, - 0x4d, 0x8b, 0x5d, 0x76, 0xd4, 0x86, 0x19, 0xbb, 0x2a, 0x44, 0xf2, 0x42, 0x64, 0x69, 0xd6, 0xae, - 0x0b, 0xec, 0xf4, 0xa2, 0xcf, 0x9d, 0x53, 0xbb, 0xde, 0xdf, 0x7b, 0xff, 0x70, 0x40, 0xcd, 0x59, - 0xde, 0x2f, 0x18, 0xdb, 0x6e, 0x07, 0xff, 0xbb, 0x97, 0x30, 0xda, 0x56, 0x32, 0x69, 0xfb, 0xdd, - 0xfa, 0x75, 0xfb, 0x87, 0xe0, 0xf1, 0xaf, 0x00, 0x00, 0x00, 0xff, 0xff, 0x09, 0x05, 0xe5, 0x68, - 0x57, 0x08, 0x00, 0x00, +var File_commands_core_proto protoreflect.FileDescriptor + +var file_commands_core_proto_rawDesc = []byte{ + 0x0a, 0x13, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x72, 0x65, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x1a, 0x15, + 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xbc, 0x01, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x50, + 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, + 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, + 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa8, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x45, 0x0a, 0x08, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, + 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 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, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, + 0xbd, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, + 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, + 0x63, 0x74, 0x75, 0x72, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x5d, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x45, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa4, + 0x01, 0x0a, 0x14, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x29, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x5f, 0x70, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, + 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, + 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, 0x63, 0x0a, 0x15, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x4a, + 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 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, + 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x74, 0x61, + 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0xa2, 0x01, 0x0a, 0x12, 0x50, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x52, 0x65, + 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x29, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x5f, 0x70, 0x61, 0x63, + 0x6b, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x50, 0x61, 0x63, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x61, + 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0c, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x22, + 0xa8, 0x01, 0x0a, 0x13, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x55, 0x70, 0x67, 0x72, + 0x61, 0x64, 0x65, 0x52, 0x65, 0x73, 0x70, 0x12, 0x45, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4a, + 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 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, + 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x74, 0x61, + 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x96, 0x01, 0x0a, 0x11, 0x50, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x71, + 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, + 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, + 0x1f, 0x0a, 0x0b, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x41, 0x72, 0x67, 0x73, + 0x12, 0x21, 0x0a, 0x0c, 0x61, 0x6c, 0x6c, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x61, 0x6c, 0x6c, 0x56, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x73, 0x22, 0x5c, 0x0a, 0x12, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x0d, 0x73, 0x65, 0x61, + 0x72, 0x63, 0x68, 0x5f, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, + 0x32, 0x21, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, + 0x6f, 0x72, 0x6d, 0x52, 0x0c, 0x73, 0x65, 0x61, 0x72, 0x63, 0x68, 0x4f, 0x75, 0x74, 0x70, 0x75, + 0x74, 0x22, 0x77, 0x0a, 0x0f, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, + 0x74, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x12, 0x25, 0x0a, 0x0e, 0x75, 0x70, 0x64, 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, + 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x22, 0x64, 0x0a, 0x10, 0x50, 0x6c, + 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x50, + 0x0a, 0x12, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x74, + 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x21, 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, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x52, 0x11, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x22, 0xec, 0x01, 0x0a, 0x08, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, + 0x02, 0x49, 0x44, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x49, 0x44, 0x12, 0x1c, 0x0a, + 0x09, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x12, 0x16, 0x0a, 0x06, 0x4c, + 0x61, 0x74, 0x65, 0x73, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x4c, 0x61, 0x74, + 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x4d, 0x61, 0x69, 0x6e, 0x74, + 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x4d, 0x61, 0x69, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x57, 0x65, 0x62, 0x73, 0x69, + 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x57, 0x65, 0x62, 0x73, 0x69, 0x74, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x45, 0x6d, 0x61, 0x69, 0x6c, 0x12, 0x36, 0x0a, 0x06, 0x42, 0x6f, 0x61, 0x72, 0x64, + 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1e, 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, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x52, 0x06, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x73, 0x22, + 0x2f, 0x0a, 0x05, 0x42, 0x6f, 0x61, 0x72, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, + 0x66, 0x71, 0x62, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x71, 0x62, 0x6e, + 0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, + 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_commands_core_proto_rawDescOnce sync.Once + file_commands_core_proto_rawDescData = file_commands_core_proto_rawDesc +) + +func file_commands_core_proto_rawDescGZIP() []byte { + file_commands_core_proto_rawDescOnce.Do(func() { + file_commands_core_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_core_proto_rawDescData) + }) + return file_commands_core_proto_rawDescData +} + +var file_commands_core_proto_msgTypes = make([]protoimpl.MessageInfo, 14) +var file_commands_core_proto_goTypes = []interface{}{ + (*PlatformInstallReq)(nil), // 0: cc.arduino.cli.commands.PlatformInstallReq + (*PlatformInstallResp)(nil), // 1: cc.arduino.cli.commands.PlatformInstallResp + (*PlatformDownloadReq)(nil), // 2: cc.arduino.cli.commands.PlatformDownloadReq + (*PlatformDownloadResp)(nil), // 3: cc.arduino.cli.commands.PlatformDownloadResp + (*PlatformUninstallReq)(nil), // 4: cc.arduino.cli.commands.PlatformUninstallReq + (*PlatformUninstallResp)(nil), // 5: cc.arduino.cli.commands.PlatformUninstallResp + (*PlatformUpgradeReq)(nil), // 6: cc.arduino.cli.commands.PlatformUpgradeReq + (*PlatformUpgradeResp)(nil), // 7: cc.arduino.cli.commands.PlatformUpgradeResp + (*PlatformSearchReq)(nil), // 8: cc.arduino.cli.commands.PlatformSearchReq + (*PlatformSearchResp)(nil), // 9: cc.arduino.cli.commands.PlatformSearchResp + (*PlatformListReq)(nil), // 10: cc.arduino.cli.commands.PlatformListReq + (*PlatformListResp)(nil), // 11: cc.arduino.cli.commands.PlatformListResp + (*Platform)(nil), // 12: cc.arduino.cli.commands.Platform + (*Board)(nil), // 13: cc.arduino.cli.commands.Board + (*Instance)(nil), // 14: cc.arduino.cli.commands.Instance + (*DownloadProgress)(nil), // 15: cc.arduino.cli.commands.DownloadProgress + (*TaskProgress)(nil), // 16: cc.arduino.cli.commands.TaskProgress +} +var file_commands_core_proto_depIdxs = []int32{ + 14, // 0: cc.arduino.cli.commands.PlatformInstallReq.instance:type_name -> cc.arduino.cli.commands.Instance + 15, // 1: cc.arduino.cli.commands.PlatformInstallResp.progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 16, // 2: cc.arduino.cli.commands.PlatformInstallResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 14, // 3: cc.arduino.cli.commands.PlatformDownloadReq.instance:type_name -> cc.arduino.cli.commands.Instance + 15, // 4: cc.arduino.cli.commands.PlatformDownloadResp.progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 14, // 5: cc.arduino.cli.commands.PlatformUninstallReq.instance:type_name -> cc.arduino.cli.commands.Instance + 16, // 6: cc.arduino.cli.commands.PlatformUninstallResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 14, // 7: cc.arduino.cli.commands.PlatformUpgradeReq.instance:type_name -> cc.arduino.cli.commands.Instance + 15, // 8: cc.arduino.cli.commands.PlatformUpgradeResp.progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 16, // 9: cc.arduino.cli.commands.PlatformUpgradeResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 14, // 10: cc.arduino.cli.commands.PlatformSearchReq.instance:type_name -> cc.arduino.cli.commands.Instance + 12, // 11: cc.arduino.cli.commands.PlatformSearchResp.search_output:type_name -> cc.arduino.cli.commands.Platform + 14, // 12: cc.arduino.cli.commands.PlatformListReq.instance:type_name -> cc.arduino.cli.commands.Instance + 12, // 13: cc.arduino.cli.commands.PlatformListResp.installed_platform:type_name -> cc.arduino.cli.commands.Platform + 13, // 14: cc.arduino.cli.commands.Platform.Boards:type_name -> cc.arduino.cli.commands.Board + 15, // [15:15] is the sub-list for method output_type + 15, // [15:15] is the sub-list for method input_type + 15, // [15:15] is the sub-list for extension type_name + 15, // [15:15] is the sub-list for extension extendee + 0, // [0:15] is the sub-list for field type_name +} + +func init() { file_commands_core_proto_init() } +func file_commands_core_proto_init() { + if File_commands_core_proto != nil { + return + } + file_commands_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_commands_core_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformInstallReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformInstallResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformDownloadReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformDownloadResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformUninstallReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformUninstallResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformUpgradeReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformUpgradeResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformSearchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformSearchResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*PlatformListResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Platform); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_core_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Board); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_core_proto_rawDesc, + NumEnums: 0, + NumMessages: 14, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_commands_core_proto_goTypes, + DependencyIndexes: file_commands_core_proto_depIdxs, + MessageInfos: file_commands_core_proto_msgTypes, + }.Build() + File_commands_core_proto = out.File + file_commands_core_proto_rawDesc = nil + file_commands_core_proto_goTypes = nil + file_commands_core_proto_depIdxs = nil } diff --git a/rpc/commands/lib.pb.go b/rpc/commands/lib.pb.go index 48db6daf724..2acacd386cb 100644 --- a/rpc/commands/lib.pb.go +++ b/rpc/commands/lib.pb.go @@ -1,24 +1,44 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/lib.proto package commands import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type LibrarySearchStatus int32 @@ -29,22 +49,43 @@ const ( LibrarySearchStatus_success LibrarySearchStatus = 1 ) -var LibrarySearchStatus_name = map[int32]string{ - 0: "failed", - 1: "success", -} +// Enum value maps for LibrarySearchStatus. +var ( + LibrarySearchStatus_name = map[int32]string{ + 0: "failed", + 1: "success", + } + LibrarySearchStatus_value = map[string]int32{ + "failed": 0, + "success": 1, + } +) -var LibrarySearchStatus_value = map[string]int32{ - "failed": 0, - "success": 1, +func (x LibrarySearchStatus) Enum() *LibrarySearchStatus { + p := new(LibrarySearchStatus) + *p = x + return p } func (x LibrarySearchStatus) String() string { - return proto.EnumName(LibrarySearchStatus_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LibrarySearchStatus) Descriptor() protoreflect.EnumDescriptor { + return file_commands_lib_proto_enumTypes[0].Descriptor() } +func (LibrarySearchStatus) Type() protoreflect.EnumType { + return &file_commands_lib_proto_enumTypes[0] +} + +func (x LibrarySearchStatus) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LibrarySearchStatus.Descriptor instead. func (LibrarySearchStatus) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{0} + return file_commands_lib_proto_rawDescGZIP(), []int{0} } type LibraryLayout int32 @@ -56,22 +97,43 @@ const ( LibraryLayout_recursive_layout LibraryLayout = 1 ) -var LibraryLayout_name = map[int32]string{ - 0: "flat_layout", - 1: "recursive_layout", -} +// Enum value maps for LibraryLayout. +var ( + LibraryLayout_name = map[int32]string{ + 0: "flat_layout", + 1: "recursive_layout", + } + LibraryLayout_value = map[string]int32{ + "flat_layout": 0, + "recursive_layout": 1, + } +) -var LibraryLayout_value = map[string]int32{ - "flat_layout": 0, - "recursive_layout": 1, +func (x LibraryLayout) Enum() *LibraryLayout { + p := new(LibraryLayout) + *p = x + return p } func (x LibraryLayout) String() string { - return proto.EnumName(LibraryLayout_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (LibraryLayout) Descriptor() protoreflect.EnumDescriptor { + return file_commands_lib_proto_enumTypes[1].Descriptor() +} + +func (LibraryLayout) Type() protoreflect.EnumType { + return &file_commands_lib_proto_enumTypes[1] +} + +func (x LibraryLayout) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use LibraryLayout.Descriptor instead. func (LibraryLayout) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{1} + return file_commands_lib_proto_rawDescGZIP(), []int{1} } type LibraryLocation int32 @@ -89,735 +151,872 @@ const ( LibraryLocation_referenced_platform_builtin LibraryLocation = 3 ) -var LibraryLocation_name = map[int32]string{ - 0: "ide_builtin", - 1: "user", - 2: "platform_builtin", - 3: "referenced_platform_builtin", -} +// Enum value maps for LibraryLocation. +var ( + LibraryLocation_name = map[int32]string{ + 0: "ide_builtin", + 1: "user", + 2: "platform_builtin", + 3: "referenced_platform_builtin", + } + LibraryLocation_value = map[string]int32{ + "ide_builtin": 0, + "user": 1, + "platform_builtin": 2, + "referenced_platform_builtin": 3, + } +) -var LibraryLocation_value = map[string]int32{ - "ide_builtin": 0, - "user": 1, - "platform_builtin": 2, - "referenced_platform_builtin": 3, +func (x LibraryLocation) Enum() *LibraryLocation { + p := new(LibraryLocation) + *p = x + return p } func (x LibraryLocation) String() string { - return proto.EnumName(LibraryLocation_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) +} + +func (LibraryLocation) Descriptor() protoreflect.EnumDescriptor { + return file_commands_lib_proto_enumTypes[2].Descriptor() +} + +func (LibraryLocation) Type() protoreflect.EnumType { + return &file_commands_lib_proto_enumTypes[2] +} + +func (x LibraryLocation) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) } +// Deprecated: Use LibraryLocation.Descriptor instead. func (LibraryLocation) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{2} + return file_commands_lib_proto_rawDescGZIP(), []int{2} } type LibraryDownloadReq 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"` // Name of the library. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The version of the library to download. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` } -func (m *LibraryDownloadReq) Reset() { *m = LibraryDownloadReq{} } -func (m *LibraryDownloadReq) String() string { return proto.CompactTextString(m) } -func (*LibraryDownloadReq) ProtoMessage() {} -func (*LibraryDownloadReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{0} +func (x *LibraryDownloadReq) Reset() { + *x = LibraryDownloadReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryDownloadReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryDownloadReq.Unmarshal(m, b) -} -func (m *LibraryDownloadReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryDownloadReq.Marshal(b, m, deterministic) -} -func (m *LibraryDownloadReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryDownloadReq.Merge(m, src) -} -func (m *LibraryDownloadReq) XXX_Size() int { - return xxx_messageInfo_LibraryDownloadReq.Size(m) +func (x *LibraryDownloadReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryDownloadReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryDownloadReq.DiscardUnknown(m) + +func (*LibraryDownloadReq) ProtoMessage() {} + +func (x *LibraryDownloadReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryDownloadReq proto.InternalMessageInfo +// Deprecated: Use LibraryDownloadReq.ProtoReflect.Descriptor instead. +func (*LibraryDownloadReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{0} +} -func (m *LibraryDownloadReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibraryDownloadReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *LibraryDownloadReq) GetName() string { - if m != nil { - return m.Name +func (x *LibraryDownloadReq) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *LibraryDownloadReq) GetVersion() string { - if m != nil { - return m.Version +func (x *LibraryDownloadReq) GetVersion() string { + if x != nil { + return x.Version } return "" } type LibraryDownloadResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the library download. - Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` } -func (m *LibraryDownloadResp) Reset() { *m = LibraryDownloadResp{} } -func (m *LibraryDownloadResp) String() string { return proto.CompactTextString(m) } -func (*LibraryDownloadResp) ProtoMessage() {} -func (*LibraryDownloadResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{1} +func (x *LibraryDownloadResp) Reset() { + *x = LibraryDownloadResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryDownloadResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryDownloadResp.Unmarshal(m, b) -} -func (m *LibraryDownloadResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryDownloadResp.Marshal(b, m, deterministic) -} -func (m *LibraryDownloadResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryDownloadResp.Merge(m, src) -} -func (m *LibraryDownloadResp) XXX_Size() int { - return xxx_messageInfo_LibraryDownloadResp.Size(m) +func (x *LibraryDownloadResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryDownloadResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryDownloadResp.DiscardUnknown(m) + +func (*LibraryDownloadResp) ProtoMessage() {} + +func (x *LibraryDownloadResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryDownloadResp proto.InternalMessageInfo +// Deprecated: Use LibraryDownloadResp.ProtoReflect.Descriptor instead. +func (*LibraryDownloadResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{1} +} -func (m *LibraryDownloadResp) GetProgress() *DownloadProgress { - if m != nil { - return m.Progress +func (x *LibraryDownloadResp) GetProgress() *DownloadProgress { + if x != nil { + return x.Progress } return nil } type LibraryInstallReq 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"` // Name of the library. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The version of the library to install. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` } -func (m *LibraryInstallReq) Reset() { *m = LibraryInstallReq{} } -func (m *LibraryInstallReq) String() string { return proto.CompactTextString(m) } -func (*LibraryInstallReq) ProtoMessage() {} -func (*LibraryInstallReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{2} +func (x *LibraryInstallReq) Reset() { + *x = LibraryInstallReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryInstallReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryInstallReq.Unmarshal(m, b) +func (x *LibraryInstallReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryInstallReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryInstallReq.Marshal(b, m, deterministic) -} -func (m *LibraryInstallReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryInstallReq.Merge(m, src) -} -func (m *LibraryInstallReq) XXX_Size() int { - return xxx_messageInfo_LibraryInstallReq.Size(m) -} -func (m *LibraryInstallReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryInstallReq.DiscardUnknown(m) + +func (*LibraryInstallReq) ProtoMessage() {} + +func (x *LibraryInstallReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryInstallReq proto.InternalMessageInfo +// Deprecated: Use LibraryInstallReq.ProtoReflect.Descriptor instead. +func (*LibraryInstallReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{2} +} -func (m *LibraryInstallReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibraryInstallReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *LibraryInstallReq) GetName() string { - if m != nil { - return m.Name +func (x *LibraryInstallReq) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *LibraryInstallReq) GetVersion() string { - if m != nil { - return m.Version +func (x *LibraryInstallReq) GetVersion() string { + if x != nil { + return x.Version } return "" } type LibraryInstallResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the library download. Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` // Description of the current stage of the installation. - TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *LibraryInstallResp) Reset() { *m = LibraryInstallResp{} } -func (m *LibraryInstallResp) String() string { return proto.CompactTextString(m) } -func (*LibraryInstallResp) ProtoMessage() {} -func (*LibraryInstallResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{3} +func (x *LibraryInstallResp) Reset() { + *x = LibraryInstallResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryInstallResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryInstallResp.Unmarshal(m, b) -} -func (m *LibraryInstallResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryInstallResp.Marshal(b, m, deterministic) -} -func (m *LibraryInstallResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryInstallResp.Merge(m, src) +func (x *LibraryInstallResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryInstallResp) XXX_Size() int { - return xxx_messageInfo_LibraryInstallResp.Size(m) -} -func (m *LibraryInstallResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryInstallResp.DiscardUnknown(m) + +func (*LibraryInstallResp) ProtoMessage() {} + +func (x *LibraryInstallResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryInstallResp proto.InternalMessageInfo +// Deprecated: Use LibraryInstallResp.ProtoReflect.Descriptor instead. +func (*LibraryInstallResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{3} +} -func (m *LibraryInstallResp) GetProgress() *DownloadProgress { - if m != nil { - return m.Progress +func (x *LibraryInstallResp) GetProgress() *DownloadProgress { + if x != nil { + return x.Progress } return nil } -func (m *LibraryInstallResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *LibraryInstallResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type LibraryUninstallReq 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"` // Name of the library. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The version of the library to uninstall. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` } -func (m *LibraryUninstallReq) Reset() { *m = LibraryUninstallReq{} } -func (m *LibraryUninstallReq) String() string { return proto.CompactTextString(m) } -func (*LibraryUninstallReq) ProtoMessage() {} -func (*LibraryUninstallReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{4} +func (x *LibraryUninstallReq) Reset() { + *x = LibraryUninstallReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryUninstallReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryUninstallReq.Unmarshal(m, b) -} -func (m *LibraryUninstallReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryUninstallReq.Marshal(b, m, deterministic) -} -func (m *LibraryUninstallReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryUninstallReq.Merge(m, src) -} -func (m *LibraryUninstallReq) XXX_Size() int { - return xxx_messageInfo_LibraryUninstallReq.Size(m) +func (x *LibraryUninstallReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryUninstallReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryUninstallReq.DiscardUnknown(m) + +func (*LibraryUninstallReq) ProtoMessage() {} + +func (x *LibraryUninstallReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryUninstallReq proto.InternalMessageInfo +// Deprecated: Use LibraryUninstallReq.ProtoReflect.Descriptor instead. +func (*LibraryUninstallReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{4} +} -func (m *LibraryUninstallReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibraryUninstallReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *LibraryUninstallReq) GetName() string { - if m != nil { - return m.Name +func (x *LibraryUninstallReq) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *LibraryUninstallReq) GetVersion() string { - if m != nil { - return m.Version +func (x *LibraryUninstallReq) GetVersion() string { + if x != nil { + return x.Version } return "" } type LibraryUninstallResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Description of the current stage of the uninstallation. - TaskProgress *TaskProgress `protobuf:"bytes,1,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,1,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *LibraryUninstallResp) Reset() { *m = LibraryUninstallResp{} } -func (m *LibraryUninstallResp) String() string { return proto.CompactTextString(m) } -func (*LibraryUninstallResp) ProtoMessage() {} -func (*LibraryUninstallResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{5} +func (x *LibraryUninstallResp) Reset() { + *x = LibraryUninstallResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryUninstallResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryUninstallResp.Unmarshal(m, b) -} -func (m *LibraryUninstallResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryUninstallResp.Marshal(b, m, deterministic) +func (x *LibraryUninstallResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryUninstallResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryUninstallResp.Merge(m, src) -} -func (m *LibraryUninstallResp) XXX_Size() int { - return xxx_messageInfo_LibraryUninstallResp.Size(m) -} -func (m *LibraryUninstallResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryUninstallResp.DiscardUnknown(m) + +func (*LibraryUninstallResp) ProtoMessage() {} + +func (x *LibraryUninstallResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryUninstallResp proto.InternalMessageInfo +// Deprecated: Use LibraryUninstallResp.ProtoReflect.Descriptor instead. +func (*LibraryUninstallResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{5} +} -func (m *LibraryUninstallResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *LibraryUninstallResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type LibraryUpgradeAllReq 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"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` } -func (m *LibraryUpgradeAllReq) Reset() { *m = LibraryUpgradeAllReq{} } -func (m *LibraryUpgradeAllReq) String() string { return proto.CompactTextString(m) } -func (*LibraryUpgradeAllReq) ProtoMessage() {} -func (*LibraryUpgradeAllReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{6} +func (x *LibraryUpgradeAllReq) Reset() { + *x = LibraryUpgradeAllReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryUpgradeAllReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryUpgradeAllReq.Unmarshal(m, b) -} -func (m *LibraryUpgradeAllReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryUpgradeAllReq.Marshal(b, m, deterministic) -} -func (m *LibraryUpgradeAllReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryUpgradeAllReq.Merge(m, src) +func (x *LibraryUpgradeAllReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryUpgradeAllReq) XXX_Size() int { - return xxx_messageInfo_LibraryUpgradeAllReq.Size(m) -} -func (m *LibraryUpgradeAllReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryUpgradeAllReq.DiscardUnknown(m) + +func (*LibraryUpgradeAllReq) ProtoMessage() {} + +func (x *LibraryUpgradeAllReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryUpgradeAllReq proto.InternalMessageInfo +// Deprecated: Use LibraryUpgradeAllReq.ProtoReflect.Descriptor instead. +func (*LibraryUpgradeAllReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{6} +} -func (m *LibraryUpgradeAllReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibraryUpgradeAllReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } type LibraryUpgradeAllResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Progress of the downloads of files needed for the upgrades. Progress *DownloadProgress `protobuf:"bytes,1,opt,name=progress,proto3" json:"progress,omitempty"` // Description of the current stage of the upgrade. - TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + TaskProgress *TaskProgress `protobuf:"bytes,2,opt,name=task_progress,json=taskProgress,proto3" json:"task_progress,omitempty"` } -func (m *LibraryUpgradeAllResp) Reset() { *m = LibraryUpgradeAllResp{} } -func (m *LibraryUpgradeAllResp) String() string { return proto.CompactTextString(m) } -func (*LibraryUpgradeAllResp) ProtoMessage() {} -func (*LibraryUpgradeAllResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{7} +func (x *LibraryUpgradeAllResp) Reset() { + *x = LibraryUpgradeAllResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[7] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryUpgradeAllResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryUpgradeAllResp.Unmarshal(m, b) -} -func (m *LibraryUpgradeAllResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryUpgradeAllResp.Marshal(b, m, deterministic) -} -func (m *LibraryUpgradeAllResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryUpgradeAllResp.Merge(m, src) -} -func (m *LibraryUpgradeAllResp) XXX_Size() int { - return xxx_messageInfo_LibraryUpgradeAllResp.Size(m) +func (x *LibraryUpgradeAllResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryUpgradeAllResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryUpgradeAllResp.DiscardUnknown(m) + +func (*LibraryUpgradeAllResp) ProtoMessage() {} + +func (x *LibraryUpgradeAllResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_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) } -var xxx_messageInfo_LibraryUpgradeAllResp proto.InternalMessageInfo +// Deprecated: Use LibraryUpgradeAllResp.ProtoReflect.Descriptor instead. +func (*LibraryUpgradeAllResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{7} +} -func (m *LibraryUpgradeAllResp) GetProgress() *DownloadProgress { - if m != nil { - return m.Progress +func (x *LibraryUpgradeAllResp) GetProgress() *DownloadProgress { + if x != nil { + return x.Progress } return nil } -func (m *LibraryUpgradeAllResp) GetTaskProgress() *TaskProgress { - if m != nil { - return m.TaskProgress +func (x *LibraryUpgradeAllResp) GetTaskProgress() *TaskProgress { + if x != nil { + return x.TaskProgress } return nil } type LibraryResolveDependenciesReq 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"` // Name of the library. Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` // The version of the library to check dependencies of. If no version is // specified, dependencies of the newest version will be listed. - Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Version string `protobuf:"bytes,3,opt,name=version,proto3" json:"version,omitempty"` } -func (m *LibraryResolveDependenciesReq) Reset() { *m = LibraryResolveDependenciesReq{} } -func (m *LibraryResolveDependenciesReq) String() string { return proto.CompactTextString(m) } -func (*LibraryResolveDependenciesReq) ProtoMessage() {} -func (*LibraryResolveDependenciesReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{8} +func (x *LibraryResolveDependenciesReq) Reset() { + *x = LibraryResolveDependenciesReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[8] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryResolveDependenciesReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryResolveDependenciesReq.Unmarshal(m, b) +func (x *LibraryResolveDependenciesReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryResolveDependenciesReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryResolveDependenciesReq.Marshal(b, m, deterministic) -} -func (m *LibraryResolveDependenciesReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryResolveDependenciesReq.Merge(m, src) -} -func (m *LibraryResolveDependenciesReq) XXX_Size() int { - return xxx_messageInfo_LibraryResolveDependenciesReq.Size(m) -} -func (m *LibraryResolveDependenciesReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryResolveDependenciesReq.DiscardUnknown(m) + +func (*LibraryResolveDependenciesReq) ProtoMessage() {} + +func (x *LibraryResolveDependenciesReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[8] + 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) } -var xxx_messageInfo_LibraryResolveDependenciesReq proto.InternalMessageInfo +// Deprecated: Use LibraryResolveDependenciesReq.ProtoReflect.Descriptor instead. +func (*LibraryResolveDependenciesReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{8} +} -func (m *LibraryResolveDependenciesReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibraryResolveDependenciesReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *LibraryResolveDependenciesReq) GetName() string { - if m != nil { - return m.Name +func (x *LibraryResolveDependenciesReq) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *LibraryResolveDependenciesReq) GetVersion() string { - if m != nil { - return m.Version +func (x *LibraryResolveDependenciesReq) GetVersion() string { + if x != nil { + return x.Version } return "" } type LibraryResolveDependenciesResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Dependencies of the library. - Dependencies []*LibraryDependencyStatus `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Dependencies []*LibraryDependencyStatus `protobuf:"bytes,1,rep,name=dependencies,proto3" json:"dependencies,omitempty"` } -func (m *LibraryResolveDependenciesResp) Reset() { *m = LibraryResolveDependenciesResp{} } -func (m *LibraryResolveDependenciesResp) String() string { return proto.CompactTextString(m) } -func (*LibraryResolveDependenciesResp) ProtoMessage() {} -func (*LibraryResolveDependenciesResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{9} +func (x *LibraryResolveDependenciesResp) Reset() { + *x = LibraryResolveDependenciesResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryResolveDependenciesResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryResolveDependenciesResp.Unmarshal(m, b) -} -func (m *LibraryResolveDependenciesResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryResolveDependenciesResp.Marshal(b, m, deterministic) -} -func (m *LibraryResolveDependenciesResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryResolveDependenciesResp.Merge(m, src) +func (x *LibraryResolveDependenciesResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryResolveDependenciesResp) XXX_Size() int { - return xxx_messageInfo_LibraryResolveDependenciesResp.Size(m) -} -func (m *LibraryResolveDependenciesResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryResolveDependenciesResp.DiscardUnknown(m) + +func (*LibraryResolveDependenciesResp) ProtoMessage() {} + +func (x *LibraryResolveDependenciesResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[9] + 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) } -var xxx_messageInfo_LibraryResolveDependenciesResp proto.InternalMessageInfo +// Deprecated: Use LibraryResolveDependenciesResp.ProtoReflect.Descriptor instead. +func (*LibraryResolveDependenciesResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{9} +} -func (m *LibraryResolveDependenciesResp) GetDependencies() []*LibraryDependencyStatus { - if m != nil { - return m.Dependencies +func (x *LibraryResolveDependenciesResp) GetDependencies() []*LibraryDependencyStatus { + if x != nil { + return x.Dependencies } return nil } type LibraryDependencyStatus struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The name of the library dependency. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The required version of the library dependency. VersionRequired string `protobuf:"bytes,2,opt,name=versionRequired,proto3" json:"versionRequired,omitempty"` // Version of the library dependency currently installed. - VersionInstalled string `protobuf:"bytes,3,opt,name=versionInstalled,proto3" json:"versionInstalled,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VersionInstalled string `protobuf:"bytes,3,opt,name=versionInstalled,proto3" json:"versionInstalled,omitempty"` } -func (m *LibraryDependencyStatus) Reset() { *m = LibraryDependencyStatus{} } -func (m *LibraryDependencyStatus) String() string { return proto.CompactTextString(m) } -func (*LibraryDependencyStatus) ProtoMessage() {} -func (*LibraryDependencyStatus) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{10} +func (x *LibraryDependencyStatus) Reset() { + *x = LibraryDependencyStatus{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[10] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryDependencyStatus) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryDependencyStatus.Unmarshal(m, b) -} -func (m *LibraryDependencyStatus) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryDependencyStatus.Marshal(b, m, deterministic) -} -func (m *LibraryDependencyStatus) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryDependencyStatus.Merge(m, src) -} -func (m *LibraryDependencyStatus) XXX_Size() int { - return xxx_messageInfo_LibraryDependencyStatus.Size(m) +func (x *LibraryDependencyStatus) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryDependencyStatus) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryDependencyStatus.DiscardUnknown(m) + +func (*LibraryDependencyStatus) ProtoMessage() {} + +func (x *LibraryDependencyStatus) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[10] + 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) } -var xxx_messageInfo_LibraryDependencyStatus proto.InternalMessageInfo +// Deprecated: Use LibraryDependencyStatus.ProtoReflect.Descriptor instead. +func (*LibraryDependencyStatus) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{10} +} -func (m *LibraryDependencyStatus) GetName() string { - if m != nil { - return m.Name +func (x *LibraryDependencyStatus) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *LibraryDependencyStatus) GetVersionRequired() string { - if m != nil { - return m.VersionRequired +func (x *LibraryDependencyStatus) GetVersionRequired() string { + if x != nil { + return x.VersionRequired } return "" } -func (m *LibraryDependencyStatus) GetVersionInstalled() string { - if m != nil { - return m.VersionInstalled +func (x *LibraryDependencyStatus) GetVersionInstalled() string { + if x != nil { + return x.VersionInstalled } return "" } type LibrarySearchReq 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"` // The search query. - Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Query string `protobuf:"bytes,2,opt,name=query,proto3" json:"query,omitempty"` } -func (m *LibrarySearchReq) Reset() { *m = LibrarySearchReq{} } -func (m *LibrarySearchReq) String() string { return proto.CompactTextString(m) } -func (*LibrarySearchReq) ProtoMessage() {} -func (*LibrarySearchReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{11} +func (x *LibrarySearchReq) Reset() { + *x = LibrarySearchReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[11] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibrarySearchReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibrarySearchReq.Unmarshal(m, b) -} -func (m *LibrarySearchReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibrarySearchReq.Marshal(b, m, deterministic) +func (x *LibrarySearchReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibrarySearchReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibrarySearchReq.Merge(m, src) -} -func (m *LibrarySearchReq) XXX_Size() int { - return xxx_messageInfo_LibrarySearchReq.Size(m) -} -func (m *LibrarySearchReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibrarySearchReq.DiscardUnknown(m) + +func (*LibrarySearchReq) ProtoMessage() {} + +func (x *LibrarySearchReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[11] + 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) } -var xxx_messageInfo_LibrarySearchReq proto.InternalMessageInfo +// Deprecated: Use LibrarySearchReq.ProtoReflect.Descriptor instead. +func (*LibrarySearchReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{11} +} -func (m *LibrarySearchReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibrarySearchReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *LibrarySearchReq) GetQuery() string { - if m != nil { - return m.Query +func (x *LibrarySearchReq) GetQuery() string { + if x != nil { + return x.Query } return "" } type LibrarySearchResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The results of the search. Libraries []*SearchedLibrary `protobuf:"bytes,1,rep,name=libraries,proto3" json:"libraries,omitempty"` // Whether the search yielded results. - Status LibrarySearchStatus `protobuf:"varint,2,opt,name=status,proto3,enum=cc.arduino.cli.commands.LibrarySearchStatus" json:"status,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Status LibrarySearchStatus `protobuf:"varint,2,opt,name=status,proto3,enum=cc.arduino.cli.commands.LibrarySearchStatus" json:"status,omitempty"` } -func (m *LibrarySearchResp) Reset() { *m = LibrarySearchResp{} } -func (m *LibrarySearchResp) String() string { return proto.CompactTextString(m) } -func (*LibrarySearchResp) ProtoMessage() {} -func (*LibrarySearchResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{12} +func (x *LibrarySearchResp) Reset() { + *x = LibrarySearchResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[12] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibrarySearchResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibrarySearchResp.Unmarshal(m, b) -} -func (m *LibrarySearchResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibrarySearchResp.Marshal(b, m, deterministic) -} -func (m *LibrarySearchResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibrarySearchResp.Merge(m, src) -} -func (m *LibrarySearchResp) XXX_Size() int { - return xxx_messageInfo_LibrarySearchResp.Size(m) +func (x *LibrarySearchResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibrarySearchResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibrarySearchResp.DiscardUnknown(m) + +func (*LibrarySearchResp) ProtoMessage() {} + +func (x *LibrarySearchResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[12] + 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) } -var xxx_messageInfo_LibrarySearchResp proto.InternalMessageInfo +// Deprecated: Use LibrarySearchResp.ProtoReflect.Descriptor instead. +func (*LibrarySearchResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{12} +} -func (m *LibrarySearchResp) GetLibraries() []*SearchedLibrary { - if m != nil { - return m.Libraries +func (x *LibrarySearchResp) GetLibraries() []*SearchedLibrary { + if x != nil { + return x.Libraries } return nil } -func (m *LibrarySearchResp) GetStatus() LibrarySearchStatus { - if m != nil { - return m.Status +func (x *LibrarySearchResp) GetStatus() LibrarySearchStatus { + if x != nil { + return x.Status } return LibrarySearchStatus_failed } type SearchedLibrary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Library name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // The index data for the available versions of the library. The key of the // map is the library version. Releases map[string]*LibraryRelease `protobuf:"bytes,2,rep,name=releases,proto3" json:"releases,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // The index data for the latest version of the library. - Latest *LibraryRelease `protobuf:"bytes,3,opt,name=latest,proto3" json:"latest,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Latest *LibraryRelease `protobuf:"bytes,3,opt,name=latest,proto3" json:"latest,omitempty"` } -func (m *SearchedLibrary) Reset() { *m = SearchedLibrary{} } -func (m *SearchedLibrary) String() string { return proto.CompactTextString(m) } -func (*SearchedLibrary) ProtoMessage() {} -func (*SearchedLibrary) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{13} +func (x *SearchedLibrary) Reset() { + *x = SearchedLibrary{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[13] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SearchedLibrary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SearchedLibrary.Unmarshal(m, b) +func (x *SearchedLibrary) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *SearchedLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SearchedLibrary.Marshal(b, m, deterministic) -} -func (m *SearchedLibrary) XXX_Merge(src proto.Message) { - xxx_messageInfo_SearchedLibrary.Merge(m, src) -} -func (m *SearchedLibrary) XXX_Size() int { - return xxx_messageInfo_SearchedLibrary.Size(m) -} -func (m *SearchedLibrary) XXX_DiscardUnknown() { - xxx_messageInfo_SearchedLibrary.DiscardUnknown(m) + +func (*SearchedLibrary) ProtoMessage() {} + +func (x *SearchedLibrary) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[13] + 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) } -var xxx_messageInfo_SearchedLibrary proto.InternalMessageInfo +// Deprecated: Use SearchedLibrary.ProtoReflect.Descriptor instead. +func (*SearchedLibrary) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{13} +} -func (m *SearchedLibrary) GetName() string { - if m != nil { - return m.Name +func (x *SearchedLibrary) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *SearchedLibrary) GetReleases() map[string]*LibraryRelease { - if m != nil { - return m.Releases +func (x *SearchedLibrary) GetReleases() map[string]*LibraryRelease { + if x != nil { + return x.Releases } return nil } -func (m *SearchedLibrary) GetLatest() *LibraryRelease { - if m != nil { - return m.Latest +func (x *SearchedLibrary) GetLatest() *LibraryRelease { + if x != nil { + return x.Latest } return nil } type LibraryRelease struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Value of the `author` field in library.properties. Author string `protobuf:"bytes,1,opt,name=author,proto3" json:"author,omitempty"` // Value of the `version` field in library.properties. @@ -846,178 +1045,194 @@ type LibraryRelease struct { ProvidesIncludes []string `protobuf:"bytes,12,rep,name=provides_includes,json=providesIncludes,proto3" json:"provides_includes,omitempty"` // The names of the library's dependencies, as defined by the 'depends' // field of library.properties. - Dependencies []*LibraryDependency `protobuf:"bytes,13,rep,name=dependencies,proto3" json:"dependencies,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Dependencies []*LibraryDependency `protobuf:"bytes,13,rep,name=dependencies,proto3" json:"dependencies,omitempty"` } -func (m *LibraryRelease) Reset() { *m = LibraryRelease{} } -func (m *LibraryRelease) String() string { return proto.CompactTextString(m) } -func (*LibraryRelease) ProtoMessage() {} -func (*LibraryRelease) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{14} +func (x *LibraryRelease) Reset() { + *x = LibraryRelease{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[14] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryRelease) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryRelease.Unmarshal(m, b) -} -func (m *LibraryRelease) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryRelease.Marshal(b, m, deterministic) +func (x *LibraryRelease) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryRelease) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryRelease.Merge(m, src) -} -func (m *LibraryRelease) XXX_Size() int { - return xxx_messageInfo_LibraryRelease.Size(m) -} -func (m *LibraryRelease) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryRelease.DiscardUnknown(m) + +func (*LibraryRelease) ProtoMessage() {} + +func (x *LibraryRelease) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[14] + 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) } -var xxx_messageInfo_LibraryRelease proto.InternalMessageInfo +// Deprecated: Use LibraryRelease.ProtoReflect.Descriptor instead. +func (*LibraryRelease) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{14} +} -func (m *LibraryRelease) GetAuthor() string { - if m != nil { - return m.Author +func (x *LibraryRelease) GetAuthor() string { + if x != nil { + return x.Author } return "" } -func (m *LibraryRelease) GetVersion() string { - if m != nil { - return m.Version +func (x *LibraryRelease) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *LibraryRelease) GetMaintainer() string { - if m != nil { - return m.Maintainer +func (x *LibraryRelease) GetMaintainer() string { + if x != nil { + return x.Maintainer } return "" } -func (m *LibraryRelease) GetSentence() string { - if m != nil { - return m.Sentence +func (x *LibraryRelease) GetSentence() string { + if x != nil { + return x.Sentence } return "" } -func (m *LibraryRelease) GetParagraph() string { - if m != nil { - return m.Paragraph +func (x *LibraryRelease) GetParagraph() string { + if x != nil { + return x.Paragraph } return "" } -func (m *LibraryRelease) GetWebsite() string { - if m != nil { - return m.Website +func (x *LibraryRelease) GetWebsite() string { + if x != nil { + return x.Website } return "" } -func (m *LibraryRelease) GetCategory() string { - if m != nil { - return m.Category +func (x *LibraryRelease) GetCategory() string { + if x != nil { + return x.Category } return "" } -func (m *LibraryRelease) GetArchitectures() []string { - if m != nil { - return m.Architectures +func (x *LibraryRelease) GetArchitectures() []string { + if x != nil { + return x.Architectures } return nil } -func (m *LibraryRelease) GetTypes() []string { - if m != nil { - return m.Types +func (x *LibraryRelease) GetTypes() []string { + if x != nil { + return x.Types } return nil } -func (m *LibraryRelease) GetResources() *DownloadResource { - if m != nil { - return m.Resources +func (x *LibraryRelease) GetResources() *DownloadResource { + if x != nil { + return x.Resources } return nil } -func (m *LibraryRelease) GetLicense() string { - if m != nil { - return m.License +func (x *LibraryRelease) GetLicense() string { + if x != nil { + return x.License } return "" } -func (m *LibraryRelease) GetProvidesIncludes() []string { - if m != nil { - return m.ProvidesIncludes +func (x *LibraryRelease) GetProvidesIncludes() []string { + if x != nil { + return x.ProvidesIncludes } return nil } -func (m *LibraryRelease) GetDependencies() []*LibraryDependency { - if m != nil { - return m.Dependencies +func (x *LibraryRelease) GetDependencies() []*LibraryDependency { + if x != nil { + return x.Dependencies } return nil } type LibraryDependency struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Library name of the dependency. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Version constraint of the dependency. - VersionConstraint string `protobuf:"bytes,2,opt,name=version_constraint,json=versionConstraint,proto3" json:"version_constraint,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + VersionConstraint string `protobuf:"bytes,2,opt,name=version_constraint,json=versionConstraint,proto3" json:"version_constraint,omitempty"` } -func (m *LibraryDependency) Reset() { *m = LibraryDependency{} } -func (m *LibraryDependency) String() string { return proto.CompactTextString(m) } -func (*LibraryDependency) ProtoMessage() {} -func (*LibraryDependency) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{15} +func (x *LibraryDependency) Reset() { + *x = LibraryDependency{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[15] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryDependency) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryDependency.Unmarshal(m, b) -} -func (m *LibraryDependency) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryDependency.Marshal(b, m, deterministic) -} -func (m *LibraryDependency) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryDependency.Merge(m, src) -} -func (m *LibraryDependency) XXX_Size() int { - return xxx_messageInfo_LibraryDependency.Size(m) +func (x *LibraryDependency) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryDependency) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryDependency.DiscardUnknown(m) + +func (*LibraryDependency) ProtoMessage() {} + +func (x *LibraryDependency) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[15] + 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) } -var xxx_messageInfo_LibraryDependency proto.InternalMessageInfo +// Deprecated: Use LibraryDependency.ProtoReflect.Descriptor instead. +func (*LibraryDependency) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{15} +} -func (m *LibraryDependency) GetName() string { - if m != nil { - return m.Name +func (x *LibraryDependency) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *LibraryDependency) GetVersionConstraint() string { - if m != nil { - return m.VersionConstraint +func (x *LibraryDependency) GetVersionConstraint() string { + if x != nil { + return x.VersionConstraint } return "" } type DownloadResource struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Download URL of the library archive. Url string `protobuf:"bytes,1,opt,name=url,proto3" json:"url,omitempty"` // Filename of the library archive. @@ -1028,73 +1243,81 @@ type DownloadResource struct { Size int64 `protobuf:"varint,4,opt,name=size,proto3" json:"size,omitempty"` // The directory under the staging subdirectory of the data directory the // library archive file will be downloaded to. - Cachepath string `protobuf:"bytes,5,opt,name=cachepath,proto3" json:"cachepath,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Cachepath string `protobuf:"bytes,5,opt,name=cachepath,proto3" json:"cachepath,omitempty"` } -func (m *DownloadResource) Reset() { *m = DownloadResource{} } -func (m *DownloadResource) String() string { return proto.CompactTextString(m) } -func (*DownloadResource) ProtoMessage() {} -func (*DownloadResource) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{16} +func (x *DownloadResource) Reset() { + *x = DownloadResource{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[16] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DownloadResource) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DownloadResource.Unmarshal(m, b) +func (x *DownloadResource) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DownloadResource) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DownloadResource.Marshal(b, m, deterministic) -} -func (m *DownloadResource) XXX_Merge(src proto.Message) { - xxx_messageInfo_DownloadResource.Merge(m, src) -} -func (m *DownloadResource) XXX_Size() int { - return xxx_messageInfo_DownloadResource.Size(m) -} -func (m *DownloadResource) XXX_DiscardUnknown() { - xxx_messageInfo_DownloadResource.DiscardUnknown(m) + +func (*DownloadResource) ProtoMessage() {} + +func (x *DownloadResource) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[16] + 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) } -var xxx_messageInfo_DownloadResource proto.InternalMessageInfo +// Deprecated: Use DownloadResource.ProtoReflect.Descriptor instead. +func (*DownloadResource) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{16} +} -func (m *DownloadResource) GetUrl() string { - if m != nil { - return m.Url +func (x *DownloadResource) GetUrl() string { + if x != nil { + return x.Url } return "" } -func (m *DownloadResource) GetArchivefilename() string { - if m != nil { - return m.Archivefilename +func (x *DownloadResource) GetArchivefilename() string { + if x != nil { + return x.Archivefilename } return "" } -func (m *DownloadResource) GetChecksum() string { - if m != nil { - return m.Checksum +func (x *DownloadResource) GetChecksum() string { + if x != nil { + return x.Checksum } return "" } -func (m *DownloadResource) GetSize() int64 { - if m != nil { - return m.Size +func (x *DownloadResource) GetSize() int64 { + if x != nil { + return x.Size } return 0 } -func (m *DownloadResource) GetCachepath() string { - if m != nil { - return m.Cachepath +func (x *DownloadResource) GetCachepath() string { + if x != nil { + return x.Cachepath } return "" } type LibraryListReq 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"` // Whether to include built-in libraries (from platforms and the Arduino @@ -1102,150 +1325,174 @@ type LibraryListReq struct { All bool `protobuf:"varint,2,opt,name=all,proto3" json:"all,omitempty"` // Whether to list only libraries for which there is a newer version than // the installed version available in the libraries index. - Updatable bool `protobuf:"varint,3,opt,name=updatable,proto3" json:"updatable,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Updatable bool `protobuf:"varint,3,opt,name=updatable,proto3" json:"updatable,omitempty"` } -func (m *LibraryListReq) Reset() { *m = LibraryListReq{} } -func (m *LibraryListReq) String() string { return proto.CompactTextString(m) } -func (*LibraryListReq) ProtoMessage() {} -func (*LibraryListReq) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{17} +func (x *LibraryListReq) Reset() { + *x = LibraryListReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[17] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryListReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryListReq.Unmarshal(m, b) -} -func (m *LibraryListReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryListReq.Marshal(b, m, deterministic) -} -func (m *LibraryListReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryListReq.Merge(m, src) +func (x *LibraryListReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryListReq) XXX_Size() int { - return xxx_messageInfo_LibraryListReq.Size(m) -} -func (m *LibraryListReq) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryListReq.DiscardUnknown(m) + +func (*LibraryListReq) ProtoMessage() {} + +func (x *LibraryListReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[17] + 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) } -var xxx_messageInfo_LibraryListReq proto.InternalMessageInfo +// Deprecated: Use LibraryListReq.ProtoReflect.Descriptor instead. +func (*LibraryListReq) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{17} +} -func (m *LibraryListReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *LibraryListReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *LibraryListReq) GetAll() bool { - if m != nil { - return m.All +func (x *LibraryListReq) GetAll() bool { + if x != nil { + return x.All } return false } -func (m *LibraryListReq) GetUpdatable() bool { - if m != nil { - return m.Updatable +func (x *LibraryListReq) GetUpdatable() bool { + if x != nil { + return x.Updatable } return false } type LibraryListResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // List of installed libraries. - InstalledLibrary []*InstalledLibrary `protobuf:"bytes,1,rep,name=installed_library,json=installedLibrary,proto3" json:"installed_library,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + InstalledLibrary []*InstalledLibrary `protobuf:"bytes,1,rep,name=installed_library,json=installedLibrary,proto3" json:"installed_library,omitempty"` } -func (m *LibraryListResp) Reset() { *m = LibraryListResp{} } -func (m *LibraryListResp) String() string { return proto.CompactTextString(m) } -func (*LibraryListResp) ProtoMessage() {} -func (*LibraryListResp) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{18} +func (x *LibraryListResp) Reset() { + *x = LibraryListResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[18] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *LibraryListResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_LibraryListResp.Unmarshal(m, b) -} -func (m *LibraryListResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_LibraryListResp.Marshal(b, m, deterministic) -} -func (m *LibraryListResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_LibraryListResp.Merge(m, src) +func (x *LibraryListResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *LibraryListResp) XXX_Size() int { - return xxx_messageInfo_LibraryListResp.Size(m) -} -func (m *LibraryListResp) XXX_DiscardUnknown() { - xxx_messageInfo_LibraryListResp.DiscardUnknown(m) + +func (*LibraryListResp) ProtoMessage() {} + +func (x *LibraryListResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[18] + 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) } -var xxx_messageInfo_LibraryListResp proto.InternalMessageInfo +// Deprecated: Use LibraryListResp.ProtoReflect.Descriptor instead. +func (*LibraryListResp) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{18} +} -func (m *LibraryListResp) GetInstalledLibrary() []*InstalledLibrary { - if m != nil { - return m.InstalledLibrary +func (x *LibraryListResp) GetInstalledLibrary() []*InstalledLibrary { + if x != nil { + return x.InstalledLibrary } return nil } type InstalledLibrary struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Information about the library. Library *Library `protobuf:"bytes,1,opt,name=library,proto3" json:"library,omitempty"` // When the `updatable` field of the `LibraryList` request is set to `true`, // this will contain information on the latest version of the library in the // libraries index. - Release *LibraryRelease `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Release *LibraryRelease `protobuf:"bytes,2,opt,name=release,proto3" json:"release,omitempty"` } -func (m *InstalledLibrary) Reset() { *m = InstalledLibrary{} } -func (m *InstalledLibrary) String() string { return proto.CompactTextString(m) } -func (*InstalledLibrary) ProtoMessage() {} -func (*InstalledLibrary) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{19} +func (x *InstalledLibrary) Reset() { + *x = InstalledLibrary{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[19] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *InstalledLibrary) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_InstalledLibrary.Unmarshal(m, b) -} -func (m *InstalledLibrary) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_InstalledLibrary.Marshal(b, m, deterministic) +func (x *InstalledLibrary) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *InstalledLibrary) XXX_Merge(src proto.Message) { - xxx_messageInfo_InstalledLibrary.Merge(m, src) -} -func (m *InstalledLibrary) XXX_Size() int { - return xxx_messageInfo_InstalledLibrary.Size(m) -} -func (m *InstalledLibrary) XXX_DiscardUnknown() { - xxx_messageInfo_InstalledLibrary.DiscardUnknown(m) + +func (*InstalledLibrary) ProtoMessage() {} + +func (x *InstalledLibrary) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[19] + 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) } -var xxx_messageInfo_InstalledLibrary proto.InternalMessageInfo +// Deprecated: Use InstalledLibrary.ProtoReflect.Descriptor instead. +func (*InstalledLibrary) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{19} +} -func (m *InstalledLibrary) GetLibrary() *Library { - if m != nil { - return m.Library +func (x *InstalledLibrary) GetLibrary() *Library { + if x != nil { + return x.Library } return nil } -func (m *InstalledLibrary) GetRelease() *LibraryRelease { - if m != nil { - return m.Release +func (x *InstalledLibrary) GetRelease() *LibraryRelease { + if x != nil { + return x.Release } return nil } type Library struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The library's directory name. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Value of the `author` field in library.properties. @@ -1295,312 +1542,835 @@ type Library struct { // The location type of the library installation. Location LibraryLocation `protobuf:"varint,24,opt,name=location,proto3,enum=cc.arduino.cli.commands.LibraryLocation" json:"location,omitempty"` // The library format type. - Layout LibraryLayout `protobuf:"varint,25,opt,name=layout,proto3,enum=cc.arduino.cli.commands.LibraryLayout" json:"layout,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Layout LibraryLayout `protobuf:"varint,25,opt,name=layout,proto3,enum=cc.arduino.cli.commands.LibraryLayout" json:"layout,omitempty"` } -func (m *Library) Reset() { *m = Library{} } -func (m *Library) String() string { return proto.CompactTextString(m) } -func (*Library) ProtoMessage() {} -func (*Library) Descriptor() ([]byte, []int) { - return fileDescriptor_9feed0d29806df6c, []int{20} +func (x *Library) Reset() { + *x = Library{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_lib_proto_msgTypes[20] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Library) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Library.Unmarshal(m, b) -} -func (m *Library) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Library.Marshal(b, m, deterministic) -} -func (m *Library) XXX_Merge(src proto.Message) { - xxx_messageInfo_Library.Merge(m, src) +func (x *Library) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Library) XXX_Size() int { - return xxx_messageInfo_Library.Size(m) -} -func (m *Library) XXX_DiscardUnknown() { - xxx_messageInfo_Library.DiscardUnknown(m) + +func (*Library) ProtoMessage() {} + +func (x *Library) ProtoReflect() protoreflect.Message { + mi := &file_commands_lib_proto_msgTypes[20] + 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) } -var xxx_messageInfo_Library proto.InternalMessageInfo +// Deprecated: Use Library.ProtoReflect.Descriptor instead. +func (*Library) Descriptor() ([]byte, []int) { + return file_commands_lib_proto_rawDescGZIP(), []int{20} +} -func (m *Library) GetName() string { - if m != nil { - return m.Name +func (x *Library) GetName() string { + if x != nil { + return x.Name } return "" } -func (m *Library) GetAuthor() string { - if m != nil { - return m.Author +func (x *Library) GetAuthor() string { + if x != nil { + return x.Author } return "" } -func (m *Library) GetMaintainer() string { - if m != nil { - return m.Maintainer +func (x *Library) GetMaintainer() string { + if x != nil { + return x.Maintainer } return "" } -func (m *Library) GetSentence() string { - if m != nil { - return m.Sentence +func (x *Library) GetSentence() string { + if x != nil { + return x.Sentence } return "" } -func (m *Library) GetParagraph() string { - if m != nil { - return m.Paragraph +func (x *Library) GetParagraph() string { + if x != nil { + return x.Paragraph } return "" } -func (m *Library) GetWebsite() string { - if m != nil { - return m.Website +func (x *Library) GetWebsite() string { + if x != nil { + return x.Website } return "" } -func (m *Library) GetCategory() string { - if m != nil { - return m.Category +func (x *Library) GetCategory() string { + if x != nil { + return x.Category } return "" } -func (m *Library) GetArchitectures() []string { - if m != nil { - return m.Architectures +func (x *Library) GetArchitectures() []string { + if x != nil { + return x.Architectures } return nil } -func (m *Library) GetTypes() []string { - if m != nil { - return m.Types +func (x *Library) GetTypes() []string { + if x != nil { + return x.Types } return nil } -func (m *Library) GetInstallDir() string { - if m != nil { - return m.InstallDir +func (x *Library) GetInstallDir() string { + if x != nil { + return x.InstallDir } return "" } -func (m *Library) GetSourceDir() string { - if m != nil { - return m.SourceDir +func (x *Library) GetSourceDir() string { + if x != nil { + return x.SourceDir } return "" } -func (m *Library) GetUtilityDir() string { - if m != nil { - return m.UtilityDir +func (x *Library) GetUtilityDir() string { + if x != nil { + return x.UtilityDir } return "" } -func (m *Library) GetContainerPlatform() string { - if m != nil { - return m.ContainerPlatform +func (x *Library) GetContainerPlatform() string { + if x != nil { + return x.ContainerPlatform } return "" } -func (m *Library) GetRealName() string { - if m != nil { - return m.RealName +func (x *Library) GetRealName() string { + if x != nil { + return x.RealName } return "" } -func (m *Library) GetDotALinkage() bool { - if m != nil { - return m.DotALinkage +func (x *Library) GetDotALinkage() bool { + if x != nil { + return x.DotALinkage } return false } -func (m *Library) GetPrecompiled() bool { - if m != nil { - return m.Precompiled +func (x *Library) GetPrecompiled() bool { + if x != nil { + return x.Precompiled } return false } -func (m *Library) GetLdFlags() string { - if m != nil { - return m.LdFlags +func (x *Library) GetLdFlags() string { + if x != nil { + return x.LdFlags } return "" } -func (m *Library) GetIsLegacy() bool { - if m != nil { - return m.IsLegacy +func (x *Library) GetIsLegacy() bool { + if x != nil { + return x.IsLegacy } return false } -func (m *Library) GetVersion() string { - if m != nil { - return m.Version +func (x *Library) GetVersion() string { + if x != nil { + return x.Version } return "" } -func (m *Library) GetLicense() string { - if m != nil { - return m.License +func (x *Library) GetLicense() string { + if x != nil { + return x.License } return "" } -func (m *Library) GetProperties() map[string]string { - if m != nil { - return m.Properties +func (x *Library) GetProperties() map[string]string { + if x != nil { + return x.Properties } return nil } -func (m *Library) GetLocation() LibraryLocation { - if m != nil { - return m.Location +func (x *Library) GetLocation() LibraryLocation { + if x != nil { + return x.Location } return LibraryLocation_ide_builtin } -func (m *Library) GetLayout() LibraryLayout { - if m != nil { - return m.Layout +func (x *Library) GetLayout() LibraryLayout { + if x != nil { + return x.Layout } return LibraryLayout_flat_layout } -func init() { - proto.RegisterEnum("cc.arduino.cli.commands.LibrarySearchStatus", LibrarySearchStatus_name, LibrarySearchStatus_value) - proto.RegisterEnum("cc.arduino.cli.commands.LibraryLayout", LibraryLayout_name, LibraryLayout_value) - proto.RegisterEnum("cc.arduino.cli.commands.LibraryLocation", LibraryLocation_name, LibraryLocation_value) - proto.RegisterType((*LibraryDownloadReq)(nil), "cc.arduino.cli.commands.LibraryDownloadReq") - proto.RegisterType((*LibraryDownloadResp)(nil), "cc.arduino.cli.commands.LibraryDownloadResp") - proto.RegisterType((*LibraryInstallReq)(nil), "cc.arduino.cli.commands.LibraryInstallReq") - proto.RegisterType((*LibraryInstallResp)(nil), "cc.arduino.cli.commands.LibraryInstallResp") - proto.RegisterType((*LibraryUninstallReq)(nil), "cc.arduino.cli.commands.LibraryUninstallReq") - proto.RegisterType((*LibraryUninstallResp)(nil), "cc.arduino.cli.commands.LibraryUninstallResp") - proto.RegisterType((*LibraryUpgradeAllReq)(nil), "cc.arduino.cli.commands.LibraryUpgradeAllReq") - proto.RegisterType((*LibraryUpgradeAllResp)(nil), "cc.arduino.cli.commands.LibraryUpgradeAllResp") - proto.RegisterType((*LibraryResolveDependenciesReq)(nil), "cc.arduino.cli.commands.LibraryResolveDependenciesReq") - proto.RegisterType((*LibraryResolveDependenciesResp)(nil), "cc.arduino.cli.commands.LibraryResolveDependenciesResp") - proto.RegisterType((*LibraryDependencyStatus)(nil), "cc.arduino.cli.commands.LibraryDependencyStatus") - proto.RegisterType((*LibrarySearchReq)(nil), "cc.arduino.cli.commands.LibrarySearchReq") - proto.RegisterType((*LibrarySearchResp)(nil), "cc.arduino.cli.commands.LibrarySearchResp") - proto.RegisterType((*SearchedLibrary)(nil), "cc.arduino.cli.commands.SearchedLibrary") - proto.RegisterMapType((map[string]*LibraryRelease)(nil), "cc.arduino.cli.commands.SearchedLibrary.ReleasesEntry") - proto.RegisterType((*LibraryRelease)(nil), "cc.arduino.cli.commands.LibraryRelease") - proto.RegisterType((*LibraryDependency)(nil), "cc.arduino.cli.commands.LibraryDependency") - proto.RegisterType((*DownloadResource)(nil), "cc.arduino.cli.commands.DownloadResource") - proto.RegisterType((*LibraryListReq)(nil), "cc.arduino.cli.commands.LibraryListReq") - proto.RegisterType((*LibraryListResp)(nil), "cc.arduino.cli.commands.LibraryListResp") - proto.RegisterType((*InstalledLibrary)(nil), "cc.arduino.cli.commands.InstalledLibrary") - proto.RegisterType((*Library)(nil), "cc.arduino.cli.commands.Library") - proto.RegisterMapType((map[string]string)(nil), "cc.arduino.cli.commands.Library.PropertiesEntry") -} - -func init() { proto.RegisterFile("commands/lib.proto", fileDescriptor_9feed0d29806df6c) } - -var fileDescriptor_9feed0d29806df6c = []byte{ - // 1318 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xdc, 0x58, 0xcb, 0x6f, 0xdb, 0x46, - 0x13, 0x0f, 0xad, 0x44, 0x96, 0x46, 0x76, 0x4c, 0x6f, 0x9c, 0x84, 0x71, 0xbe, 0x24, 0xfe, 0x88, - 0x3e, 0x14, 0xa7, 0x96, 0x0b, 0x17, 0x08, 0x8a, 0x00, 0x69, 0x91, 0xd6, 0x49, 0x91, 0xc2, 0x08, - 0x0c, 0xe6, 0x71, 0x28, 0x0a, 0x10, 0x2b, 0x72, 0x2c, 0x2f, 0xbc, 0x22, 0x99, 0xdd, 0xa5, 0x02, - 0xf5, 0xd2, 0xd7, 0xb5, 0x97, 0xde, 0x7b, 0x68, 0x4f, 0x05, 0xfa, 0xc7, 0xf5, 0xda, 0x6b, 0xb1, - 0xcb, 0x25, 0x45, 0xc9, 0x76, 0xec, 0x16, 0x46, 0x5a, 0xf4, 0x64, 0xce, 0xfb, 0x37, 0x3b, 0xb3, - 0x3f, 0x52, 0x06, 0x12, 0xa5, 0xc3, 0x21, 0x4d, 0x62, 0xb9, 0xc9, 0x59, 0xbf, 0x97, 0x89, 0x54, - 0xa5, 0xe4, 0x6a, 0x14, 0xf5, 0xa8, 0x88, 0x73, 0x96, 0xa4, 0xbd, 0x88, 0xb3, 0x5e, 0xe9, 0xb2, - 0x7a, 0xb9, 0x72, 0xd6, 0x0f, 0x69, 0x52, 0xf8, 0xfb, 0xdf, 0x3a, 0x40, 0x76, 0x58, 0x5f, 0x50, - 0x31, 0xde, 0x4e, 0x5f, 0x25, 0x3c, 0xa5, 0x71, 0x80, 0x2f, 0xc9, 0x7d, 0x68, 0xb1, 0x44, 0x2a, - 0x9a, 0x44, 0xe8, 0x39, 0x6b, 0x4e, 0xb7, 0xb3, 0xf5, 0xff, 0xde, 0x31, 0x99, 0x7b, 0x8f, 0xad, - 0x63, 0x50, 0x85, 0x10, 0x02, 0xe7, 0x13, 0x3a, 0x44, 0x6f, 0x6e, 0xcd, 0xe9, 0xb6, 0x03, 0xf3, - 0x4c, 0x3c, 0x98, 0x1f, 0xa1, 0x90, 0x2c, 0x4d, 0xbc, 0x86, 0x51, 0x97, 0xa2, 0xff, 0x25, 0x5c, - 0x3a, 0x04, 0x41, 0x66, 0xe4, 0x21, 0xb4, 0x32, 0x91, 0x0e, 0x04, 0x4a, 0x69, 0x31, 0xdc, 0x3e, - 0x16, 0x43, 0x19, 0xb8, 0x6b, 0x03, 0x82, 0x2a, 0xd4, 0xff, 0xc6, 0x81, 0x65, 0x9b, 0xde, 0x20, - 0xe5, 0xfc, 0x8d, 0x37, 0xf8, 0xeb, 0xe4, 0x90, 0x2b, 0x08, 0x67, 0xd6, 0x20, 0xf9, 0x1c, 0x16, - 0x15, 0x95, 0x07, 0x61, 0x95, 0x6b, 0xce, 0xe4, 0x7a, 0xfb, 0xd8, 0x5c, 0xcf, 0xa8, 0x3c, 0xa8, - 0xf2, 0x2c, 0xa8, 0x9a, 0xe4, 0x7f, 0xe7, 0x54, 0xb3, 0x78, 0x9e, 0xb0, 0x7f, 0xe8, 0xb8, 0xfa, - 0xb0, 0x72, 0x18, 0x83, 0xcc, 0x0e, 0x37, 0xea, 0xfc, 0xfd, 0x46, 0x9f, 0x4f, 0x6a, 0x64, 0x03, - 0x41, 0x63, 0x7c, 0x70, 0x16, 0x8d, 0xfa, 0xbf, 0x39, 0x70, 0xf9, 0x88, 0xbc, 0xff, 0xce, 0x61, - 0xff, 0xe0, 0xc0, 0x0d, 0x0b, 0x36, 0x40, 0x99, 0xf2, 0x11, 0x6e, 0x63, 0x86, 0x49, 0x8c, 0x49, - 0xc4, 0x50, 0xbe, 0xf1, 0xb1, 0x8f, 0xe0, 0xe6, 0xeb, 0xd0, 0xc8, 0x8c, 0x3c, 0x83, 0x85, 0xb8, - 0xa6, 0xf3, 0x9c, 0xb5, 0x46, 0xb7, 0xb3, 0xf5, 0xfe, 0xb1, 0x90, 0x4a, 0x56, 0x29, 0x63, 0xc6, - 0x4f, 0x15, 0x55, 0xb9, 0x0c, 0xa6, 0xb2, 0xf8, 0xdf, 0x3b, 0x70, 0xf5, 0x18, 0xcf, 0xaa, 0x03, - 0xa7, 0xd6, 0x41, 0x17, 0x96, 0x2c, 0xe4, 0x00, 0x5f, 0xe6, 0x4c, 0x60, 0x6c, 0x1b, 0x9c, 0x55, - 0x93, 0x75, 0x70, 0xad, 0xca, 0x5e, 0x7b, 0x8c, 0x6d, 0xd3, 0x87, 0xf4, 0xfe, 0x00, 0x5c, 0x0b, - 0xe2, 0x29, 0x52, 0x11, 0xed, 0x9f, 0xc1, 0xf1, 0xaf, 0xc0, 0x85, 0x97, 0x39, 0x8a, 0xb1, 0x85, - 0x57, 0x08, 0xfe, 0x2f, 0x13, 0x3e, 0x2c, 0x2b, 0xc9, 0x8c, 0x3c, 0x82, 0x36, 0x37, 0xca, 0xc9, - 0xb9, 0x76, 0x8f, 0xad, 0x55, 0xc4, 0x61, 0x5c, 0x8e, 0x6b, 0x12, 0x4a, 0xb6, 0xa1, 0x29, 0xcd, - 0xd1, 0x99, 0xa2, 0x17, 0xb7, 0xde, 0x3b, 0x69, 0x38, 0x45, 0x2e, 0x3b, 0x18, 0x1b, 0xeb, 0xff, - 0x3c, 0x07, 0x4b, 0x33, 0x45, 0x8e, 0x1c, 0x45, 0x00, 0x2d, 0x81, 0x1c, 0xa9, 0x44, 0x5d, 0x4f, - 0x83, 0xbe, 0x7b, 0x5a, 0xd0, 0xbd, 0xc0, 0x06, 0x3e, 0x4c, 0x94, 0x18, 0x07, 0x55, 0x1e, 0xf2, - 0x31, 0x34, 0x39, 0x55, 0x28, 0x95, 0x19, 0x55, 0x67, 0xeb, 0xdd, 0x93, 0x3a, 0xb0, 0x89, 0x02, - 0x1b, 0xb6, 0x1a, 0xc3, 0xe2, 0x54, 0x6e, 0xe2, 0x42, 0xe3, 0x00, 0xc7, 0x16, 0xb8, 0x7e, 0x24, - 0xf7, 0xe1, 0xc2, 0x88, 0xf2, 0x1c, 0xed, 0xed, 0x3d, 0x75, 0x89, 0x22, 0xea, 0xde, 0xdc, 0x87, - 0x8e, 0xff, 0x7b, 0x03, 0x2e, 0x4e, 0x5b, 0xc9, 0x15, 0x68, 0xd2, 0x5c, 0xed, 0xa7, 0xc2, 0x96, - 0xb2, 0x52, 0xfd, 0xca, 0xcd, 0x4d, 0x5d, 0x39, 0x72, 0x13, 0x60, 0x48, 0x59, 0xa2, 0x28, 0x4b, - 0x50, 0xd8, 0xd5, 0xac, 0x69, 0xc8, 0x2a, 0xb4, 0x24, 0x26, 0x0a, 0xf5, 0x02, 0x9e, 0x37, 0xd6, - 0x4a, 0x26, 0xff, 0x83, 0x76, 0x46, 0x05, 0x1d, 0x08, 0x9a, 0xed, 0x7b, 0x17, 0x8c, 0x71, 0xa2, - 0xd0, 0x35, 0x5f, 0x61, 0x5f, 0x32, 0x85, 0x5e, 0xb3, 0xa8, 0x69, 0x45, 0x9d, 0x33, 0xa2, 0x0a, - 0x07, 0xa9, 0x18, 0x7b, 0xf3, 0x45, 0xce, 0x52, 0x26, 0x6f, 0xc1, 0xa2, 0x1e, 0x12, 0x53, 0x18, - 0xa9, 0x5c, 0xa0, 0xf4, 0x5a, 0x6b, 0x8d, 0x6e, 0x3b, 0x98, 0x56, 0xea, 0xbd, 0x56, 0xe3, 0x0c, - 0xa5, 0xd7, 0x36, 0xd6, 0x42, 0x20, 0x9f, 0x41, 0x5b, 0xa0, 0x4c, 0x73, 0x11, 0xa1, 0xf4, 0xe0, - 0x94, 0x0c, 0x1b, 0xd8, 0x88, 0x60, 0x12, 0xab, 0xa1, 0x73, 0x16, 0x61, 0x22, 0xd1, 0xeb, 0x14, - 0xd0, 0xad, 0x48, 0xee, 0xc0, 0x72, 0x26, 0xd2, 0x11, 0x8b, 0x51, 0x86, 0x2c, 0x89, 0x78, 0x1e, - 0xa3, 0xf4, 0x16, 0x0c, 0x08, 0xb7, 0x34, 0x3c, 0xb6, 0x7a, 0xf2, 0x64, 0x86, 0xac, 0x16, 0xcd, - 0x7e, 0xae, 0x9f, 0x9e, 0xac, 0x66, 0x68, 0xea, 0x45, 0x75, 0x6d, 0x27, 0x2e, 0x47, 0x5e, 0x8a, - 0x0d, 0x20, 0x76, 0xbe, 0x61, 0x94, 0x26, 0x52, 0x09, 0x3d, 0x4f, 0x3b, 0xf9, 0x65, 0x6b, 0xf9, - 0xb4, 0x32, 0xf8, 0x3f, 0x39, 0xe0, 0xce, 0x1e, 0x87, 0x5e, 0xd9, 0x5c, 0xf0, 0x72, 0x65, 0x73, - 0xc1, 0x35, 0xeb, 0x99, 0x29, 0x8c, 0x70, 0x8f, 0x71, 0xac, 0xd1, 0xfa, 0xac, 0xda, 0x0c, 0x78, - 0x1f, 0xa3, 0x03, 0x99, 0x0f, 0xed, 0x4a, 0x55, 0xb2, 0xc6, 0x2b, 0xd9, 0x57, 0xc5, 0x32, 0x35, - 0x02, 0xf3, 0xac, 0x17, 0x29, 0xa2, 0xd1, 0x3e, 0x66, 0x54, 0x55, 0x8b, 0x54, 0x29, 0xfc, 0xaf, - 0xab, 0x35, 0xdf, 0x61, 0x52, 0x9d, 0x01, 0x2b, 0xba, 0xd0, 0xa0, 0x9c, 0x1b, 0xf0, 0xad, 0x40, - 0x3f, 0x6a, 0x00, 0x79, 0x16, 0x53, 0x45, 0xfb, 0x1c, 0x0d, 0xe2, 0x56, 0x30, 0x51, 0xf8, 0x0c, - 0x96, 0xa6, 0x00, 0xc8, 0x8c, 0xbc, 0x80, 0x65, 0x56, 0x12, 0x77, 0x58, 0x70, 0xdf, 0xd8, 0x92, - 0xe6, 0xed, 0xd7, 0x43, 0xd1, 0x11, 0xe5, 0xad, 0x75, 0xd9, 0x8c, 0xc6, 0xff, 0xd1, 0x01, 0x77, - 0xd6, 0x8d, 0xdc, 0xd3, 0xeb, 0x58, 0x96, 0xd0, 0xdd, 0xae, 0x9d, 0xc8, 0x16, 0x65, 0x00, 0x79, - 0x00, 0xf3, 0x96, 0xd7, 0xfe, 0x2a, 0xd3, 0x94, 0x71, 0xfe, 0x1f, 0x4d, 0x98, 0x7f, 0x1d, 0x05, - 0x4f, 0x48, 0x67, 0x6e, 0x8a, 0x74, 0xfe, 0x4b, 0xd4, 0x72, 0x0b, 0x3a, 0x76, 0x56, 0x61, 0xcc, - 0x84, 0x21, 0x97, 0x76, 0x00, 0x56, 0xb5, 0xcd, 0x04, 0xb9, 0x01, 0x50, 0x5c, 0x1c, 0x63, 0x2f, - 0x58, 0xa3, 0x5d, 0x68, 0xb4, 0xf9, 0x16, 0x74, 0x72, 0xc5, 0x38, 0x53, 0x63, 0x63, 0x5f, 0x28, - 0xe2, 0xad, 0x4a, 0x3b, 0x6c, 0xe8, 0xdf, 0x72, 0xf6, 0x64, 0xc2, 0x8c, 0x53, 0xb5, 0x97, 0x8a, - 0xa1, 0x77, 0xb1, 0xb8, 0xb2, 0x95, 0x65, 0xd7, 0x1a, 0xc8, 0x75, 0x4d, 0x75, 0x94, 0x87, 0x66, - 0x18, 0x6e, 0xd1, 0xa8, 0x56, 0x3c, 0xd1, 0x03, 0xf1, 0x61, 0x31, 0x4e, 0x55, 0x48, 0x43, 0xce, - 0x92, 0x03, 0x3a, 0x40, 0x6f, 0xd9, 0x6c, 0x74, 0x27, 0x4e, 0xd5, 0x83, 0x9d, 0x42, 0x45, 0xd6, - 0xa0, 0x93, 0x09, 0x8c, 0xd2, 0x61, 0xc6, 0xf4, 0x37, 0x09, 0x29, 0x3c, 0x6a, 0x2a, 0x72, 0x0d, - 0x5a, 0x3c, 0x0e, 0xf7, 0x38, 0x1d, 0x48, 0xef, 0x92, 0x65, 0xc1, 0xf8, 0x91, 0x16, 0x75, 0x75, - 0x26, 0x43, 0x8e, 0x03, 0x1a, 0x8d, 0xbd, 0x15, 0x13, 0xda, 0x62, 0x72, 0xc7, 0xc8, 0xf5, 0x77, - 0xcd, 0xe5, 0xe9, 0x77, 0x4d, 0x8d, 0x56, 0xaf, 0x4c, 0xd3, 0xea, 0x2e, 0x40, 0x26, 0xd2, 0x0c, - 0x85, 0xd2, 0x3c, 0x79, 0xf5, 0x74, 0x1f, 0x75, 0xbd, 0xdd, 0x2a, 0xa4, 0x78, 0x83, 0xd7, 0x72, - 0x90, 0x6d, 0x68, 0xf1, 0x34, 0xa2, 0x4a, 0xc3, 0xf0, 0xcc, 0x77, 0x48, 0xf7, 0xa4, 0x7c, 0x3b, - 0xd6, 0x3f, 0xa8, 0x22, 0xc9, 0x47, 0xfa, 0x4b, 0x60, 0x9c, 0xe6, 0xca, 0xbb, 0x66, 0x72, 0xbc, - 0x73, 0x62, 0x0e, 0xe3, 0x1d, 0xd8, 0xa8, 0xd5, 0xfb, 0xb0, 0x34, 0x03, 0xf2, 0x88, 0x4f, 0x81, - 0x95, 0xfa, 0xa7, 0x40, 0xbb, 0xf6, 0x86, 0x5f, 0xef, 0x55, 0x3f, 0xc5, 0xea, 0xdf, 0x48, 0x04, - 0xa0, 0xb9, 0x47, 0xf5, 0x8c, 0xdc, 0x73, 0xa4, 0x03, 0xf3, 0x32, 0x8f, 0x22, 0x94, 0xd2, 0x75, - 0xd6, 0xef, 0xc2, 0xe2, 0x14, 0x0e, 0xb2, 0x04, 0x9d, 0x3d, 0x4e, 0x55, 0x58, 0xc0, 0x71, 0xcf, - 0x91, 0x15, 0x70, 0x05, 0x46, 0xb9, 0x90, 0x6c, 0x84, 0xa5, 0xd6, 0x59, 0x8f, 0x26, 0x04, 0x57, - 0x76, 0xbe, 0x04, 0x1d, 0x16, 0x63, 0xd8, 0xcf, 0x19, 0x57, 0x2c, 0x71, 0xcf, 0x91, 0x16, 0x9c, - 0xcf, 0x25, 0x0a, 0xd7, 0xd1, 0x39, 0xca, 0x05, 0xad, 0xec, 0x73, 0xe4, 0x16, 0x5c, 0x17, 0xb8, - 0x87, 0x42, 0x5f, 0xdf, 0x38, 0x3c, 0xe4, 0xd0, 0xf8, 0x64, 0xe3, 0x8b, 0x3b, 0x03, 0xa6, 0xf6, - 0xf3, 0xbe, 0x3e, 0xb4, 0x4d, 0x7b, 0x88, 0xe5, 0xdf, 0x8d, 0x88, 0xb3, 0x4d, 0x91, 0x45, 0x9b, - 0xe5, 0x81, 0xf6, 0x9b, 0xe6, 0xbf, 0x13, 0x1f, 0xfc, 0x19, 0x00, 0x00, 0xff, 0xff, 0x01, 0x14, - 0xc2, 0xc0, 0xe3, 0x10, 0x00, 0x00, +var File_commands_lib_proto protoreflect.FileDescriptor + +var file_commands_lib_proto_rawDesc = []byte{ + 0x0a, 0x12, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x6c, 0x69, 0x62, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, + 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x1a, 0x15, 0x63, + 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x81, 0x01, 0x0a, 0x12, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, + 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x5c, 0x0a, 0x13, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, + 0x45, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, + 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, + 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x80, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, + 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, + 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, + 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0xa7, 0x01, 0x0a, 0x12, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x45, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, + 0x6e, 0x6c, 0x6f, 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, + 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, + 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, + 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, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, + 0x65, 0x73, 0x73, 0x22, 0x82, 0x01, 0x0a, 0x13, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, + 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, + 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x62, 0x0a, 0x14, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x55, 0x6e, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, + 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, + 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 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, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x0c, + 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x22, 0x55, 0x0a, 0x14, + 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, + 0x6c, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x22, 0xaa, 0x01, 0x0a, 0x15, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x55, + 0x70, 0x67, 0x72, 0x61, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x73, 0x70, 0x12, 0x45, 0x0a, + 0x08, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x01, 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, 0x44, 0x6f, 0x77, 0x6e, 0x6c, 0x6f, + 0x61, 0x64, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x67, + 0x72, 0x65, 0x73, 0x73, 0x12, 0x4a, 0x0a, 0x0d, 0x74, 0x61, 0x73, 0x6b, 0x5f, 0x70, 0x72, 0x6f, + 0x67, 0x72, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 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, 0x54, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, + 0x73, 0x73, 0x52, 0x0c, 0x74, 0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x65, 0x73, 0x73, + 0x22, 0x8c, 0x01, 0x0a, 0x1d, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, + 0x6c, 0x76, 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, + 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, + 0x76, 0x0a, 0x1e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x73, 0x6f, 0x6c, 0x76, + 0x65, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x54, 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, + 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, + 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, + 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x22, 0x83, 0x01, 0x0a, 0x17, 0x4c, 0x69, 0x62, 0x72, + 0x61, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, 0x53, 0x74, 0x61, + 0x74, 0x75, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x28, 0x0a, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, + 0x64, 0x12, 0x2a, 0x0a, 0x10, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, + 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x76, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x22, 0x67, 0x0a, + 0x10, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, + 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, + 0x12, 0x14, 0x0a, 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x05, 0x71, 0x75, 0x65, 0x72, 0x79, 0x22, 0xa1, 0x01, 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x52, 0x65, 0x73, 0x70, 0x12, 0x46, 0x0a, 0x09, + 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x69, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 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, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x09, 0x6c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x69, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2c, 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, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, 0x53, 0x74, 0x61, 0x74, + 0x75, 0x73, 0x52, 0x06, 0x73, 0x74, 0x61, 0x74, 0x75, 0x73, 0x22, 0xa0, 0x02, 0x0a, 0x0f, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x12, + 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, + 0x6d, 0x65, 0x12, 0x52, 0x0a, 0x08, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x18, 0x02, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 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, 0x53, + 0x65, 0x61, 0x72, 0x63, 0x68, 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2e, 0x52, + 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x72, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x73, 0x12, 0x3f, 0x0a, 0x06, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, + 0x06, 0x6c, 0x61, 0x74, 0x65, 0x73, 0x74, 0x1a, 0x64, 0x0a, 0x0d, 0x52, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x3d, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x27, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, + 0x73, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xee, 0x03, + 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, + 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x12, 0x1e, 0x0a, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, + 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, + 0x0a, 0x09, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x09, 0x70, 0x61, 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x18, 0x0a, 0x07, + 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, + 0x65, 0x62, 0x73, 0x69, 0x74, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, + 0x72, 0x79, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, + 0x72, 0x79, 0x12, 0x24, 0x0a, 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x18, 0x08, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, + 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, + 0x73, 0x18, 0x09, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x47, + 0x0a, 0x09, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x18, 0x0a, 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, 0x44, 0x6f, 0x77, 0x6e, + 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x52, 0x09, 0x72, 0x65, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, + 0x73, 0x65, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, + 0x65, 0x12, 0x2b, 0x0a, 0x11, 0x70, 0x72, 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x5f, 0x69, 0x6e, + 0x63, 0x6c, 0x75, 0x64, 0x65, 0x73, 0x18, 0x0c, 0x20, 0x03, 0x28, 0x09, 0x52, 0x10, 0x70, 0x72, + 0x6f, 0x76, 0x69, 0x64, 0x65, 0x73, 0x49, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x73, 0x12, 0x4e, + 0x0a, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x18, 0x0d, + 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x79, + 0x52, 0x0c, 0x64, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, 0x6e, 0x63, 0x69, 0x65, 0x73, 0x22, 0x56, + 0x0a, 0x11, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x44, 0x65, 0x70, 0x65, 0x6e, 0x64, 0x65, + 0x6e, 0x63, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x2d, 0x0a, 0x12, 0x76, 0x65, 0x72, 0x73, 0x69, + 0x6f, 0x6e, 0x5f, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x11, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, + 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x9c, 0x01, 0x0a, 0x10, 0x44, 0x6f, 0x77, 0x6e, 0x6c, + 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x75, + 0x72, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x75, 0x72, 0x6c, 0x12, 0x28, 0x0a, + 0x0f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0f, 0x61, 0x72, 0x63, 0x68, 0x69, 0x76, 0x65, 0x66, + 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x73, 0x75, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x68, 0x65, 0x63, 0x6b, + 0x73, 0x75, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, + 0x03, 0x52, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x63, 0x61, 0x63, 0x68, 0x65, + 0x70, 0x61, 0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x63, 0x61, 0x63, 0x68, + 0x65, 0x70, 0x61, 0x74, 0x68, 0x22, 0x7f, 0x0a, 0x0e, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, + 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, + 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x61, 0x6c, 0x6c, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x03, 0x61, 0x6c, 0x6c, 0x12, 0x1c, 0x0a, 0x09, 0x75, 0x70, 0x64, 0x61, + 0x74, 0x61, 0x62, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x75, 0x70, 0x64, + 0x61, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x22, 0x69, 0x0a, 0x0f, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x12, 0x56, 0x0a, 0x11, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x5f, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x18, 0x01, + 0x20, 0x03, 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, 0x49, + 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, + 0x10, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x22, 0x91, 0x01, 0x0a, 0x10, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x65, 0x64, 0x4c, + 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x12, 0x3a, 0x0a, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x07, 0x6c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x12, 0x41, 0x0a, 0x07, 0x72, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x27, 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, 0x4c, 0x69, + 0x62, 0x72, 0x61, 0x72, 0x79, 0x52, 0x65, 0x6c, 0x65, 0x61, 0x73, 0x65, 0x52, 0x07, 0x72, 0x65, + 0x6c, 0x65, 0x61, 0x73, 0x65, 0x22, 0xf7, 0x06, 0x0a, 0x07, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, + 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x18, + 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x75, 0x74, 0x68, 0x6f, 0x72, 0x12, 0x1e, 0x0a, + 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x0a, 0x6d, 0x61, 0x69, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x12, 0x1a, 0x0a, + 0x08, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x73, 0x65, 0x6e, 0x74, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x1c, 0x0a, 0x09, 0x70, 0x61, 0x72, + 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x61, + 0x72, 0x61, 0x67, 0x72, 0x61, 0x70, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, + 0x74, 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x65, 0x62, 0x73, 0x69, 0x74, + 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x18, 0x07, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x63, 0x61, 0x74, 0x65, 0x67, 0x6f, 0x72, 0x79, 0x12, 0x24, 0x0a, + 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, 0x72, 0x65, 0x73, 0x18, 0x08, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x61, 0x72, 0x63, 0x68, 0x69, 0x74, 0x65, 0x63, 0x74, 0x75, + 0x72, 0x65, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x09, 0x20, 0x03, + 0x28, 0x09, 0x52, 0x05, 0x74, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x73, + 0x74, 0x61, 0x6c, 0x6c, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6c, 0x6c, 0x44, 0x69, 0x72, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x6f, + 0x75, 0x72, 0x63, 0x65, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, + 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x44, 0x69, 0x72, 0x12, 0x1f, 0x0a, 0x0b, 0x75, 0x74, 0x69, + 0x6c, 0x69, 0x74, 0x79, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, + 0x75, 0x74, 0x69, 0x6c, 0x69, 0x74, 0x79, 0x44, 0x69, 0x72, 0x12, 0x2d, 0x0a, 0x12, 0x63, 0x6f, + 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, 0x72, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, + 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x63, 0x6f, 0x6e, 0x74, 0x61, 0x69, 0x6e, 0x65, + 0x72, 0x50, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x1b, 0x0a, 0x09, 0x72, 0x65, 0x61, + 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, + 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x22, 0x0a, 0x0d, 0x64, 0x6f, 0x74, 0x5f, 0x61, 0x5f, + 0x6c, 0x69, 0x6e, 0x6b, 0x61, 0x67, 0x65, 0x18, 0x11, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, + 0x6f, 0x74, 0x41, 0x4c, 0x69, 0x6e, 0x6b, 0x61, 0x67, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x70, 0x72, + 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x18, 0x12, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x0b, 0x70, 0x72, 0x65, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, 0x64, 0x12, 0x19, 0x0a, 0x08, + 0x6c, 0x64, 0x5f, 0x66, 0x6c, 0x61, 0x67, 0x73, 0x18, 0x13, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, + 0x6c, 0x64, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x1b, 0x0a, 0x09, 0x69, 0x73, 0x5f, 0x6c, 0x65, + 0x67, 0x61, 0x63, 0x79, 0x18, 0x14, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x69, 0x73, 0x4c, 0x65, + 0x67, 0x61, 0x63, 0x79, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, + 0x15, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x18, + 0x0a, 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x18, 0x16, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x07, 0x6c, 0x69, 0x63, 0x65, 0x6e, 0x73, 0x65, 0x12, 0x50, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, + 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x17, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x30, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x2e, 0x50, + 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, + 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x12, 0x44, 0x0a, 0x08, 0x6c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x18, 0x20, 0x01, 0x28, 0x0e, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x6f, + 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x08, 0x6c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x3e, 0x0a, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x18, 0x19, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x26, 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, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x52, 0x06, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, + 0x1a, 0x3d, 0x0a, 0x0f, 0x50, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 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, 0x2a, + 0x2e, 0x0a, 0x13, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x53, 0x65, 0x61, 0x72, 0x63, 0x68, + 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x12, 0x0a, 0x0a, 0x06, 0x66, 0x61, 0x69, 0x6c, 0x65, 0x64, + 0x10, 0x00, 0x12, 0x0b, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x10, 0x01, 0x2a, + 0x36, 0x0a, 0x0d, 0x4c, 0x69, 0x62, 0x72, 0x61, 0x72, 0x79, 0x4c, 0x61, 0x79, 0x6f, 0x75, 0x74, + 0x12, 0x0f, 0x0a, 0x0b, 0x66, 0x6c, 0x61, 0x74, 0x5f, 0x6c, 0x61, 0x79, 0x6f, 0x75, 0x74, 0x10, + 0x00, 0x12, 0x14, 0x0a, 0x10, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x5f, 0x6c, + 0x61, 0x79, 0x6f, 0x75, 0x74, 0x10, 0x01, 0x2a, 0x63, 0x0a, 0x0f, 0x4c, 0x69, 0x62, 0x72, 0x61, + 0x72, 0x79, 0x4c, 0x6f, 0x63, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x0f, 0x0a, 0x0b, 0x69, 0x64, + 0x65, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x75, + 0x73, 0x65, 0x72, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, + 0x6d, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x10, 0x02, 0x12, 0x1f, 0x0a, 0x1b, 0x72, + 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x64, 0x5f, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, + 0x72, 0x6d, 0x5f, 0x62, 0x75, 0x69, 0x6c, 0x74, 0x69, 0x6e, 0x10, 0x03, 0x42, 0x2d, 0x5a, 0x2b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, + 0x70, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_commands_lib_proto_rawDescOnce sync.Once + file_commands_lib_proto_rawDescData = file_commands_lib_proto_rawDesc +) + +func file_commands_lib_proto_rawDescGZIP() []byte { + file_commands_lib_proto_rawDescOnce.Do(func() { + file_commands_lib_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_lib_proto_rawDescData) + }) + return file_commands_lib_proto_rawDescData +} + +var file_commands_lib_proto_enumTypes = make([]protoimpl.EnumInfo, 3) +var file_commands_lib_proto_msgTypes = make([]protoimpl.MessageInfo, 23) +var file_commands_lib_proto_goTypes = []interface{}{ + (LibrarySearchStatus)(0), // 0: cc.arduino.cli.commands.LibrarySearchStatus + (LibraryLayout)(0), // 1: cc.arduino.cli.commands.LibraryLayout + (LibraryLocation)(0), // 2: cc.arduino.cli.commands.LibraryLocation + (*LibraryDownloadReq)(nil), // 3: cc.arduino.cli.commands.LibraryDownloadReq + (*LibraryDownloadResp)(nil), // 4: cc.arduino.cli.commands.LibraryDownloadResp + (*LibraryInstallReq)(nil), // 5: cc.arduino.cli.commands.LibraryInstallReq + (*LibraryInstallResp)(nil), // 6: cc.arduino.cli.commands.LibraryInstallResp + (*LibraryUninstallReq)(nil), // 7: cc.arduino.cli.commands.LibraryUninstallReq + (*LibraryUninstallResp)(nil), // 8: cc.arduino.cli.commands.LibraryUninstallResp + (*LibraryUpgradeAllReq)(nil), // 9: cc.arduino.cli.commands.LibraryUpgradeAllReq + (*LibraryUpgradeAllResp)(nil), // 10: cc.arduino.cli.commands.LibraryUpgradeAllResp + (*LibraryResolveDependenciesReq)(nil), // 11: cc.arduino.cli.commands.LibraryResolveDependenciesReq + (*LibraryResolveDependenciesResp)(nil), // 12: cc.arduino.cli.commands.LibraryResolveDependenciesResp + (*LibraryDependencyStatus)(nil), // 13: cc.arduino.cli.commands.LibraryDependencyStatus + (*LibrarySearchReq)(nil), // 14: cc.arduino.cli.commands.LibrarySearchReq + (*LibrarySearchResp)(nil), // 15: cc.arduino.cli.commands.LibrarySearchResp + (*SearchedLibrary)(nil), // 16: cc.arduino.cli.commands.SearchedLibrary + (*LibraryRelease)(nil), // 17: cc.arduino.cli.commands.LibraryRelease + (*LibraryDependency)(nil), // 18: cc.arduino.cli.commands.LibraryDependency + (*DownloadResource)(nil), // 19: cc.arduino.cli.commands.DownloadResource + (*LibraryListReq)(nil), // 20: cc.arduino.cli.commands.LibraryListReq + (*LibraryListResp)(nil), // 21: cc.arduino.cli.commands.LibraryListResp + (*InstalledLibrary)(nil), // 22: cc.arduino.cli.commands.InstalledLibrary + (*Library)(nil), // 23: cc.arduino.cli.commands.Library + nil, // 24: cc.arduino.cli.commands.SearchedLibrary.ReleasesEntry + nil, // 25: cc.arduino.cli.commands.Library.PropertiesEntry + (*Instance)(nil), // 26: cc.arduino.cli.commands.Instance + (*DownloadProgress)(nil), // 27: cc.arduino.cli.commands.DownloadProgress + (*TaskProgress)(nil), // 28: cc.arduino.cli.commands.TaskProgress +} +var file_commands_lib_proto_depIdxs = []int32{ + 26, // 0: cc.arduino.cli.commands.LibraryDownloadReq.instance:type_name -> cc.arduino.cli.commands.Instance + 27, // 1: cc.arduino.cli.commands.LibraryDownloadResp.progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 26, // 2: cc.arduino.cli.commands.LibraryInstallReq.instance:type_name -> cc.arduino.cli.commands.Instance + 27, // 3: cc.arduino.cli.commands.LibraryInstallResp.progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 28, // 4: cc.arduino.cli.commands.LibraryInstallResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 26, // 5: cc.arduino.cli.commands.LibraryUninstallReq.instance:type_name -> cc.arduino.cli.commands.Instance + 28, // 6: cc.arduino.cli.commands.LibraryUninstallResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 26, // 7: cc.arduino.cli.commands.LibraryUpgradeAllReq.instance:type_name -> cc.arduino.cli.commands.Instance + 27, // 8: cc.arduino.cli.commands.LibraryUpgradeAllResp.progress:type_name -> cc.arduino.cli.commands.DownloadProgress + 28, // 9: cc.arduino.cli.commands.LibraryUpgradeAllResp.task_progress:type_name -> cc.arduino.cli.commands.TaskProgress + 26, // 10: cc.arduino.cli.commands.LibraryResolveDependenciesReq.instance:type_name -> cc.arduino.cli.commands.Instance + 13, // 11: cc.arduino.cli.commands.LibraryResolveDependenciesResp.dependencies:type_name -> cc.arduino.cli.commands.LibraryDependencyStatus + 26, // 12: cc.arduino.cli.commands.LibrarySearchReq.instance:type_name -> cc.arduino.cli.commands.Instance + 16, // 13: cc.arduino.cli.commands.LibrarySearchResp.libraries:type_name -> cc.arduino.cli.commands.SearchedLibrary + 0, // 14: cc.arduino.cli.commands.LibrarySearchResp.status:type_name -> cc.arduino.cli.commands.LibrarySearchStatus + 24, // 15: cc.arduino.cli.commands.SearchedLibrary.releases:type_name -> cc.arduino.cli.commands.SearchedLibrary.ReleasesEntry + 17, // 16: cc.arduino.cli.commands.SearchedLibrary.latest:type_name -> cc.arduino.cli.commands.LibraryRelease + 19, // 17: cc.arduino.cli.commands.LibraryRelease.resources:type_name -> cc.arduino.cli.commands.DownloadResource + 18, // 18: cc.arduino.cli.commands.LibraryRelease.dependencies:type_name -> cc.arduino.cli.commands.LibraryDependency + 26, // 19: cc.arduino.cli.commands.LibraryListReq.instance:type_name -> cc.arduino.cli.commands.Instance + 22, // 20: cc.arduino.cli.commands.LibraryListResp.installed_library:type_name -> cc.arduino.cli.commands.InstalledLibrary + 23, // 21: cc.arduino.cli.commands.InstalledLibrary.library:type_name -> cc.arduino.cli.commands.Library + 17, // 22: cc.arduino.cli.commands.InstalledLibrary.release:type_name -> cc.arduino.cli.commands.LibraryRelease + 25, // 23: cc.arduino.cli.commands.Library.properties:type_name -> cc.arduino.cli.commands.Library.PropertiesEntry + 2, // 24: cc.arduino.cli.commands.Library.location:type_name -> cc.arduino.cli.commands.LibraryLocation + 1, // 25: cc.arduino.cli.commands.Library.layout:type_name -> cc.arduino.cli.commands.LibraryLayout + 17, // 26: cc.arduino.cli.commands.SearchedLibrary.ReleasesEntry.value:type_name -> cc.arduino.cli.commands.LibraryRelease + 27, // [27:27] is the sub-list for method output_type + 27, // [27:27] is the sub-list for method input_type + 27, // [27:27] is the sub-list for extension type_name + 27, // [27:27] is the sub-list for extension extendee + 0, // [0:27] is the sub-list for field type_name +} + +func init() { file_commands_lib_proto_init() } +func file_commands_lib_proto_init() { + if File_commands_lib_proto != nil { + return + } + file_commands_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_commands_lib_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryDownloadReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryDownloadResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryInstallReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryInstallResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryUninstallReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryUninstallResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryUpgradeAllReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryUpgradeAllResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryResolveDependenciesReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryResolveDependenciesResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryDependencyStatus); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibrarySearchReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibrarySearchResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SearchedLibrary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryRelease); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryDependency); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DownloadResource); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryListReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*LibraryListResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*InstalledLibrary); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_lib_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Library); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_lib_proto_rawDesc, + NumEnums: 3, + NumMessages: 23, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_commands_lib_proto_goTypes, + DependencyIndexes: file_commands_lib_proto_depIdxs, + EnumInfos: file_commands_lib_proto_enumTypes, + MessageInfos: file_commands_lib_proto_msgTypes, + }.Build() + File_commands_lib_proto = out.File + file_commands_lib_proto_rawDesc = nil + file_commands_lib_proto_goTypes = nil + file_commands_lib_proto_depIdxs = nil } diff --git a/rpc/commands/upload.pb.go b/rpc/commands/upload.pb.go index bc150f1e057..2f474b5f99b 100644 --- a/rpc/commands/upload.pb.go +++ b/rpc/commands/upload.pb.go @@ -1,26 +1,50 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: commands/upload.proto package commands import ( - fmt "fmt" proto "github.com/golang/protobuf/proto" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type UploadReq 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 of the target board (e.g., `arduino:avr:uno`). @@ -37,156 +61,173 @@ type UploadReq struct { Verbose bool `protobuf:"varint,5,opt,name=verbose,proto3" json:"verbose,omitempty"` // After upload, verify that the contents of the memory on the board match the // uploaded binary. - Verify bool `protobuf:"varint,6,opt,name=verify,proto3" json:"verify,omitempty"` - ImportFile string `protobuf:"bytes,7,opt,name=import_file,json=importFile,proto3" json:"import_file,omitempty"` // Deprecated: Do not use. + Verify bool `protobuf:"varint,6,opt,name=verify,proto3" json:"verify,omitempty"` + // Deprecated: Do not use. + ImportFile string `protobuf:"bytes,7,opt,name=import_file,json=importFile,proto3" json:"import_file,omitempty"` // DEPRECATED: Use import_dir instead // Custom path to a directory containing compiled files. When `import_dir` is // not specified, the standard build directory under `sketch_path` is used. - ImportDir string `protobuf:"bytes,8,opt,name=import_dir,json=importDir,proto3" json:"import_dir,omitempty"` - Programmer string `protobuf:"bytes,9,opt,name=programmer,proto3" json:"programmer,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ImportDir string `protobuf:"bytes,8,opt,name=import_dir,json=importDir,proto3" json:"import_dir,omitempty"` + Programmer string `protobuf:"bytes,9,opt,name=programmer,proto3" json:"programmer,omitempty"` } -func (m *UploadReq) Reset() { *m = UploadReq{} } -func (m *UploadReq) String() string { return proto.CompactTextString(m) } -func (*UploadReq) ProtoMessage() {} -func (*UploadReq) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{0} +func (x *UploadReq) Reset() { + *x = UploadReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UploadReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadReq.Unmarshal(m, b) -} -func (m *UploadReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadReq.Marshal(b, m, deterministic) +func (x *UploadReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UploadReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadReq.Merge(m, src) -} -func (m *UploadReq) XXX_Size() int { - return xxx_messageInfo_UploadReq.Size(m) -} -func (m *UploadReq) XXX_DiscardUnknown() { - xxx_messageInfo_UploadReq.DiscardUnknown(m) + +func (*UploadReq) ProtoMessage() {} + +func (x *UploadReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_UploadReq proto.InternalMessageInfo +// Deprecated: Use UploadReq.ProtoReflect.Descriptor instead. +func (*UploadReq) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{0} +} -func (m *UploadReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *UploadReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *UploadReq) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *UploadReq) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } -func (m *UploadReq) GetSketchPath() string { - if m != nil { - return m.SketchPath +func (x *UploadReq) GetSketchPath() string { + if x != nil { + return x.SketchPath } return "" } -func (m *UploadReq) GetPort() string { - if m != nil { - return m.Port +func (x *UploadReq) GetPort() string { + if x != nil { + return x.Port } return "" } -func (m *UploadReq) GetVerbose() bool { - if m != nil { - return m.Verbose +func (x *UploadReq) GetVerbose() bool { + if x != nil { + return x.Verbose } return false } -func (m *UploadReq) GetVerify() bool { - if m != nil { - return m.Verify +func (x *UploadReq) GetVerify() bool { + if x != nil { + return x.Verify } return false } // Deprecated: Do not use. -func (m *UploadReq) GetImportFile() string { - if m != nil { - return m.ImportFile +func (x *UploadReq) GetImportFile() string { + if x != nil { + return x.ImportFile } return "" } -func (m *UploadReq) GetImportDir() string { - if m != nil { - return m.ImportDir +func (x *UploadReq) GetImportDir() string { + if x != nil { + return x.ImportDir } return "" } -func (m *UploadReq) GetProgrammer() string { - if m != nil { - return m.Programmer +func (x *UploadReq) GetProgrammer() string { + if x != nil { + return x.Programmer } return "" } type UploadResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The output of the upload process. OutStream []byte `protobuf:"bytes,1,opt,name=out_stream,json=outStream,proto3" json:"out_stream,omitempty"` // The error output of the upload process. - ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"` } -func (m *UploadResp) Reset() { *m = UploadResp{} } -func (m *UploadResp) String() string { return proto.CompactTextString(m) } -func (*UploadResp) ProtoMessage() {} -func (*UploadResp) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{1} +func (x *UploadResp) Reset() { + *x = UploadResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *UploadResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_UploadResp.Unmarshal(m, b) +func (x *UploadResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *UploadResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_UploadResp.Marshal(b, m, deterministic) -} -func (m *UploadResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_UploadResp.Merge(m, src) -} -func (m *UploadResp) XXX_Size() int { - return xxx_messageInfo_UploadResp.Size(m) -} -func (m *UploadResp) XXX_DiscardUnknown() { - xxx_messageInfo_UploadResp.DiscardUnknown(m) + +func (*UploadResp) ProtoMessage() {} + +func (x *UploadResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_UploadResp proto.InternalMessageInfo +// Deprecated: Use UploadResp.ProtoReflect.Descriptor instead. +func (*UploadResp) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{1} +} -func (m *UploadResp) GetOutStream() []byte { - if m != nil { - return m.OutStream +func (x *UploadResp) GetOutStream() []byte { + if x != nil { + return x.OutStream } return nil } -func (m *UploadResp) GetErrStream() []byte { - if m != nil { - return m.ErrStream +func (x *UploadResp) GetErrStream() []byte { + if x != nil { + return x.ErrStream } return nil } type BurnBootloaderReq 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 of the target board (e.g., `arduino:avr:uno`). @@ -199,310 +240,523 @@ type BurnBootloaderReq struct { // uploaded binary. Verify bool `protobuf:"varint,5,opt,name=verify,proto3" json:"verify,omitempty"` // The programmer to use for burning bootloader. - Programmer string `protobuf:"bytes,6,opt,name=programmer,proto3" json:"programmer,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Programmer string `protobuf:"bytes,6,opt,name=programmer,proto3" json:"programmer,omitempty"` } -func (m *BurnBootloaderReq) Reset() { *m = BurnBootloaderReq{} } -func (m *BurnBootloaderReq) String() string { return proto.CompactTextString(m) } -func (*BurnBootloaderReq) ProtoMessage() {} -func (*BurnBootloaderReq) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{2} +func (x *BurnBootloaderReq) Reset() { + *x = BurnBootloaderReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BurnBootloaderReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BurnBootloaderReq.Unmarshal(m, b) +func (x *BurnBootloaderReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BurnBootloaderReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BurnBootloaderReq.Marshal(b, m, deterministic) -} -func (m *BurnBootloaderReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_BurnBootloaderReq.Merge(m, src) -} -func (m *BurnBootloaderReq) XXX_Size() int { - return xxx_messageInfo_BurnBootloaderReq.Size(m) -} -func (m *BurnBootloaderReq) XXX_DiscardUnknown() { - xxx_messageInfo_BurnBootloaderReq.DiscardUnknown(m) + +func (*BurnBootloaderReq) ProtoMessage() {} + +func (x *BurnBootloaderReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_BurnBootloaderReq proto.InternalMessageInfo +// Deprecated: Use BurnBootloaderReq.ProtoReflect.Descriptor instead. +func (*BurnBootloaderReq) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{2} +} -func (m *BurnBootloaderReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *BurnBootloaderReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *BurnBootloaderReq) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *BurnBootloaderReq) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } -func (m *BurnBootloaderReq) GetPort() string { - if m != nil { - return m.Port +func (x *BurnBootloaderReq) GetPort() string { + if x != nil { + return x.Port } return "" } -func (m *BurnBootloaderReq) GetVerbose() bool { - if m != nil { - return m.Verbose +func (x *BurnBootloaderReq) GetVerbose() bool { + if x != nil { + return x.Verbose } return false } -func (m *BurnBootloaderReq) GetVerify() bool { - if m != nil { - return m.Verify +func (x *BurnBootloaderReq) GetVerify() bool { + if x != nil { + return x.Verify } return false } -func (m *BurnBootloaderReq) GetProgrammer() string { - if m != nil { - return m.Programmer +func (x *BurnBootloaderReq) GetProgrammer() string { + if x != nil { + return x.Programmer } return "" } type BurnBootloaderResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The output of the burn bootloader process. OutStream []byte `protobuf:"bytes,1,opt,name=out_stream,json=outStream,proto3" json:"out_stream,omitempty"` // The error output of the burn bootloader process. - ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ErrStream []byte `protobuf:"bytes,2,opt,name=err_stream,json=errStream,proto3" json:"err_stream,omitempty"` } -func (m *BurnBootloaderResp) Reset() { *m = BurnBootloaderResp{} } -func (m *BurnBootloaderResp) String() string { return proto.CompactTextString(m) } -func (*BurnBootloaderResp) ProtoMessage() {} -func (*BurnBootloaderResp) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{3} +func (x *BurnBootloaderResp) Reset() { + *x = BurnBootloaderResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *BurnBootloaderResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_BurnBootloaderResp.Unmarshal(m, b) -} -func (m *BurnBootloaderResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_BurnBootloaderResp.Marshal(b, m, deterministic) -} -func (m *BurnBootloaderResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_BurnBootloaderResp.Merge(m, src) +func (x *BurnBootloaderResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *BurnBootloaderResp) XXX_Size() int { - return xxx_messageInfo_BurnBootloaderResp.Size(m) -} -func (m *BurnBootloaderResp) XXX_DiscardUnknown() { - xxx_messageInfo_BurnBootloaderResp.DiscardUnknown(m) + +func (*BurnBootloaderResp) ProtoMessage() {} + +func (x *BurnBootloaderResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_BurnBootloaderResp proto.InternalMessageInfo +// Deprecated: Use BurnBootloaderResp.ProtoReflect.Descriptor instead. +func (*BurnBootloaderResp) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{3} +} -func (m *BurnBootloaderResp) GetOutStream() []byte { - if m != nil { - return m.OutStream +func (x *BurnBootloaderResp) GetOutStream() []byte { + if x != nil { + return x.OutStream } return nil } -func (m *BurnBootloaderResp) GetErrStream() []byte { - if m != nil { - return m.ErrStream +func (x *BurnBootloaderResp) GetErrStream() []byte { + if x != nil { + return x.ErrStream } return nil } type ListProgrammersAvailableForUploadReq struct { - Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` - Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListProgrammersAvailableForUploadReq) Reset() { *m = ListProgrammersAvailableForUploadReq{} } -func (m *ListProgrammersAvailableForUploadReq) String() string { return proto.CompactTextString(m) } -func (*ListProgrammersAvailableForUploadReq) ProtoMessage() {} -func (*ListProgrammersAvailableForUploadReq) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{4} + Instance *Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` + Fqbn string `protobuf:"bytes,2,opt,name=fqbn,proto3" json:"fqbn,omitempty"` } -func (m *ListProgrammersAvailableForUploadReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListProgrammersAvailableForUploadReq.Unmarshal(m, b) -} -func (m *ListProgrammersAvailableForUploadReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListProgrammersAvailableForUploadReq.Marshal(b, m, deterministic) -} -func (m *ListProgrammersAvailableForUploadReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProgrammersAvailableForUploadReq.Merge(m, src) +func (x *ListProgrammersAvailableForUploadReq) Reset() { + *x = ListProgrammersAvailableForUploadReq{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListProgrammersAvailableForUploadReq) XXX_Size() int { - return xxx_messageInfo_ListProgrammersAvailableForUploadReq.Size(m) + +func (x *ListProgrammersAvailableForUploadReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListProgrammersAvailableForUploadReq) XXX_DiscardUnknown() { - xxx_messageInfo_ListProgrammersAvailableForUploadReq.DiscardUnknown(m) + +func (*ListProgrammersAvailableForUploadReq) ProtoMessage() {} + +func (x *ListProgrammersAvailableForUploadReq) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_ListProgrammersAvailableForUploadReq proto.InternalMessageInfo +// Deprecated: Use ListProgrammersAvailableForUploadReq.ProtoReflect.Descriptor instead. +func (*ListProgrammersAvailableForUploadReq) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{4} +} -func (m *ListProgrammersAvailableForUploadReq) GetInstance() *Instance { - if m != nil { - return m.Instance +func (x *ListProgrammersAvailableForUploadReq) GetInstance() *Instance { + if x != nil { + return x.Instance } return nil } -func (m *ListProgrammersAvailableForUploadReq) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *ListProgrammersAvailableForUploadReq) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } type ListProgrammersAvailableForUploadResp struct { - Programmers []*Programmer `protobuf:"bytes,1,rep,name=programmers,proto3" json:"programmers,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *ListProgrammersAvailableForUploadResp) Reset() { *m = ListProgrammersAvailableForUploadResp{} } -func (m *ListProgrammersAvailableForUploadResp) String() string { return proto.CompactTextString(m) } -func (*ListProgrammersAvailableForUploadResp) ProtoMessage() {} -func (*ListProgrammersAvailableForUploadResp) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{5} + Programmers []*Programmer `protobuf:"bytes,1,rep,name=programmers,proto3" json:"programmers,omitempty"` } -func (m *ListProgrammersAvailableForUploadResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_ListProgrammersAvailableForUploadResp.Unmarshal(m, b) -} -func (m *ListProgrammersAvailableForUploadResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_ListProgrammersAvailableForUploadResp.Marshal(b, m, deterministic) -} -func (m *ListProgrammersAvailableForUploadResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_ListProgrammersAvailableForUploadResp.Merge(m, src) +func (x *ListProgrammersAvailableForUploadResp) Reset() { + *x = ListProgrammersAvailableForUploadResp{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *ListProgrammersAvailableForUploadResp) XXX_Size() int { - return xxx_messageInfo_ListProgrammersAvailableForUploadResp.Size(m) + +func (x *ListProgrammersAvailableForUploadResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *ListProgrammersAvailableForUploadResp) XXX_DiscardUnknown() { - xxx_messageInfo_ListProgrammersAvailableForUploadResp.DiscardUnknown(m) + +func (*ListProgrammersAvailableForUploadResp) ProtoMessage() {} + +func (x *ListProgrammersAvailableForUploadResp) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_ListProgrammersAvailableForUploadResp proto.InternalMessageInfo +// Deprecated: Use ListProgrammersAvailableForUploadResp.ProtoReflect.Descriptor instead. +func (*ListProgrammersAvailableForUploadResp) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{5} +} -func (m *ListProgrammersAvailableForUploadResp) GetProgrammers() []*Programmer { - if m != nil { - return m.Programmers +func (x *ListProgrammersAvailableForUploadResp) GetProgrammers() []*Programmer { + if x != nil { + return x.Programmers } return nil } type Programmer struct { - Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` - Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` - Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` -} + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields -func (m *Programmer) Reset() { *m = Programmer{} } -func (m *Programmer) String() string { return proto.CompactTextString(m) } -func (*Programmer) ProtoMessage() {} -func (*Programmer) Descriptor() ([]byte, []int) { - return fileDescriptor_cd642cc079f8acdb, []int{6} + Platform string `protobuf:"bytes,1,opt,name=platform,proto3" json:"platform,omitempty"` + Id string `protobuf:"bytes,2,opt,name=id,proto3" json:"id,omitempty"` + Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` } -func (m *Programmer) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Programmer.Unmarshal(m, b) -} -func (m *Programmer) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Programmer.Marshal(b, m, deterministic) -} -func (m *Programmer) XXX_Merge(src proto.Message) { - xxx_messageInfo_Programmer.Merge(m, src) +func (x *Programmer) Reset() { + *x = Programmer{} + if protoimpl.UnsafeEnabled { + mi := &file_commands_upload_proto_msgTypes[6] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Programmer) XXX_Size() int { - return xxx_messageInfo_Programmer.Size(m) + +func (x *Programmer) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Programmer) XXX_DiscardUnknown() { - xxx_messageInfo_Programmer.DiscardUnknown(m) + +func (*Programmer) ProtoMessage() {} + +func (x *Programmer) ProtoReflect() protoreflect.Message { + mi := &file_commands_upload_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) } -var xxx_messageInfo_Programmer proto.InternalMessageInfo +// Deprecated: Use Programmer.ProtoReflect.Descriptor instead. +func (*Programmer) Descriptor() ([]byte, []int) { + return file_commands_upload_proto_rawDescGZIP(), []int{6} +} -func (m *Programmer) GetPlatform() string { - if m != nil { - return m.Platform +func (x *Programmer) GetPlatform() string { + if x != nil { + return x.Platform } return "" } -func (m *Programmer) GetId() string { - if m != nil { - return m.Id +func (x *Programmer) GetId() string { + if x != nil { + return x.Id } return "" } -func (m *Programmer) GetName() string { - if m != nil { - return m.Name +func (x *Programmer) GetName() string { + if x != nil { + return x.Name } return "" } -func init() { - proto.RegisterType((*UploadReq)(nil), "cc.arduino.cli.commands.UploadReq") - proto.RegisterType((*UploadResp)(nil), "cc.arduino.cli.commands.UploadResp") - proto.RegisterType((*BurnBootloaderReq)(nil), "cc.arduino.cli.commands.BurnBootloaderReq") - proto.RegisterType((*BurnBootloaderResp)(nil), "cc.arduino.cli.commands.BurnBootloaderResp") - proto.RegisterType((*ListProgrammersAvailableForUploadReq)(nil), "cc.arduino.cli.commands.ListProgrammersAvailableForUploadReq") - proto.RegisterType((*ListProgrammersAvailableForUploadResp)(nil), "cc.arduino.cli.commands.ListProgrammersAvailableForUploadResp") - proto.RegisterType((*Programmer)(nil), "cc.arduino.cli.commands.Programmer") -} - -func init() { proto.RegisterFile("commands/upload.proto", fileDescriptor_cd642cc079f8acdb) } - -var fileDescriptor_cd642cc079f8acdb = []byte{ - // 463 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xb4, 0x94, 0x51, 0x8b, 0xd3, 0x40, - 0x10, 0xc7, 0x49, 0xda, 0xeb, 0x35, 0x13, 0x11, 0x5c, 0x50, 0x97, 0x03, 0xb5, 0xe6, 0x14, 0x0a, - 0x72, 0x29, 0x9c, 0xcf, 0x3e, 0x58, 0xf4, 0x40, 0xb9, 0x87, 0x23, 0xe2, 0x8b, 0x2f, 0x65, 0x93, - 0x6c, 0xaf, 0x8b, 0xc9, 0xee, 0xde, 0xec, 0xa6, 0x70, 0x1f, 0xc9, 0xef, 0xe2, 0x87, 0x92, 0xcd, - 0x26, 0x8d, 0xa7, 0x16, 0x84, 0xa3, 0x4f, 0x9d, 0x99, 0xff, 0xcc, 0x7f, 0xa6, 0xbf, 0x84, 0xc0, - 0xe3, 0x42, 0xd5, 0x35, 0x93, 0xa5, 0x59, 0x34, 0xba, 0x52, 0xac, 0x4c, 0x35, 0x2a, 0xab, 0xc8, - 0xd3, 0xa2, 0x48, 0x19, 0x96, 0x8d, 0x90, 0x2a, 0x2d, 0x2a, 0x91, 0xf6, 0x5d, 0x27, 0x43, 0xbf, - 0x0b, 0x94, 0xf4, 0xfd, 0xc9, 0x8f, 0x10, 0xa2, 0xaf, 0xad, 0x41, 0xc6, 0x6f, 0xc8, 0x3b, 0x98, - 0x0a, 0x69, 0x2c, 0x93, 0x05, 0xa7, 0xc1, 0x2c, 0x98, 0xc7, 0xe7, 0x2f, 0xd3, 0x3d, 0x86, 0xe9, - 0xa7, 0xae, 0x31, 0xdb, 0x8d, 0x10, 0x02, 0xe3, 0xf5, 0x4d, 0x2e, 0x69, 0x38, 0x0b, 0xe6, 0x51, - 0xd6, 0xc6, 0xe4, 0x05, 0xc4, 0xe6, 0x3b, 0xb7, 0xc5, 0x66, 0xa5, 0x99, 0xdd, 0xd0, 0x51, 0x2b, - 0x81, 0x2f, 0x5d, 0x31, 0xbb, 0x71, 0x43, 0x5a, 0xa1, 0xa5, 0x63, 0x3f, 0xe4, 0x62, 0x42, 0xe1, - 0x78, 0xcb, 0x31, 0x57, 0x86, 0xd3, 0xa3, 0x59, 0x30, 0x9f, 0x66, 0x7d, 0x4a, 0x9e, 0xc0, 0x64, - 0xcb, 0x51, 0xac, 0x6f, 0xe9, 0xa4, 0x15, 0xba, 0x8c, 0x9c, 0x42, 0x2c, 0x6a, 0x37, 0xbb, 0x5a, - 0x8b, 0x8a, 0xd3, 0x63, 0x67, 0xb6, 0x0c, 0x69, 0x90, 0x81, 0x2f, 0x5f, 0x88, 0x8a, 0x93, 0x67, - 0xd0, 0x65, 0xab, 0x52, 0x20, 0x9d, 0xb6, 0x0b, 0x23, 0x5f, 0xf9, 0x20, 0x90, 0x3c, 0x07, 0xd0, - 0xa8, 0xae, 0x91, 0xd5, 0x35, 0x47, 0x1a, 0xf9, 0x4b, 0x87, 0x4a, 0xf2, 0x19, 0xa0, 0x47, 0x65, - 0xb4, 0x33, 0x53, 0x8d, 0x5d, 0x19, 0x8b, 0x9c, 0xd5, 0x2d, 0xad, 0x07, 0x59, 0xa4, 0x1a, 0xfb, - 0xa5, 0x2d, 0x38, 0x99, 0x23, 0xf6, 0x72, 0xe8, 0x65, 0x8e, 0xe8, 0xe5, 0xe4, 0x67, 0x00, 0x8f, - 0x96, 0x0d, 0xca, 0xa5, 0x52, 0xd6, 0x59, 0x72, 0x3c, 0x10, 0xff, 0x1e, 0xef, 0xe8, 0xdf, 0x78, - 0xc7, 0xfb, 0xf0, 0x1e, 0xdd, 0xc1, 0x7b, 0x17, 0xcd, 0xe4, 0x2f, 0x34, 0x19, 0x90, 0x3f, 0xff, - 0xcd, 0xbd, 0x11, 0xdd, 0xc2, 0xab, 0x4b, 0x61, 0xec, 0xd5, 0x6e, 0x8b, 0x79, 0xbf, 0x65, 0xa2, - 0x62, 0x79, 0xc5, 0x2f, 0x14, 0x1e, 0xf2, 0xa5, 0x4d, 0x24, 0xbc, 0xfe, 0x8f, 0xd5, 0x46, 0x93, - 0x8f, 0x10, 0x0f, 0x14, 0x0c, 0x0d, 0x66, 0xa3, 0x79, 0x7c, 0x7e, 0xba, 0x77, 0xfd, 0x60, 0x98, - 0xfd, 0x3e, 0x97, 0x5c, 0x02, 0x0c, 0x12, 0x39, 0x81, 0xa9, 0xae, 0x98, 0x5d, 0x2b, 0xf4, 0xd0, - 0xa2, 0x6c, 0x97, 0x93, 0x87, 0x10, 0x8a, 0xb2, 0xbb, 0x35, 0x14, 0xa5, 0xbb, 0x5e, 0xb2, 0x9a, - 0xf7, 0x8f, 0xd7, 0xc5, 0xcb, 0xb3, 0x6f, 0x6f, 0xae, 0x85, 0xdd, 0x34, 0xb9, 0x5b, 0xbc, 0xe8, - 0x0e, 0xe9, 0x7f, 0xcf, 0x8a, 0x4a, 0x2c, 0x50, 0x17, 0x8b, 0xfe, 0xa8, 0x7c, 0xd2, 0x7e, 0x09, - 0xde, 0xfe, 0x0a, 0x00, 0x00, 0xff, 0xff, 0xfd, 0x43, 0xdb, 0xdc, 0x52, 0x04, 0x00, 0x00, +var File_commands_upload_proto protoreflect.FileDescriptor + +var file_commands_upload_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x75, 0x70, 0x6c, 0x6f, 0x61, + 0x64, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, + 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, + 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, 0x09, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 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, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, + 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, + 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65, 0x72, 0x69, 0x66, + 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, + 0x23, 0x0a, 0x0b, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, + 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, 0x52, 0x0a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, + 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x64, + 0x69, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, + 0x44, 0x69, 0x72, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, + 0x72, 0x18, 0x09, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, + 0x6d, 0x65, 0x72, 0x22, 0x4a, 0x0a, 0x0a, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x73, + 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x72, 0x72, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x22, + 0xcc, 0x01, 0x0a, 0x11, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, + 0x65, 0x72, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 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, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x18, 0x0a, 0x07, + 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x76, + 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x76, 0x65, 0x72, 0x69, 0x66, 0x79, 0x12, 0x1e, + 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x18, 0x06, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x0a, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x22, 0x52, + 0x0a, 0x12, 0x42, 0x75, 0x72, 0x6e, 0x42, 0x6f, 0x6f, 0x74, 0x6c, 0x6f, 0x61, 0x64, 0x65, 0x72, + 0x52, 0x65, 0x73, 0x70, 0x12, 0x1d, 0x0a, 0x0a, 0x6f, 0x75, 0x74, 0x5f, 0x73, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x6f, 0x75, 0x74, 0x53, 0x74, 0x72, + 0x65, 0x61, 0x6d, 0x12, 0x1d, 0x0a, 0x0a, 0x65, 0x72, 0x72, 0x5f, 0x73, 0x74, 0x72, 0x65, 0x61, + 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x65, 0x72, 0x72, 0x53, 0x74, 0x72, 0x65, + 0x61, 0x6d, 0x22, 0x79, 0x0a, 0x24, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, + 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, + 0x72, 0x55, 0x70, 0x6c, 0x6f, 0x61, 0x64, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, 0x08, 0x69, 0x6e, + 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 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, 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, 0x22, 0x6e, 0x0a, + 0x25, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, + 0x41, 0x76, 0x61, 0x69, 0x6c, 0x61, 0x62, 0x6c, 0x65, 0x46, 0x6f, 0x72, 0x55, 0x70, 0x6c, 0x6f, + 0x61, 0x64, 0x52, 0x65, 0x73, 0x70, 0x12, 0x45, 0x0a, 0x0b, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, + 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 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, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, + 0x52, 0x0b, 0x70, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x73, 0x22, 0x4c, 0x0a, + 0x0a, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x6d, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, + 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x42, 0x2d, 0x5a, 0x2b, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, + 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x61, 0x6e, 0x64, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x33, +} + +var ( + file_commands_upload_proto_rawDescOnce sync.Once + file_commands_upload_proto_rawDescData = file_commands_upload_proto_rawDesc +) + +func file_commands_upload_proto_rawDescGZIP() []byte { + file_commands_upload_proto_rawDescOnce.Do(func() { + file_commands_upload_proto_rawDescData = protoimpl.X.CompressGZIP(file_commands_upload_proto_rawDescData) + }) + return file_commands_upload_proto_rawDescData +} + +var file_commands_upload_proto_msgTypes = make([]protoimpl.MessageInfo, 7) +var file_commands_upload_proto_goTypes = []interface{}{ + (*UploadReq)(nil), // 0: cc.arduino.cli.commands.UploadReq + (*UploadResp)(nil), // 1: cc.arduino.cli.commands.UploadResp + (*BurnBootloaderReq)(nil), // 2: cc.arduino.cli.commands.BurnBootloaderReq + (*BurnBootloaderResp)(nil), // 3: cc.arduino.cli.commands.BurnBootloaderResp + (*ListProgrammersAvailableForUploadReq)(nil), // 4: cc.arduino.cli.commands.ListProgrammersAvailableForUploadReq + (*ListProgrammersAvailableForUploadResp)(nil), // 5: cc.arduino.cli.commands.ListProgrammersAvailableForUploadResp + (*Programmer)(nil), // 6: cc.arduino.cli.commands.Programmer + (*Instance)(nil), // 7: cc.arduino.cli.commands.Instance +} +var file_commands_upload_proto_depIdxs = []int32{ + 7, // 0: cc.arduino.cli.commands.UploadReq.instance:type_name -> cc.arduino.cli.commands.Instance + 7, // 1: cc.arduino.cli.commands.BurnBootloaderReq.instance:type_name -> cc.arduino.cli.commands.Instance + 7, // 2: cc.arduino.cli.commands.ListProgrammersAvailableForUploadReq.instance:type_name -> cc.arduino.cli.commands.Instance + 6, // 3: cc.arduino.cli.commands.ListProgrammersAvailableForUploadResp.programmers:type_name -> cc.arduino.cli.commands.Programmer + 4, // [4:4] is the sub-list for method output_type + 4, // [4:4] is the sub-list for method input_type + 4, // [4:4] is the sub-list for extension type_name + 4, // [4:4] is the sub-list for extension extendee + 0, // [0:4] is the sub-list for field type_name +} + +func init() { file_commands_upload_proto_init() } +func file_commands_upload_proto_init() { + if File_commands_upload_proto != nil { + return + } + file_commands_common_proto_init() + if !protoimpl.UnsafeEnabled { + file_commands_upload_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_upload_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*UploadResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_upload_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BurnBootloaderReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_upload_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*BurnBootloaderResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_upload_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListProgrammersAvailableForUploadReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_upload_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ListProgrammersAvailableForUploadResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_commands_upload_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Programmer); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_commands_upload_proto_rawDesc, + NumEnums: 0, + NumMessages: 7, + NumExtensions: 0, + NumServices: 0, + }, + GoTypes: file_commands_upload_proto_goTypes, + DependencyIndexes: file_commands_upload_proto_depIdxs, + MessageInfos: file_commands_upload_proto_msgTypes, + }.Build() + File_commands_upload_proto = out.File + file_commands_upload_proto_rawDesc = nil + file_commands_upload_proto_goTypes = nil + file_commands_upload_proto_depIdxs = nil } diff --git a/rpc/debug/debug.pb.go b/rpc/debug/debug.pb.go index 0560cf5a3c5..6ceeb5def52 100644 --- a/rpc/debug/debug.pb.go +++ b/rpc/debug/debug.pb.go @@ -1,29 +1,49 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: debug/debug.proto package debug import ( context "context" - fmt "fmt" commands "github.com/arduino/arduino-cli/rpc/commands" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 // The top-level message sent by the client for the `Debug` method. // Multiple `DebugReq` messages can be sent but the first message @@ -31,6 +51,10 @@ const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package // All subsequent messages must contain bytes to be sent to the debug session // and must not contain a `DebugReq` message. type DebugReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Provides information to the debug that specifies which is the target. // The first `StreamingOpenReq` message must contain a `DebugReq` // message. @@ -38,59 +62,67 @@ type DebugReq struct { // The data to be sent to the target being monitored. Data []byte `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"` // Set this to true to send and Interrupt signal to the debugger process - SendInterrupt bool `protobuf:"varint,3,opt,name=send_interrupt,json=sendInterrupt,proto3" json:"send_interrupt,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + SendInterrupt bool `protobuf:"varint,3,opt,name=send_interrupt,json=sendInterrupt,proto3" json:"send_interrupt,omitempty"` } -func (m *DebugReq) Reset() { *m = DebugReq{} } -func (m *DebugReq) String() string { return proto.CompactTextString(m) } -func (*DebugReq) ProtoMessage() {} -func (*DebugReq) Descriptor() ([]byte, []int) { - return fileDescriptor_5ae24eab94cb53d5, []int{0} +func (x *DebugReq) Reset() { + *x = DebugReq{} + if protoimpl.UnsafeEnabled { + mi := &file_debug_debug_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DebugReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugReq.Unmarshal(m, b) -} -func (m *DebugReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugReq.Marshal(b, m, deterministic) -} -func (m *DebugReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugReq.Merge(m, src) +func (x *DebugReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DebugReq) XXX_Size() int { - return xxx_messageInfo_DebugReq.Size(m) -} -func (m *DebugReq) XXX_DiscardUnknown() { - xxx_messageInfo_DebugReq.DiscardUnknown(m) + +func (*DebugReq) ProtoMessage() {} + +func (x *DebugReq) ProtoReflect() protoreflect.Message { + mi := &file_debug_debug_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) } -var xxx_messageInfo_DebugReq proto.InternalMessageInfo +// Deprecated: Use DebugReq.ProtoReflect.Descriptor instead. +func (*DebugReq) Descriptor() ([]byte, []int) { + return file_debug_debug_proto_rawDescGZIP(), []int{0} +} -func (m *DebugReq) GetDebugReq() *DebugConfigReq { - if m != nil { - return m.DebugReq +func (x *DebugReq) GetDebugReq() *DebugConfigReq { + if x != nil { + return x.DebugReq } return nil } -func (m *DebugReq) GetData() []byte { - if m != nil { - return m.Data +func (x *DebugReq) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *DebugReq) GetSendInterrupt() bool { - if m != nil { - return m.SendInterrupt +func (x *DebugReq) GetSendInterrupt() bool { + if x != nil { + return x.SendInterrupt } return false } type DebugConfigReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Arduino Core Service instance from the `Init` response. Instance *commands.Instance `protobuf:"bytes,1,opt,name=instance,proto3" json:"instance,omitempty"` // Fully qualified board name of the board in use @@ -105,175 +137,293 @@ type DebugConfigReq struct { // Which GDB command interpreter to use. Interpreter string `protobuf:"bytes,5,opt,name=interpreter,proto3" json:"interpreter,omitempty"` // DEPRECATED: use import_dir instead - ImportFile string `protobuf:"bytes,7,opt,name=import_file,json=importFile,proto3" json:"import_file,omitempty"` // Deprecated: Do not use. + // + // Deprecated: Do not use. + ImportFile string `protobuf:"bytes,7,opt,name=import_file,json=importFile,proto3" json:"import_file,omitempty"` // Directory containing the compiled executable. If `import_dir` is not // specified, the executable is assumed to be in // `{sketch_path}/build/{fqbn}/`. - ImportDir string `protobuf:"bytes,8,opt,name=import_dir,json=importDir,proto3" json:"import_dir,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + ImportDir string `protobuf:"bytes,8,opt,name=import_dir,json=importDir,proto3" json:"import_dir,omitempty"` } -func (m *DebugConfigReq) Reset() { *m = DebugConfigReq{} } -func (m *DebugConfigReq) String() string { return proto.CompactTextString(m) } -func (*DebugConfigReq) ProtoMessage() {} -func (*DebugConfigReq) Descriptor() ([]byte, []int) { - return fileDescriptor_5ae24eab94cb53d5, []int{1} +func (x *DebugConfigReq) Reset() { + *x = DebugConfigReq{} + if protoimpl.UnsafeEnabled { + mi := &file_debug_debug_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DebugConfigReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugConfigReq.Unmarshal(m, b) -} -func (m *DebugConfigReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugConfigReq.Marshal(b, m, deterministic) -} -func (m *DebugConfigReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugConfigReq.Merge(m, src) +func (x *DebugConfigReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DebugConfigReq) XXX_Size() int { - return xxx_messageInfo_DebugConfigReq.Size(m) -} -func (m *DebugConfigReq) XXX_DiscardUnknown() { - xxx_messageInfo_DebugConfigReq.DiscardUnknown(m) + +func (*DebugConfigReq) ProtoMessage() {} + +func (x *DebugConfigReq) ProtoReflect() protoreflect.Message { + mi := &file_debug_debug_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) } -var xxx_messageInfo_DebugConfigReq proto.InternalMessageInfo +// Deprecated: Use DebugConfigReq.ProtoReflect.Descriptor instead. +func (*DebugConfigReq) Descriptor() ([]byte, []int) { + return file_debug_debug_proto_rawDescGZIP(), []int{1} +} -func (m *DebugConfigReq) GetInstance() *commands.Instance { - if m != nil { - return m.Instance +func (x *DebugConfigReq) GetInstance() *commands.Instance { + if x != nil { + return x.Instance } return nil } -func (m *DebugConfigReq) GetFqbn() string { - if m != nil { - return m.Fqbn +func (x *DebugConfigReq) GetFqbn() string { + if x != nil { + return x.Fqbn } return "" } -func (m *DebugConfigReq) GetSketchPath() string { - if m != nil { - return m.SketchPath +func (x *DebugConfigReq) GetSketchPath() string { + if x != nil { + return x.SketchPath } return "" } -func (m *DebugConfigReq) GetPort() string { - if m != nil { - return m.Port +func (x *DebugConfigReq) GetPort() string { + if x != nil { + return x.Port } return "" } -func (m *DebugConfigReq) GetInterpreter() string { - if m != nil { - return m.Interpreter +func (x *DebugConfigReq) GetInterpreter() string { + if x != nil { + return x.Interpreter } return "" } // Deprecated: Do not use. -func (m *DebugConfigReq) GetImportFile() string { - if m != nil { - return m.ImportFile +func (x *DebugConfigReq) GetImportFile() string { + if x != nil { + return x.ImportFile } return "" } -func (m *DebugConfigReq) GetImportDir() string { - if m != nil { - return m.ImportDir +func (x *DebugConfigReq) GetImportDir() string { + if x != nil { + return x.ImportDir } return "" } // type DebugResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Incoming data from the debugger tool. Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` // Incoming error output from the debugger tool. - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` } -func (m *DebugResp) Reset() { *m = DebugResp{} } -func (m *DebugResp) String() string { return proto.CompactTextString(m) } -func (*DebugResp) ProtoMessage() {} -func (*DebugResp) Descriptor() ([]byte, []int) { - return fileDescriptor_5ae24eab94cb53d5, []int{2} +func (x *DebugResp) Reset() { + *x = DebugResp{} + if protoimpl.UnsafeEnabled { + mi := &file_debug_debug_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *DebugResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_DebugResp.Unmarshal(m, b) -} -func (m *DebugResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_DebugResp.Marshal(b, m, deterministic) -} -func (m *DebugResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_DebugResp.Merge(m, src) +func (x *DebugResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *DebugResp) XXX_Size() int { - return xxx_messageInfo_DebugResp.Size(m) -} -func (m *DebugResp) XXX_DiscardUnknown() { - xxx_messageInfo_DebugResp.DiscardUnknown(m) + +func (*DebugResp) ProtoMessage() {} + +func (x *DebugResp) ProtoReflect() protoreflect.Message { + mi := &file_debug_debug_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) } -var xxx_messageInfo_DebugResp proto.InternalMessageInfo +// Deprecated: Use DebugResp.ProtoReflect.Descriptor instead. +func (*DebugResp) Descriptor() ([]byte, []int) { + return file_debug_debug_proto_rawDescGZIP(), []int{2} +} -func (m *DebugResp) GetData() []byte { - if m != nil { - return m.Data +func (x *DebugResp) GetData() []byte { + if x != nil { + return x.Data } return nil } -func (m *DebugResp) GetError() string { - if m != nil { - return m.Error +func (x *DebugResp) GetError() string { + if x != nil { + return x.Error } return "" } -func init() { - proto.RegisterType((*DebugReq)(nil), "cc.arduino.cli.debug.DebugReq") - proto.RegisterType((*DebugConfigReq)(nil), "cc.arduino.cli.debug.DebugConfigReq") - proto.RegisterType((*DebugResp)(nil), "cc.arduino.cli.debug.DebugResp") -} - -func init() { proto.RegisterFile("debug/debug.proto", fileDescriptor_5ae24eab94cb53d5) } - -var fileDescriptor_5ae24eab94cb53d5 = []byte{ - // 375 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x7c, 0x52, 0x51, 0xcb, 0xd3, 0x30, - 0x14, 0x35, 0x9f, 0x9b, 0xb6, 0xb7, 0x3a, 0x30, 0x4c, 0x08, 0x03, 0x5d, 0xad, 0x0a, 0x45, 0xb0, - 0x95, 0x89, 0x8f, 0x82, 0xcc, 0x21, 0xec, 0x45, 0x24, 0x2f, 0x82, 0x2f, 0xa5, 0x4d, 0xb3, 0x35, - 0xd8, 0x25, 0x59, 0x9a, 0xfe, 0x06, 0xff, 0xb5, 0x48, 0xd2, 0x76, 0x4c, 0x91, 0xbd, 0xb4, 0x27, - 0xe7, 0x9e, 0x73, 0x39, 0xb9, 0xb9, 0xf0, 0xa4, 0xe6, 0x55, 0x7f, 0xcc, 0xfd, 0x37, 0xd3, 0x46, - 0x59, 0x85, 0x97, 0x8c, 0x65, 0xa5, 0xa9, 0x7b, 0x21, 0x55, 0xc6, 0x5a, 0x91, 0xf9, 0xda, 0xea, - 0x29, 0x53, 0xa7, 0x53, 0x29, 0xeb, 0x2e, 0x77, 0x40, 0xc9, 0x41, 0x9c, 0xfc, 0x42, 0x10, 0xec, - 0x9c, 0x80, 0xf2, 0x33, 0xfe, 0x04, 0x41, 0x3d, 0x62, 0x82, 0x62, 0x94, 0x46, 0x9b, 0x57, 0xd9, - 0xff, 0x9a, 0x65, 0xde, 0xf1, 0x59, 0xc9, 0x83, 0x70, 0x5a, 0x7a, 0x71, 0x61, 0x0c, 0xb3, 0xba, - 0xb4, 0x25, 0xb9, 0x8b, 0x51, 0xfa, 0x88, 0x7a, 0x8c, 0x5f, 0xc3, 0xa2, 0xe3, 0xb2, 0x2e, 0x84, - 0xb4, 0xdc, 0x98, 0x5e, 0x5b, 0x72, 0x3f, 0x46, 0x69, 0x40, 0x1f, 0x3b, 0x76, 0x3f, 0x91, 0xc9, - 0x6f, 0x04, 0x8b, 0xbf, 0xfb, 0xe2, 0x8f, 0x10, 0x08, 0xd9, 0xd9, 0x52, 0x32, 0x3e, 0xe6, 0x79, - 0xf1, 0x6f, 0x9e, 0xe9, 0x56, 0xd9, 0x7e, 0x14, 0xd2, 0x8b, 0xc5, 0x85, 0x39, 0x9c, 0x2b, 0xe9, - 0xc3, 0x84, 0xd4, 0x63, 0xbc, 0x86, 0xa8, 0xfb, 0xc9, 0x2d, 0x6b, 0x0a, 0x5d, 0xda, 0xc6, 0x27, - 0x09, 0x29, 0x0c, 0xd4, 0xb7, 0xd2, 0x36, 0xce, 0xa4, 0x95, 0xb1, 0x64, 0x36, 0x98, 0x1c, 0xc6, - 0x31, 0x44, 0x3e, 0xbc, 0x36, 0xdc, 0x72, 0x43, 0xe6, 0xbe, 0x74, 0x4d, 0xe1, 0x97, 0x10, 0x89, - 0x93, 0xd3, 0x16, 0x07, 0xd1, 0x72, 0xf2, 0xd0, 0x29, 0xb6, 0x77, 0x04, 0x51, 0x18, 0xe8, 0x2f, - 0xa2, 0xe5, 0xf8, 0x19, 0x8c, 0xa7, 0xa2, 0x16, 0x86, 0x04, 0xbe, 0x4b, 0x38, 0x30, 0x3b, 0x61, - 0x92, 0x0f, 0x10, 0x8e, 0x2f, 0xd1, 0xe9, 0xcb, 0x20, 0xd1, 0xd5, 0x20, 0x97, 0x30, 0xe7, 0xc6, - 0x28, 0x33, 0x5e, 0x68, 0x38, 0x6c, 0xbe, 0xc3, 0xdc, 0xdb, 0xf0, 0xd7, 0x09, 0x3c, 0xbf, 0xf1, - 0x68, 0x94, 0x9f, 0x57, 0xeb, 0x9b, 0xf5, 0x4e, 0x27, 0xf7, 0x52, 0xf4, 0x0e, 0x6d, 0xdf, 0xfc, - 0x48, 0x8f, 0xc2, 0x36, 0x7d, 0xe5, 0x86, 0x9c, 0x8f, 0xfa, 0xe9, 0xff, 0x96, 0xb5, 0x22, 0x37, - 0x9a, 0x0d, 0x9b, 0x57, 0x3d, 0xf0, 0xdb, 0xf4, 0xfe, 0x4f, 0x00, 0x00, 0x00, 0xff, 0xff, 0xb4, - 0xb6, 0x03, 0x86, 0x8f, 0x02, 0x00, 0x00, +var File_debug_debug_proto protoreflect.FileDescriptor + +var file_debug_debug_proto_rawDesc = []byte{ + 0x0a, 0x11, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x12, 0x14, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x1a, 0x15, 0x63, 0x6f, 0x6d, 0x6d, 0x61, + 0x6e, 0x64, 0x73, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x22, 0x87, 0x01, 0x0a, 0x08, 0x44, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x12, 0x40, 0x0a, + 0x08, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x24, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, + 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x44, 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x52, 0x65, 0x71, 0x52, 0x08, 0x64, 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x71, 0x12, + 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, + 0x61, 0x74, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x73, 0x65, 0x6e, 0x64, 0x5f, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x72, 0x75, 0x70, 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x73, 0x65, 0x6e, + 0x64, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x72, 0x75, 0x70, 0x74, 0x22, 0xfe, 0x01, 0x0a, 0x0e, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x65, 0x71, 0x12, 0x3d, 0x0a, + 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x21, 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, 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, 0x12, 0x0a, 0x04, 0x70, 0x6f, 0x72, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x70, 0x6f, 0x72, 0x74, 0x12, 0x20, 0x0a, 0x0b, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x70, 0x72, + 0x65, 0x74, 0x65, 0x72, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6e, 0x74, 0x65, + 0x72, 0x70, 0x72, 0x65, 0x74, 0x65, 0x72, 0x12, 0x23, 0x0a, 0x0b, 0x69, 0x6d, 0x70, 0x6f, 0x72, + 0x74, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x07, 0x20, 0x01, 0x28, 0x09, 0x42, 0x02, 0x18, 0x01, + 0x52, 0x0a, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x1d, 0x0a, 0x0a, + 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x08, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x09, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x44, 0x69, 0x72, 0x22, 0x35, 0x0a, 0x09, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 0x0a, 0x05, + 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, + 0x6f, 0x72, 0x32, 0x57, 0x0a, 0x05, 0x44, 0x65, 0x62, 0x75, 0x67, 0x12, 0x4e, 0x0a, 0x05, 0x44, + 0x65, 0x62, 0x75, 0x67, 0x12, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x44, 0x65, 0x62, 0x75, + 0x67, 0x52, 0x65, 0x71, 0x1a, 0x1f, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x64, 0x65, 0x62, 0x75, 0x67, 0x2e, 0x44, 0x65, 0x62, 0x75, + 0x67, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x28, 0x01, 0x30, 0x01, 0x42, 0x2a, 0x5a, 0x28, 0x67, + 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, + 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, + 0x63, 0x2f, 0x64, 0x65, 0x62, 0x75, 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_debug_debug_proto_rawDescOnce sync.Once + file_debug_debug_proto_rawDescData = file_debug_debug_proto_rawDesc +) + +func file_debug_debug_proto_rawDescGZIP() []byte { + file_debug_debug_proto_rawDescOnce.Do(func() { + file_debug_debug_proto_rawDescData = protoimpl.X.CompressGZIP(file_debug_debug_proto_rawDescData) + }) + return file_debug_debug_proto_rawDescData +} + +var file_debug_debug_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_debug_debug_proto_goTypes = []interface{}{ + (*DebugReq)(nil), // 0: cc.arduino.cli.debug.DebugReq + (*DebugConfigReq)(nil), // 1: cc.arduino.cli.debug.DebugConfigReq + (*DebugResp)(nil), // 2: cc.arduino.cli.debug.DebugResp + (*commands.Instance)(nil), // 3: cc.arduino.cli.commands.Instance +} +var file_debug_debug_proto_depIdxs = []int32{ + 1, // 0: cc.arduino.cli.debug.DebugReq.debugReq:type_name -> cc.arduino.cli.debug.DebugConfigReq + 3, // 1: cc.arduino.cli.debug.DebugConfigReq.instance:type_name -> cc.arduino.cli.commands.Instance + 0, // 2: cc.arduino.cli.debug.Debug.Debug:input_type -> cc.arduino.cli.debug.DebugReq + 2, // 3: cc.arduino.cli.debug.Debug.Debug:output_type -> cc.arduino.cli.debug.DebugResp + 3, // [3:4] is the sub-list for method output_type + 2, // [2:3] is the sub-list for method input_type + 2, // [2:2] is the sub-list for extension type_name + 2, // [2:2] is the sub-list for extension extendee + 0, // [0:2] is the sub-list for field type_name +} + +func init() { file_debug_debug_proto_init() } +func file_debug_debug_proto_init() { + if File_debug_debug_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_debug_debug_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DebugReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_debug_debug_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DebugConfigReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_debug_debug_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*DebugResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_debug_debug_proto_rawDesc, + NumEnums: 0, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_debug_debug_proto_goTypes, + DependencyIndexes: file_debug_debug_proto_depIdxs, + MessageInfos: file_debug_debug_proto_msgTypes, + }.Build() + File_debug_debug_proto = out.File + file_debug_debug_proto_rawDesc = nil + file_debug_debug_proto_goTypes = nil + file_debug_debug_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -341,7 +491,7 @@ type DebugServer interface { type UnimplementedDebugServer struct { } -func (*UnimplementedDebugServer) Debug(srv Debug_DebugServer) error { +func (*UnimplementedDebugServer) Debug(Debug_DebugServer) error { return status.Errorf(codes.Unimplemented, "method Debug not implemented") } diff --git a/rpc/monitor/monitor.pb.go b/rpc/monitor/monitor.pb.go index 3f68a33920f..bc01ec0236e 100644 --- a/rpc/monitor/monitor.pb.go +++ b/rpc/monitor/monitor.pb.go @@ -1,29 +1,49 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: monitor/monitor.proto package monitor import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" _struct "github.com/golang/protobuf/ptypes/struct" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type MonitorConfig_TargetType int32 @@ -31,20 +51,41 @@ const ( MonitorConfig_SERIAL MonitorConfig_TargetType = 0 ) -var MonitorConfig_TargetType_name = map[int32]string{ - 0: "SERIAL", -} +// Enum value maps for MonitorConfig_TargetType. +var ( + MonitorConfig_TargetType_name = map[int32]string{ + 0: "SERIAL", + } + MonitorConfig_TargetType_value = map[string]int32{ + "SERIAL": 0, + } +) -var MonitorConfig_TargetType_value = map[string]int32{ - "SERIAL": 0, +func (x MonitorConfig_TargetType) Enum() *MonitorConfig_TargetType { + p := new(MonitorConfig_TargetType) + *p = x + return p } func (x MonitorConfig_TargetType) String() string { - return proto.EnumName(MonitorConfig_TargetType_name, int32(x)) + return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } +func (MonitorConfig_TargetType) Descriptor() protoreflect.EnumDescriptor { + return file_monitor_monitor_proto_enumTypes[0].Descriptor() +} + +func (MonitorConfig_TargetType) Type() protoreflect.EnumType { + return &file_monitor_monitor_proto_enumTypes[0] +} + +func (x MonitorConfig_TargetType) Number() protoreflect.EnumNumber { + return protoreflect.EnumNumber(x) +} + +// Deprecated: Use MonitorConfig_TargetType.Descriptor instead. func (MonitorConfig_TargetType) EnumDescriptor() ([]byte, []int) { - return fileDescriptor_94d5950496a7550d, []int{1, 0} + return file_monitor_monitor_proto_rawDescGZIP(), []int{1, 0} } // The top-level message sent by the client for the `StreamingOpen` method. @@ -53,58 +94,50 @@ func (MonitorConfig_TargetType) EnumDescriptor() ([]byte, []int) { // All subsequent messages must contain bytes to be sent to the target // and must not contain a `monitor_config` message. type StreamingOpenReq struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // Content must be either a monitor config or data to be sent. // - // Types that are valid to be assigned to Content: + // Types that are assignable to Content: // *StreamingOpenReq_MonitorConfig // *StreamingOpenReq_Data - Content isStreamingOpenReq_Content `protobuf_oneof:"content"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Content isStreamingOpenReq_Content `protobuf_oneof:"content"` } -func (m *StreamingOpenReq) Reset() { *m = StreamingOpenReq{} } -func (m *StreamingOpenReq) String() string { return proto.CompactTextString(m) } -func (*StreamingOpenReq) ProtoMessage() {} -func (*StreamingOpenReq) Descriptor() ([]byte, []int) { - return fileDescriptor_94d5950496a7550d, []int{0} +func (x *StreamingOpenReq) Reset() { + *x = StreamingOpenReq{} + if protoimpl.UnsafeEnabled { + mi := &file_monitor_monitor_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StreamingOpenReq) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOpenReq.Unmarshal(m, b) -} -func (m *StreamingOpenReq) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOpenReq.Marshal(b, m, deterministic) -} -func (m *StreamingOpenReq) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOpenReq.Merge(m, src) +func (x *StreamingOpenReq) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StreamingOpenReq) XXX_Size() int { - return xxx_messageInfo_StreamingOpenReq.Size(m) -} -func (m *StreamingOpenReq) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOpenReq.DiscardUnknown(m) -} - -var xxx_messageInfo_StreamingOpenReq proto.InternalMessageInfo -type isStreamingOpenReq_Content interface { - isStreamingOpenReq_Content() -} +func (*StreamingOpenReq) ProtoMessage() {} -type StreamingOpenReq_MonitorConfig struct { - MonitorConfig *MonitorConfig `protobuf:"bytes,1,opt,name=monitorConfig,proto3,oneof"` +func (x *StreamingOpenReq) ProtoReflect() protoreflect.Message { + mi := &file_monitor_monitor_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) } -type StreamingOpenReq_Data struct { - Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` +// Deprecated: Use StreamingOpenReq.ProtoReflect.Descriptor instead. +func (*StreamingOpenReq) Descriptor() ([]byte, []int) { + return file_monitor_monitor_proto_rawDescGZIP(), []int{0} } -func (*StreamingOpenReq_MonitorConfig) isStreamingOpenReq_Content() {} - -func (*StreamingOpenReq_Data) isStreamingOpenReq_Content() {} - func (m *StreamingOpenReq) GetContent() isStreamingOpenReq_Content { if m != nil { return m.Content @@ -112,162 +145,302 @@ func (m *StreamingOpenReq) GetContent() isStreamingOpenReq_Content { return nil } -func (m *StreamingOpenReq) GetMonitorConfig() *MonitorConfig { - if x, ok := m.GetContent().(*StreamingOpenReq_MonitorConfig); ok { +func (x *StreamingOpenReq) GetMonitorConfig() *MonitorConfig { + if x, ok := x.GetContent().(*StreamingOpenReq_MonitorConfig); ok { return x.MonitorConfig } return nil } -func (m *StreamingOpenReq) GetData() []byte { - if x, ok := m.GetContent().(*StreamingOpenReq_Data); ok { +func (x *StreamingOpenReq) GetData() []byte { + if x, ok := x.GetContent().(*StreamingOpenReq_Data); ok { return x.Data } return nil } -// XXX_OneofWrappers is for the internal use of the proto package. -func (*StreamingOpenReq) XXX_OneofWrappers() []interface{} { - return []interface{}{ - (*StreamingOpenReq_MonitorConfig)(nil), - (*StreamingOpenReq_Data)(nil), - } +type isStreamingOpenReq_Content interface { + isStreamingOpenReq_Content() } +type StreamingOpenReq_MonitorConfig struct { + // Provides information to the monitor that specifies which is the target. + // The first `StreamingOpenReq` message must contain a `monitor_config` + // message. + MonitorConfig *MonitorConfig `protobuf:"bytes,1,opt,name=monitorConfig,proto3,oneof"` +} + +type StreamingOpenReq_Data struct { + // The data to be sent to the target being monitored. + Data []byte `protobuf:"bytes,2,opt,name=data,proto3,oneof"` +} + +func (*StreamingOpenReq_MonitorConfig) isStreamingOpenReq_Content() {} + +func (*StreamingOpenReq_Data) isStreamingOpenReq_Content() {} + // Tells the monitor which target to open and provides additional parameters // that might be needed to configure the target or the monitor itself. type MonitorConfig struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The target name. Target string `protobuf:"bytes,1,opt,name=target,proto3" json:"target,omitempty"` Type MonitorConfig_TargetType `protobuf:"varint,2,opt,name=type,proto3,enum=cc.arduino.cli.monitor.MonitorConfig_TargetType" json:"type,omitempty"` // Additional parameters that might be needed to configure the target or the // monitor itself. - AdditionalConfig *_struct.Struct `protobuf:"bytes,3,opt,name=additionalConfig,proto3" json:"additionalConfig,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + AdditionalConfig *_struct.Struct `protobuf:"bytes,3,opt,name=additionalConfig,proto3" json:"additionalConfig,omitempty"` } -func (m *MonitorConfig) Reset() { *m = MonitorConfig{} } -func (m *MonitorConfig) String() string { return proto.CompactTextString(m) } -func (*MonitorConfig) ProtoMessage() {} -func (*MonitorConfig) Descriptor() ([]byte, []int) { - return fileDescriptor_94d5950496a7550d, []int{1} +func (x *MonitorConfig) Reset() { + *x = MonitorConfig{} + if protoimpl.UnsafeEnabled { + mi := &file_monitor_monitor_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MonitorConfig) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MonitorConfig.Unmarshal(m, b) -} -func (m *MonitorConfig) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MonitorConfig.Marshal(b, m, deterministic) -} -func (m *MonitorConfig) XXX_Merge(src proto.Message) { - xxx_messageInfo_MonitorConfig.Merge(m, src) +func (x *MonitorConfig) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *MonitorConfig) XXX_Size() int { - return xxx_messageInfo_MonitorConfig.Size(m) -} -func (m *MonitorConfig) XXX_DiscardUnknown() { - xxx_messageInfo_MonitorConfig.DiscardUnknown(m) + +func (*MonitorConfig) ProtoMessage() {} + +func (x *MonitorConfig) ProtoReflect() protoreflect.Message { + mi := &file_monitor_monitor_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) } -var xxx_messageInfo_MonitorConfig proto.InternalMessageInfo +// Deprecated: Use MonitorConfig.ProtoReflect.Descriptor instead. +func (*MonitorConfig) Descriptor() ([]byte, []int) { + return file_monitor_monitor_proto_rawDescGZIP(), []int{1} +} -func (m *MonitorConfig) GetTarget() string { - if m != nil { - return m.Target +func (x *MonitorConfig) GetTarget() string { + if x != nil { + return x.Target } return "" } -func (m *MonitorConfig) GetType() MonitorConfig_TargetType { - if m != nil { - return m.Type +func (x *MonitorConfig) GetType() MonitorConfig_TargetType { + if x != nil { + return x.Type } return MonitorConfig_SERIAL } -func (m *MonitorConfig) GetAdditionalConfig() *_struct.Struct { - if m != nil { - return m.AdditionalConfig +func (x *MonitorConfig) GetAdditionalConfig() *_struct.Struct { + if x != nil { + return x.AdditionalConfig } return nil } // type StreamingOpenResp struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The data received from the target. - Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` } -func (m *StreamingOpenResp) Reset() { *m = StreamingOpenResp{} } -func (m *StreamingOpenResp) String() string { return proto.CompactTextString(m) } -func (*StreamingOpenResp) ProtoMessage() {} -func (*StreamingOpenResp) Descriptor() ([]byte, []int) { - return fileDescriptor_94d5950496a7550d, []int{2} +func (x *StreamingOpenResp) Reset() { + *x = StreamingOpenResp{} + if protoimpl.UnsafeEnabled { + mi := &file_monitor_monitor_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *StreamingOpenResp) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_StreamingOpenResp.Unmarshal(m, b) -} -func (m *StreamingOpenResp) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_StreamingOpenResp.Marshal(b, m, deterministic) -} -func (m *StreamingOpenResp) XXX_Merge(src proto.Message) { - xxx_messageInfo_StreamingOpenResp.Merge(m, src) +func (x *StreamingOpenResp) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *StreamingOpenResp) XXX_Size() int { - return xxx_messageInfo_StreamingOpenResp.Size(m) -} -func (m *StreamingOpenResp) XXX_DiscardUnknown() { - xxx_messageInfo_StreamingOpenResp.DiscardUnknown(m) + +func (*StreamingOpenResp) ProtoMessage() {} + +func (x *StreamingOpenResp) ProtoReflect() protoreflect.Message { + mi := &file_monitor_monitor_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) } -var xxx_messageInfo_StreamingOpenResp proto.InternalMessageInfo +// Deprecated: Use StreamingOpenResp.ProtoReflect.Descriptor instead. +func (*StreamingOpenResp) Descriptor() ([]byte, []int) { + return file_monitor_monitor_proto_rawDescGZIP(), []int{2} +} -func (m *StreamingOpenResp) GetData() []byte { - if m != nil { - return m.Data +func (x *StreamingOpenResp) GetData() []byte { + if x != nil { + return x.Data } return nil } -func init() { - proto.RegisterEnum("cc.arduino.cli.monitor.MonitorConfig_TargetType", MonitorConfig_TargetType_name, MonitorConfig_TargetType_value) - proto.RegisterType((*StreamingOpenReq)(nil), "cc.arduino.cli.monitor.StreamingOpenReq") - proto.RegisterType((*MonitorConfig)(nil), "cc.arduino.cli.monitor.MonitorConfig") - proto.RegisterType((*StreamingOpenResp)(nil), "cc.arduino.cli.monitor.StreamingOpenResp") -} - -func init() { proto.RegisterFile("monitor/monitor.proto", fileDescriptor_94d5950496a7550d) } - -var fileDescriptor_94d5950496a7550d = []byte{ - // 339 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x92, 0xd1, 0x4e, 0xf2, 0x30, - 0x14, 0xc7, 0xb7, 0xef, 0x23, 0x10, 0x8e, 0x60, 0xb0, 0x51, 0x24, 0xc4, 0x0b, 0xb2, 0xc4, 0x38, - 0x8d, 0x76, 0x04, 0x9f, 0x40, 0xd0, 0x04, 0x13, 0x89, 0x49, 0xe1, 0xca, 0xbb, 0xd2, 0x95, 0x59, - 0x33, 0xda, 0x5a, 0xba, 0x0b, 0x6e, 0x7d, 0x3e, 0x1f, 0xca, 0x58, 0x4a, 0x14, 0xd4, 0x84, 0xab, - 0xa6, 0xd9, 0xf9, 0x9d, 0x73, 0xfe, 0xbf, 0x15, 0x8e, 0xe6, 0x4a, 0x0a, 0xab, 0x4c, 0xe2, 0x4f, - 0xac, 0x8d, 0xb2, 0x0a, 0x35, 0x19, 0xc3, 0xd4, 0xa4, 0x85, 0x90, 0x0a, 0xb3, 0x5c, 0x60, 0xff, - 0xb5, 0x7d, 0x92, 0x29, 0x95, 0xe5, 0x3c, 0x71, 0x55, 0xd3, 0x62, 0x96, 0x2c, 0xac, 0x29, 0x98, - 0x5d, 0x51, 0xd1, 0x5b, 0x08, 0x8d, 0xb1, 0x35, 0x9c, 0xce, 0x85, 0xcc, 0x1e, 0x35, 0x97, 0x84, - 0xbf, 0xa2, 0x11, 0xd4, 0x3d, 0x3d, 0x50, 0x72, 0x26, 0xb2, 0x56, 0xd8, 0x09, 0xe3, 0xbd, 0xde, - 0x29, 0xfe, 0x7d, 0x04, 0x1e, 0x7d, 0x2f, 0x1e, 0x06, 0x64, 0x93, 0x46, 0x87, 0x50, 0x4a, 0xa9, - 0xa5, 0xad, 0x7f, 0x9d, 0x30, 0xae, 0x0d, 0x03, 0xe2, 0x6e, 0xfd, 0x2a, 0x54, 0x98, 0x92, 0x96, - 0x4b, 0x1b, 0xbd, 0x87, 0x50, 0xdf, 0xe8, 0x81, 0x9a, 0x50, 0xb6, 0xd4, 0x64, 0xdc, 0xba, 0xd1, - 0x55, 0xe2, 0x6f, 0xe8, 0x16, 0x4a, 0x76, 0xa9, 0xb9, 0x6b, 0xb5, 0xdf, 0xeb, 0xee, 0xb4, 0x10, - 0x9e, 0x38, 0x76, 0xb2, 0xd4, 0x9c, 0x38, 0x1a, 0x0d, 0xa0, 0x41, 0xd3, 0x54, 0x58, 0xa1, 0x24, - 0xcd, 0x7d, 0xc4, 0xff, 0x2e, 0xe2, 0x31, 0x5e, 0xd9, 0xc2, 0x6b, 0x5b, 0x78, 0xec, 0x6c, 0x91, - 0x1f, 0x40, 0xd4, 0x02, 0xf8, 0x6a, 0x8c, 0x00, 0xca, 0xe3, 0x3b, 0x72, 0x7f, 0xf3, 0xd0, 0x08, - 0xa2, 0x33, 0x38, 0xd8, 0x52, 0xba, 0xd0, 0x08, 0x79, 0x09, 0x9f, 0x79, 0x6a, 0x2b, 0x05, 0xbd, - 0x02, 0x2a, 0x7e, 0x53, 0xf4, 0x02, 0xf5, 0x0d, 0x06, 0xc5, 0x7f, 0x65, 0xdb, 0xfe, 0x5b, 0xed, - 0xf3, 0x1d, 0x2b, 0x17, 0x3a, 0x0a, 0xe2, 0xb0, 0x1b, 0xf6, 0x2f, 0x9f, 0x2e, 0x32, 0x61, 0x9f, - 0x8b, 0x29, 0x66, 0x6a, 0x9e, 0x78, 0x72, 0x7d, 0x5e, 0xb1, 0x5c, 0x24, 0x46, 0xb3, 0xf5, 0xeb, - 0x9a, 0x96, 0x9d, 0x8a, 0xeb, 0x8f, 0x00, 0x00, 0x00, 0xff, 0xff, 0x8c, 0x6c, 0x5e, 0x00, 0x77, - 0x02, 0x00, 0x00, +var File_monitor_monitor_proto protoreflect.FileDescriptor + +var file_monitor_monitor_proto_rawDesc = []byte{ + 0x0a, 0x15, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, + 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x16, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x1a, + 0x1c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, + 0x2f, 0x73, 0x74, 0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01, + 0x0a, 0x10, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x52, + 0x65, 0x71, 0x12, 0x4d, 0x0a, 0x0d, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x25, 0x2e, 0x63, 0x63, 0x2e, 0x61, + 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, + 0x6f, 0x72, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, + 0x48, 0x00, 0x52, 0x0d, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x12, 0x14, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x48, + 0x00, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x42, 0x09, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, + 0x6e, 0x74, 0x22, 0xcc, 0x01, 0x0a, 0x0d, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x43, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x12, 0x44, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x30, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, + 0x74, 0x6f, 0x72, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52, 0x04, 0x74, 0x79, + 0x70, 0x65, 0x12, 0x43, 0x0a, 0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, 0x6c, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, + 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, + 0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x10, 0x61, 0x64, 0x64, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x61, + 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x18, 0x0a, 0x0a, 0x54, 0x61, 0x72, 0x67, 0x65, + 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x0a, 0x0a, 0x06, 0x53, 0x45, 0x52, 0x49, 0x41, 0x4c, 0x10, + 0x00, 0x22, 0x27, 0x0a, 0x11, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x70, + 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x32, 0x75, 0x0a, 0x07, 0x4d, 0x6f, + 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x12, 0x6a, 0x0a, 0x0d, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, + 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x12, 0x28, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, + 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, + 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x71, + 0x1a, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, + 0x69, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x2e, 0x53, 0x74, 0x72, 0x65, 0x61, 0x6d, + 0x69, 0x6e, 0x67, 0x4f, 0x70, 0x65, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x22, 0x00, 0x28, 0x01, 0x30, + 0x01, 0x42, 0x2c, 0x5a, 0x2a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, + 0x63, 0x6c, 0x69, 0x2f, 0x72, 0x70, 0x63, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x62, + 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, +} + +var ( + file_monitor_monitor_proto_rawDescOnce sync.Once + file_monitor_monitor_proto_rawDescData = file_monitor_monitor_proto_rawDesc +) + +func file_monitor_monitor_proto_rawDescGZIP() []byte { + file_monitor_monitor_proto_rawDescOnce.Do(func() { + file_monitor_monitor_proto_rawDescData = protoimpl.X.CompressGZIP(file_monitor_monitor_proto_rawDescData) + }) + return file_monitor_monitor_proto_rawDescData +} + +var file_monitor_monitor_proto_enumTypes = make([]protoimpl.EnumInfo, 1) +var file_monitor_monitor_proto_msgTypes = make([]protoimpl.MessageInfo, 3) +var file_monitor_monitor_proto_goTypes = []interface{}{ + (MonitorConfig_TargetType)(0), // 0: cc.arduino.cli.monitor.MonitorConfig.TargetType + (*StreamingOpenReq)(nil), // 1: cc.arduino.cli.monitor.StreamingOpenReq + (*MonitorConfig)(nil), // 2: cc.arduino.cli.monitor.MonitorConfig + (*StreamingOpenResp)(nil), // 3: cc.arduino.cli.monitor.StreamingOpenResp + (*_struct.Struct)(nil), // 4: google.protobuf.Struct +} +var file_monitor_monitor_proto_depIdxs = []int32{ + 2, // 0: cc.arduino.cli.monitor.StreamingOpenReq.monitorConfig:type_name -> cc.arduino.cli.monitor.MonitorConfig + 0, // 1: cc.arduino.cli.monitor.MonitorConfig.type:type_name -> cc.arduino.cli.monitor.MonitorConfig.TargetType + 4, // 2: cc.arduino.cli.monitor.MonitorConfig.additionalConfig:type_name -> google.protobuf.Struct + 1, // 3: cc.arduino.cli.monitor.Monitor.StreamingOpen:input_type -> cc.arduino.cli.monitor.StreamingOpenReq + 3, // 4: cc.arduino.cli.monitor.Monitor.StreamingOpen:output_type -> cc.arduino.cli.monitor.StreamingOpenResp + 4, // [4:5] is the sub-list for method output_type + 3, // [3:4] is the sub-list for method input_type + 3, // [3:3] is the sub-list for extension type_name + 3, // [3:3] is the sub-list for extension extendee + 0, // [0:3] is the sub-list for field type_name +} + +func init() { file_monitor_monitor_proto_init() } +func file_monitor_monitor_proto_init() { + if File_monitor_monitor_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_monitor_monitor_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamingOpenReq); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_monitor_monitor_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MonitorConfig); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_monitor_monitor_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*StreamingOpenResp); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + file_monitor_monitor_proto_msgTypes[0].OneofWrappers = []interface{}{ + (*StreamingOpenReq_MonitorConfig)(nil), + (*StreamingOpenReq_Data)(nil), + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_monitor_monitor_proto_rawDesc, + NumEnums: 1, + NumMessages: 3, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_monitor_monitor_proto_goTypes, + DependencyIndexes: file_monitor_monitor_proto_depIdxs, + EnumInfos: file_monitor_monitor_proto_enumTypes, + MessageInfos: file_monitor_monitor_proto_msgTypes, + }.Build() + File_monitor_monitor_proto = out.File + file_monitor_monitor_proto_rawDesc = nil + file_monitor_monitor_proto_goTypes = nil + file_monitor_monitor_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -337,7 +510,7 @@ type MonitorServer interface { type UnimplementedMonitorServer struct { } -func (*UnimplementedMonitorServer) StreamingOpen(srv Monitor_StreamingOpenServer) error { +func (*UnimplementedMonitorServer) StreamingOpen(Monitor_StreamingOpenServer) error { return status.Errorf(codes.Unimplemented, "method StreamingOpen not implemented") } diff --git a/rpc/settings/settings.pb.go b/rpc/settings/settings.pb.go index 212048e452b..239908e48ff 100644 --- a/rpc/settings/settings.pb.go +++ b/rpc/settings/settings.pb.go @@ -1,282 +1,496 @@ +// This file is part of arduino-cli. +// +// Copyright 2020 ARDUINO SA (http://www.arduino.cc/) +// +// This software is released under the GNU General Public License version 3, +// which covers the main part of arduino-cli. +// The terms of this license can be found at: +// https://www.gnu.org/licenses/gpl-3.0.en.html +// +// You can be released from the requirements of the above licenses by purchasing +// a commercial license. Buying such a license is mandatory if you want to +// modify or otherwise use the software for commercial activities involving the +// Arduino software without disclosing the source code of your own applications. +// To purchase a commercial license, send an email to license@arduino.cc. + // Code generated by protoc-gen-go. DO NOT EDIT. +// versions: +// protoc-gen-go v1.23.0 +// protoc v3.12.3 // source: settings/settings.proto package settings import ( context "context" - fmt "fmt" proto "github.com/golang/protobuf/proto" grpc "google.golang.org/grpc" codes "google.golang.org/grpc/codes" status "google.golang.org/grpc/status" - math "math" + protoreflect "google.golang.org/protobuf/reflect/protoreflect" + protoimpl "google.golang.org/protobuf/runtime/protoimpl" + reflect "reflect" + sync "sync" ) -// Reference imports to suppress errors if they are not otherwise used. -var _ = proto.Marshal -var _ = fmt.Errorf -var _ = math.Inf +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) +) -// This is a compile-time assertion to ensure that this generated file -// is compatible with the proto package it is being compiled against. -// A compilation error at this line likely means your copy of the -// proto package needs to be updated. -const _ = proto.ProtoPackageIsVersion3 // please upgrade the proto package +// This is a compile-time assertion that a sufficiently up-to-date version +// of the legacy proto package is being used. +const _ = proto.ProtoPackageIsVersion4 type RawData struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The settings, in JSON format. - JsonData string `protobuf:"bytes,1,opt,name=jsonData,proto3" json:"jsonData,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + JsonData string `protobuf:"bytes,1,opt,name=jsonData,proto3" json:"jsonData,omitempty"` } -func (m *RawData) Reset() { *m = RawData{} } -func (m *RawData) String() string { return proto.CompactTextString(m) } -func (*RawData) ProtoMessage() {} -func (*RawData) Descriptor() ([]byte, []int) { - return fileDescriptor_a4bfd59e429426d0, []int{0} +func (x *RawData) Reset() { + *x = RawData{} + if protoimpl.UnsafeEnabled { + mi := &file_settings_settings_proto_msgTypes[0] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *RawData) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_RawData.Unmarshal(m, b) +func (x *RawData) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *RawData) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_RawData.Marshal(b, m, deterministic) -} -func (m *RawData) XXX_Merge(src proto.Message) { - xxx_messageInfo_RawData.Merge(m, src) -} -func (m *RawData) XXX_Size() int { - return xxx_messageInfo_RawData.Size(m) -} -func (m *RawData) XXX_DiscardUnknown() { - xxx_messageInfo_RawData.DiscardUnknown(m) + +func (*RawData) ProtoMessage() {} + +func (x *RawData) ProtoReflect() protoreflect.Message { + mi := &file_settings_settings_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) } -var xxx_messageInfo_RawData proto.InternalMessageInfo +// Deprecated: Use RawData.ProtoReflect.Descriptor instead. +func (*RawData) Descriptor() ([]byte, []int) { + return file_settings_settings_proto_rawDescGZIP(), []int{0} +} -func (m *RawData) GetJsonData() string { - if m != nil { - return m.JsonData +func (x *RawData) GetJsonData() string { + if x != nil { + return x.JsonData } return "" } type Value struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The key of the setting. Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` // The setting, in JSON format. - JsonData string `protobuf:"bytes,2,opt,name=jsonData,proto3" json:"jsonData,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + JsonData string `protobuf:"bytes,2,opt,name=jsonData,proto3" json:"jsonData,omitempty"` } -func (m *Value) Reset() { *m = Value{} } -func (m *Value) String() string { return proto.CompactTextString(m) } -func (*Value) ProtoMessage() {} -func (*Value) Descriptor() ([]byte, []int) { - return fileDescriptor_a4bfd59e429426d0, []int{1} +func (x *Value) Reset() { + *x = Value{} + if protoimpl.UnsafeEnabled { + mi := &file_settings_settings_proto_msgTypes[1] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *Value) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_Value.Unmarshal(m, b) -} -func (m *Value) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_Value.Marshal(b, m, deterministic) -} -func (m *Value) XXX_Merge(src proto.Message) { - xxx_messageInfo_Value.Merge(m, src) -} -func (m *Value) XXX_Size() int { - return xxx_messageInfo_Value.Size(m) +func (x *Value) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *Value) XXX_DiscardUnknown() { - xxx_messageInfo_Value.DiscardUnknown(m) + +func (*Value) ProtoMessage() {} + +func (x *Value) ProtoReflect() protoreflect.Message { + mi := &file_settings_settings_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) } -var xxx_messageInfo_Value proto.InternalMessageInfo +// Deprecated: Use Value.ProtoReflect.Descriptor instead. +func (*Value) Descriptor() ([]byte, []int) { + return file_settings_settings_proto_rawDescGZIP(), []int{1} +} -func (m *Value) GetKey() string { - if m != nil { - return m.Key +func (x *Value) GetKey() string { + if x != nil { + return x.Key } return "" } -func (m *Value) GetJsonData() string { - if m != nil { - return m.JsonData +func (x *Value) GetJsonData() string { + if x != nil { + return x.JsonData } return "" } type GetAllRequest struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *GetAllRequest) Reset() { *m = GetAllRequest{} } -func (m *GetAllRequest) String() string { return proto.CompactTextString(m) } -func (*GetAllRequest) ProtoMessage() {} -func (*GetAllRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a4bfd59e429426d0, []int{2} +func (x *GetAllRequest) Reset() { + *x = GetAllRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_settings_settings_proto_msgTypes[2] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetAllRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetAllRequest.Unmarshal(m, b) -} -func (m *GetAllRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetAllRequest.Marshal(b, m, deterministic) -} -func (m *GetAllRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetAllRequest.Merge(m, src) +func (x *GetAllRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetAllRequest) XXX_Size() int { - return xxx_messageInfo_GetAllRequest.Size(m) -} -func (m *GetAllRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetAllRequest.DiscardUnknown(m) + +func (*GetAllRequest) ProtoMessage() {} + +func (x *GetAllRequest) ProtoReflect() protoreflect.Message { + mi := &file_settings_settings_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) } -var xxx_messageInfo_GetAllRequest proto.InternalMessageInfo +// Deprecated: Use GetAllRequest.ProtoReflect.Descriptor instead. +func (*GetAllRequest) Descriptor() ([]byte, []int) { + return file_settings_settings_proto_rawDescGZIP(), []int{2} +} type GetValueRequest struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + // The key of the setting. - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` } -func (m *GetValueRequest) Reset() { *m = GetValueRequest{} } -func (m *GetValueRequest) String() string { return proto.CompactTextString(m) } -func (*GetValueRequest) ProtoMessage() {} -func (*GetValueRequest) Descriptor() ([]byte, []int) { - return fileDescriptor_a4bfd59e429426d0, []int{3} +func (x *GetValueRequest) Reset() { + *x = GetValueRequest{} + if protoimpl.UnsafeEnabled { + mi := &file_settings_settings_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *GetValueRequest) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_GetValueRequest.Unmarshal(m, b) -} -func (m *GetValueRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_GetValueRequest.Marshal(b, m, deterministic) -} -func (m *GetValueRequest) XXX_Merge(src proto.Message) { - xxx_messageInfo_GetValueRequest.Merge(m, src) -} -func (m *GetValueRequest) XXX_Size() int { - return xxx_messageInfo_GetValueRequest.Size(m) +func (x *GetValueRequest) String() string { + return protoimpl.X.MessageStringOf(x) } -func (m *GetValueRequest) XXX_DiscardUnknown() { - xxx_messageInfo_GetValueRequest.DiscardUnknown(m) + +func (*GetValueRequest) ProtoMessage() {} + +func (x *GetValueRequest) ProtoReflect() protoreflect.Message { + mi := &file_settings_settings_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) } -var xxx_messageInfo_GetValueRequest proto.InternalMessageInfo +// Deprecated: Use GetValueRequest.ProtoReflect.Descriptor instead. +func (*GetValueRequest) Descriptor() ([]byte, []int) { + return file_settings_settings_proto_rawDescGZIP(), []int{3} +} -func (m *GetValueRequest) GetKey() string { - if m != nil { - return m.Key +func (x *GetValueRequest) GetKey() string { + if x != nil { + return x.Key } return "" } type MergeResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *MergeResponse) Reset() { *m = MergeResponse{} } -func (m *MergeResponse) String() string { return proto.CompactTextString(m) } -func (*MergeResponse) ProtoMessage() {} -func (*MergeResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a4bfd59e429426d0, []int{4} +func (x *MergeResponse) Reset() { + *x = MergeResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_settings_settings_proto_msgTypes[4] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *MergeResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_MergeResponse.Unmarshal(m, b) -} -func (m *MergeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_MergeResponse.Marshal(b, m, deterministic) -} -func (m *MergeResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_MergeResponse.Merge(m, src) -} -func (m *MergeResponse) XXX_Size() int { - return xxx_messageInfo_MergeResponse.Size(m) -} -func (m *MergeResponse) XXX_DiscardUnknown() { - xxx_messageInfo_MergeResponse.DiscardUnknown(m) +func (x *MergeResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_MergeResponse proto.InternalMessageInfo +func (*MergeResponse) ProtoMessage() {} -type SetValueResponse struct { - XXX_NoUnkeyedLiteral struct{} `json:"-"` - XXX_unrecognized []byte `json:"-"` - XXX_sizecache int32 `json:"-"` +func (x *MergeResponse) ProtoReflect() protoreflect.Message { + mi := &file_settings_settings_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) } -func (m *SetValueResponse) Reset() { *m = SetValueResponse{} } -func (m *SetValueResponse) String() string { return proto.CompactTextString(m) } -func (*SetValueResponse) ProtoMessage() {} -func (*SetValueResponse) Descriptor() ([]byte, []int) { - return fileDescriptor_a4bfd59e429426d0, []int{5} +// Deprecated: Use MergeResponse.ProtoReflect.Descriptor instead. +func (*MergeResponse) Descriptor() ([]byte, []int) { + return file_settings_settings_proto_rawDescGZIP(), []int{4} } -func (m *SetValueResponse) XXX_Unmarshal(b []byte) error { - return xxx_messageInfo_SetValueResponse.Unmarshal(m, b) -} -func (m *SetValueResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) { - return xxx_messageInfo_SetValueResponse.Marshal(b, m, deterministic) -} -func (m *SetValueResponse) XXX_Merge(src proto.Message) { - xxx_messageInfo_SetValueResponse.Merge(m, src) +type SetValueResponse struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields } -func (m *SetValueResponse) XXX_Size() int { - return xxx_messageInfo_SetValueResponse.Size(m) + +func (x *SetValueResponse) Reset() { + *x = SetValueResponse{} + if protoimpl.UnsafeEnabled { + mi := &file_settings_settings_proto_msgTypes[5] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } } -func (m *SetValueResponse) XXX_DiscardUnknown() { - xxx_messageInfo_SetValueResponse.DiscardUnknown(m) + +func (x *SetValueResponse) String() string { + return protoimpl.X.MessageStringOf(x) } -var xxx_messageInfo_SetValueResponse proto.InternalMessageInfo +func (*SetValueResponse) ProtoMessage() {} -func init() { - proto.RegisterType((*RawData)(nil), "cc.arduino.cli.settings.RawData") - proto.RegisterType((*Value)(nil), "cc.arduino.cli.settings.Value") - proto.RegisterType((*GetAllRequest)(nil), "cc.arduino.cli.settings.GetAllRequest") - proto.RegisterType((*GetValueRequest)(nil), "cc.arduino.cli.settings.GetValueRequest") - proto.RegisterType((*MergeResponse)(nil), "cc.arduino.cli.settings.MergeResponse") - proto.RegisterType((*SetValueResponse)(nil), "cc.arduino.cli.settings.SetValueResponse") +func (x *SetValueResponse) ProtoReflect() protoreflect.Message { + mi := &file_settings_settings_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) } -func init() { proto.RegisterFile("settings/settings.proto", fileDescriptor_a4bfd59e429426d0) } +// Deprecated: Use SetValueResponse.ProtoReflect.Descriptor instead. +func (*SetValueResponse) Descriptor() ([]byte, []int) { + return file_settings_settings_proto_rawDescGZIP(), []int{5} +} + +var File_settings_settings_proto protoreflect.FileDescriptor + +var file_settings_settings_proto_rawDesc = []byte{ + 0x0a, 0x17, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, + 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x17, 0x63, 0x63, 0x2e, 0x61, 0x72, + 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, + 0x67, 0x73, 0x22, 0x25, 0x0a, 0x07, 0x52, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1a, 0x0a, + 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x22, 0x35, 0x0a, 0x05, 0x56, 0x61, 0x6c, + 0x75, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x03, 0x6b, 0x65, 0x79, 0x12, 0x1a, 0x0a, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x6a, 0x73, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, + 0x22, 0x0f, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x22, 0x23, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x22, 0x0f, 0x0a, 0x0d, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x12, 0x0a, 0x10, 0x53, 0x65, 0x74, 0x56, 0x61, + 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xde, 0x02, 0x0a, 0x08, + 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x52, 0x0a, 0x06, 0x47, 0x65, 0x74, 0x41, + 0x6c, 0x6c, 0x12, 0x26, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, + 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x47, 0x65, 0x74, + 0x41, 0x6c, 0x6c, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x63, 0x63, 0x2e, + 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, + 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x52, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x12, 0x51, 0x0a, 0x05, + 0x4d, 0x65, 0x72, 0x67, 0x65, 0x12, 0x20, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x52, 0x61, 0x77, 0x44, 0x61, 0x74, 0x61, 0x1a, 0x26, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, + 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x2e, 0x4d, 0x65, 0x72, 0x67, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x54, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x28, 0x2e, 0x63, 0x63, + 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, + 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2e, 0x63, 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, + 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x55, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x12, 0x1e, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x56, 0x61, 0x6c, 0x75, + 0x65, 0x1a, 0x29, 0x2e, 0x63, 0x63, 0x2e, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2e, 0x63, + 0x6c, 0x69, 0x2e, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x53, 0x65, 0x74, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x2d, 0x5a, 0x2b, + 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, + 0x6e, 0x6f, 0x2f, 0x61, 0x72, 0x64, 0x75, 0x69, 0x6e, 0x6f, 0x2d, 0x63, 0x6c, 0x69, 0x2f, 0x72, + 0x70, 0x63, 0x2f, 0x73, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x33, +} + +var ( + file_settings_settings_proto_rawDescOnce sync.Once + file_settings_settings_proto_rawDescData = file_settings_settings_proto_rawDesc +) -var fileDescriptor_a4bfd59e429426d0 = []byte{ - // 282 bytes of a gzipped FileDescriptorProto - 0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x12, 0x2f, 0x4e, 0x2d, 0x29, - 0xc9, 0xcc, 0x4b, 0x2f, 0xd6, 0x87, 0x31, 0xf4, 0x0a, 0x8a, 0xf2, 0x4b, 0xf2, 0x85, 0xc4, 0x93, - 0x93, 0xf5, 0x12, 0x8b, 0x52, 0x4a, 0x33, 0xf3, 0xf2, 0xf5, 0x92, 0x73, 0x32, 0xf5, 0x60, 0xd2, - 0x4a, 0xaa, 0x5c, 0xec, 0x41, 0x89, 0xe5, 0x2e, 0x89, 0x25, 0x89, 0x42, 0x52, 0x5c, 0x1c, 0x59, - 0xc5, 0xf9, 0x79, 0x20, 0xb6, 0x04, 0xa3, 0x02, 0xa3, 0x06, 0x67, 0x10, 0x9c, 0xaf, 0x64, 0xca, - 0xc5, 0x1a, 0x96, 0x98, 0x53, 0x9a, 0x2a, 0x24, 0xc0, 0xc5, 0x9c, 0x9d, 0x5a, 0x09, 0x95, 0x07, - 0x31, 0x51, 0xb4, 0x31, 0xa1, 0x69, 0xe3, 0xe7, 0xe2, 0x75, 0x4f, 0x2d, 0x71, 0xcc, 0xc9, 0x09, - 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0x51, 0x52, 0xe6, 0xe2, 0x77, 0x4f, 0x2d, 0x01, 0x1b, 0x05, - 0x15, 0xc2, 0x34, 0x11, 0xa4, 0xcb, 0x37, 0xb5, 0x28, 0x3d, 0x35, 0x28, 0xb5, 0xb8, 0x20, 0x3f, - 0xaf, 0x38, 0x55, 0x49, 0x88, 0x4b, 0x20, 0x18, 0xae, 0x0b, 0x22, 0x66, 0x74, 0x8f, 0x89, 0x8b, - 0x23, 0x18, 0xea, 0x0b, 0xa1, 0x20, 0x2e, 0x36, 0x88, 0x3d, 0x42, 0x6a, 0x7a, 0x38, 0x7c, 0xaa, - 0x87, 0xe2, 0x10, 0x29, 0x05, 0x9c, 0xea, 0x60, 0xc1, 0x11, 0xc8, 0xc5, 0x0a, 0x76, 0x85, 0x10, - 0x41, 0xa5, 0x52, 0xb8, 0x2d, 0x45, 0xf1, 0x87, 0x50, 0x08, 0x17, 0x07, 0xcc, 0xf7, 0x42, 0x1a, - 0xf8, 0x1c, 0x8a, 0x1c, 0x40, 0x52, 0x72, 0x38, 0x55, 0x42, 0x4c, 0x0a, 0x05, 0x07, 0x04, 0x84, - 0x4d, 0x40, 0xad, 0x94, 0x26, 0x4e, 0x79, 0xf4, 0x00, 0x76, 0xd2, 0x8d, 0xd2, 0x4e, 0xcf, 0x2c, - 0xc9, 0x28, 0x4d, 0xd2, 0x4b, 0xce, 0xcf, 0xd5, 0x87, 0xea, 0x81, 0xd1, 0xba, 0xc9, 0x39, 0x99, - 0xfa, 0x45, 0x05, 0xc9, 0xf0, 0x74, 0x96, 0xc4, 0x06, 0x4e, 0x68, 0xc6, 0x80, 0x00, 0x00, 0x00, - 0xff, 0xff, 0x77, 0x53, 0x26, 0x69, 0x83, 0x02, 0x00, 0x00, +func file_settings_settings_proto_rawDescGZIP() []byte { + file_settings_settings_proto_rawDescOnce.Do(func() { + file_settings_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_settings_settings_proto_rawDescData) + }) + return file_settings_settings_proto_rawDescData +} + +var file_settings_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 6) +var file_settings_settings_proto_goTypes = []interface{}{ + (*RawData)(nil), // 0: cc.arduino.cli.settings.RawData + (*Value)(nil), // 1: cc.arduino.cli.settings.Value + (*GetAllRequest)(nil), // 2: cc.arduino.cli.settings.GetAllRequest + (*GetValueRequest)(nil), // 3: cc.arduino.cli.settings.GetValueRequest + (*MergeResponse)(nil), // 4: cc.arduino.cli.settings.MergeResponse + (*SetValueResponse)(nil), // 5: cc.arduino.cli.settings.SetValueResponse +} +var file_settings_settings_proto_depIdxs = []int32{ + 2, // 0: cc.arduino.cli.settings.Settings.GetAll:input_type -> cc.arduino.cli.settings.GetAllRequest + 0, // 1: cc.arduino.cli.settings.Settings.Merge:input_type -> cc.arduino.cli.settings.RawData + 3, // 2: cc.arduino.cli.settings.Settings.GetValue:input_type -> cc.arduino.cli.settings.GetValueRequest + 1, // 3: cc.arduino.cli.settings.Settings.SetValue:input_type -> cc.arduino.cli.settings.Value + 0, // 4: cc.arduino.cli.settings.Settings.GetAll:output_type -> cc.arduino.cli.settings.RawData + 4, // 5: cc.arduino.cli.settings.Settings.Merge:output_type -> cc.arduino.cli.settings.MergeResponse + 1, // 6: cc.arduino.cli.settings.Settings.GetValue:output_type -> cc.arduino.cli.settings.Value + 5, // 7: cc.arduino.cli.settings.Settings.SetValue:output_type -> cc.arduino.cli.settings.SetValueResponse + 4, // [4:8] is the sub-list for method output_type + 0, // [0:4] is the sub-list for method input_type + 0, // [0:0] is the sub-list for extension type_name + 0, // [0:0] is the sub-list for extension extendee + 0, // [0:0] is the sub-list for field type_name +} + +func init() { file_settings_settings_proto_init() } +func file_settings_settings_proto_init() { + if File_settings_settings_proto != nil { + return + } + if !protoimpl.UnsafeEnabled { + file_settings_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*RawData); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_settings_settings_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Value); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_settings_settings_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetAllRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_settings_settings_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetValueRequest); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_settings_settings_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*MergeResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_settings_settings_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*SetValueResponse); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + } + type x struct{} + out := protoimpl.TypeBuilder{ + File: protoimpl.DescBuilder{ + GoPackagePath: reflect.TypeOf(x{}).PkgPath(), + RawDescriptor: file_settings_settings_proto_rawDesc, + NumEnums: 0, + NumMessages: 6, + NumExtensions: 0, + NumServices: 1, + }, + GoTypes: file_settings_settings_proto_goTypes, + DependencyIndexes: file_settings_settings_proto_depIdxs, + MessageInfos: file_settings_settings_proto_msgTypes, + }.Build() + File_settings_settings_proto = out.File + file_settings_settings_proto_rawDesc = nil + file_settings_settings_proto_goTypes = nil + file_settings_settings_proto_depIdxs = nil } // Reference imports to suppress errors if they are not otherwise used. @@ -361,16 +575,16 @@ type SettingsServer interface { type UnimplementedSettingsServer struct { } -func (*UnimplementedSettingsServer) GetAll(ctx context.Context, req *GetAllRequest) (*RawData, error) { +func (*UnimplementedSettingsServer) GetAll(context.Context, *GetAllRequest) (*RawData, error) { return nil, status.Errorf(codes.Unimplemented, "method GetAll not implemented") } -func (*UnimplementedSettingsServer) Merge(ctx context.Context, req *RawData) (*MergeResponse, error) { +func (*UnimplementedSettingsServer) Merge(context.Context, *RawData) (*MergeResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method Merge not implemented") } -func (*UnimplementedSettingsServer) GetValue(ctx context.Context, req *GetValueRequest) (*Value, error) { +func (*UnimplementedSettingsServer) GetValue(context.Context, *GetValueRequest) (*Value, error) { return nil, status.Errorf(codes.Unimplemented, "method GetValue not implemented") } -func (*UnimplementedSettingsServer) SetValue(ctx context.Context, req *Value) (*SetValueResponse, error) { +func (*UnimplementedSettingsServer) SetValue(context.Context, *Value) (*SetValueResponse, error) { return nil, status.Errorf(codes.Unimplemented, "method SetValue not implemented") }