From 6964054a0aafe361a10de5fd8bbcfc27e63a5b72 Mon Sep 17 00:00:00 2001 From: peefy Date: Thu, 23 Nov 2023 23:57:08 +0800 Subject: [PATCH] chore: bump kcl version to v0.7.0-beta.1 and use the latest APIs Signed-off-by: peefy --- cmds/kcl-go/command/cmd_run.go | 11 +- go.mod | 4 +- go.sum | 8 +- pkg/kcl/api.go | 15 +- pkg/kcl/api_test.go | 2 - pkg/kcl/opt.go | 14 +- pkg/service/client_kclvm_service.go | 16 + pkg/service/grpc_server.go | 6 + pkg/service/kclvm_service.go | 2 + pkg/service/rest_server.go | 18 + pkg/spec/gpyrpc/gpyrpc.pb.go | 1117 ++-- pkg/spec/gpyrpc/gpyrpc.pb.protorpc.go | 80 + pkg/spec/gpyrpc/gpyrpc.proto | 39 +- .../kcl-go/pkg/spec/gpyrpc/gpyrpc.pb.go | 4659 ----------------- pkg/tools/override/testdata/test.k | 1 + scripts/kclvm.go | 5 +- 16 files changed, 959 insertions(+), 5038 deletions(-) delete mode 100644 pkg/spec/gpyrpc/kcl-lang.io/kcl-go/pkg/spec/gpyrpc/gpyrpc.pb.go diff --git a/cmds/kcl-go/command/cmd_run.go b/cmds/kcl-go/command/cmd_run.go index cca62183..6a12e75d 100644 --- a/cmds/kcl-go/command/cmd_run.go +++ b/cmds/kcl-go/command/cmd_run.go @@ -6,11 +6,10 @@ import ( "fmt" "os" "strings" - "time" "github.com/urfave/cli/v2" - "kcl-lang.io/kcl-go" + kclvm "kcl-lang.io/kcl-go" "kcl-lang.io/kcl-go/pkg/kcl" ) @@ -99,7 +98,6 @@ func NewRunCmd() *cli.Command { fmt.Println("======== args end ========") } - start := time.Now() result, err := kcl.RunFiles( c.Args().Slice(), kcl.WithOptions(c.StringSlice("argument")...), @@ -108,13 +106,6 @@ func NewRunCmd() *cli.Command { kcl.WithSortKeys(c.Bool("sort-keys")), ) - if c.Bool("debug") { - fmt.Println("======== EscapedTime begin ========") - fmt.Println("Python:", result.GetPyEscapedTime()) - fmt.Println("Golang:", time.Since(start).Seconds()) - fmt.Println("======== EscapedTime end ========") - } - if err != nil { fmt.Print(err) os.Exit(1) diff --git a/go.mod b/go.mod index ff1a12a4..c5622cec 100644 --- a/go.mod +++ b/go.mod @@ -20,8 +20,8 @@ require ( google.golang.org/grpc v1.56.3 google.golang.org/protobuf v1.30.0 gopkg.in/yaml.v3 v3.0.1 - kcl-lang.io/kcl-artifact-go v0.7.0-alpha.2 - kcl-lang.io/kpm v0.3.8-0.20231101092819-703dd7cf0a25 + kcl-lang.io/kcl-artifact-go v0.7.0-beta.1 + kcl-lang.io/kpm v0.4.1 ) require ( diff --git a/go.sum b/go.sum index d601a86e..d6eafc4b 100644 --- a/go.sum +++ b/go.sum @@ -750,10 +750,10 @@ honnef.co/go/tools v0.0.0-20190523083050-ea95bdfd59fc/go.mod h1:rf3lG4BRIbNafJWh honnef.co/go/tools v0.0.1-2019.2.3/go.mod h1:a3bituU0lyd329TUQxRnasdCoJDkEUEAqEt0JzvZhAg= honnef.co/go/tools v0.0.1-2020.1.3/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9vFzvIQ3k= -kcl-lang.io/kcl-artifact-go v0.7.0-alpha.2 h1:ct6HPq+ssN4kNwMnyqyJAJ35YGiWPMgV4vWyyqzqpYo= -kcl-lang.io/kcl-artifact-go v0.7.0-alpha.2/go.mod h1:c07mqi9Hu2UjPW7lYfHhAAWOlZiB7lo7Vkr4jL5ov/M= -kcl-lang.io/kpm v0.3.8-0.20231101092819-703dd7cf0a25 h1:JyHQebmfJImAbpi5VvcgQ8ut76q2D8MwhAjLsKPNsag= -kcl-lang.io/kpm v0.3.8-0.20231101092819-703dd7cf0a25/go.mod h1:yT6B1imC2utPsnNtMmA18WyLVFKsymCH57orvQIAxAk= +kcl-lang.io/kcl-artifact-go v0.7.0-beta.1 h1:u1l/OXWblOiDHabN+6ApSHTZwNyOskuOCf90fXreGu4= +kcl-lang.io/kcl-artifact-go v0.7.0-beta.1/go.mod h1:c07mqi9Hu2UjPW7lYfHhAAWOlZiB7lo7Vkr4jL5ov/M= +kcl-lang.io/kpm v0.4.1 h1:72kNdmMF6UNMGwa0JOsTVWwFSHyb5TAVaj3PYMmkw4Y= +kcl-lang.io/kpm v0.4.1/go.mod h1:GM6IrXwcTZHU+JLg6b0/JXoAcfwIzJkjIbGqV15jrtI= oras.land/oras-go v1.2.3 h1:v8PJl+gEAntI1pJ/LCrDgsuk+1PKVavVEPsYIHFE5uY= oras.land/oras-go v1.2.3/go.mod h1:M/uaPdYklze0Vf3AakfarnpoEckvw0ESbRdN8Z1vdJg= oras.land/oras-go/v2 v2.3.0 h1:lqX1aXdN+DAmDTKjiDyvq85cIaI4RkIKp/PghWlAGIU= diff --git a/pkg/kcl/api.go b/pkg/kcl/api.go index 71f4a4bd..a93119f1 100644 --- a/pkg/kcl/api.go +++ b/pkg/kcl/api.go @@ -5,6 +5,7 @@ package kcl import ( "encoding/json" + "errors" "fmt" "strings" @@ -22,7 +23,6 @@ type KCLResultList struct { list []KCLResult raw_json_result string raw_yaml_result string - escaped_time string } func (p *KCLResultList) Len() int { @@ -65,10 +65,6 @@ func (p *KCLResultList) GetRawYamlResult() string { return p.raw_yaml_result } -func (p *KCLResultList) GetPyEscapedTime() string { - return p.escaped_time -} - type KCLResult map[string]interface{} func (m KCLResult) Get(key string, target ...interface{}) interface{} { @@ -228,6 +224,14 @@ func run(pathList []string, opts ...Option) (*KCLResultList, error) { if err != nil { return nil, err } + // Output log message + logger := args.GetLogger() + if logger != nil && resp.LogMessage != "" { + logger.Info(resp.LogMessage) + } + if resp.ErrMessage != "" { + return nil, errors.New(resp.ErrMessage) + } var result KCLResultList if strings.TrimSpace(resp.JsonResult) == "" { @@ -250,6 +254,5 @@ func run(pathList []string, opts ...Option) (*KCLResultList, error) { result.raw_json_result = resp.JsonResult result.raw_yaml_result = resp.YamlResult - result.escaped_time = resp.EscapedTime return &result, nil } diff --git a/pkg/kcl/api_test.go b/pkg/kcl/api_test.go index e32722de..330cb235 100644 --- a/pkg/kcl/api_test.go +++ b/pkg/kcl/api_test.go @@ -43,8 +43,6 @@ f = 1.5 tAssert(t, result.Len() > 0) tAssert(t, result.First().Get("name") == "kcl") - _ = result.GetPyEscapedTime() - var s string var i int var f float64 diff --git a/pkg/kcl/opt.go b/pkg/kcl/opt.go index 089fa733..57846c7a 100644 --- a/pkg/kcl/opt.go +++ b/pkg/kcl/opt.go @@ -9,6 +9,7 @@ import ( "path/filepath" "strings" + "kcl-lang.io/kcl-go/pkg/logger" "kcl-lang.io/kcl-go/pkg/settings" "kcl-lang.io/kcl-go/pkg/spec/gpyrpc" "kcl-lang.io/kcl-go/pkg/tools/override" @@ -16,7 +17,8 @@ import ( type Option struct { *gpyrpc.ExecProgram_Args - Err error + logger logger.Logger + Err error } // NewOption returns a new Option. @@ -34,6 +36,10 @@ func (p *Option) JSONString() string { return string(x) } +func (p *Option) GetLogger() logger.Logger { + return p.logger +} + func ParseArgs(pathList []string, opts ...Option) (Option, error) { var tmpOptList []Option for _, s := range pathList { @@ -73,6 +79,12 @@ func ParseArgs(pathList []string, opts ...Option) (Option, error) { return *args, nil } +func WithLogger(l logger.Logger) Option { + var opt = NewOption() + opt.logger = l + return *opt +} + func WithWorkDir(s string) Option { var opt = NewOption() opt.WorkDir = s diff --git a/pkg/service/client_kclvm_service.go b/pkg/service/client_kclvm_service.go index dd780f4a..83ab2b39 100644 --- a/pkg/service/client_kclvm_service.go +++ b/pkg/service/client_kclvm_service.go @@ -101,6 +101,14 @@ func (p *KclvmServiceClient) GetSchemaTypeMapping(args *gpyrpc.GetSchemaTypeMapp return } +func (p *KclvmServiceClient) GetFullSchemaType(args *gpyrpc.GetFullSchemaType_Args) (resp *gpyrpc.GetSchemaType_Result, err error) { + p.Runtime.DoTask(func(c *rpc.Client, stderr io.Reader) { + resp, err = p.getClient(c).GetFullSchemaType(args) + err = p.wrapErr(err, stderr) + }) + return +} + func (p *KclvmServiceClient) ValidateCode(args *gpyrpc.ValidateCode_Args) (resp *gpyrpc.ValidateCode_Result, err error) { p.Runtime.DoTask(func(c *rpc.Client, stderr io.Reader) { resp, err = p.getClient(c).ValidateCode(args) @@ -140,3 +148,11 @@ func (p *KclvmServiceClient) RenameCode(args *gpyrpc.RenameCode_Args) (resp *gpy }) return } + +func (p *KclvmServiceClient) Test(args *gpyrpc.Test_Args) (resp *gpyrpc.Test_Result, err error) { + p.Runtime.DoTask(func(c *rpc.Client, stderr io.Reader) { + resp, err = p.getClient(c).Test(args) + err = p.wrapErr(err, stderr) + }) + return +} diff --git a/pkg/service/grpc_server.go b/pkg/service/grpc_server.go index 78c5abde..fd178e17 100644 --- a/pkg/service/grpc_server.go +++ b/pkg/service/grpc_server.go @@ -61,6 +61,9 @@ func (p *_KclvmServiceImpl) GetSchemaType(ctx context.Context, args *gpyrpc.GetS func (p *_KclvmServiceImpl) GetSchemaTypeMapping(ctx context.Context, args *gpyrpc.GetSchemaTypeMapping_Args) (*gpyrpc.GetSchemaTypeMapping_Result, error) { return p.c.GetSchemaTypeMapping(args) } +func (p *_KclvmServiceImpl) GetFullSchemaType(ctx context.Context, args *gpyrpc.GetFullSchemaType_Args) (*gpyrpc.GetSchemaType_Result, error) { + return p.c.GetFullSchemaType(args) +} func (p *_KclvmServiceImpl) ValidateCode(ctx context.Context, args *gpyrpc.ValidateCode_Args) (*gpyrpc.ValidateCode_Result, error) { return p.c.ValidateCode(args) } @@ -76,3 +79,6 @@ func (p *_KclvmServiceImpl) Rename(ctx context.Context, args *gpyrpc.Rename_Args func (p *_KclvmServiceImpl) RenameCode(ctx context.Context, args *gpyrpc.RenameCode_Args) (*gpyrpc.RenameCode_Result, error) { return p.c.RenameCode(args) } +func (p *_KclvmServiceImpl) Test(ctx context.Context, args *gpyrpc.Test_Args) (*gpyrpc.Test_Result, error) { + return p.c.Test(args) +} diff --git a/pkg/service/kclvm_service.go b/pkg/service/kclvm_service.go index 9c9bdd89..62b29fa1 100644 --- a/pkg/service/kclvm_service.go +++ b/pkg/service/kclvm_service.go @@ -11,9 +11,11 @@ type KclvmService interface { OverrideFile(in *gpyrpc.OverrideFile_Args) (out *gpyrpc.OverrideFile_Result, err error) GetSchemaType(in *gpyrpc.GetSchemaType_Args) (out *gpyrpc.GetSchemaType_Result, err error) GetSchemaTypeMapping(in *gpyrpc.GetSchemaTypeMapping_Args) (out *gpyrpc.GetSchemaTypeMapping_Result, err error) + GetFullSchemaType(in *gpyrpc.GetFullSchemaType_Args) (out *gpyrpc.GetSchemaType_Result, err error) ValidateCode(in *gpyrpc.ValidateCode_Args) (out *gpyrpc.ValidateCode_Result, err error) ListDepFiles(in *gpyrpc.ListDepFiles_Args) (out *gpyrpc.ListDepFiles_Result, err error) LoadSettingsFiles(in *gpyrpc.LoadSettingsFiles_Args) (out *gpyrpc.LoadSettingsFiles_Result, err error) Rename(in *gpyrpc.Rename_Args) (out *gpyrpc.Rename_Result, err error) RenameCode(in *gpyrpc.RenameCode_Args) (out *gpyrpc.RenameCode_Result, err error) + Test(in *gpyrpc.Test_Args) (out *gpyrpc.Test_Result, err error) } diff --git a/pkg/service/rest_server.go b/pkg/service/rest_server.go index c43f902b..0209b187 100644 --- a/pkg/service/rest_server.go +++ b/pkg/service/rest_server.go @@ -77,7 +77,11 @@ func (p *restServer) initHttpRrouter() { p.router.POST("/api:protorpc/KclvmService.OverrideFile", p.handle_OverrideFile) p.router.POST("/api:protorpc/KclvmService.GetSchemaType", p.handle_GetSchemaType) p.router.POST("/api:protorpc/KclvmService.GetSchemaTypeMapping", p.handle_GetSchemaTypeMapping) + p.router.POST("/api:protorpc/KclvmService.GetFullSchemaType", p.handle_GetFullSchemaType) p.router.POST("/api:protorpc/KclvmService.ValidateCode", p.handle_ValidateCode) + p.router.POST("/api:protorpc/KclvmService.Rename", p.handle_Rename) + p.router.POST("/api:protorpc/KclvmService.RenameCode", p.handle_RenameCode) + p.router.POST("/api:protorpc/KclvmService.Test", p.handle_Test) } func (p *restServer) handle( @@ -178,6 +182,13 @@ func (p *restServer) handle_GetSchemaTypeMapping(w http.ResponseWriter, r *http. }) } +func (p *restServer) handle_GetFullSchemaType(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { + args := new(gpyrpc.GetFullSchemaType_Args) + p.handle(w, r, args, func() (proto.Message, error) { + return p.c.GetFullSchemaType(args) + }) +} + func (p *restServer) handle_ValidateCode(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { args := new(gpyrpc.ValidateCode_Args) p.handle(w, r, args, func() (proto.Message, error) { @@ -212,3 +223,10 @@ func (p *restServer) handle_RenameCode(w http.ResponseWriter, r *http.Request, p return p.c.RenameCode(args) }) } + +func (p *restServer) handle_Test(w http.ResponseWriter, r *http.Request, ps httprouter.Params) { + args := new(gpyrpc.Test_Args) + p.handle(w, r, args, func() (proto.Message, error) { + return p.c.Test(args) + }) +} diff --git a/pkg/spec/gpyrpc/gpyrpc.pb.go b/pkg/spec/gpyrpc/gpyrpc.pb.go index adf551ee..8271c51b 100644 --- a/pkg/spec/gpyrpc/gpyrpc.pb.go +++ b/pkg/spec/gpyrpc/gpyrpc.pb.go @@ -4,7 +4,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: -// protoc-gen-go v1.28.1 +// protoc-gen-go v1.30.0 // protoc v3.19.4 // source: gpyrpc.proto @@ -1016,9 +1016,10 @@ type ExecProgram_Result struct { sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields - JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3" json:"json_result,omitempty"` - YamlResult string `protobuf:"bytes,2,opt,name=yaml_result,json=yamlResult,proto3" json:"yaml_result,omitempty"` - EscapedTime string `protobuf:"bytes,101,opt,name=escaped_time,json=escapedTime,proto3" json:"escaped_time,omitempty"` + JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3" json:"json_result,omitempty"` + YamlResult string `protobuf:"bytes,2,opt,name=yaml_result,json=yamlResult,proto3" json:"yaml_result,omitempty"` + LogMessage string `protobuf:"bytes,3,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` + ErrMessage string `protobuf:"bytes,4,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` } func (x *ExecProgram_Result) Reset() { @@ -1067,9 +1068,16 @@ func (x *ExecProgram_Result) GetYamlResult() string { return "" } -func (x *ExecProgram_Result) GetEscapedTime() string { +func (x *ExecProgram_Result) GetLogMessage() string { if x != nil { - return x.EscapedTime + return x.LogMessage + } + return "" +} + +func (x *ExecProgram_Result) GetErrMessage() string { + if x != nil { + return x.ErrMessage } return "" } @@ -1551,6 +1559,61 @@ func (x *OverrideFile_Result) GetResult() bool { return false } +type GetFullSchemaType_Args struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` + SchemaName string `protobuf:"bytes,2,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` +} + +func (x *GetFullSchemaType_Args) Reset() { + *x = GetFullSchemaType_Args{} + if protoimpl.UnsafeEnabled { + mi := &file_gpyrpc_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetFullSchemaType_Args) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetFullSchemaType_Args) ProtoMessage() {} + +func (x *GetFullSchemaType_Args) ProtoReflect() protoreflect.Message { + mi := &file_gpyrpc_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetFullSchemaType_Args.ProtoReflect.Descriptor instead. +func (*GetFullSchemaType_Args) Descriptor() ([]byte, []int) { + return file_gpyrpc_proto_rawDescGZIP(), []int{26} +} + +func (x *GetFullSchemaType_Args) GetExecArgs() *ExecProgram_Args { + if x != nil { + return x.ExecArgs + } + return nil +} + +func (x *GetFullSchemaType_Args) GetSchemaName() string { + if x != nil { + return x.SchemaName + } + return "" +} + type GetSchemaType_Args struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1564,7 +1627,7 @@ type GetSchemaType_Args struct { func (x *GetSchemaType_Args) Reset() { *x = GetSchemaType_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[26] + mi := &file_gpyrpc_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1577,7 +1640,7 @@ func (x *GetSchemaType_Args) String() string { func (*GetSchemaType_Args) ProtoMessage() {} func (x *GetSchemaType_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[26] + mi := &file_gpyrpc_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1590,7 +1653,7 @@ func (x *GetSchemaType_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaType_Args.ProtoReflect.Descriptor instead. func (*GetSchemaType_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{26} + return file_gpyrpc_proto_rawDescGZIP(), []int{27} } func (x *GetSchemaType_Args) GetFile() string { @@ -1625,7 +1688,7 @@ type GetSchemaType_Result struct { func (x *GetSchemaType_Result) Reset() { *x = GetSchemaType_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[27] + mi := &file_gpyrpc_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1638,7 +1701,7 @@ func (x *GetSchemaType_Result) String() string { func (*GetSchemaType_Result) ProtoMessage() {} func (x *GetSchemaType_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[27] + mi := &file_gpyrpc_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1651,7 +1714,7 @@ func (x *GetSchemaType_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaType_Result.ProtoReflect.Descriptor instead. func (*GetSchemaType_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{27} + return file_gpyrpc_proto_rawDescGZIP(), []int{28} } func (x *GetSchemaType_Result) GetSchemaTypeList() []*KclType { @@ -1674,7 +1737,7 @@ type GetSchemaTypeMapping_Args struct { func (x *GetSchemaTypeMapping_Args) Reset() { *x = GetSchemaTypeMapping_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[28] + mi := &file_gpyrpc_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1687,7 +1750,7 @@ func (x *GetSchemaTypeMapping_Args) String() string { func (*GetSchemaTypeMapping_Args) ProtoMessage() {} func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[28] + mi := &file_gpyrpc_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1700,7 +1763,7 @@ func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaTypeMapping_Args.ProtoReflect.Descriptor instead. func (*GetSchemaTypeMapping_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{28} + return file_gpyrpc_proto_rawDescGZIP(), []int{29} } func (x *GetSchemaTypeMapping_Args) GetFile() string { @@ -1735,7 +1798,7 @@ type GetSchemaTypeMapping_Result struct { func (x *GetSchemaTypeMapping_Result) Reset() { *x = GetSchemaTypeMapping_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[29] + mi := &file_gpyrpc_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1748,7 +1811,7 @@ func (x *GetSchemaTypeMapping_Result) String() string { func (*GetSchemaTypeMapping_Result) ProtoMessage() {} func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[29] + mi := &file_gpyrpc_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1761,7 +1824,7 @@ func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use GetSchemaTypeMapping_Result.ProtoReflect.Descriptor instead. func (*GetSchemaTypeMapping_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{29} + return file_gpyrpc_proto_rawDescGZIP(), []int{30} } func (x *GetSchemaTypeMapping_Result) GetSchemaTypeMapping() map[string]*KclType { @@ -1786,7 +1849,7 @@ type ValidateCode_Args struct { func (x *ValidateCode_Args) Reset() { *x = ValidateCode_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[30] + mi := &file_gpyrpc_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1799,7 +1862,7 @@ func (x *ValidateCode_Args) String() string { func (*ValidateCode_Args) ProtoMessage() {} func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[30] + mi := &file_gpyrpc_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1812,7 +1875,7 @@ func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateCode_Args.ProtoReflect.Descriptor instead. func (*ValidateCode_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{30} + return file_gpyrpc_proto_rawDescGZIP(), []int{31} } func (x *ValidateCode_Args) GetData() string { @@ -1862,7 +1925,7 @@ type ValidateCode_Result struct { func (x *ValidateCode_Result) Reset() { *x = ValidateCode_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[31] + mi := &file_gpyrpc_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1875,7 +1938,7 @@ func (x *ValidateCode_Result) String() string { func (*ValidateCode_Result) ProtoMessage() {} func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[31] + mi := &file_gpyrpc_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1888,7 +1951,7 @@ func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use ValidateCode_Result.ProtoReflect.Descriptor instead. func (*ValidateCode_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{31} + return file_gpyrpc_proto_rawDescGZIP(), []int{32} } func (x *ValidateCode_Result) GetSuccess() bool { @@ -1918,7 +1981,7 @@ type Position struct { func (x *Position) Reset() { *x = Position{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[32] + mi := &file_gpyrpc_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1931,7 +1994,7 @@ func (x *Position) String() string { func (*Position) ProtoMessage() {} func (x *Position) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[32] + mi := &file_gpyrpc_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1944,7 +2007,7 @@ func (x *Position) ProtoReflect() protoreflect.Message { // Deprecated: Use Position.ProtoReflect.Descriptor instead. func (*Position) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{32} + return file_gpyrpc_proto_rawDescGZIP(), []int{33} } func (x *Position) GetLine() int64 { @@ -1982,7 +2045,7 @@ type ListDepFiles_Args struct { func (x *ListDepFiles_Args) Reset() { *x = ListDepFiles_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[33] + mi := &file_gpyrpc_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1995,7 +2058,7 @@ func (x *ListDepFiles_Args) String() string { func (*ListDepFiles_Args) ProtoMessage() {} func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[33] + mi := &file_gpyrpc_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2008,7 +2071,7 @@ func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDepFiles_Args.ProtoReflect.Descriptor instead. func (*ListDepFiles_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{33} + return file_gpyrpc_proto_rawDescGZIP(), []int{34} } func (x *ListDepFiles_Args) GetWorkDir() string { @@ -2052,7 +2115,7 @@ type ListDepFiles_Result struct { func (x *ListDepFiles_Result) Reset() { *x = ListDepFiles_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[34] + mi := &file_gpyrpc_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2065,7 +2128,7 @@ func (x *ListDepFiles_Result) String() string { func (*ListDepFiles_Result) ProtoMessage() {} func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[34] + mi := &file_gpyrpc_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2078,7 +2141,7 @@ func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use ListDepFiles_Result.ProtoReflect.Descriptor instead. func (*ListDepFiles_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{34} + return file_gpyrpc_proto_rawDescGZIP(), []int{35} } func (x *ListDepFiles_Result) GetPkgroot() string { @@ -2114,7 +2177,7 @@ type LoadSettingsFiles_Args struct { func (x *LoadSettingsFiles_Args) Reset() { *x = LoadSettingsFiles_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[35] + mi := &file_gpyrpc_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2127,7 +2190,7 @@ func (x *LoadSettingsFiles_Args) String() string { func (*LoadSettingsFiles_Args) ProtoMessage() {} func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[35] + mi := &file_gpyrpc_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2140,7 +2203,7 @@ func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use LoadSettingsFiles_Args.ProtoReflect.Descriptor instead. func (*LoadSettingsFiles_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{35} + return file_gpyrpc_proto_rawDescGZIP(), []int{36} } func (x *LoadSettingsFiles_Args) GetWorkDir() string { @@ -2169,7 +2232,7 @@ type LoadSettingsFiles_Result struct { func (x *LoadSettingsFiles_Result) Reset() { *x = LoadSettingsFiles_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[36] + mi := &file_gpyrpc_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2182,7 +2245,7 @@ func (x *LoadSettingsFiles_Result) String() string { func (*LoadSettingsFiles_Result) ProtoMessage() {} func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[36] + mi := &file_gpyrpc_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2195,7 +2258,7 @@ func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use LoadSettingsFiles_Result.ProtoReflect.Descriptor instead. func (*LoadSettingsFiles_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{36} + return file_gpyrpc_proto_rawDescGZIP(), []int{37} } func (x *LoadSettingsFiles_Result) GetKclCliConfigs() *CliConfig { @@ -2232,7 +2295,7 @@ type CliConfig struct { func (x *CliConfig) Reset() { *x = CliConfig{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[37] + mi := &file_gpyrpc_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2245,7 +2308,7 @@ func (x *CliConfig) String() string { func (*CliConfig) ProtoMessage() {} func (x *CliConfig) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[37] + mi := &file_gpyrpc_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2258,7 +2321,7 @@ func (x *CliConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use CliConfig.ProtoReflect.Descriptor instead. func (*CliConfig) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{37} + return file_gpyrpc_proto_rawDescGZIP(), []int{38} } func (x *CliConfig) GetFiles() []string { @@ -2343,7 +2406,7 @@ type KeyValuePair struct { func (x *KeyValuePair) Reset() { *x = KeyValuePair{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[38] + mi := &file_gpyrpc_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2356,7 +2419,7 @@ func (x *KeyValuePair) String() string { func (*KeyValuePair) ProtoMessage() {} func (x *KeyValuePair) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[38] + mi := &file_gpyrpc_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2369,7 +2432,7 @@ func (x *KeyValuePair) ProtoReflect() protoreflect.Message { // Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead. func (*KeyValuePair) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{38} + return file_gpyrpc_proto_rawDescGZIP(), []int{39} } func (x *KeyValuePair) GetKey() string { @@ -2393,13 +2456,13 @@ type Rename_Args struct { SymbolPath string `protobuf:"bytes,1,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // the path to the target symbol to be renamed. The symbol path should conform to format: `:` When the pkgpath is '__main__', `:` can be omitted. FilePaths []string `protobuf:"bytes,2,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` // the paths to the source code files - NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"` // the new name of the symbol + NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // the new name of the symbol } func (x *Rename_Args) Reset() { *x = Rename_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[39] + mi := &file_gpyrpc_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2412,7 +2475,7 @@ func (x *Rename_Args) String() string { func (*Rename_Args) ProtoMessage() {} func (x *Rename_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[39] + mi := &file_gpyrpc_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2425,7 +2488,7 @@ func (x *Rename_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use Rename_Args.ProtoReflect.Descriptor instead. func (*Rename_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{39} + return file_gpyrpc_proto_rawDescGZIP(), []int{40} } func (x *Rename_Args) GetSymbolPath() string { @@ -2460,7 +2523,7 @@ type Rename_Result struct { func (x *Rename_Result) Reset() { *x = Rename_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[40] + mi := &file_gpyrpc_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2473,7 +2536,7 @@ func (x *Rename_Result) String() string { func (*Rename_Result) ProtoMessage() {} func (x *Rename_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[40] + mi := &file_gpyrpc_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2486,7 +2549,7 @@ func (x *Rename_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use Rename_Result.ProtoReflect.Descriptor instead. func (*Rename_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{40} + return file_gpyrpc_proto_rawDescGZIP(), []int{41} } func (x *Rename_Result) GetChangedFiles() []string { @@ -2503,13 +2566,13 @@ type RenameCode_Args struct { SymbolPath string `protobuf:"bytes,1,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // the path to the target symbol to be renamed. The symbol path should conform to format: `:` When the pkgpath is '__main__', `:` can be omitted. SourceCodes map[string]string `protobuf:"bytes,2,rep,name=source_codes,json=sourceCodes,proto3" json:"source_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // the source code. a : map - NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"` // the new name of the symbol + NewName string `protobuf:"bytes,3,opt,name=new_name,json=newName,proto3" json:"new_name,omitempty"` // the new name of the symbol } func (x *RenameCode_Args) Reset() { *x = RenameCode_Args{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[41] + mi := &file_gpyrpc_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2522,7 +2585,7 @@ func (x *RenameCode_Args) String() string { func (*RenameCode_Args) ProtoMessage() {} func (x *RenameCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[41] + mi := &file_gpyrpc_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2535,7 +2598,7 @@ func (x *RenameCode_Args) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameCode_Args.ProtoReflect.Descriptor instead. func (*RenameCode_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{41} + return file_gpyrpc_proto_rawDescGZIP(), []int{42} } func (x *RenameCode_Args) GetSymbolPath() string { @@ -2570,7 +2633,7 @@ type RenameCode_Result struct { func (x *RenameCode_Result) Reset() { *x = RenameCode_Result{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[42] + mi := &file_gpyrpc_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2583,7 +2646,7 @@ func (x *RenameCode_Result) String() string { func (*RenameCode_Result) ProtoMessage() {} func (x *RenameCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[42] + mi := &file_gpyrpc_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2596,7 +2659,7 @@ func (x *RenameCode_Result) ProtoReflect() protoreflect.Message { // Deprecated: Use RenameCode_Result.ProtoReflect.Descriptor instead. func (*RenameCode_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{42} + return file_gpyrpc_proto_rawDescGZIP(), []int{43} } func (x *RenameCode_Result) GetChangedCodes() map[string]string { @@ -2606,6 +2669,195 @@ func (x *RenameCode_Result) GetChangedCodes() map[string]string { return nil } +type Test_Args struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + ExecArgs *ExecProgram_Args `protobuf:"bytes,1,opt,name=exec_args,json=execArgs,proto3" json:"exec_args,omitempty"` // This field stores the execution program arguments. + PkgList []string `protobuf:"bytes,2,rep,name=pkg_list,json=pkgList,proto3" json:"pkg_list,omitempty"` // The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..." + RunRegexp string `protobuf:"bytes,3,opt,name=run_regexp,json=runRegexp,proto3" json:"run_regexp,omitempty"` // This field stores a regular expression for filtering tests to run. + FailFast bool `protobuf:"varint,4,opt,name=fail_fast,json=failFast,proto3" json:"fail_fast,omitempty"` // This field determines whether the test run should stop on the first failure. +} + +func (x *Test_Args) Reset() { + *x = Test_Args{} + if protoimpl.UnsafeEnabled { + mi := &file_gpyrpc_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Test_Args) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Test_Args) ProtoMessage() {} + +func (x *Test_Args) ProtoReflect() protoreflect.Message { + mi := &file_gpyrpc_proto_msgTypes[44] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Test_Args.ProtoReflect.Descriptor instead. +func (*Test_Args) Descriptor() ([]byte, []int) { + return file_gpyrpc_proto_rawDescGZIP(), []int{44} +} + +func (x *Test_Args) GetExecArgs() *ExecProgram_Args { + if x != nil { + return x.ExecArgs + } + return nil +} + +func (x *Test_Args) GetPkgList() []string { + if x != nil { + return x.PkgList + } + return nil +} + +func (x *Test_Args) GetRunRegexp() string { + if x != nil { + return x.RunRegexp + } + return "" +} + +func (x *Test_Args) GetFailFast() bool { + if x != nil { + return x.FailFast + } + return false +} + +type Test_Result struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Info []*TestCaseInfo `protobuf:"bytes,2,rep,name=info,proto3" json:"info,omitempty"` +} + +func (x *Test_Result) Reset() { + *x = Test_Result{} + if protoimpl.UnsafeEnabled { + mi := &file_gpyrpc_proto_msgTypes[45] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *Test_Result) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*Test_Result) ProtoMessage() {} + +func (x *Test_Result) ProtoReflect() protoreflect.Message { + mi := &file_gpyrpc_proto_msgTypes[45] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use Test_Result.ProtoReflect.Descriptor instead. +func (*Test_Result) Descriptor() ([]byte, []int) { + return file_gpyrpc_proto_rawDescGZIP(), []int{45} +} + +func (x *Test_Result) GetInfo() []*TestCaseInfo { + if x != nil { + return x.Info + } + return nil +} + +type TestCaseInfo struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Test case name + Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` + Duration uint64 `protobuf:"varint,3,opt,name=duration,proto3" json:"duration,omitempty"` // Number of whole microseconds in the duration. + LogMessage string `protobuf:"bytes,4,opt,name=log_message,json=logMessage,proto3" json:"log_message,omitempty"` +} + +func (x *TestCaseInfo) Reset() { + *x = TestCaseInfo{} + if protoimpl.UnsafeEnabled { + mi := &file_gpyrpc_proto_msgTypes[46] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *TestCaseInfo) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*TestCaseInfo) ProtoMessage() {} + +func (x *TestCaseInfo) ProtoReflect() protoreflect.Message { + mi := &file_gpyrpc_proto_msgTypes[46] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use TestCaseInfo.ProtoReflect.Descriptor instead. +func (*TestCaseInfo) Descriptor() ([]byte, []int) { + return file_gpyrpc_proto_rawDescGZIP(), []int{46} +} + +func (x *TestCaseInfo) GetName() string { + if x != nil { + return x.Name + } + return "" +} + +func (x *TestCaseInfo) GetError() string { + if x != nil { + return x.Error + } + return "" +} + +func (x *TestCaseInfo) GetDuration() uint64 { + if x != nil { + return x.Duration + } + return 0 +} + +func (x *TestCaseInfo) GetLogMessage() string { + if x != nil { + return x.LogMessage + } + return "" +} + type KclType struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2631,7 +2883,7 @@ type KclType struct { func (x *KclType) Reset() { *x = KclType{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[43] + mi := &file_gpyrpc_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2644,7 +2896,7 @@ func (x *KclType) String() string { func (*KclType) ProtoMessage() {} func (x *KclType) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[43] + mi := &file_gpyrpc_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2657,7 +2909,7 @@ func (x *KclType) ProtoReflect() protoreflect.Message { // Deprecated: Use KclType.ProtoReflect.Descriptor instead. func (*KclType) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{43} + return file_gpyrpc_proto_rawDescGZIP(), []int{47} } func (x *KclType) GetType() string { @@ -2778,7 +3030,7 @@ type Decorator struct { func (x *Decorator) Reset() { *x = Decorator{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[44] + mi := &file_gpyrpc_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2791,7 +3043,7 @@ func (x *Decorator) String() string { func (*Decorator) ProtoMessage() {} func (x *Decorator) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[44] + mi := &file_gpyrpc_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2804,7 +3056,7 @@ func (x *Decorator) ProtoReflect() protoreflect.Message { // Deprecated: Use Decorator.ProtoReflect.Descriptor instead. func (*Decorator) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{44} + return file_gpyrpc_proto_rawDescGZIP(), []int{48} } func (x *Decorator) GetName() string { @@ -2841,7 +3093,7 @@ type Example struct { func (x *Example) Reset() { *x = Example{} if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[45] + mi := &file_gpyrpc_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2854,7 +3106,7 @@ func (x *Example) String() string { func (*Example) ProtoMessage() {} func (x *Example) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[45] + mi := &file_gpyrpc_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2867,7 +3119,7 @@ func (x *Example) ProtoReflect() protoreflect.Message { // Deprecated: Use Example.ProtoReflect.Descriptor instead. func (*Example) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{45} + return file_gpyrpc_proto_rawDescGZIP(), []int{49} } func (x *Example) GetSummary() string { @@ -3016,15 +3268,17 @@ var file_gpyrpc_proto_rawDesc = []byte{ 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, - 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x79, 0x0a, 0x12, 0x45, - 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x79, 0x61, 0x6d, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x65, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x73, 0x63, 0x61, 0x70, - 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50, + 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x98, 0x01, 0x0a, 0x12, + 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x79, 0x61, 0x6d, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x65, + 0x73, 0x75, 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x4d, 0x65, + 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x4d, + 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x33, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x52, @@ -3055,147 +3309,175 @@ var file_gpyrpc_proto_rawDesc = []byte{ 0x74, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0x2d, 0x0a, 0x13, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x39, 0x0a, 0x10, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, - 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, - 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe0, 0x01, - 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x6a, 0x0a, - 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x70, 0x79, - 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, - 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x70, 0x0a, 0x16, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, + 0x35, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x61, 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x65, 0x63, + 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x52, 0x08, 0x65, 0x78, + 0x65, 0x63, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, + 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, + 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x39, + 0x0a, 0x10, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, + 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, + 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x54, 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0x55, 0x0a, 0x16, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, + 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, + 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x22, + 0xe0, 0x01, 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, + 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, + 0x6a, 0x0a, 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6d, + 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, + 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, + 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, + 0x74, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, + 0x69, 0x6e, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, + 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0x55, 0x0a, 0x16, 0x53, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, + 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, + 0x38, 0x01, 0x22, 0x92, 0x01, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, + 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, + 0x69, 0x62, 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x0d, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, + 0x16, 0x0a, 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x50, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, + 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x5f, + 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, + 0x72, 0x72, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x08, 0x50, 0x6f, 0x73, + 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x03, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, + 0x75, 0x6d, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, + 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, + 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, + 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x20, + 0x0a, 0x0c, 0x75, 0x73, 0x65, 0x5f, 0x61, 0x62, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x41, 0x62, 0x73, 0x50, 0x61, 0x74, 0x68, + 0x12, 0x1f, 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x18, + 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x41, 0x6c, + 0x6c, 0x12, 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, + 0x72, 0x73, 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x46, + 0x61, 0x73, 0x74, 0x50, 0x61, 0x72, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x13, 0x4c, 0x69, 0x73, + 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, + 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6b, + 0x67, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, + 0x70, 0x61, 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x16, 0x4c, 0x6f, + 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, + 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, + 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, + 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, + 0x6c, 0x74, 0x12, 0x39, 0x0a, 0x0f, 0x6b, 0x63, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x70, + 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, + 0x6b, 0x63, 0x6c, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x35, 0x0a, + 0x0b, 0x6b, 0x63, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, + 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x56, + 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0a, 0x6b, 0x63, 0x6c, 0x4f, 0x70, 0x74, + 0x69, 0x6f, 0x6e, 0x73, 0x22, 0xd3, 0x02, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, + 0x75, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, + 0x12, 0x1c, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, + 0x03, 0x28, 0x09, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x23, + 0x0a, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, + 0x04, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, + 0x74, 0x6f, 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, + 0x10, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, + 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, + 0x65, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, + 0x4e, 0x6f, 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, + 0x07, 0x20, 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, + 0x65, 0x62, 0x75, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, + 0x73, 0x18, 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, + 0x73, 0x12, 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0a, 0x20, + 0x01, 0x28, 0x08, 0x52, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, + 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x65, + 0x79, 0x56, 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 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, 0x22, 0x68, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, + 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x50, 0x61, + 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, + 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, + 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x34, 0x0a, 0x0d, + 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, + 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, + 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x46, 0x69, 0x6c, + 0x65, 0x73, 0x22, 0xda, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, + 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, + 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, + 0x62, 0x6f, 0x6c, 0x50, 0x61, 0x74, 0x68, 0x12, 0x4b, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, + 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, + 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, + 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, + 0x6f, 0x64, 0x65, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x6e, 0x65, 0x77, 0x5f, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x1a, + 0x3e, 0x0a, 0x10, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x92, 0x01, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, - 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x50, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x72, 0x72, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x08, 0x50, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, - 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x11, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, - 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x20, 0x0a, 0x0c, - 0x75, 0x73, 0x65, 0x5f, 0x61, 0x62, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x41, 0x62, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, - 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x12, - 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x73, - 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x46, 0x61, 0x73, - 0x74, 0x50, 0x61, 0x72, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6b, 0x67, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x16, 0x4c, 0x6f, 0x61, 0x64, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x39, 0x0a, 0x0f, 0x6b, 0x63, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x6b, 0x63, - 0x6c, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x6b, - 0x63, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0a, 0x6b, 0x63, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0xd3, 0x02, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, - 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, - 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, - 0x74, 0x72, 0x69, 0x63, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, - 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, - 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, - 0x75, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x54, 0x79, 0x70, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 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, - 0x22, 0x67, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x34, 0x0a, 0x0d, 0x52, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, - 0xd9, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x4b, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, - 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x70, 0x79, - 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3e, 0x0a, 0x10, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 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, 0x22, 0xa6, 0x01, 0x0a, 0x11, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, - 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, - 0x64, 0x65, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, - 0x64, 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, 0x22, 0xc7, 0x05, 0x0a, 0x07, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, + 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, 0x22, + 0xa6, 0x01, 0x0a, 0x11, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, + 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, + 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, + 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, + 0x6f, 0x64, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, + 0x65, 0x64, 0x43, 0x6f, 0x64, 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, 0x22, 0x99, 0x01, 0x0a, 0x09, 0x54, 0x65, 0x73, + 0x74, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x35, 0x0a, 0x09, 0x65, 0x78, 0x65, 0x63, 0x5f, 0x61, + 0x72, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x67, 0x70, 0x79, 0x72, + 0x70, 0x63, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, + 0x72, 0x67, 0x73, 0x52, 0x08, 0x65, 0x78, 0x65, 0x63, 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, + 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, + 0x07, 0x70, 0x6b, 0x67, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x75, 0x6e, 0x5f, + 0x72, 0x65, 0x67, 0x65, 0x78, 0x70, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x75, + 0x6e, 0x52, 0x65, 0x67, 0x65, 0x78, 0x70, 0x12, 0x1b, 0x0a, 0x09, 0x66, 0x61, 0x69, 0x6c, 0x5f, + 0x66, 0x61, 0x73, 0x74, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x66, 0x61, 0x69, 0x6c, + 0x46, 0x61, 0x73, 0x74, 0x22, 0x37, 0x0a, 0x0b, 0x54, 0x65, 0x73, 0x74, 0x5f, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x43, + 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x52, 0x04, 0x69, 0x6e, 0x66, 0x6f, 0x22, 0x75, 0x0a, + 0x0c, 0x54, 0x65, 0x73, 0x74, 0x43, 0x61, 0x73, 0x65, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x12, 0x0a, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, + 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x04, 0x52, 0x08, 0x64, 0x75, 0x72, 0x61, 0x74, + 0x69, 0x6f, 0x6e, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x6f, 0x67, 0x5f, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x6f, 0x67, 0x4d, 0x65, 0x73, + 0x73, 0x61, 0x67, 0x65, 0x22, 0xc7, 0x05, 0x0a, 0x07, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, @@ -3265,7 +3547,7 @@ var file_gpyrpc_proto_rawDesc = []byte{ 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x17, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0x95, 0x07, 0x0a, 0x0c, 0x4b, + 0x68, 0x6f, 0x64, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0x98, 0x08, 0x0a, 0x0c, 0x4b, 0x63, 0x6c, 0x76, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, 0x12, 0x11, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, @@ -3295,38 +3577,46 @@ var file_gpyrpc_proto_rawDesc = []byte{ 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x5e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x23, + 0x75, 0x6c, 0x74, 0x12, 0x51, 0x0a, 0x11, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, + 0x63, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x75, 0x6c, 0x6c, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, + 0x79, 0x70, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, + 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x5e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, + 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x4c, - 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, - 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x55, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, - 0x63, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x20, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, - 0x63, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x15, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x40, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, - 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, - 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x42, 0x2b, 0x5a, 0x29, 0x6b, 0x63, 0x6c, 0x2d, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x69, - 0x6f, 0x2f, 0x6b, 0x63, 0x6c, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x70, 0x65, - 0x63, 0x2f, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x3b, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, + 0x73, 0x1a, 0x23, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, + 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, + 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, + 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, + 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, + 0x0a, 0x0c, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x19, + 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, + 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x70, 0x79, 0x72, + 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, + 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x55, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, + 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x70, + 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x20, 0x2e, 0x67, 0x70, + 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, + 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x34, 0x0a, + 0x06, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, + 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x15, 0x2e, 0x67, + 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, + 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, + 0x65, 0x12, 0x17, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, + 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x67, 0x70, 0x79, + 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x2e, 0x0a, 0x04, 0x54, 0x65, 0x73, 0x74, 0x12, 0x11, 0x2e, + 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x5f, 0x41, 0x72, 0x67, 0x73, + 0x1a, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x54, 0x65, 0x73, 0x74, 0x5f, 0x52, + 0x65, 0x73, 0x75, 0x6c, 0x74, 0x42, 0x2b, 0x5a, 0x29, 0x6b, 0x63, 0x6c, 0x2d, 0x6c, 0x61, 0x6e, + 0x67, 0x2e, 0x69, 0x6f, 0x2f, 0x6b, 0x63, 0x6c, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, + 0x73, 0x70, 0x65, 0x63, 0x2f, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x3b, 0x67, 0x70, 0x79, 0x72, + 0x70, 0x63, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3341,7 +3631,7 @@ func file_gpyrpc_proto_rawDescGZIP() []byte { return file_gpyrpc_proto_rawDescData } -var file_gpyrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 52) +var file_gpyrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 56) var file_gpyrpc_proto_goTypes = []interface{}{ (*CmdExternalPkgSpec)(nil), // 0: gpyrpc.CmdExternalPkgSpec (*CmdArgSpec)(nil), // 1: gpyrpc.CmdArgSpec @@ -3369,36 +3659,40 @@ var file_gpyrpc_proto_goTypes = []interface{}{ (*LintPath_Result)(nil), // 23: gpyrpc.LintPath_Result (*OverrideFile_Args)(nil), // 24: gpyrpc.OverrideFile_Args (*OverrideFile_Result)(nil), // 25: gpyrpc.OverrideFile_Result - (*GetSchemaType_Args)(nil), // 26: gpyrpc.GetSchemaType_Args - (*GetSchemaType_Result)(nil), // 27: gpyrpc.GetSchemaType_Result - (*GetSchemaTypeMapping_Args)(nil), // 28: gpyrpc.GetSchemaTypeMapping_Args - (*GetSchemaTypeMapping_Result)(nil), // 29: gpyrpc.GetSchemaTypeMapping_Result - (*ValidateCode_Args)(nil), // 30: gpyrpc.ValidateCode_Args - (*ValidateCode_Result)(nil), // 31: gpyrpc.ValidateCode_Result - (*Position)(nil), // 32: gpyrpc.Position - (*ListDepFiles_Args)(nil), // 33: gpyrpc.ListDepFiles_Args - (*ListDepFiles_Result)(nil), // 34: gpyrpc.ListDepFiles_Result - (*LoadSettingsFiles_Args)(nil), // 35: gpyrpc.LoadSettingsFiles_Args - (*LoadSettingsFiles_Result)(nil), // 36: gpyrpc.LoadSettingsFiles_Result - (*CliConfig)(nil), // 37: gpyrpc.CliConfig - (*KeyValuePair)(nil), // 38: gpyrpc.KeyValuePair - (*Rename_Args)(nil), // 39: gpyrpc.Rename_Args - (*Rename_Result)(nil), // 40: gpyrpc.Rename_Result - (*RenameCode_Args)(nil), // 41: gpyrpc.RenameCode_Args - (*RenameCode_Result)(nil), // 42: gpyrpc.RenameCode_Result - (*KclType)(nil), // 43: gpyrpc.KclType - (*Decorator)(nil), // 44: gpyrpc.Decorator - (*Example)(nil), // 45: gpyrpc.Example - nil, // 46: gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry - nil, // 47: gpyrpc.RenameCode_Args.SourceCodesEntry - nil, // 48: gpyrpc.RenameCode_Result.ChangedCodesEntry - nil, // 49: gpyrpc.KclType.PropertiesEntry - nil, // 50: gpyrpc.KclType.ExamplesEntry - nil, // 51: gpyrpc.Decorator.KeywordsEntry - (*anypb.Any)(nil), // 52: google.protobuf.Any + (*GetFullSchemaType_Args)(nil), // 26: gpyrpc.GetFullSchemaType_Args + (*GetSchemaType_Args)(nil), // 27: gpyrpc.GetSchemaType_Args + (*GetSchemaType_Result)(nil), // 28: gpyrpc.GetSchemaType_Result + (*GetSchemaTypeMapping_Args)(nil), // 29: gpyrpc.GetSchemaTypeMapping_Args + (*GetSchemaTypeMapping_Result)(nil), // 30: gpyrpc.GetSchemaTypeMapping_Result + (*ValidateCode_Args)(nil), // 31: gpyrpc.ValidateCode_Args + (*ValidateCode_Result)(nil), // 32: gpyrpc.ValidateCode_Result + (*Position)(nil), // 33: gpyrpc.Position + (*ListDepFiles_Args)(nil), // 34: gpyrpc.ListDepFiles_Args + (*ListDepFiles_Result)(nil), // 35: gpyrpc.ListDepFiles_Result + (*LoadSettingsFiles_Args)(nil), // 36: gpyrpc.LoadSettingsFiles_Args + (*LoadSettingsFiles_Result)(nil), // 37: gpyrpc.LoadSettingsFiles_Result + (*CliConfig)(nil), // 38: gpyrpc.CliConfig + (*KeyValuePair)(nil), // 39: gpyrpc.KeyValuePair + (*Rename_Args)(nil), // 40: gpyrpc.Rename_Args + (*Rename_Result)(nil), // 41: gpyrpc.Rename_Result + (*RenameCode_Args)(nil), // 42: gpyrpc.RenameCode_Args + (*RenameCode_Result)(nil), // 43: gpyrpc.RenameCode_Result + (*Test_Args)(nil), // 44: gpyrpc.Test_Args + (*Test_Result)(nil), // 45: gpyrpc.Test_Result + (*TestCaseInfo)(nil), // 46: gpyrpc.TestCaseInfo + (*KclType)(nil), // 47: gpyrpc.KclType + (*Decorator)(nil), // 48: gpyrpc.Decorator + (*Example)(nil), // 49: gpyrpc.Example + nil, // 50: gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry + nil, // 51: gpyrpc.RenameCode_Args.SourceCodesEntry + nil, // 52: gpyrpc.RenameCode_Result.ChangedCodesEntry + nil, // 53: gpyrpc.KclType.PropertiesEntry + nil, // 54: gpyrpc.KclType.ExamplesEntry + nil, // 55: gpyrpc.Decorator.KeywordsEntry + (*anypb.Any)(nil), // 56: google.protobuf.Any } var file_gpyrpc_proto_depIdxs = []int32{ - 52, // 0: gpyrpc.RestResponse.result:type_name -> google.protobuf.Any + 56, // 0: gpyrpc.RestResponse.result:type_name -> google.protobuf.Any 4, // 1: gpyrpc.RestResponse.kcl_err:type_name -> gpyrpc.KclError 5, // 2: gpyrpc.KclError.error_infos:type_name -> gpyrpc.KclErrorInfo 4, // 3: gpyrpc.ParseFile_AST_Result.kcl_err:type_name -> gpyrpc.KclError @@ -3406,57 +3700,64 @@ var file_gpyrpc_proto_depIdxs = []int32{ 1, // 5: gpyrpc.ExecProgram_Args.args:type_name -> gpyrpc.CmdArgSpec 2, // 6: gpyrpc.ExecProgram_Args.overrides:type_name -> gpyrpc.CmdOverrideSpec 0, // 7: gpyrpc.ExecProgram_Args.external_pkgs:type_name -> gpyrpc.CmdExternalPkgSpec - 43, // 8: gpyrpc.GetSchemaType_Result.schema_type_list:type_name -> gpyrpc.KclType - 46, // 9: gpyrpc.GetSchemaTypeMapping_Result.schema_type_mapping:type_name -> gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry - 37, // 10: gpyrpc.LoadSettingsFiles_Result.kcl_cli_configs:type_name -> gpyrpc.CliConfig - 38, // 11: gpyrpc.LoadSettingsFiles_Result.kcl_options:type_name -> gpyrpc.KeyValuePair - 47, // 12: gpyrpc.RenameCode_Args.source_codes:type_name -> gpyrpc.RenameCode_Args.SourceCodesEntry - 48, // 13: gpyrpc.RenameCode_Result.changed_codes:type_name -> gpyrpc.RenameCode_Result.ChangedCodesEntry - 43, // 14: gpyrpc.KclType.union_types:type_name -> gpyrpc.KclType - 49, // 15: gpyrpc.KclType.properties:type_name -> gpyrpc.KclType.PropertiesEntry - 43, // 16: gpyrpc.KclType.key:type_name -> gpyrpc.KclType - 43, // 17: gpyrpc.KclType.item:type_name -> gpyrpc.KclType - 44, // 18: gpyrpc.KclType.decorators:type_name -> gpyrpc.Decorator - 50, // 19: gpyrpc.KclType.examples:type_name -> gpyrpc.KclType.ExamplesEntry - 51, // 20: gpyrpc.Decorator.keywords:type_name -> gpyrpc.Decorator.KeywordsEntry - 43, // 21: gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry.value:type_name -> gpyrpc.KclType - 43, // 22: gpyrpc.KclType.PropertiesEntry.value:type_name -> gpyrpc.KclType - 45, // 23: gpyrpc.KclType.ExamplesEntry.value:type_name -> gpyrpc.Example - 6, // 24: gpyrpc.BuiltinService.Ping:input_type -> gpyrpc.Ping_Args - 8, // 25: gpyrpc.BuiltinService.ListMethod:input_type -> gpyrpc.ListMethod_Args - 6, // 26: gpyrpc.KclvmService.Ping:input_type -> gpyrpc.Ping_Args - 14, // 27: gpyrpc.KclvmService.ExecProgram:input_type -> gpyrpc.ExecProgram_Args - 18, // 28: gpyrpc.KclvmService.FormatCode:input_type -> gpyrpc.FormatCode_Args - 20, // 29: gpyrpc.KclvmService.FormatPath:input_type -> gpyrpc.FormatPath_Args - 22, // 30: gpyrpc.KclvmService.LintPath:input_type -> gpyrpc.LintPath_Args - 24, // 31: gpyrpc.KclvmService.OverrideFile:input_type -> gpyrpc.OverrideFile_Args - 26, // 32: gpyrpc.KclvmService.GetSchemaType:input_type -> gpyrpc.GetSchemaType_Args - 28, // 33: gpyrpc.KclvmService.GetSchemaTypeMapping:input_type -> gpyrpc.GetSchemaTypeMapping_Args - 30, // 34: gpyrpc.KclvmService.ValidateCode:input_type -> gpyrpc.ValidateCode_Args - 33, // 35: gpyrpc.KclvmService.ListDepFiles:input_type -> gpyrpc.ListDepFiles_Args - 35, // 36: gpyrpc.KclvmService.LoadSettingsFiles:input_type -> gpyrpc.LoadSettingsFiles_Args - 39, // 37: gpyrpc.KclvmService.Rename:input_type -> gpyrpc.Rename_Args - 41, // 38: gpyrpc.KclvmService.RenameCode:input_type -> gpyrpc.RenameCode_Args - 7, // 39: gpyrpc.BuiltinService.Ping:output_type -> gpyrpc.Ping_Result - 9, // 40: gpyrpc.BuiltinService.ListMethod:output_type -> gpyrpc.ListMethod_Result - 7, // 41: gpyrpc.KclvmService.Ping:output_type -> gpyrpc.Ping_Result - 15, // 42: gpyrpc.KclvmService.ExecProgram:output_type -> gpyrpc.ExecProgram_Result - 19, // 43: gpyrpc.KclvmService.FormatCode:output_type -> gpyrpc.FormatCode_Result - 21, // 44: gpyrpc.KclvmService.FormatPath:output_type -> gpyrpc.FormatPath_Result - 23, // 45: gpyrpc.KclvmService.LintPath:output_type -> gpyrpc.LintPath_Result - 25, // 46: gpyrpc.KclvmService.OverrideFile:output_type -> gpyrpc.OverrideFile_Result - 27, // 47: gpyrpc.KclvmService.GetSchemaType:output_type -> gpyrpc.GetSchemaType_Result - 29, // 48: gpyrpc.KclvmService.GetSchemaTypeMapping:output_type -> gpyrpc.GetSchemaTypeMapping_Result - 31, // 49: gpyrpc.KclvmService.ValidateCode:output_type -> gpyrpc.ValidateCode_Result - 34, // 50: gpyrpc.KclvmService.ListDepFiles:output_type -> gpyrpc.ListDepFiles_Result - 36, // 51: gpyrpc.KclvmService.LoadSettingsFiles:output_type -> gpyrpc.LoadSettingsFiles_Result - 40, // 52: gpyrpc.KclvmService.Rename:output_type -> gpyrpc.Rename_Result - 42, // 53: gpyrpc.KclvmService.RenameCode:output_type -> gpyrpc.RenameCode_Result - 39, // [39:54] is the sub-list for method output_type - 24, // [24:39] is the sub-list for method input_type - 24, // [24:24] is the sub-list for extension type_name - 24, // [24:24] is the sub-list for extension extendee - 0, // [0:24] is the sub-list for field type_name + 14, // 8: gpyrpc.GetFullSchemaType_Args.exec_args:type_name -> gpyrpc.ExecProgram_Args + 47, // 9: gpyrpc.GetSchemaType_Result.schema_type_list:type_name -> gpyrpc.KclType + 50, // 10: gpyrpc.GetSchemaTypeMapping_Result.schema_type_mapping:type_name -> gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry + 38, // 11: gpyrpc.LoadSettingsFiles_Result.kcl_cli_configs:type_name -> gpyrpc.CliConfig + 39, // 12: gpyrpc.LoadSettingsFiles_Result.kcl_options:type_name -> gpyrpc.KeyValuePair + 51, // 13: gpyrpc.RenameCode_Args.source_codes:type_name -> gpyrpc.RenameCode_Args.SourceCodesEntry + 52, // 14: gpyrpc.RenameCode_Result.changed_codes:type_name -> gpyrpc.RenameCode_Result.ChangedCodesEntry + 14, // 15: gpyrpc.Test_Args.exec_args:type_name -> gpyrpc.ExecProgram_Args + 46, // 16: gpyrpc.Test_Result.info:type_name -> gpyrpc.TestCaseInfo + 47, // 17: gpyrpc.KclType.union_types:type_name -> gpyrpc.KclType + 53, // 18: gpyrpc.KclType.properties:type_name -> gpyrpc.KclType.PropertiesEntry + 47, // 19: gpyrpc.KclType.key:type_name -> gpyrpc.KclType + 47, // 20: gpyrpc.KclType.item:type_name -> gpyrpc.KclType + 48, // 21: gpyrpc.KclType.decorators:type_name -> gpyrpc.Decorator + 54, // 22: gpyrpc.KclType.examples:type_name -> gpyrpc.KclType.ExamplesEntry + 55, // 23: gpyrpc.Decorator.keywords:type_name -> gpyrpc.Decorator.KeywordsEntry + 47, // 24: gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry.value:type_name -> gpyrpc.KclType + 47, // 25: gpyrpc.KclType.PropertiesEntry.value:type_name -> gpyrpc.KclType + 49, // 26: gpyrpc.KclType.ExamplesEntry.value:type_name -> gpyrpc.Example + 6, // 27: gpyrpc.BuiltinService.Ping:input_type -> gpyrpc.Ping_Args + 8, // 28: gpyrpc.BuiltinService.ListMethod:input_type -> gpyrpc.ListMethod_Args + 6, // 29: gpyrpc.KclvmService.Ping:input_type -> gpyrpc.Ping_Args + 14, // 30: gpyrpc.KclvmService.ExecProgram:input_type -> gpyrpc.ExecProgram_Args + 18, // 31: gpyrpc.KclvmService.FormatCode:input_type -> gpyrpc.FormatCode_Args + 20, // 32: gpyrpc.KclvmService.FormatPath:input_type -> gpyrpc.FormatPath_Args + 22, // 33: gpyrpc.KclvmService.LintPath:input_type -> gpyrpc.LintPath_Args + 24, // 34: gpyrpc.KclvmService.OverrideFile:input_type -> gpyrpc.OverrideFile_Args + 27, // 35: gpyrpc.KclvmService.GetSchemaType:input_type -> gpyrpc.GetSchemaType_Args + 26, // 36: gpyrpc.KclvmService.GetFullSchemaType:input_type -> gpyrpc.GetFullSchemaType_Args + 29, // 37: gpyrpc.KclvmService.GetSchemaTypeMapping:input_type -> gpyrpc.GetSchemaTypeMapping_Args + 31, // 38: gpyrpc.KclvmService.ValidateCode:input_type -> gpyrpc.ValidateCode_Args + 34, // 39: gpyrpc.KclvmService.ListDepFiles:input_type -> gpyrpc.ListDepFiles_Args + 36, // 40: gpyrpc.KclvmService.LoadSettingsFiles:input_type -> gpyrpc.LoadSettingsFiles_Args + 40, // 41: gpyrpc.KclvmService.Rename:input_type -> gpyrpc.Rename_Args + 42, // 42: gpyrpc.KclvmService.RenameCode:input_type -> gpyrpc.RenameCode_Args + 44, // 43: gpyrpc.KclvmService.Test:input_type -> gpyrpc.Test_Args + 7, // 44: gpyrpc.BuiltinService.Ping:output_type -> gpyrpc.Ping_Result + 9, // 45: gpyrpc.BuiltinService.ListMethod:output_type -> gpyrpc.ListMethod_Result + 7, // 46: gpyrpc.KclvmService.Ping:output_type -> gpyrpc.Ping_Result + 15, // 47: gpyrpc.KclvmService.ExecProgram:output_type -> gpyrpc.ExecProgram_Result + 19, // 48: gpyrpc.KclvmService.FormatCode:output_type -> gpyrpc.FormatCode_Result + 21, // 49: gpyrpc.KclvmService.FormatPath:output_type -> gpyrpc.FormatPath_Result + 23, // 50: gpyrpc.KclvmService.LintPath:output_type -> gpyrpc.LintPath_Result + 25, // 51: gpyrpc.KclvmService.OverrideFile:output_type -> gpyrpc.OverrideFile_Result + 28, // 52: gpyrpc.KclvmService.GetSchemaType:output_type -> gpyrpc.GetSchemaType_Result + 28, // 53: gpyrpc.KclvmService.GetFullSchemaType:output_type -> gpyrpc.GetSchemaType_Result + 30, // 54: gpyrpc.KclvmService.GetSchemaTypeMapping:output_type -> gpyrpc.GetSchemaTypeMapping_Result + 32, // 55: gpyrpc.KclvmService.ValidateCode:output_type -> gpyrpc.ValidateCode_Result + 35, // 56: gpyrpc.KclvmService.ListDepFiles:output_type -> gpyrpc.ListDepFiles_Result + 37, // 57: gpyrpc.KclvmService.LoadSettingsFiles:output_type -> gpyrpc.LoadSettingsFiles_Result + 41, // 58: gpyrpc.KclvmService.Rename:output_type -> gpyrpc.Rename_Result + 43, // 59: gpyrpc.KclvmService.RenameCode:output_type -> gpyrpc.RenameCode_Result + 45, // 60: gpyrpc.KclvmService.Test:output_type -> gpyrpc.Test_Result + 44, // [44:61] is the sub-list for method output_type + 27, // [27:44] 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_gpyrpc_proto_init() } @@ -3778,7 +4079,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaType_Args); i { + switch v := v.(*GetFullSchemaType_Args); i { case 0: return &v.state case 1: @@ -3790,7 +4091,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaType_Result); i { + switch v := v.(*GetSchemaType_Args); i { case 0: return &v.state case 1: @@ -3802,7 +4103,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaTypeMapping_Args); i { + switch v := v.(*GetSchemaType_Result); i { case 0: return &v.state case 1: @@ -3814,7 +4115,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaTypeMapping_Result); i { + switch v := v.(*GetSchemaTypeMapping_Args); i { case 0: return &v.state case 1: @@ -3826,7 +4127,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateCode_Args); i { + switch v := v.(*GetSchemaTypeMapping_Result); i { case 0: return &v.state case 1: @@ -3838,7 +4139,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateCode_Result); i { + switch v := v.(*ValidateCode_Args); i { case 0: return &v.state case 1: @@ -3850,7 +4151,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Position); i { + switch v := v.(*ValidateCode_Result); i { case 0: return &v.state case 1: @@ -3862,7 +4163,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDepFiles_Args); i { + switch v := v.(*Position); i { case 0: return &v.state case 1: @@ -3874,7 +4175,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDepFiles_Result); i { + switch v := v.(*ListDepFiles_Args); i { case 0: return &v.state case 1: @@ -3886,7 +4187,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoadSettingsFiles_Args); i { + switch v := v.(*ListDepFiles_Result); i { case 0: return &v.state case 1: @@ -3898,7 +4199,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoadSettingsFiles_Result); i { + switch v := v.(*LoadSettingsFiles_Args); i { case 0: return &v.state case 1: @@ -3910,7 +4211,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CliConfig); i { + switch v := v.(*LoadSettingsFiles_Result); i { case 0: return &v.state case 1: @@ -3922,7 +4223,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyValuePair); i { + switch v := v.(*CliConfig); i { case 0: return &v.state case 1: @@ -3934,7 +4235,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rename_Args); i { + switch v := v.(*KeyValuePair); i { case 0: return &v.state case 1: @@ -3946,7 +4247,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rename_Result); i { + switch v := v.(*Rename_Args); i { case 0: return &v.state case 1: @@ -3958,7 +4259,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameCode_Args); i { + switch v := v.(*Rename_Result); i { case 0: return &v.state case 1: @@ -3970,7 +4271,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameCode_Result); i { + switch v := v.(*RenameCode_Args); i { case 0: return &v.state case 1: @@ -3982,7 +4283,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KclType); i { + switch v := v.(*RenameCode_Result); i { case 0: return &v.state case 1: @@ -3994,7 +4295,7 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Decorator); i { + switch v := v.(*Test_Args); i { case 0: return &v.state case 1: @@ -4006,6 +4307,54 @@ func file_gpyrpc_proto_init() { } } file_gpyrpc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Test_Result); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gpyrpc_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*TestCaseInfo); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gpyrpc_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*KclType); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gpyrpc_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*Decorator); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_gpyrpc_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Example); i { case 0: return &v.state @@ -4024,7 +4373,7 @@ func file_gpyrpc_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_gpyrpc_proto_rawDesc, NumEnums: 0, - NumMessages: 52, + NumMessages: 56, NumExtensions: 0, NumServices: 2, }, @@ -4165,12 +4514,14 @@ type KclvmServiceClient interface { LintPath(ctx context.Context, in *LintPath_Args, opts ...grpc.CallOption) (*LintPath_Result, error) OverrideFile(ctx context.Context, in *OverrideFile_Args, opts ...grpc.CallOption) (*OverrideFile_Result, error) GetSchemaType(ctx context.Context, in *GetSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) + GetFullSchemaType(ctx context.Context, in *GetFullSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) GetSchemaTypeMapping(ctx context.Context, in *GetSchemaTypeMapping_Args, opts ...grpc.CallOption) (*GetSchemaTypeMapping_Result, error) ValidateCode(ctx context.Context, in *ValidateCode_Args, opts ...grpc.CallOption) (*ValidateCode_Result, error) ListDepFiles(ctx context.Context, in *ListDepFiles_Args, opts ...grpc.CallOption) (*ListDepFiles_Result, error) LoadSettingsFiles(ctx context.Context, in *LoadSettingsFiles_Args, opts ...grpc.CallOption) (*LoadSettingsFiles_Result, error) Rename(ctx context.Context, in *Rename_Args, opts ...grpc.CallOption) (*Rename_Result, error) RenameCode(ctx context.Context, in *RenameCode_Args, opts ...grpc.CallOption) (*RenameCode_Result, error) + Test(ctx context.Context, in *Test_Args, opts ...grpc.CallOption) (*Test_Result, error) } type kclvmServiceClient struct { @@ -4244,6 +4595,15 @@ func (c *kclvmServiceClient) GetSchemaType(ctx context.Context, in *GetSchemaTyp return out, nil } +func (c *kclvmServiceClient) GetFullSchemaType(ctx context.Context, in *GetFullSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) { + out := new(GetSchemaType_Result) + err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/GetFullSchemaType", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *kclvmServiceClient) GetSchemaTypeMapping(ctx context.Context, in *GetSchemaTypeMapping_Args, opts ...grpc.CallOption) (*GetSchemaTypeMapping_Result, error) { out := new(GetSchemaTypeMapping_Result) err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/GetSchemaTypeMapping", in, out, opts...) @@ -4298,6 +4658,15 @@ func (c *kclvmServiceClient) RenameCode(ctx context.Context, in *RenameCode_Args return out, nil } +func (c *kclvmServiceClient) Test(ctx context.Context, in *Test_Args, opts ...grpc.CallOption) (*Test_Result, error) { + out := new(Test_Result) + err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/Test", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + // KclvmServiceServer is the server API for KclvmService service. type KclvmServiceServer interface { Ping(context.Context, *Ping_Args) (*Ping_Result, error) @@ -4307,12 +4676,14 @@ type KclvmServiceServer interface { LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error) OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error) GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error) + GetFullSchemaType(context.Context, *GetFullSchemaType_Args) (*GetSchemaType_Result, error) GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error) ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error) ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error) LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error) Rename(context.Context, *Rename_Args) (*Rename_Result, error) RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error) + Test(context.Context, *Test_Args) (*Test_Result, error) } // UnimplementedKclvmServiceServer can be embedded to have forward compatible implementations. @@ -4340,6 +4711,9 @@ func (*UnimplementedKclvmServiceServer) OverrideFile(context.Context, *OverrideF func (*UnimplementedKclvmServiceServer) GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSchemaType not implemented") } +func (*UnimplementedKclvmServiceServer) GetFullSchemaType(context.Context, *GetFullSchemaType_Args) (*GetSchemaType_Result, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetFullSchemaType not implemented") +} func (*UnimplementedKclvmServiceServer) GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error) { return nil, status.Errorf(codes.Unimplemented, "method GetSchemaTypeMapping not implemented") } @@ -4358,6 +4732,9 @@ func (*UnimplementedKclvmServiceServer) Rename(context.Context, *Rename_Args) (* func (*UnimplementedKclvmServiceServer) RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error) { return nil, status.Errorf(codes.Unimplemented, "method RenameCode not implemented") } +func (*UnimplementedKclvmServiceServer) Test(context.Context, *Test_Args) (*Test_Result, error) { + return nil, status.Errorf(codes.Unimplemented, "method Test not implemented") +} func RegisterKclvmServiceServer(s *grpc.Server, srv KclvmServiceServer) { s.RegisterService(&_KclvmService_serviceDesc, srv) @@ -4489,6 +4866,24 @@ func _KclvmService_GetSchemaType_Handler(srv interface{}, ctx context.Context, d return interceptor(ctx, in, info, handler) } +func _KclvmService_GetFullSchemaType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetFullSchemaType_Args) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KclvmServiceServer).GetFullSchemaType(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gpyrpc.KclvmService/GetFullSchemaType", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KclvmServiceServer).GetFullSchemaType(ctx, req.(*GetFullSchemaType_Args)) + } + return interceptor(ctx, in, info, handler) +} + func _KclvmService_GetSchemaTypeMapping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetSchemaTypeMapping_Args) if err := dec(in); err != nil { @@ -4597,6 +4992,24 @@ func _KclvmService_RenameCode_Handler(srv interface{}, ctx context.Context, dec return interceptor(ctx, in, info, handler) } +func _KclvmService_Test_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(Test_Args) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(KclvmServiceServer).Test(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/gpyrpc.KclvmService/Test", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(KclvmServiceServer).Test(ctx, req.(*Test_Args)) + } + return interceptor(ctx, in, info, handler) +} + var _KclvmService_serviceDesc = grpc.ServiceDesc{ ServiceName: "gpyrpc.KclvmService", HandlerType: (*KclvmServiceServer)(nil), @@ -4629,6 +5042,10 @@ var _KclvmService_serviceDesc = grpc.ServiceDesc{ MethodName: "GetSchemaType", Handler: _KclvmService_GetSchemaType_Handler, }, + { + MethodName: "GetFullSchemaType", + Handler: _KclvmService_GetFullSchemaType_Handler, + }, { MethodName: "GetSchemaTypeMapping", Handler: _KclvmService_GetSchemaTypeMapping_Handler, @@ -4653,6 +5070,10 @@ var _KclvmService_serviceDesc = grpc.ServiceDesc{ MethodName: "RenameCode", Handler: _KclvmService_RenameCode_Handler, }, + { + MethodName: "Test", + Handler: _KclvmService_Test_Handler, + }, }, Streams: []grpc.StreamDesc{}, Metadata: "gpyrpc.proto", diff --git a/pkg/spec/gpyrpc/gpyrpc.pb.protorpc.go b/pkg/spec/gpyrpc/gpyrpc.pb.protorpc.go index 53b24885..f8cd36e2 100644 --- a/pkg/spec/gpyrpc/gpyrpc.pb.protorpc.go +++ b/pkg/spec/gpyrpc/gpyrpc.pb.protorpc.go @@ -219,11 +219,13 @@ type PROTORPC_KclvmService interface { OverrideFile(in *OverrideFile_Args, out *OverrideFile_Result) error GetSchemaType(in *GetSchemaType_Args, out *GetSchemaType_Result) error GetSchemaTypeMapping(in *GetSchemaTypeMapping_Args, out *GetSchemaTypeMapping_Result) error + GetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result) error ValidateCode(in *ValidateCode_Args, out *ValidateCode_Result) error ListDepFiles(in *ListDepFiles_Args, out *ListDepFiles_Result) error LoadSettingsFiles(in *LoadSettingsFiles_Args, out *LoadSettingsFiles_Result) error Rename(in *Rename_Args, out *Rename_Result) error RenameCode(in *RenameCode_Args, out *RenameCode_Result) error + Test(in *Test_Args, out *Test_Result) error } // PROTORPC_AcceptKclvmServiceClient accepts connections on the listener and serves requests @@ -616,6 +618,45 @@ func (c *PROTORPC_KclvmServiceClient) AsyncGetSchemaTypeMapping(in *GetSchemaTyp ) } +func (c *PROTORPC_KclvmServiceClient) GetFullSchemaType(in *GetFullSchemaType_Args) (out *GetSchemaType_Result, err error) { + if in == nil { + in = new(GetFullSchemaType_Args) + } + + type Validator interface { + Validate() error + } + if x, ok := proto.Message(in).(Validator); ok { + if err := x.Validate(); err != nil { + return nil, err + } + } + + out = new(GetSchemaType_Result) + if err = c.Call("KclvmService.GetFullSchemaType", in, out); err != nil { + return nil, err + } + + if x, ok := proto.Message(out).(Validator); ok { + if err := x.Validate(); err != nil { + return out, err + } + } + + return out, nil +} + +func (c *PROTORPC_KclvmServiceClient) AsyncGetFullSchemaType(in *GetFullSchemaType_Args, out *GetSchemaType_Result, done chan *rpc.Call) *rpc.Call { + if in == nil { + in = new(GetFullSchemaType_Args) + } + return c.Go( + "KclvmService.GetFullSchemaType", + in, out, + done, + ) +} + func (c *PROTORPC_KclvmServiceClient) ValidateCode(in *ValidateCode_Args) (out *ValidateCode_Result, err error) { if in == nil { in = new(ValidateCode_Args) @@ -811,6 +852,45 @@ func (c *PROTORPC_KclvmServiceClient) AsyncRenameCode(in *RenameCode_Args, out * ) } +func (c *PROTORPC_KclvmServiceClient) Test(in *Test_Args) (out *Test_Result, err error) { + if in == nil { + in = new(Test_Args) + } + + type Validator interface { + Validate() error + } + if x, ok := proto.Message(in).(Validator); ok { + if err := x.Validate(); err != nil { + return nil, err + } + } + + out = new(Test_Result) + if err = c.Call("KclvmService.Test", in, out); err != nil { + return nil, err + } + + if x, ok := proto.Message(out).(Validator); ok { + if err := x.Validate(); err != nil { + return out, err + } + } + + return out, nil +} + +func (c *PROTORPC_KclvmServiceClient) AsyncTest(in *Test_Args, out *Test_Result, done chan *rpc.Call) *rpc.Call { + if in == nil { + in = new(Test_Args) + } + return c.Go( + "KclvmService.Test", + in, out, + done, + ) +} + // PROTORPC_DialKclvmService connects to an PROTORPC_KclvmService at the specified network address. func PROTORPC_DialKclvmService(network, addr string) (*PROTORPC_KclvmServiceClient, error) { c, err := protorpc.Dial(network, addr) diff --git a/pkg/spec/gpyrpc/gpyrpc.proto b/pkg/spec/gpyrpc/gpyrpc.proto index 69ad4d8d..4b9ed09d 100644 --- a/pkg/spec/gpyrpc/gpyrpc.proto +++ b/pkg/spec/gpyrpc/gpyrpc.proto @@ -81,6 +81,7 @@ service KclvmService { rpc OverrideFile(OverrideFile_Args) returns (OverrideFile_Result); rpc GetSchemaType(GetSchemaType_Args) returns(GetSchemaType_Result); + rpc GetFullSchemaType(GetFullSchemaType_Args) returns(GetSchemaType_Result); rpc GetSchemaTypeMapping(GetSchemaTypeMapping_Args) returns(GetSchemaTypeMapping_Result); rpc ValidateCode(ValidateCode_Args) returns(ValidateCode_Result); @@ -89,6 +90,8 @@ service KclvmService { rpc Rename(Rename_Args) returns(Rename_Result); rpc RenameCode(RenameCode_Args) returns(RenameCode_Result); + + rpc Test(Test_Args) returns (Test_Result); } message Ping_Args { @@ -168,8 +171,8 @@ message ExecProgram_Args { message ExecProgram_Result { string json_result = 1; string yaml_result = 2; - - string escaped_time = 101; + string log_message = 3; + string err_message = 4; } message ResetPlugin_Args { @@ -213,6 +216,11 @@ message OverrideFile_Result { bool result = 1; } +message GetFullSchemaType_Args { + ExecProgram_Args exec_args = 1; + string schema_name = 2; +} + message GetSchemaType_Args { string file = 1; string code = 2; @@ -304,7 +312,7 @@ message KeyValuePair { message Rename_Args { string symbol_path = 1; // the path to the target symbol to be renamed. The symbol path should conform to format: `:` When the pkgpath is '__main__', `:` can be omitted. repeated string file_paths = 2; // the paths to the source code files - string newName = 3; // the new name of the symbol + string new_name = 3; // the new name of the symbol } message Rename_Result { @@ -319,13 +327,36 @@ message Rename_Result { message RenameCode_Args { string symbol_path = 1; // the path to the target symbol to be renamed. The symbol path should conform to format: `:` When the pkgpath is '__main__', `:` can be omitted. map source_codes = 2; // the source code. a : map - string newName = 3; // the new name of the symbol + string new_name = 3; // the new name of the symbol } message RenameCode_Result { map changed_codes = 1; // the changed code. a : map } +// --------------------------------------------------------------------------------- +// Test API +// Test KCL packages with test arguments +// --------------------------------------------------------------------------------- + +message Test_Args { + ExecProgram_Args exec_args = 1; // This field stores the execution program arguments. + repeated string pkg_list = 2; // The package path list to be tested e.g., "./...", "/path/to/package/", "/path/to/package/..." + string run_regexp = 3; // This field stores a regular expression for filtering tests to run. + bool fail_fast = 4; // This field determines whether the test run should stop on the first failure. +} + +message Test_Result { + repeated TestCaseInfo info = 2; +} + +message TestCaseInfo { + string name = 1; // Test case name + string error = 2; + uint64 duration = 3; // Number of whole microseconds in the duration. + string log_message = 4; +} + // ---------------------------------------------------------------------------- // KCL Type Structure // ---------------------------------------------------------------------------- diff --git a/pkg/spec/gpyrpc/kcl-lang.io/kcl-go/pkg/spec/gpyrpc/gpyrpc.pb.go b/pkg/spec/gpyrpc/kcl-lang.io/kcl-go/pkg/spec/gpyrpc/gpyrpc.pb.go deleted file mode 100644 index adf551ee..00000000 --- a/pkg/spec/gpyrpc/kcl-lang.io/kcl-go/pkg/spec/gpyrpc/gpyrpc.pb.go +++ /dev/null @@ -1,4659 +0,0 @@ -// Copyright 2023 The KCL Authors. All rights reserved. -// -// This file defines the request parameters and return structure of the KCL RPC server. - -// Code generated by protoc-gen-go. DO NOT EDIT. -// versions: -// protoc-gen-go v1.28.1 -// protoc v3.19.4 -// source: gpyrpc.proto - -package gpyrpc - -import ( - context "context" - grpc "google.golang.org/grpc" - codes "google.golang.org/grpc/codes" - status "google.golang.org/grpc/status" - protoreflect "google.golang.org/protobuf/reflect/protoreflect" - protoimpl "google.golang.org/protobuf/runtime/protoimpl" - _ "google.golang.org/protobuf/types/descriptorpb" - anypb "google.golang.org/protobuf/types/known/anypb" - reflect "reflect" - sync "sync" -) - -const ( - // Verify that this generated code is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) - // Verify that runtime/protoimpl is sufficiently up-to-date. - _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) -) - -// kcl main.k -E pkg_name=pkg_path -type CmdExternalPkgSpec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PkgName string `protobuf:"bytes,1,opt,name=pkg_name,json=pkgName,proto3" json:"pkg_name,omitempty"` - PkgPath string `protobuf:"bytes,2,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` -} - -func (x *CmdExternalPkgSpec) Reset() { - *x = CmdExternalPkgSpec{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[0] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CmdExternalPkgSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CmdExternalPkgSpec) ProtoMessage() {} - -func (x *CmdExternalPkgSpec) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[0] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CmdExternalPkgSpec.ProtoReflect.Descriptor instead. -func (*CmdExternalPkgSpec) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{0} -} - -func (x *CmdExternalPkgSpec) GetPkgName() string { - if x != nil { - return x.PkgName - } - return "" -} - -func (x *CmdExternalPkgSpec) GetPkgPath() string { - if x != nil { - return x.PkgPath - } - return "" -} - -// kcl main.k -D name=value -type CmdArgSpec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *CmdArgSpec) Reset() { - *x = CmdArgSpec{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[1] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CmdArgSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CmdArgSpec) ProtoMessage() {} - -func (x *CmdArgSpec) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[1] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CmdArgSpec.ProtoReflect.Descriptor instead. -func (*CmdArgSpec) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{1} -} - -func (x *CmdArgSpec) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *CmdArgSpec) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -// kcl main.k -O pkgpath:path.to.field=field_value -type CmdOverrideSpec struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Pkgpath string `protobuf:"bytes,1,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"` - FieldPath string `protobuf:"bytes,2,opt,name=field_path,json=fieldPath,proto3" json:"field_path,omitempty"` - FieldValue string `protobuf:"bytes,3,opt,name=field_value,json=fieldValue,proto3" json:"field_value,omitempty"` - Action string `protobuf:"bytes,4,opt,name=action,proto3" json:"action,omitempty"` -} - -func (x *CmdOverrideSpec) Reset() { - *x = CmdOverrideSpec{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[2] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CmdOverrideSpec) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CmdOverrideSpec) ProtoMessage() {} - -func (x *CmdOverrideSpec) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[2] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CmdOverrideSpec.ProtoReflect.Descriptor instead. -func (*CmdOverrideSpec) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{2} -} - -func (x *CmdOverrideSpec) GetPkgpath() string { - if x != nil { - return x.Pkgpath - } - return "" -} - -func (x *CmdOverrideSpec) GetFieldPath() string { - if x != nil { - return x.FieldPath - } - return "" -} - -func (x *CmdOverrideSpec) GetFieldValue() string { - if x != nil { - return x.FieldValue - } - return "" -} - -func (x *CmdOverrideSpec) GetAction() string { - if x != nil { - return x.Action - } - return "" -} - -type RestResponse struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result *anypb.Any `protobuf:"bytes,1,opt,name=result,proto3" json:"result,omitempty"` - Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` - KclErr *KclError `protobuf:"bytes,3,opt,name=kcl_err,json=kclErr,proto3" json:"kcl_err,omitempty"` -} - -func (x *RestResponse) Reset() { - *x = RestResponse{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[3] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RestResponse) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RestResponse) ProtoMessage() {} - -func (x *RestResponse) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[3] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RestResponse.ProtoReflect.Descriptor instead. -func (*RestResponse) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{3} -} - -func (x *RestResponse) GetResult() *anypb.Any { - if x != nil { - return x.Result - } - return nil -} - -func (x *RestResponse) GetError() string { - if x != nil { - return x.Error - } - return "" -} - -func (x *RestResponse) GetKclErr() *KclError { - if x != nil { - return x.KclErr - } - return nil -} - -type KclError struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Ewcode string `protobuf:"bytes,1,opt,name=ewcode,proto3" json:"ewcode,omitempty"` // See kclvm/kcl/error/kcl_err_msg.py - Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` - Msg string `protobuf:"bytes,3,opt,name=msg,proto3" json:"msg,omitempty"` - ErrorInfos []*KclErrorInfo `protobuf:"bytes,4,rep,name=error_infos,json=errorInfos,proto3" json:"error_infos,omitempty"` -} - -func (x *KclError) Reset() { - *x = KclError{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[4] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KclError) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KclError) ProtoMessage() {} - -func (x *KclError) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[4] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KclError.ProtoReflect.Descriptor instead. -func (*KclError) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{4} -} - -func (x *KclError) GetEwcode() string { - if x != nil { - return x.Ewcode - } - return "" -} - -func (x *KclError) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *KclError) GetMsg() string { - if x != nil { - return x.Msg - } - return "" -} - -func (x *KclError) GetErrorInfos() []*KclErrorInfo { - if x != nil { - return x.ErrorInfos - } - return nil -} - -type KclErrorInfo struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ErrLevel string `protobuf:"bytes,1,opt,name=err_level,json=errLevel,proto3" json:"err_level,omitempty"` - ArgMsg string `protobuf:"bytes,2,opt,name=arg_msg,json=argMsg,proto3" json:"arg_msg,omitempty"` - Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` - SrcCode string `protobuf:"bytes,4,opt,name=src_code,json=srcCode,proto3" json:"src_code,omitempty"` - LineNo string `protobuf:"bytes,5,opt,name=line_no,json=lineNo,proto3" json:"line_no,omitempty"` - ColNo string `protobuf:"bytes,6,opt,name=col_no,json=colNo,proto3" json:"col_no,omitempty"` -} - -func (x *KclErrorInfo) Reset() { - *x = KclErrorInfo{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[5] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KclErrorInfo) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KclErrorInfo) ProtoMessage() {} - -func (x *KclErrorInfo) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[5] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KclErrorInfo.ProtoReflect.Descriptor instead. -func (*KclErrorInfo) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{5} -} - -func (x *KclErrorInfo) GetErrLevel() string { - if x != nil { - return x.ErrLevel - } - return "" -} - -func (x *KclErrorInfo) GetArgMsg() string { - if x != nil { - return x.ArgMsg - } - return "" -} - -func (x *KclErrorInfo) GetFilename() string { - if x != nil { - return x.Filename - } - return "" -} - -func (x *KclErrorInfo) GetSrcCode() string { - if x != nil { - return x.SrcCode - } - return "" -} - -func (x *KclErrorInfo) GetLineNo() string { - if x != nil { - return x.LineNo - } - return "" -} - -func (x *KclErrorInfo) GetColNo() string { - if x != nil { - return x.ColNo - } - return "" -} - -type Ping_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *Ping_Args) Reset() { - *x = Ping_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[6] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Ping_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Ping_Args) ProtoMessage() {} - -func (x *Ping_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[6] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Ping_Args.ProtoReflect.Descriptor instead. -func (*Ping_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{6} -} - -func (x *Ping_Args) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type Ping_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *Ping_Result) Reset() { - *x = Ping_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[7] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Ping_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Ping_Result) ProtoMessage() {} - -func (x *Ping_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[7] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Ping_Result.ProtoReflect.Descriptor instead. -func (*Ping_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{7} -} - -func (x *Ping_Result) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type ListMethod_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ListMethod_Args) Reset() { - *x = ListMethod_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[8] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMethod_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMethod_Args) ProtoMessage() {} - -func (x *ListMethod_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ListMethod_Args.ProtoReflect.Descriptor instead. -func (*ListMethod_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{8} -} - -type ListMethod_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - MethodNameList []string `protobuf:"bytes,1,rep,name=method_name_list,json=methodNameList,proto3" json:"method_name_list,omitempty"` -} - -func (x *ListMethod_Result) Reset() { - *x = ListMethod_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[9] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListMethod_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListMethod_Result) ProtoMessage() {} - -func (x *ListMethod_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ListMethod_Result.ProtoReflect.Descriptor instead. -func (*ListMethod_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{9} -} - -func (x *ListMethod_Result) GetMethodNameList() []string { - if x != nil { - return x.MethodNameList - } - return nil -} - -type ParseFile_AST_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"` - SourceCode string `protobuf:"bytes,2,opt,name=source_code,json=sourceCode,proto3" json:"source_code,omitempty"` -} - -func (x *ParseFile_AST_Args) Reset() { - *x = ParseFile_AST_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[10] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseFile_AST_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseFile_AST_Args) ProtoMessage() {} - -func (x *ParseFile_AST_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ParseFile_AST_Args.ProtoReflect.Descriptor instead. -func (*ParseFile_AST_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{10} -} - -func (x *ParseFile_AST_Args) GetFilename() string { - if x != nil { - return x.Filename - } - return "" -} - -func (x *ParseFile_AST_Args) GetSourceCode() string { - if x != nil { - return x.SourceCode - } - return "" -} - -type ParseFile_AST_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AstJson string `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // json value - KclErr *KclError `protobuf:"bytes,2,opt,name=kcl_err,json=kclErr,proto3" json:"kcl_err,omitempty"` -} - -func (x *ParseFile_AST_Result) Reset() { - *x = ParseFile_AST_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[11] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseFile_AST_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseFile_AST_Result) ProtoMessage() {} - -func (x *ParseFile_AST_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ParseFile_AST_Result.ProtoReflect.Descriptor instead. -func (*ParseFile_AST_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{11} -} - -func (x *ParseFile_AST_Result) GetAstJson() string { - if x != nil { - return x.AstJson - } - return "" -} - -func (x *ParseFile_AST_Result) GetKclErr() *KclError { - if x != nil { - return x.KclErr - } - return nil -} - -type ParseProgram_AST_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KFilenameList []string `protobuf:"bytes,1,rep,name=k_filename_list,json=kFilenameList,proto3" json:"k_filename_list,omitempty"` -} - -func (x *ParseProgram_AST_Args) Reset() { - *x = ParseProgram_AST_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[12] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseProgram_AST_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseProgram_AST_Args) ProtoMessage() {} - -func (x *ParseProgram_AST_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ParseProgram_AST_Args.ProtoReflect.Descriptor instead. -func (*ParseProgram_AST_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{12} -} - -func (x *ParseProgram_AST_Args) GetKFilenameList() []string { - if x != nil { - return x.KFilenameList - } - return nil -} - -type ParseProgram_AST_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - AstJson string `protobuf:"bytes,1,opt,name=ast_json,json=astJson,proto3" json:"ast_json,omitempty"` // json value - KclErr *KclError `protobuf:"bytes,2,opt,name=kcl_err,json=kclErr,proto3" json:"kcl_err,omitempty"` -} - -func (x *ParseProgram_AST_Result) Reset() { - *x = ParseProgram_AST_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[13] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ParseProgram_AST_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ParseProgram_AST_Result) ProtoMessage() {} - -func (x *ParseProgram_AST_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ParseProgram_AST_Result.ProtoReflect.Descriptor instead. -func (*ParseProgram_AST_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{13} -} - -func (x *ParseProgram_AST_Result) GetAstJson() string { - if x != nil { - return x.AstJson - } - return "" -} - -func (x *ParseProgram_AST_Result) GetKclErr() *KclError { - if x != nil { - return x.KclErr - } - return nil -} - -type ExecProgram_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` - KFilenameList []string `protobuf:"bytes,2,rep,name=k_filename_list,json=kFilenameList,proto3" json:"k_filename_list,omitempty"` - KCodeList []string `protobuf:"bytes,3,rep,name=k_code_list,json=kCodeList,proto3" json:"k_code_list,omitempty"` - Args []*CmdArgSpec `protobuf:"bytes,4,rep,name=args,proto3" json:"args,omitempty"` - Overrides []*CmdOverrideSpec `protobuf:"bytes,5,rep,name=overrides,proto3" json:"overrides,omitempty"` - DisableYamlResult bool `protobuf:"varint,6,opt,name=disable_yaml_result,json=disableYamlResult,proto3" json:"disable_yaml_result,omitempty"` - PrintOverrideAst bool `protobuf:"varint,7,opt,name=print_override_ast,json=printOverrideAst,proto3" json:"print_override_ast,omitempty"` - // -r --strict-range-check - StrictRangeCheck bool `protobuf:"varint,8,opt,name=strict_range_check,json=strictRangeCheck,proto3" json:"strict_range_check,omitempty"` - // -n --disable-none - DisableNone bool `protobuf:"varint,9,opt,name=disable_none,json=disableNone,proto3" json:"disable_none,omitempty"` - // -v --verbose - Verbose int32 `protobuf:"varint,10,opt,name=verbose,proto3" json:"verbose,omitempty"` - // -d --debug - Debug int32 `protobuf:"varint,11,opt,name=debug,proto3" json:"debug,omitempty"` - // yaml/json: sort keys - SortKeys bool `protobuf:"varint,12,opt,name=sort_keys,json=sortKeys,proto3" json:"sort_keys,omitempty"` - // -E --external : external packages path - ExternalPkgs []*CmdExternalPkgSpec `protobuf:"bytes,13,rep,name=external_pkgs,json=externalPkgs,proto3" json:"external_pkgs,omitempty"` - // Whether including schema type in JSON/YAML result - IncludeSchemaTypePath bool `protobuf:"varint,14,opt,name=include_schema_type_path,json=includeSchemaTypePath,proto3" json:"include_schema_type_path,omitempty"` - // Whether only compiling the program - CompileOnly bool `protobuf:"varint,15,opt,name=compile_only,json=compileOnly,proto3" json:"compile_only,omitempty"` - // Compile the dir recursively - Recursive bool `protobuf:"varint,16,opt,name=recursive,proto3" json:"recursive,omitempty"` - // -S --path_selector - PathSelector []string `protobuf:"bytes,17,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"` -} - -func (x *ExecProgram_Args) Reset() { - *x = ExecProgram_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[14] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExecProgram_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecProgram_Args) ProtoMessage() {} - -func (x *ExecProgram_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ExecProgram_Args.ProtoReflect.Descriptor instead. -func (*ExecProgram_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{14} -} - -func (x *ExecProgram_Args) GetWorkDir() string { - if x != nil { - return x.WorkDir - } - return "" -} - -func (x *ExecProgram_Args) GetKFilenameList() []string { - if x != nil { - return x.KFilenameList - } - return nil -} - -func (x *ExecProgram_Args) GetKCodeList() []string { - if x != nil { - return x.KCodeList - } - return nil -} - -func (x *ExecProgram_Args) GetArgs() []*CmdArgSpec { - if x != nil { - return x.Args - } - return nil -} - -func (x *ExecProgram_Args) GetOverrides() []*CmdOverrideSpec { - if x != nil { - return x.Overrides - } - return nil -} - -func (x *ExecProgram_Args) GetDisableYamlResult() bool { - if x != nil { - return x.DisableYamlResult - } - return false -} - -func (x *ExecProgram_Args) GetPrintOverrideAst() bool { - if x != nil { - return x.PrintOverrideAst - } - return false -} - -func (x *ExecProgram_Args) GetStrictRangeCheck() bool { - if x != nil { - return x.StrictRangeCheck - } - return false -} - -func (x *ExecProgram_Args) GetDisableNone() bool { - if x != nil { - return x.DisableNone - } - return false -} - -func (x *ExecProgram_Args) GetVerbose() int32 { - if x != nil { - return x.Verbose - } - return 0 -} - -func (x *ExecProgram_Args) GetDebug() int32 { - if x != nil { - return x.Debug - } - return 0 -} - -func (x *ExecProgram_Args) GetSortKeys() bool { - if x != nil { - return x.SortKeys - } - return false -} - -func (x *ExecProgram_Args) GetExternalPkgs() []*CmdExternalPkgSpec { - if x != nil { - return x.ExternalPkgs - } - return nil -} - -func (x *ExecProgram_Args) GetIncludeSchemaTypePath() bool { - if x != nil { - return x.IncludeSchemaTypePath - } - return false -} - -func (x *ExecProgram_Args) GetCompileOnly() bool { - if x != nil { - return x.CompileOnly - } - return false -} - -func (x *ExecProgram_Args) GetRecursive() bool { - if x != nil { - return x.Recursive - } - return false -} - -func (x *ExecProgram_Args) GetPathSelector() []string { - if x != nil { - return x.PathSelector - } - return nil -} - -type ExecProgram_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - JsonResult string `protobuf:"bytes,1,opt,name=json_result,json=jsonResult,proto3" json:"json_result,omitempty"` - YamlResult string `protobuf:"bytes,2,opt,name=yaml_result,json=yamlResult,proto3" json:"yaml_result,omitempty"` - EscapedTime string `protobuf:"bytes,101,opt,name=escaped_time,json=escapedTime,proto3" json:"escaped_time,omitempty"` -} - -func (x *ExecProgram_Result) Reset() { - *x = ExecProgram_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[15] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ExecProgram_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ExecProgram_Result) ProtoMessage() {} - -func (x *ExecProgram_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ExecProgram_Result.ProtoReflect.Descriptor instead. -func (*ExecProgram_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{15} -} - -func (x *ExecProgram_Result) GetJsonResult() string { - if x != nil { - return x.JsonResult - } - return "" -} - -func (x *ExecProgram_Result) GetYamlResult() string { - if x != nil { - return x.YamlResult - } - return "" -} - -func (x *ExecProgram_Result) GetEscapedTime() string { - if x != nil { - return x.EscapedTime - } - return "" -} - -type ResetPlugin_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - PluginRoot string `protobuf:"bytes,1,opt,name=plugin_root,json=pluginRoot,proto3" json:"plugin_root,omitempty"` -} - -func (x *ResetPlugin_Args) Reset() { - *x = ResetPlugin_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[16] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResetPlugin_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetPlugin_Args) ProtoMessage() {} - -func (x *ResetPlugin_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ResetPlugin_Args.ProtoReflect.Descriptor instead. -func (*ResetPlugin_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{16} -} - -func (x *ResetPlugin_Args) GetPluginRoot() string { - if x != nil { - return x.PluginRoot - } - return "" -} - -type ResetPlugin_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields -} - -func (x *ResetPlugin_Result) Reset() { - *x = ResetPlugin_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[17] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ResetPlugin_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ResetPlugin_Result) ProtoMessage() {} - -func (x *ResetPlugin_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use ResetPlugin_Result.ProtoReflect.Descriptor instead. -func (*ResetPlugin_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{17} -} - -type FormatCode_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Source string `protobuf:"bytes,1,opt,name=source,proto3" json:"source,omitempty"` -} - -func (x *FormatCode_Args) Reset() { - *x = FormatCode_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[18] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FormatCode_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FormatCode_Args) ProtoMessage() {} - -func (x *FormatCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use FormatCode_Args.ProtoReflect.Descriptor instead. -func (*FormatCode_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{18} -} - -func (x *FormatCode_Args) GetSource() string { - if x != nil { - return x.Source - } - return "" -} - -type FormatCode_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Formatted []byte `protobuf:"bytes,1,opt,name=formatted,proto3" json:"formatted,omitempty"` -} - -func (x *FormatCode_Result) Reset() { - *x = FormatCode_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[19] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FormatCode_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FormatCode_Result) ProtoMessage() {} - -func (x *FormatCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use FormatCode_Result.ProtoReflect.Descriptor instead. -func (*FormatCode_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{19} -} - -func (x *FormatCode_Result) GetFormatted() []byte { - if x != nil { - return x.Formatted - } - return nil -} - -type FormatPath_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` -} - -func (x *FormatPath_Args) Reset() { - *x = FormatPath_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[20] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FormatPath_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FormatPath_Args) ProtoMessage() {} - -func (x *FormatPath_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_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) -} - -// Deprecated: Use FormatPath_Args.ProtoReflect.Descriptor instead. -func (*FormatPath_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{20} -} - -func (x *FormatPath_Args) GetPath() string { - if x != nil { - return x.Path - } - return "" -} - -type FormatPath_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChangedPaths []string `protobuf:"bytes,1,rep,name=changed_paths,json=changedPaths,proto3" json:"changed_paths,omitempty"` -} - -func (x *FormatPath_Result) Reset() { - *x = FormatPath_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[21] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *FormatPath_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*FormatPath_Result) ProtoMessage() {} - -func (x *FormatPath_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[21] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use FormatPath_Result.ProtoReflect.Descriptor instead. -func (*FormatPath_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{21} -} - -func (x *FormatPath_Result) GetChangedPaths() []string { - if x != nil { - return x.ChangedPaths - } - return nil -} - -type LintPath_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Paths []string `protobuf:"bytes,1,rep,name=paths,proto3" json:"paths,omitempty"` -} - -func (x *LintPath_Args) Reset() { - *x = LintPath_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[22] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LintPath_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LintPath_Args) ProtoMessage() {} - -func (x *LintPath_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[22] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LintPath_Args.ProtoReflect.Descriptor instead. -func (*LintPath_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{22} -} - -func (x *LintPath_Args) GetPaths() []string { - if x != nil { - return x.Paths - } - return nil -} - -type LintPath_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Results []string `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"` -} - -func (x *LintPath_Result) Reset() { - *x = LintPath_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[23] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LintPath_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LintPath_Result) ProtoMessage() {} - -func (x *LintPath_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[23] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LintPath_Result.ProtoReflect.Descriptor instead. -func (*LintPath_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{23} -} - -func (x *LintPath_Result) GetResults() []string { - if x != nil { - return x.Results - } - return nil -} - -type OverrideFile_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` - Specs []string `protobuf:"bytes,2,rep,name=specs,proto3" json:"specs,omitempty"` - ImportPaths []string `protobuf:"bytes,3,rep,name=import_paths,json=importPaths,proto3" json:"import_paths,omitempty"` -} - -func (x *OverrideFile_Args) Reset() { - *x = OverrideFile_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[24] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OverrideFile_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OverrideFile_Args) ProtoMessage() {} - -func (x *OverrideFile_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[24] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OverrideFile_Args.ProtoReflect.Descriptor instead. -func (*OverrideFile_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{24} -} - -func (x *OverrideFile_Args) GetFile() string { - if x != nil { - return x.File - } - return "" -} - -func (x *OverrideFile_Args) GetSpecs() []string { - if x != nil { - return x.Specs - } - return nil -} - -func (x *OverrideFile_Args) GetImportPaths() []string { - if x != nil { - return x.ImportPaths - } - return nil -} - -type OverrideFile_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Result bool `protobuf:"varint,1,opt,name=result,proto3" json:"result,omitempty"` -} - -func (x *OverrideFile_Result) Reset() { - *x = OverrideFile_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[25] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *OverrideFile_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*OverrideFile_Result) ProtoMessage() {} - -func (x *OverrideFile_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[25] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use OverrideFile_Result.ProtoReflect.Descriptor instead. -func (*OverrideFile_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{25} -} - -func (x *OverrideFile_Result) GetResult() bool { - if x != nil { - return x.Result - } - return false -} - -type GetSchemaType_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` - SchemaName string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` -} - -func (x *GetSchemaType_Args) Reset() { - *x = GetSchemaType_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[26] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSchemaType_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSchemaType_Args) ProtoMessage() {} - -func (x *GetSchemaType_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[26] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSchemaType_Args.ProtoReflect.Descriptor instead. -func (*GetSchemaType_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{26} -} - -func (x *GetSchemaType_Args) GetFile() string { - if x != nil { - return x.File - } - return "" -} - -func (x *GetSchemaType_Args) GetCode() string { - if x != nil { - return x.Code - } - return "" -} - -func (x *GetSchemaType_Args) GetSchemaName() string { - if x != nil { - return x.SchemaName - } - return "" -} - -type GetSchemaType_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SchemaTypeList []*KclType `protobuf:"bytes,1,rep,name=schema_type_list,json=schemaTypeList,proto3" json:"schema_type_list,omitempty"` -} - -func (x *GetSchemaType_Result) Reset() { - *x = GetSchemaType_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[27] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSchemaType_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSchemaType_Result) ProtoMessage() {} - -func (x *GetSchemaType_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[27] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSchemaType_Result.ProtoReflect.Descriptor instead. -func (*GetSchemaType_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{27} -} - -func (x *GetSchemaType_Result) GetSchemaTypeList() []*KclType { - if x != nil { - return x.SchemaTypeList - } - return nil -} - -type GetSchemaTypeMapping_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - File string `protobuf:"bytes,1,opt,name=file,proto3" json:"file,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` - SchemaName string `protobuf:"bytes,3,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` -} - -func (x *GetSchemaTypeMapping_Args) Reset() { - *x = GetSchemaTypeMapping_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[28] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSchemaTypeMapping_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSchemaTypeMapping_Args) ProtoMessage() {} - -func (x *GetSchemaTypeMapping_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[28] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSchemaTypeMapping_Args.ProtoReflect.Descriptor instead. -func (*GetSchemaTypeMapping_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{28} -} - -func (x *GetSchemaTypeMapping_Args) GetFile() string { - if x != nil { - return x.File - } - return "" -} - -func (x *GetSchemaTypeMapping_Args) GetCode() string { - if x != nil { - return x.Code - } - return "" -} - -func (x *GetSchemaTypeMapping_Args) GetSchemaName() string { - if x != nil { - return x.SchemaName - } - return "" -} - -type GetSchemaTypeMapping_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SchemaTypeMapping map[string]*KclType `protobuf:"bytes,1,rep,name=schema_type_mapping,json=schemaTypeMapping,proto3" json:"schema_type_mapping,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *GetSchemaTypeMapping_Result) Reset() { - *x = GetSchemaTypeMapping_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[29] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *GetSchemaTypeMapping_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*GetSchemaTypeMapping_Result) ProtoMessage() {} - -func (x *GetSchemaTypeMapping_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[29] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use GetSchemaTypeMapping_Result.ProtoReflect.Descriptor instead. -func (*GetSchemaTypeMapping_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{29} -} - -func (x *GetSchemaTypeMapping_Result) GetSchemaTypeMapping() map[string]*KclType { - if x != nil { - return x.SchemaTypeMapping - } - return nil -} - -type ValidateCode_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Data string `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"` - Code string `protobuf:"bytes,2,opt,name=code,proto3" json:"code,omitempty"` - Schema string `protobuf:"bytes,3,opt,name=schema,proto3" json:"schema,omitempty"` - AttributeName string `protobuf:"bytes,4,opt,name=attribute_name,json=attributeName,proto3" json:"attribute_name,omitempty"` - Format string `protobuf:"bytes,5,opt,name=format,proto3" json:"format,omitempty"` -} - -func (x *ValidateCode_Args) Reset() { - *x = ValidateCode_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[30] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidateCode_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidateCode_Args) ProtoMessage() {} - -func (x *ValidateCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[30] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ValidateCode_Args.ProtoReflect.Descriptor instead. -func (*ValidateCode_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{30} -} - -func (x *ValidateCode_Args) GetData() string { - if x != nil { - return x.Data - } - return "" -} - -func (x *ValidateCode_Args) GetCode() string { - if x != nil { - return x.Code - } - return "" -} - -func (x *ValidateCode_Args) GetSchema() string { - if x != nil { - return x.Schema - } - return "" -} - -func (x *ValidateCode_Args) GetAttributeName() string { - if x != nil { - return x.AttributeName - } - return "" -} - -func (x *ValidateCode_Args) GetFormat() string { - if x != nil { - return x.Format - } - return "" -} - -type ValidateCode_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"` - ErrMessage string `protobuf:"bytes,2,opt,name=err_message,json=errMessage,proto3" json:"err_message,omitempty"` -} - -func (x *ValidateCode_Result) Reset() { - *x = ValidateCode_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[31] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ValidateCode_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ValidateCode_Result) ProtoMessage() {} - -func (x *ValidateCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[31] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ValidateCode_Result.ProtoReflect.Descriptor instead. -func (*ValidateCode_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{31} -} - -func (x *ValidateCode_Result) GetSuccess() bool { - if x != nil { - return x.Success - } - return false -} - -func (x *ValidateCode_Result) GetErrMessage() string { - if x != nil { - return x.ErrMessage - } - return "" -} - -type Position struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Line int64 `protobuf:"varint,1,opt,name=line,proto3" json:"line,omitempty"` - Column int64 `protobuf:"varint,2,opt,name=column,proto3" json:"column,omitempty"` - Filename string `protobuf:"bytes,3,opt,name=filename,proto3" json:"filename,omitempty"` -} - -func (x *Position) Reset() { - *x = Position{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[32] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Position) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Position) ProtoMessage() {} - -func (x *Position) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[32] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Position.ProtoReflect.Descriptor instead. -func (*Position) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{32} -} - -func (x *Position) GetLine() int64 { - if x != nil { - return x.Line - } - return 0 -} - -func (x *Position) GetColumn() int64 { - if x != nil { - return x.Column - } - return 0 -} - -func (x *Position) GetFilename() string { - if x != nil { - return x.Filename - } - return "" -} - -type ListDepFiles_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` - UseAbsPath bool `protobuf:"varint,2,opt,name=use_abs_path,json=useAbsPath,proto3" json:"use_abs_path,omitempty"` - IncludeAll bool `protobuf:"varint,3,opt,name=include_all,json=includeAll,proto3" json:"include_all,omitempty"` - UseFastParser bool `protobuf:"varint,4,opt,name=use_fast_parser,json=useFastParser,proto3" json:"use_fast_parser,omitempty"` -} - -func (x *ListDepFiles_Args) Reset() { - *x = ListDepFiles_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[33] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListDepFiles_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListDepFiles_Args) ProtoMessage() {} - -func (x *ListDepFiles_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[33] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListDepFiles_Args.ProtoReflect.Descriptor instead. -func (*ListDepFiles_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{33} -} - -func (x *ListDepFiles_Args) GetWorkDir() string { - if x != nil { - return x.WorkDir - } - return "" -} - -func (x *ListDepFiles_Args) GetUseAbsPath() bool { - if x != nil { - return x.UseAbsPath - } - return false -} - -func (x *ListDepFiles_Args) GetIncludeAll() bool { - if x != nil { - return x.IncludeAll - } - return false -} - -func (x *ListDepFiles_Args) GetUseFastParser() bool { - if x != nil { - return x.UseFastParser - } - return false -} - -type ListDepFiles_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Pkgroot string `protobuf:"bytes,1,opt,name=pkgroot,proto3" json:"pkgroot,omitempty"` - Pkgpath string `protobuf:"bytes,2,opt,name=pkgpath,proto3" json:"pkgpath,omitempty"` - Files []string `protobuf:"bytes,3,rep,name=files,proto3" json:"files,omitempty"` -} - -func (x *ListDepFiles_Result) Reset() { - *x = ListDepFiles_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[34] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *ListDepFiles_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*ListDepFiles_Result) ProtoMessage() {} - -func (x *ListDepFiles_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[34] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use ListDepFiles_Result.ProtoReflect.Descriptor instead. -func (*ListDepFiles_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{34} -} - -func (x *ListDepFiles_Result) GetPkgroot() string { - if x != nil { - return x.Pkgroot - } - return "" -} - -func (x *ListDepFiles_Result) GetPkgpath() string { - if x != nil { - return x.Pkgpath - } - return "" -} - -func (x *ListDepFiles_Result) GetFiles() []string { - if x != nil { - return x.Files - } - return nil -} - -type LoadSettingsFiles_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - WorkDir string `protobuf:"bytes,1,opt,name=work_dir,json=workDir,proto3" json:"work_dir,omitempty"` - Files []string `protobuf:"bytes,2,rep,name=files,proto3" json:"files,omitempty"` -} - -func (x *LoadSettingsFiles_Args) Reset() { - *x = LoadSettingsFiles_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[35] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LoadSettingsFiles_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LoadSettingsFiles_Args) ProtoMessage() {} - -func (x *LoadSettingsFiles_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[35] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LoadSettingsFiles_Args.ProtoReflect.Descriptor instead. -func (*LoadSettingsFiles_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{35} -} - -func (x *LoadSettingsFiles_Args) GetWorkDir() string { - if x != nil { - return x.WorkDir - } - return "" -} - -func (x *LoadSettingsFiles_Args) GetFiles() []string { - if x != nil { - return x.Files - } - return nil -} - -type LoadSettingsFiles_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - KclCliConfigs *CliConfig `protobuf:"bytes,1,opt,name=kcl_cli_configs,json=kclCliConfigs,proto3" json:"kcl_cli_configs,omitempty"` - KclOptions []*KeyValuePair `protobuf:"bytes,2,rep,name=kcl_options,json=kclOptions,proto3" json:"kcl_options,omitempty"` -} - -func (x *LoadSettingsFiles_Result) Reset() { - *x = LoadSettingsFiles_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[36] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *LoadSettingsFiles_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*LoadSettingsFiles_Result) ProtoMessage() {} - -func (x *LoadSettingsFiles_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[36] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use LoadSettingsFiles_Result.ProtoReflect.Descriptor instead. -func (*LoadSettingsFiles_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{36} -} - -func (x *LoadSettingsFiles_Result) GetKclCliConfigs() *CliConfig { - if x != nil { - return x.KclCliConfigs - } - return nil -} - -func (x *LoadSettingsFiles_Result) GetKclOptions() []*KeyValuePair { - if x != nil { - return x.KclOptions - } - return nil -} - -type CliConfig struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Files []string `protobuf:"bytes,1,rep,name=files,proto3" json:"files,omitempty"` - Output string `protobuf:"bytes,2,opt,name=output,proto3" json:"output,omitempty"` - Overrides []string `protobuf:"bytes,3,rep,name=overrides,proto3" json:"overrides,omitempty"` - PathSelector []string `protobuf:"bytes,4,rep,name=path_selector,json=pathSelector,proto3" json:"path_selector,omitempty"` - StrictRangeCheck bool `protobuf:"varint,5,opt,name=strict_range_check,json=strictRangeCheck,proto3" json:"strict_range_check,omitempty"` - DisableNone bool `protobuf:"varint,6,opt,name=disable_none,json=disableNone,proto3" json:"disable_none,omitempty"` - Verbose int64 `protobuf:"varint,7,opt,name=verbose,proto3" json:"verbose,omitempty"` - Debug bool `protobuf:"varint,8,opt,name=debug,proto3" json:"debug,omitempty"` - SortKeys bool `protobuf:"varint,9,opt,name=sort_keys,json=sortKeys,proto3" json:"sort_keys,omitempty"` - IncludeSchemaTypePath bool `protobuf:"varint,10,opt,name=include_schema_type_path,json=includeSchemaTypePath,proto3" json:"include_schema_type_path,omitempty"` -} - -func (x *CliConfig) Reset() { - *x = CliConfig{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[37] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *CliConfig) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*CliConfig) ProtoMessage() {} - -func (x *CliConfig) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[37] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use CliConfig.ProtoReflect.Descriptor instead. -func (*CliConfig) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{37} -} - -func (x *CliConfig) GetFiles() []string { - if x != nil { - return x.Files - } - return nil -} - -func (x *CliConfig) GetOutput() string { - if x != nil { - return x.Output - } - return "" -} - -func (x *CliConfig) GetOverrides() []string { - if x != nil { - return x.Overrides - } - return nil -} - -func (x *CliConfig) GetPathSelector() []string { - if x != nil { - return x.PathSelector - } - return nil -} - -func (x *CliConfig) GetStrictRangeCheck() bool { - if x != nil { - return x.StrictRangeCheck - } - return false -} - -func (x *CliConfig) GetDisableNone() bool { - if x != nil { - return x.DisableNone - } - return false -} - -func (x *CliConfig) GetVerbose() int64 { - if x != nil { - return x.Verbose - } - return 0 -} - -func (x *CliConfig) GetDebug() bool { - if x != nil { - return x.Debug - } - return false -} - -func (x *CliConfig) GetSortKeys() bool { - if x != nil { - return x.SortKeys - } - return false -} - -func (x *CliConfig) GetIncludeSchemaTypePath() bool { - if x != nil { - return x.IncludeSchemaTypePath - } - return false -} - -type KeyValuePair struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"` - Value string `protobuf:"bytes,2,opt,name=value,proto3" json:"value,omitempty"` -} - -func (x *KeyValuePair) Reset() { - *x = KeyValuePair{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[38] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KeyValuePair) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KeyValuePair) ProtoMessage() {} - -func (x *KeyValuePair) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[38] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KeyValuePair.ProtoReflect.Descriptor instead. -func (*KeyValuePair) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{38} -} - -func (x *KeyValuePair) GetKey() string { - if x != nil { - return x.Key - } - return "" -} - -func (x *KeyValuePair) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -type Rename_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SymbolPath string `protobuf:"bytes,1,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // the path to the target symbol to be renamed. The symbol path should conform to format: `:` When the pkgpath is '__main__', `:` can be omitted. - FilePaths []string `protobuf:"bytes,2,rep,name=file_paths,json=filePaths,proto3" json:"file_paths,omitempty"` // the paths to the source code files - NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"` // the new name of the symbol -} - -func (x *Rename_Args) Reset() { - *x = Rename_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[39] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Rename_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Rename_Args) ProtoMessage() {} - -func (x *Rename_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[39] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Rename_Args.ProtoReflect.Descriptor instead. -func (*Rename_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{39} -} - -func (x *Rename_Args) GetSymbolPath() string { - if x != nil { - return x.SymbolPath - } - return "" -} - -func (x *Rename_Args) GetFilePaths() []string { - if x != nil { - return x.FilePaths - } - return nil -} - -func (x *Rename_Args) GetNewName() string { - if x != nil { - return x.NewName - } - return "" -} - -type Rename_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChangedFiles []string `protobuf:"bytes,1,rep,name=changed_files,json=changedFiles,proto3" json:"changed_files,omitempty"` // the file paths got changed -} - -func (x *Rename_Result) Reset() { - *x = Rename_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[40] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Rename_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Rename_Result) ProtoMessage() {} - -func (x *Rename_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[40] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Rename_Result.ProtoReflect.Descriptor instead. -func (*Rename_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{40} -} - -func (x *Rename_Result) GetChangedFiles() []string { - if x != nil { - return x.ChangedFiles - } - return nil -} - -type RenameCode_Args struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - SymbolPath string `protobuf:"bytes,1,opt,name=symbol_path,json=symbolPath,proto3" json:"symbol_path,omitempty"` // the path to the target symbol to be renamed. The symbol path should conform to format: `:` When the pkgpath is '__main__', `:` can be omitted. - SourceCodes map[string]string `protobuf:"bytes,2,rep,name=source_codes,json=sourceCodes,proto3" json:"source_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // the source code. a : map - NewName string `protobuf:"bytes,3,opt,name=newName,proto3" json:"newName,omitempty"` // the new name of the symbol -} - -func (x *RenameCode_Args) Reset() { - *x = RenameCode_Args{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[41] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameCode_Args) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameCode_Args) ProtoMessage() {} - -func (x *RenameCode_Args) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[41] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RenameCode_Args.ProtoReflect.Descriptor instead. -func (*RenameCode_Args) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{41} -} - -func (x *RenameCode_Args) GetSymbolPath() string { - if x != nil { - return x.SymbolPath - } - return "" -} - -func (x *RenameCode_Args) GetSourceCodes() map[string]string { - if x != nil { - return x.SourceCodes - } - return nil -} - -func (x *RenameCode_Args) GetNewName() string { - if x != nil { - return x.NewName - } - return "" -} - -type RenameCode_Result struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - ChangedCodes map[string]string `protobuf:"bytes,1,rep,name=changed_codes,json=changedCodes,proto3" json:"changed_codes,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // the changed code. a : map -} - -func (x *RenameCode_Result) Reset() { - *x = RenameCode_Result{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[42] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *RenameCode_Result) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*RenameCode_Result) ProtoMessage() {} - -func (x *RenameCode_Result) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[42] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use RenameCode_Result.ProtoReflect.Descriptor instead. -func (*RenameCode_Result) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{42} -} - -func (x *RenameCode_Result) GetChangedCodes() map[string]string { - if x != nil { - return x.ChangedCodes - } - return nil -} - -type KclType struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Type string `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"` // schema, dict, list, str, int, float, bool, any, union, number_multiplier - UnionTypes []*KclType `protobuf:"bytes,2,rep,name=union_types,json=unionTypes,proto3" json:"union_types,omitempty"` // union types - Default string `protobuf:"bytes,3,opt,name=default,proto3" json:"default,omitempty"` // default value - SchemaName string `protobuf:"bytes,4,opt,name=schema_name,json=schemaName,proto3" json:"schema_name,omitempty"` // schema name - SchemaDoc string `protobuf:"bytes,5,opt,name=schema_doc,json=schemaDoc,proto3" json:"schema_doc,omitempty"` // schema doc - Properties map[string]*KclType `protobuf:"bytes,6,rep,name=properties,proto3" json:"properties,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // schema properties - Required []string `protobuf:"bytes,7,rep,name=required,proto3" json:"required,omitempty"` // required schema properties, [property_name1, property_name2] - Key *KclType `protobuf:"bytes,8,opt,name=key,proto3" json:"key,omitempty"` // dict key type - Item *KclType `protobuf:"bytes,9,opt,name=item,proto3" json:"item,omitempty"` // dict/list item type - Line int32 `protobuf:"varint,10,opt,name=line,proto3" json:"line,omitempty"` - Decorators []*Decorator `protobuf:"bytes,11,rep,name=decorators,proto3" json:"decorators,omitempty"` // schema decorators - Filename string `protobuf:"bytes,12,opt,name=filename,proto3" json:"filename,omitempty"` // `filename` represents the absolute path of the file name where the attribute is located. - PkgPath string `protobuf:"bytes,13,opt,name=pkg_path,json=pkgPath,proto3" json:"pkg_path,omitempty"` // `pkg_path` represents the path name of the package where the attribute is located. - Description string `protobuf:"bytes,14,opt,name=description,proto3" json:"description,omitempty"` // `description` represents the document of the attribute. - Examples map[string]*Example `protobuf:"bytes,15,rep,name=examples,proto3" json:"examples,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` // A map object to hold examples, the key is the example name. -} - -func (x *KclType) Reset() { - *x = KclType{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[43] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *KclType) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*KclType) ProtoMessage() {} - -func (x *KclType) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[43] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use KclType.ProtoReflect.Descriptor instead. -func (*KclType) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{43} -} - -func (x *KclType) GetType() string { - if x != nil { - return x.Type - } - return "" -} - -func (x *KclType) GetUnionTypes() []*KclType { - if x != nil { - return x.UnionTypes - } - return nil -} - -func (x *KclType) GetDefault() string { - if x != nil { - return x.Default - } - return "" -} - -func (x *KclType) GetSchemaName() string { - if x != nil { - return x.SchemaName - } - return "" -} - -func (x *KclType) GetSchemaDoc() string { - if x != nil { - return x.SchemaDoc - } - return "" -} - -func (x *KclType) GetProperties() map[string]*KclType { - if x != nil { - return x.Properties - } - return nil -} - -func (x *KclType) GetRequired() []string { - if x != nil { - return x.Required - } - return nil -} - -func (x *KclType) GetKey() *KclType { - if x != nil { - return x.Key - } - return nil -} - -func (x *KclType) GetItem() *KclType { - if x != nil { - return x.Item - } - return nil -} - -func (x *KclType) GetLine() int32 { - if x != nil { - return x.Line - } - return 0 -} - -func (x *KclType) GetDecorators() []*Decorator { - if x != nil { - return x.Decorators - } - return nil -} - -func (x *KclType) GetFilename() string { - if x != nil { - return x.Filename - } - return "" -} - -func (x *KclType) GetPkgPath() string { - if x != nil { - return x.PkgPath - } - return "" -} - -func (x *KclType) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *KclType) GetExamples() map[string]*Example { - if x != nil { - return x.Examples - } - return nil -} - -type Decorator struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` - Arguments []string `protobuf:"bytes,2,rep,name=arguments,proto3" json:"arguments,omitempty"` - Keywords map[string]string `protobuf:"bytes,3,rep,name=keywords,proto3" json:"keywords,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"` -} - -func (x *Decorator) Reset() { - *x = Decorator{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[44] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Decorator) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Decorator) ProtoMessage() {} - -func (x *Decorator) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[44] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Decorator.ProtoReflect.Descriptor instead. -func (*Decorator) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{44} -} - -func (x *Decorator) GetName() string { - if x != nil { - return x.Name - } - return "" -} - -func (x *Decorator) GetArguments() []string { - if x != nil { - return x.Arguments - } - return nil -} - -func (x *Decorator) GetKeywords() map[string]string { - if x != nil { - return x.Keywords - } - return nil -} - -type Example struct { - state protoimpl.MessageState - sizeCache protoimpl.SizeCache - unknownFields protoimpl.UnknownFields - - Summary string `protobuf:"bytes,1,opt,name=summary,proto3" json:"summary,omitempty"` // Short description for the example. - Description string `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Long description for the example. - Value string `protobuf:"bytes,3,opt,name=value,proto3" json:"value,omitempty"` // Embedded literal example. -} - -func (x *Example) Reset() { - *x = Example{} - if protoimpl.UnsafeEnabled { - mi := &file_gpyrpc_proto_msgTypes[45] - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - ms.StoreMessageInfo(mi) - } -} - -func (x *Example) String() string { - return protoimpl.X.MessageStringOf(x) -} - -func (*Example) ProtoMessage() {} - -func (x *Example) ProtoReflect() protoreflect.Message { - mi := &file_gpyrpc_proto_msgTypes[45] - if protoimpl.UnsafeEnabled && x != nil { - ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) - if ms.LoadMessageInfo() == nil { - ms.StoreMessageInfo(mi) - } - return ms - } - return mi.MessageOf(x) -} - -// Deprecated: Use Example.ProtoReflect.Descriptor instead. -func (*Example) Descriptor() ([]byte, []int) { - return file_gpyrpc_proto_rawDescGZIP(), []int{45} -} - -func (x *Example) GetSummary() string { - if x != nil { - return x.Summary - } - return "" -} - -func (x *Example) GetDescription() string { - if x != nil { - return x.Description - } - return "" -} - -func (x *Example) GetValue() string { - if x != nil { - return x.Value - } - return "" -} - -var File_gpyrpc_proto protoreflect.FileDescriptor - -var file_gpyrpc_proto_rawDesc = []byte{ - 0x0a, 0x0c, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, - 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e, 0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, - 0x75, 0x66, 0x2f, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x6f, 0x72, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x22, 0x4a, 0x0a, 0x12, 0x43, 0x6d, 0x64, 0x45, 0x78, 0x74, 0x65, 0x72, 0x6e, - 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x53, 0x70, 0x65, 0x63, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, - 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, - 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, 0x70, 0x61, 0x74, 0x68, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x50, 0x61, 0x74, 0x68, 0x22, - 0x36, 0x0a, 0x0a, 0x43, 0x6d, 0x64, 0x41, 0x72, 0x67, 0x53, 0x70, 0x65, 0x63, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x83, 0x01, 0x0a, 0x0f, 0x43, 0x6d, 0x64, 0x4f, - 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x53, 0x70, 0x65, 0x63, 0x12, 0x18, 0x0a, 0x07, 0x70, - 0x6b, 0x67, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, - 0x67, 0x70, 0x61, 0x74, 0x68, 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, 0x0a, 0x0b, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x66, 0x69, 0x65, 0x6c, 0x64, - 0x56, 0x61, 0x6c, 0x75, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x7d, 0x0a, - 0x0c, 0x52, 0x65, 0x73, 0x74, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, - 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, - 0x41, 0x6e, 0x79, 0x52, 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, 0x05, 0x65, - 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, - 0x72, 0x12, 0x29, 0x0a, 0x07, 0x6b, 0x63, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x45, - 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x6b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x22, 0x7f, 0x0a, 0x08, - 0x4b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x65, 0x77, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x65, 0x77, 0x63, 0x6f, 0x64, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x6d, 0x73, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x03, 0x6d, 0x73, 0x67, 0x12, 0x35, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, - 0x69, 0x6e, 0x66, 0x6f, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, - 0x6f, 0x52, 0x0a, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x73, 0x22, 0xab, 0x01, - 0x0a, 0x0c, 0x4b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x49, 0x6e, 0x66, 0x6f, 0x12, 0x1b, - 0x0a, 0x09, 0x65, 0x72, 0x72, 0x5f, 0x6c, 0x65, 0x76, 0x65, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x65, 0x72, 0x72, 0x4c, 0x65, 0x76, 0x65, 0x6c, 0x12, 0x17, 0x0a, 0x07, 0x61, - 0x72, 0x67, 0x5f, 0x6d, 0x73, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x72, - 0x67, 0x4d, 0x73, 0x67, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x19, 0x0a, 0x08, 0x73, 0x72, 0x63, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x73, 0x72, 0x63, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, 0x0a, 0x07, 0x6c, - 0x69, 0x6e, 0x65, 0x5f, 0x6e, 0x6f, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x69, - 0x6e, 0x65, 0x4e, 0x6f, 0x12, 0x15, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x5f, 0x6e, 0x6f, 0x18, 0x06, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x63, 0x6f, 0x6c, 0x4e, 0x6f, 0x22, 0x21, 0x0a, 0x09, 0x50, - 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0x23, - 0x0a, 0x0b, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x14, 0x0a, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, - 0x6c, 0x75, 0x65, 0x22, 0x11, 0x0a, 0x0f, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, - 0x64, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x22, 0x3d, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, - 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x28, 0x0a, 0x10, 0x6d, - 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0e, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x4e, 0x61, 0x6d, - 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x51, 0x0a, 0x12, 0x50, 0x61, 0x72, 0x73, 0x65, 0x46, 0x69, - 0x6c, 0x65, 0x5f, 0x41, 0x53, 0x54, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, - 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, - 0x65, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x6f, - 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x22, 0x5c, 0x0a, 0x14, 0x50, 0x61, 0x72, 0x73, - 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x41, 0x53, 0x54, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x19, 0x0a, 0x08, 0x61, 0x73, 0x74, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x12, 0x29, 0x0a, 0x07, 0x6b, - 0x63, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x67, - 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, - 0x6b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x22, 0x3f, 0x0a, 0x15, 0x50, 0x61, 0x72, 0x73, 0x65, 0x50, - 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x53, 0x54, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, - 0x26, 0x0a, 0x0f, 0x6b, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x69, - 0x73, 0x74, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0d, 0x6b, 0x46, 0x69, 0x6c, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x5f, 0x0a, 0x17, 0x50, 0x61, 0x72, 0x73, 0x65, - 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x53, 0x54, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x19, 0x0a, 0x08, 0x61, 0x73, 0x74, 0x5f, 0x6a, 0x73, 0x6f, 0x6e, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x61, 0x73, 0x74, 0x4a, 0x73, 0x6f, 0x6e, 0x12, 0x29, 0x0a, - 0x07, 0x6b, 0x63, 0x6c, 0x5f, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x6f, 0x72, - 0x52, 0x06, 0x6b, 0x63, 0x6c, 0x45, 0x72, 0x72, 0x22, 0xb0, 0x05, 0x0a, 0x10, 0x45, 0x78, 0x65, - 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x19, 0x0a, - 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x26, 0x0a, 0x0f, 0x6b, 0x5f, 0x66, 0x69, - 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, 0x02, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0d, 0x6b, 0x46, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x1e, 0x0a, 0x0b, 0x6b, 0x5f, 0x63, 0x6f, 0x64, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, 0x18, - 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x6b, 0x43, 0x6f, 0x64, 0x65, 0x4c, 0x69, 0x73, 0x74, - 0x12, 0x26, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6d, 0x64, 0x41, 0x72, 0x67, 0x53, 0x70, - 0x65, 0x63, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x12, 0x35, 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, - 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6d, 0x64, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, - 0x53, 0x70, 0x65, 0x63, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, - 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x79, 0x61, 0x6d, 0x6c, 0x5f, - 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, - 0x73, 0x61, 0x62, 0x6c, 0x65, 0x59, 0x61, 0x6d, 0x6c, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, - 0x2c, 0x0a, 0x12, 0x70, 0x72, 0x69, 0x6e, 0x74, 0x5f, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, - 0x65, 0x5f, 0x61, 0x73, 0x74, 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x70, 0x72, 0x69, - 0x6e, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x41, 0x73, 0x74, 0x12, 0x2c, 0x0a, - 0x12, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x5f, 0x63, 0x68, - 0x65, 0x63, 0x6b, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, 0x74, 0x72, 0x69, 0x63, - 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x21, 0x0a, 0x0c, 0x64, - 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0x18, 0x09, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, 0x6e, 0x65, 0x12, 0x18, - 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x05, 0x52, - 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x64, 0x65, 0x62, 0x75, - 0x67, 0x18, 0x0b, 0x20, 0x01, 0x28, 0x05, 0x52, 0x05, 0x64, 0x65, 0x62, 0x75, 0x67, 0x12, 0x1b, - 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, 0x0c, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x08, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, 0x3f, 0x0a, 0x0d, 0x65, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x5f, 0x70, 0x6b, 0x67, 0x73, 0x18, 0x0d, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x43, 0x6d, 0x64, 0x45, - 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x53, 0x70, 0x65, 0x63, 0x52, 0x0c, - 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x50, 0x6b, 0x67, 0x73, 0x12, 0x37, 0x0a, 0x18, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, - 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, - 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x21, 0x0a, 0x0c, 0x63, 0x6f, 0x6d, 0x70, 0x69, 0x6c, 0x65, - 0x5f, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x0f, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x63, 0x6f, 0x6d, - 0x70, 0x69, 0x6c, 0x65, 0x4f, 0x6e, 0x6c, 0x79, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x63, 0x75, - 0x72, 0x73, 0x69, 0x76, 0x65, 0x18, 0x10, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x63, - 0x75, 0x72, 0x73, 0x69, 0x76, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, - 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x11, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, - 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x22, 0x79, 0x0a, 0x12, 0x45, - 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x6a, 0x73, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x6a, 0x73, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x1f, 0x0a, 0x0b, 0x79, 0x61, 0x6d, 0x6c, 0x5f, 0x72, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x79, 0x61, 0x6d, 0x6c, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x21, 0x0a, 0x0c, 0x65, 0x73, 0x63, 0x61, 0x70, 0x65, 0x64, 0x5f, 0x74, - 0x69, 0x6d, 0x65, 0x18, 0x65, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x65, 0x73, 0x63, 0x61, 0x70, - 0x65, 0x64, 0x54, 0x69, 0x6d, 0x65, 0x22, 0x33, 0x0a, 0x10, 0x52, 0x65, 0x73, 0x65, 0x74, 0x50, - 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x70, 0x6c, - 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x0a, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x6f, 0x6f, 0x74, 0x22, 0x14, 0x0a, 0x12, 0x52, - 0x65, 0x73, 0x65, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x22, 0x29, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x31, 0x0a, 0x11, - 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x0c, 0x52, 0x09, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x74, 0x65, 0x64, 0x22, - 0x25, 0x0a, 0x0f, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x38, 0x0a, 0x11, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x50, 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, - 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x50, 0x61, 0x74, 0x68, 0x73, - 0x22, 0x25, 0x0a, 0x0d, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x41, 0x72, 0x67, - 0x73, 0x12, 0x14, 0x0a, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, - 0x52, 0x05, 0x70, 0x61, 0x74, 0x68, 0x73, 0x22, 0x2b, 0x0a, 0x0f, 0x4c, 0x69, 0x6e, 0x74, 0x50, - 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x72, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x07, 0x72, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x73, 0x22, 0x60, 0x0a, 0x11, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, - 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, - 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x14, 0x0a, - 0x05, 0x73, 0x70, 0x65, 0x63, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x73, 0x70, - 0x65, 0x63, 0x73, 0x12, 0x21, 0x0a, 0x0c, 0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x69, 0x6d, 0x70, 0x6f, 0x72, - 0x74, 0x50, 0x61, 0x74, 0x68, 0x73, 0x22, 0x2d, 0x0a, 0x13, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, - 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x16, 0x0a, - 0x06, 0x72, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x72, - 0x65, 0x73, 0x75, 0x6c, 0x74, 0x22, 0x5d, 0x0a, 0x12, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, - 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, - 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, - 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x51, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x39, 0x0a, 0x10, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6c, 0x69, 0x73, 0x74, - 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, - 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, - 0x79, 0x70, 0x65, 0x4c, 0x69, 0x73, 0x74, 0x22, 0x64, 0x0a, 0x19, 0x47, 0x65, 0x74, 0x53, 0x63, - 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x1f, 0x0a, 0x0b, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0xe0, 0x01, - 0x0a, 0x1b, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, - 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x6a, 0x0a, - 0x13, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x6d, 0x61, 0x70, - 0x70, 0x69, 0x6e, 0x67, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x3a, 0x2e, 0x67, 0x70, 0x79, - 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, - 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x2e, - 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, - 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x11, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x1a, 0x55, 0x0a, 0x16, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x45, 0x6e, - 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x22, 0x92, 0x01, 0x0a, 0x11, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, - 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x12, 0x12, 0x0a, 0x04, 0x63, 0x6f, - 0x64, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x16, - 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, - 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x25, 0x0a, 0x0e, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d, - 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, - 0x06, 0x66, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x66, - 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x22, 0x50, 0x0a, 0x13, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, - 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, 0x0a, 0x07, - 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, - 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x65, 0x72, 0x72, 0x5f, 0x6d, 0x65, - 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x72, 0x72, - 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x52, 0x0a, 0x08, 0x50, 0x6f, 0x73, 0x69, 0x74, - 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, - 0x03, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, - 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x06, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x12, - 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x99, 0x01, 0x0a, 0x11, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, - 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x20, 0x0a, 0x0c, - 0x75, 0x73, 0x65, 0x5f, 0x61, 0x62, 0x73, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x0a, 0x75, 0x73, 0x65, 0x41, 0x62, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1f, - 0x0a, 0x0b, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x61, 0x6c, 0x6c, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x08, 0x52, 0x0a, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x41, 0x6c, 0x6c, 0x12, - 0x26, 0x0a, 0x0f, 0x75, 0x73, 0x65, 0x5f, 0x66, 0x61, 0x73, 0x74, 0x5f, 0x70, 0x61, 0x72, 0x73, - 0x65, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0d, 0x75, 0x73, 0x65, 0x46, 0x61, 0x73, - 0x74, 0x50, 0x61, 0x72, 0x73, 0x65, 0x72, 0x22, 0x5f, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x44, - 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x18, - 0x0a, 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, - 0x07, 0x70, 0x6b, 0x67, 0x72, 0x6f, 0x6f, 0x74, 0x12, 0x18, 0x0a, 0x07, 0x70, 0x6b, 0x67, 0x70, - 0x61, 0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x70, 0x61, - 0x74, 0x68, 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x22, 0x49, 0x0a, 0x16, 0x4c, 0x6f, 0x61, 0x64, - 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, - 0x67, 0x73, 0x12, 0x19, 0x0a, 0x08, 0x77, 0x6f, 0x72, 0x6b, 0x5f, 0x64, 0x69, 0x72, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x77, 0x6f, 0x72, 0x6b, 0x44, 0x69, 0x72, 0x12, 0x14, 0x0a, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x66, 0x69, - 0x6c, 0x65, 0x73, 0x22, 0x8c, 0x01, 0x0a, 0x18, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, - 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x39, 0x0a, 0x0f, 0x6b, 0x63, 0x6c, 0x5f, 0x63, 0x6c, 0x69, 0x5f, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x0d, 0x6b, 0x63, - 0x6c, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x73, 0x12, 0x35, 0x0a, 0x0b, 0x6b, - 0x63, 0x6c, 0x5f, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x14, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x65, 0x79, 0x56, 0x61, 0x6c, - 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 0x52, 0x0a, 0x6b, 0x63, 0x6c, 0x4f, 0x70, 0x74, 0x69, 0x6f, - 0x6e, 0x73, 0x22, 0xd3, 0x02, 0x0a, 0x09, 0x43, 0x6c, 0x69, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x12, 0x14, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x16, 0x0a, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, - 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x12, 0x1c, - 0x0a, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x09, 0x6f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x73, 0x12, 0x23, 0x0a, 0x0d, - 0x70, 0x61, 0x74, 0x68, 0x5f, 0x73, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, 0x72, 0x18, 0x04, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x61, 0x74, 0x68, 0x53, 0x65, 0x6c, 0x65, 0x63, 0x74, 0x6f, - 0x72, 0x12, 0x2c, 0x0a, 0x12, 0x73, 0x74, 0x72, 0x69, 0x63, 0x74, 0x5f, 0x72, 0x61, 0x6e, 0x67, - 0x65, 0x5f, 0x63, 0x68, 0x65, 0x63, 0x6b, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x73, - 0x74, 0x72, 0x69, 0x63, 0x74, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, - 0x21, 0x0a, 0x0c, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x6e, 0x6f, 0x6e, 0x65, 0x18, - 0x06, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0b, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x4e, 0x6f, - 0x6e, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x18, 0x07, 0x20, - 0x01, 0x28, 0x03, 0x52, 0x07, 0x76, 0x65, 0x72, 0x62, 0x6f, 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, - 0x64, 0x65, 0x62, 0x75, 0x67, 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x05, 0x64, 0x65, 0x62, - 0x75, 0x67, 0x12, 0x1b, 0x0a, 0x09, 0x73, 0x6f, 0x72, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x73, 0x18, - 0x09, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, 0x73, 0x6f, 0x72, 0x74, 0x4b, 0x65, 0x79, 0x73, 0x12, - 0x37, 0x0a, 0x18, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x73, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x0a, 0x20, 0x01, 0x28, - 0x08, 0x52, 0x15, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x54, 0x79, 0x70, 0x65, 0x50, 0x61, 0x74, 0x68, 0x22, 0x36, 0x0a, 0x0c, 0x4b, 0x65, 0x79, 0x56, - 0x61, 0x6c, 0x75, 0x65, 0x50, 0x61, 0x69, 0x72, 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, - 0x22, 0x67, 0x0a, 0x0b, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x12, - 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x1d, 0x0a, 0x0a, 0x66, 0x69, 0x6c, 0x65, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x09, 0x66, 0x69, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x73, 0x12, - 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x22, 0x34, 0x0a, 0x0d, 0x52, 0x65, 0x6e, - 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x63, 0x68, - 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x22, - 0xd9, 0x01, 0x0a, 0x0f, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, 0x5f, 0x70, 0x61, - 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x79, 0x6d, 0x62, 0x6f, 0x6c, - 0x50, 0x61, 0x74, 0x68, 0x12, 0x4b, 0x0a, 0x0c, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, - 0x6f, 0x64, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x28, 0x2e, 0x67, 0x70, 0x79, - 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x73, 0x45, - 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 0x65, - 0x73, 0x12, 0x18, 0x0a, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x07, 0x6e, 0x65, 0x77, 0x4e, 0x61, 0x6d, 0x65, 0x1a, 0x3e, 0x0a, 0x10, 0x53, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x64, 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, 0x22, 0xa6, 0x01, 0x0a, 0x11, - 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, - 0x74, 0x12, 0x50, 0x0a, 0x0d, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x5f, 0x63, 0x6f, 0x64, - 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, - 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x2e, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, 0x64, 0x65, 0x73, - 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0c, 0x63, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, - 0x64, 0x65, 0x73, 0x1a, 0x3f, 0x0a, 0x11, 0x43, 0x68, 0x61, 0x6e, 0x67, 0x65, 0x64, 0x43, 0x6f, - 0x64, 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, 0x22, 0xc7, 0x05, 0x0a, 0x07, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x30, 0x0a, 0x0b, 0x75, 0x6e, 0x69, 0x6f, 0x6e, 0x5f, 0x74, 0x79, - 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0a, 0x75, 0x6e, 0x69, 0x6f, - 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, - 0x74, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, - 0x12, 0x1f, 0x0a, 0x0b, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x18, - 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4e, 0x61, 0x6d, - 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x64, 0x6f, 0x63, 0x18, - 0x05, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x44, 0x6f, 0x63, - 0x12, 0x3f, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x70, 0x65, 0x72, 0x74, 0x69, 0x65, 0x73, 0x18, 0x06, - 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, - 0x6c, 0x54, 0x79, 0x70, 0x65, 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, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x07, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x12, 0x21, 0x0a, - 0x03, 0x6b, 0x65, 0x79, 0x18, 0x08, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, - 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x03, 0x6b, 0x65, 0x79, - 0x12, 0x23, 0x0a, 0x04, 0x69, 0x74, 0x65, 0x6d, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, - 0x04, 0x69, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x18, 0x0a, 0x20, - 0x01, 0x28, 0x05, 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x64, 0x65, 0x63, - 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x18, 0x0b, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, - 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, - 0x52, 0x0a, 0x64, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x73, 0x12, 0x1a, 0x0a, 0x08, - 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x0c, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, - 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x19, 0x0a, 0x08, 0x70, 0x6b, 0x67, 0x5f, - 0x70, 0x61, 0x74, 0x68, 0x18, 0x0d, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x70, 0x6b, 0x67, 0x50, - 0x61, 0x74, 0x68, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x18, 0x0e, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, - 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x39, 0x0a, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, - 0x73, 0x18, 0x0f, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, - 0x2e, 0x4b, 0x63, 0x6c, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, - 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x08, 0x65, 0x78, 0x61, 0x6d, 0x70, 0x6c, 0x65, 0x73, - 0x1a, 0x4e, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, - 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4b, 0x63, - 0x6c, 0x54, 0x79, 0x70, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, - 0x1a, 0x4c, 0x0a, 0x0d, 0x45, 0x78, 0x61, 0x6d, 0x70, 0x6c, 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, 0x25, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x0b, 0x32, 0x0f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x61, 0x6d, - 0x70, 0x6c, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xb7, - 0x01, 0x0a, 0x09, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, 0x74, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1c, 0x0a, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x18, 0x02, 0x20, - 0x03, 0x28, 0x09, 0x52, 0x09, 0x61, 0x72, 0x67, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 0x3b, - 0x0a, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, - 0x32, 0x1f, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x44, 0x65, 0x63, 0x6f, 0x72, 0x61, - 0x74, 0x6f, 0x72, 0x2e, 0x4b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x45, 0x6e, 0x74, 0x72, - 0x79, 0x52, 0x08, 0x6b, 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 0x73, 0x1a, 0x3b, 0x0a, 0x0d, 0x4b, - 0x65, 0x79, 0x77, 0x6f, 0x72, 0x64, 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, 0x22, 0x5b, 0x0a, 0x07, 0x45, 0x78, 0x61, 0x6d, - 0x70, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x18, 0x01, - 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x75, 0x6d, 0x6d, 0x61, 0x72, 0x79, 0x12, 0x20, 0x0a, - 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, - 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, - 0x76, 0x61, 0x6c, 0x75, 0x65, 0x32, 0x82, 0x01, 0x0a, 0x0e, 0x42, 0x75, 0x69, 0x6c, 0x74, 0x69, - 0x6e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x50, 0x69, 0x6e, 0x67, - 0x12, 0x11, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x41, - 0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, - 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x4c, 0x69, 0x73, 0x74, - 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x17, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, - 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4d, 0x65, 0x74, - 0x68, 0x6f, 0x64, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x32, 0x95, 0x07, 0x0a, 0x0c, 0x4b, - 0x63, 0x6c, 0x76, 0x6d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x2e, 0x0a, 0x04, 0x50, - 0x69, 0x6e, 0x67, 0x12, 0x11, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x50, 0x69, 0x6e, - 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, - 0x50, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x43, 0x0a, 0x0b, 0x45, - 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x12, 0x18, 0x2e, 0x67, 0x70, 0x79, - 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, - 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1a, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x45, 0x78, - 0x65, 0x63, 0x50, 0x72, 0x6f, 0x67, 0x72, 0x61, 0x6d, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x40, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, - 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, - 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x12, 0x40, 0x0a, 0x0a, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x17, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, - 0x50, 0x61, 0x74, 0x68, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, - 0x73, 0x75, 0x6c, 0x74, 0x12, 0x3a, 0x0a, 0x08, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, - 0x12, 0x15, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, - 0x74, 0x68, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x17, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, - 0x2e, 0x4c, 0x69, 0x6e, 0x74, 0x50, 0x61, 0x74, 0x68, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x46, 0x0a, 0x0c, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, - 0x12, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, - 0x64, 0x65, 0x46, 0x69, 0x6c, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4f, 0x76, 0x65, 0x72, 0x72, 0x69, 0x64, 0x65, 0x46, 0x69, 0x6c, - 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x49, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1a, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, - 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1c, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, - 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, 0x70, 0x65, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x5e, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x12, 0x21, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x54, 0x79, - 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x23, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x54, 0x79, 0x70, 0x65, 0x4d, 0x61, 0x70, 0x70, 0x69, 0x6e, 0x67, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, - 0x6f, 0x64, 0x65, 0x12, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, - 0x69, 0x64, 0x61, 0x74, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x56, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 0x65, - 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x46, 0x0a, 0x0c, 0x4c, - 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x19, 0x2e, 0x67, 0x70, - 0x79, 0x72, 0x70, 0x63, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, - 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x1b, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, - 0x4c, 0x69, 0x73, 0x74, 0x44, 0x65, 0x70, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, - 0x75, 0x6c, 0x74, 0x12, 0x55, 0x0a, 0x11, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, - 0x6e, 0x67, 0x73, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x1e, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, - 0x63, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x20, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, - 0x63, 0x2e, 0x4c, 0x6f, 0x61, 0x64, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x12, 0x34, 0x0a, 0x06, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x13, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, - 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x15, 0x2e, 0x67, 0x70, 0x79, 0x72, - 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, - 0x12, 0x40, 0x0a, 0x0a, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x17, - 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, - 0x64, 0x65, 0x5f, 0x41, 0x72, 0x67, 0x73, 0x1a, 0x19, 0x2e, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, - 0x2e, 0x52, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x43, 0x6f, 0x64, 0x65, 0x5f, 0x52, 0x65, 0x73, 0x75, - 0x6c, 0x74, 0x42, 0x2b, 0x5a, 0x29, 0x6b, 0x63, 0x6c, 0x2d, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x69, - 0x6f, 0x2f, 0x6b, 0x63, 0x6c, 0x2d, 0x67, 0x6f, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x70, 0x65, - 0x63, 0x2f, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x3b, 0x67, 0x70, 0x79, 0x72, 0x70, 0x63, 0x62, - 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, -} - -var ( - file_gpyrpc_proto_rawDescOnce sync.Once - file_gpyrpc_proto_rawDescData = file_gpyrpc_proto_rawDesc -) - -func file_gpyrpc_proto_rawDescGZIP() []byte { - file_gpyrpc_proto_rawDescOnce.Do(func() { - file_gpyrpc_proto_rawDescData = protoimpl.X.CompressGZIP(file_gpyrpc_proto_rawDescData) - }) - return file_gpyrpc_proto_rawDescData -} - -var file_gpyrpc_proto_msgTypes = make([]protoimpl.MessageInfo, 52) -var file_gpyrpc_proto_goTypes = []interface{}{ - (*CmdExternalPkgSpec)(nil), // 0: gpyrpc.CmdExternalPkgSpec - (*CmdArgSpec)(nil), // 1: gpyrpc.CmdArgSpec - (*CmdOverrideSpec)(nil), // 2: gpyrpc.CmdOverrideSpec - (*RestResponse)(nil), // 3: gpyrpc.RestResponse - (*KclError)(nil), // 4: gpyrpc.KclError - (*KclErrorInfo)(nil), // 5: gpyrpc.KclErrorInfo - (*Ping_Args)(nil), // 6: gpyrpc.Ping_Args - (*Ping_Result)(nil), // 7: gpyrpc.Ping_Result - (*ListMethod_Args)(nil), // 8: gpyrpc.ListMethod_Args - (*ListMethod_Result)(nil), // 9: gpyrpc.ListMethod_Result - (*ParseFile_AST_Args)(nil), // 10: gpyrpc.ParseFile_AST_Args - (*ParseFile_AST_Result)(nil), // 11: gpyrpc.ParseFile_AST_Result - (*ParseProgram_AST_Args)(nil), // 12: gpyrpc.ParseProgram_AST_Args - (*ParseProgram_AST_Result)(nil), // 13: gpyrpc.ParseProgram_AST_Result - (*ExecProgram_Args)(nil), // 14: gpyrpc.ExecProgram_Args - (*ExecProgram_Result)(nil), // 15: gpyrpc.ExecProgram_Result - (*ResetPlugin_Args)(nil), // 16: gpyrpc.ResetPlugin_Args - (*ResetPlugin_Result)(nil), // 17: gpyrpc.ResetPlugin_Result - (*FormatCode_Args)(nil), // 18: gpyrpc.FormatCode_Args - (*FormatCode_Result)(nil), // 19: gpyrpc.FormatCode_Result - (*FormatPath_Args)(nil), // 20: gpyrpc.FormatPath_Args - (*FormatPath_Result)(nil), // 21: gpyrpc.FormatPath_Result - (*LintPath_Args)(nil), // 22: gpyrpc.LintPath_Args - (*LintPath_Result)(nil), // 23: gpyrpc.LintPath_Result - (*OverrideFile_Args)(nil), // 24: gpyrpc.OverrideFile_Args - (*OverrideFile_Result)(nil), // 25: gpyrpc.OverrideFile_Result - (*GetSchemaType_Args)(nil), // 26: gpyrpc.GetSchemaType_Args - (*GetSchemaType_Result)(nil), // 27: gpyrpc.GetSchemaType_Result - (*GetSchemaTypeMapping_Args)(nil), // 28: gpyrpc.GetSchemaTypeMapping_Args - (*GetSchemaTypeMapping_Result)(nil), // 29: gpyrpc.GetSchemaTypeMapping_Result - (*ValidateCode_Args)(nil), // 30: gpyrpc.ValidateCode_Args - (*ValidateCode_Result)(nil), // 31: gpyrpc.ValidateCode_Result - (*Position)(nil), // 32: gpyrpc.Position - (*ListDepFiles_Args)(nil), // 33: gpyrpc.ListDepFiles_Args - (*ListDepFiles_Result)(nil), // 34: gpyrpc.ListDepFiles_Result - (*LoadSettingsFiles_Args)(nil), // 35: gpyrpc.LoadSettingsFiles_Args - (*LoadSettingsFiles_Result)(nil), // 36: gpyrpc.LoadSettingsFiles_Result - (*CliConfig)(nil), // 37: gpyrpc.CliConfig - (*KeyValuePair)(nil), // 38: gpyrpc.KeyValuePair - (*Rename_Args)(nil), // 39: gpyrpc.Rename_Args - (*Rename_Result)(nil), // 40: gpyrpc.Rename_Result - (*RenameCode_Args)(nil), // 41: gpyrpc.RenameCode_Args - (*RenameCode_Result)(nil), // 42: gpyrpc.RenameCode_Result - (*KclType)(nil), // 43: gpyrpc.KclType - (*Decorator)(nil), // 44: gpyrpc.Decorator - (*Example)(nil), // 45: gpyrpc.Example - nil, // 46: gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry - nil, // 47: gpyrpc.RenameCode_Args.SourceCodesEntry - nil, // 48: gpyrpc.RenameCode_Result.ChangedCodesEntry - nil, // 49: gpyrpc.KclType.PropertiesEntry - nil, // 50: gpyrpc.KclType.ExamplesEntry - nil, // 51: gpyrpc.Decorator.KeywordsEntry - (*anypb.Any)(nil), // 52: google.protobuf.Any -} -var file_gpyrpc_proto_depIdxs = []int32{ - 52, // 0: gpyrpc.RestResponse.result:type_name -> google.protobuf.Any - 4, // 1: gpyrpc.RestResponse.kcl_err:type_name -> gpyrpc.KclError - 5, // 2: gpyrpc.KclError.error_infos:type_name -> gpyrpc.KclErrorInfo - 4, // 3: gpyrpc.ParseFile_AST_Result.kcl_err:type_name -> gpyrpc.KclError - 4, // 4: gpyrpc.ParseProgram_AST_Result.kcl_err:type_name -> gpyrpc.KclError - 1, // 5: gpyrpc.ExecProgram_Args.args:type_name -> gpyrpc.CmdArgSpec - 2, // 6: gpyrpc.ExecProgram_Args.overrides:type_name -> gpyrpc.CmdOverrideSpec - 0, // 7: gpyrpc.ExecProgram_Args.external_pkgs:type_name -> gpyrpc.CmdExternalPkgSpec - 43, // 8: gpyrpc.GetSchemaType_Result.schema_type_list:type_name -> gpyrpc.KclType - 46, // 9: gpyrpc.GetSchemaTypeMapping_Result.schema_type_mapping:type_name -> gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry - 37, // 10: gpyrpc.LoadSettingsFiles_Result.kcl_cli_configs:type_name -> gpyrpc.CliConfig - 38, // 11: gpyrpc.LoadSettingsFiles_Result.kcl_options:type_name -> gpyrpc.KeyValuePair - 47, // 12: gpyrpc.RenameCode_Args.source_codes:type_name -> gpyrpc.RenameCode_Args.SourceCodesEntry - 48, // 13: gpyrpc.RenameCode_Result.changed_codes:type_name -> gpyrpc.RenameCode_Result.ChangedCodesEntry - 43, // 14: gpyrpc.KclType.union_types:type_name -> gpyrpc.KclType - 49, // 15: gpyrpc.KclType.properties:type_name -> gpyrpc.KclType.PropertiesEntry - 43, // 16: gpyrpc.KclType.key:type_name -> gpyrpc.KclType - 43, // 17: gpyrpc.KclType.item:type_name -> gpyrpc.KclType - 44, // 18: gpyrpc.KclType.decorators:type_name -> gpyrpc.Decorator - 50, // 19: gpyrpc.KclType.examples:type_name -> gpyrpc.KclType.ExamplesEntry - 51, // 20: gpyrpc.Decorator.keywords:type_name -> gpyrpc.Decorator.KeywordsEntry - 43, // 21: gpyrpc.GetSchemaTypeMapping_Result.SchemaTypeMappingEntry.value:type_name -> gpyrpc.KclType - 43, // 22: gpyrpc.KclType.PropertiesEntry.value:type_name -> gpyrpc.KclType - 45, // 23: gpyrpc.KclType.ExamplesEntry.value:type_name -> gpyrpc.Example - 6, // 24: gpyrpc.BuiltinService.Ping:input_type -> gpyrpc.Ping_Args - 8, // 25: gpyrpc.BuiltinService.ListMethod:input_type -> gpyrpc.ListMethod_Args - 6, // 26: gpyrpc.KclvmService.Ping:input_type -> gpyrpc.Ping_Args - 14, // 27: gpyrpc.KclvmService.ExecProgram:input_type -> gpyrpc.ExecProgram_Args - 18, // 28: gpyrpc.KclvmService.FormatCode:input_type -> gpyrpc.FormatCode_Args - 20, // 29: gpyrpc.KclvmService.FormatPath:input_type -> gpyrpc.FormatPath_Args - 22, // 30: gpyrpc.KclvmService.LintPath:input_type -> gpyrpc.LintPath_Args - 24, // 31: gpyrpc.KclvmService.OverrideFile:input_type -> gpyrpc.OverrideFile_Args - 26, // 32: gpyrpc.KclvmService.GetSchemaType:input_type -> gpyrpc.GetSchemaType_Args - 28, // 33: gpyrpc.KclvmService.GetSchemaTypeMapping:input_type -> gpyrpc.GetSchemaTypeMapping_Args - 30, // 34: gpyrpc.KclvmService.ValidateCode:input_type -> gpyrpc.ValidateCode_Args - 33, // 35: gpyrpc.KclvmService.ListDepFiles:input_type -> gpyrpc.ListDepFiles_Args - 35, // 36: gpyrpc.KclvmService.LoadSettingsFiles:input_type -> gpyrpc.LoadSettingsFiles_Args - 39, // 37: gpyrpc.KclvmService.Rename:input_type -> gpyrpc.Rename_Args - 41, // 38: gpyrpc.KclvmService.RenameCode:input_type -> gpyrpc.RenameCode_Args - 7, // 39: gpyrpc.BuiltinService.Ping:output_type -> gpyrpc.Ping_Result - 9, // 40: gpyrpc.BuiltinService.ListMethod:output_type -> gpyrpc.ListMethod_Result - 7, // 41: gpyrpc.KclvmService.Ping:output_type -> gpyrpc.Ping_Result - 15, // 42: gpyrpc.KclvmService.ExecProgram:output_type -> gpyrpc.ExecProgram_Result - 19, // 43: gpyrpc.KclvmService.FormatCode:output_type -> gpyrpc.FormatCode_Result - 21, // 44: gpyrpc.KclvmService.FormatPath:output_type -> gpyrpc.FormatPath_Result - 23, // 45: gpyrpc.KclvmService.LintPath:output_type -> gpyrpc.LintPath_Result - 25, // 46: gpyrpc.KclvmService.OverrideFile:output_type -> gpyrpc.OverrideFile_Result - 27, // 47: gpyrpc.KclvmService.GetSchemaType:output_type -> gpyrpc.GetSchemaType_Result - 29, // 48: gpyrpc.KclvmService.GetSchemaTypeMapping:output_type -> gpyrpc.GetSchemaTypeMapping_Result - 31, // 49: gpyrpc.KclvmService.ValidateCode:output_type -> gpyrpc.ValidateCode_Result - 34, // 50: gpyrpc.KclvmService.ListDepFiles:output_type -> gpyrpc.ListDepFiles_Result - 36, // 51: gpyrpc.KclvmService.LoadSettingsFiles:output_type -> gpyrpc.LoadSettingsFiles_Result - 40, // 52: gpyrpc.KclvmService.Rename:output_type -> gpyrpc.Rename_Result - 42, // 53: gpyrpc.KclvmService.RenameCode:output_type -> gpyrpc.RenameCode_Result - 39, // [39:54] is the sub-list for method output_type - 24, // [24:39] is the sub-list for method input_type - 24, // [24:24] is the sub-list for extension type_name - 24, // [24:24] is the sub-list for extension extendee - 0, // [0:24] is the sub-list for field type_name -} - -func init() { file_gpyrpc_proto_init() } -func file_gpyrpc_proto_init() { - if File_gpyrpc_proto != nil { - return - } - if !protoimpl.UnsafeEnabled { - file_gpyrpc_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CmdExternalPkgSpec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CmdArgSpec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CmdOverrideSpec); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RestResponse); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KclError); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KclErrorInfo); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ping_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Ping_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMethod_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListMethod_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseFile_AST_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseFile_AST_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseProgram_AST_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ParseProgram_AST_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecProgram_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ExecProgram_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetPlugin_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ResetPlugin_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatCode_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatCode_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatPath_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*FormatPath_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LintPath_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LintPath_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OverrideFile_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*OverrideFile_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaType_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaType_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaTypeMapping_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSchemaTypeMapping_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateCode_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ValidateCode_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Position); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDepFiles_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ListDepFiles_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoadSettingsFiles_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*LoadSettingsFiles_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*CliConfig); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KeyValuePair); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rename_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Rename_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameCode_Args); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*RenameCode_Result); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*KclType); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Decorator); i { - case 0: - return &v.state - case 1: - return &v.sizeCache - case 2: - return &v.unknownFields - default: - return nil - } - } - file_gpyrpc_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Example); 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_gpyrpc_proto_rawDesc, - NumEnums: 0, - NumMessages: 52, - NumExtensions: 0, - NumServices: 2, - }, - GoTypes: file_gpyrpc_proto_goTypes, - DependencyIndexes: file_gpyrpc_proto_depIdxs, - MessageInfos: file_gpyrpc_proto_msgTypes, - }.Build() - File_gpyrpc_proto = out.File - file_gpyrpc_proto_rawDesc = nil - file_gpyrpc_proto_goTypes = nil - file_gpyrpc_proto_depIdxs = nil -} - -// Reference imports to suppress errors if they are not otherwise used. -var _ context.Context -var _ grpc.ClientConnInterface - -// This is a compile-time assertion to ensure that this generated file -// is compatible with the grpc package it is being compiled against. -const _ = grpc.SupportPackageIsVersion6 - -// BuiltinServiceClient is the client API for BuiltinService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type BuiltinServiceClient interface { - Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error) - ListMethod(ctx context.Context, in *ListMethod_Args, opts ...grpc.CallOption) (*ListMethod_Result, error) -} - -type builtinServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewBuiltinServiceClient(cc grpc.ClientConnInterface) BuiltinServiceClient { - return &builtinServiceClient{cc} -} - -func (c *builtinServiceClient) Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error) { - out := new(Ping_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.BuiltinService/Ping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *builtinServiceClient) ListMethod(ctx context.Context, in *ListMethod_Args, opts ...grpc.CallOption) (*ListMethod_Result, error) { - out := new(ListMethod_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.BuiltinService/ListMethod", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// BuiltinServiceServer is the server API for BuiltinService service. -type BuiltinServiceServer interface { - Ping(context.Context, *Ping_Args) (*Ping_Result, error) - ListMethod(context.Context, *ListMethod_Args) (*ListMethod_Result, error) -} - -// UnimplementedBuiltinServiceServer can be embedded to have forward compatible implementations. -type UnimplementedBuiltinServiceServer struct { -} - -func (*UnimplementedBuiltinServiceServer) Ping(context.Context, *Ping_Args) (*Ping_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") -} -func (*UnimplementedBuiltinServiceServer) ListMethod(context.Context, *ListMethod_Args) (*ListMethod_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListMethod not implemented") -} - -func RegisterBuiltinServiceServer(s *grpc.Server, srv BuiltinServiceServer) { - s.RegisterService(&_BuiltinService_serviceDesc, srv) -} - -func _BuiltinService_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Ping_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BuiltinServiceServer).Ping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.BuiltinService/Ping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BuiltinServiceServer).Ping(ctx, req.(*Ping_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _BuiltinService_ListMethod_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListMethod_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(BuiltinServiceServer).ListMethod(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.BuiltinService/ListMethod", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(BuiltinServiceServer).ListMethod(ctx, req.(*ListMethod_Args)) - } - return interceptor(ctx, in, info, handler) -} - -var _BuiltinService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "gpyrpc.BuiltinService", - HandlerType: (*BuiltinServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Ping", - Handler: _BuiltinService_Ping_Handler, - }, - { - MethodName: "ListMethod", - Handler: _BuiltinService_ListMethod_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "gpyrpc.proto", -} - -// KclvmServiceClient is the client API for KclvmService service. -// -// For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream. -type KclvmServiceClient interface { - Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error) - ExecProgram(ctx context.Context, in *ExecProgram_Args, opts ...grpc.CallOption) (*ExecProgram_Result, error) - FormatCode(ctx context.Context, in *FormatCode_Args, opts ...grpc.CallOption) (*FormatCode_Result, error) - FormatPath(ctx context.Context, in *FormatPath_Args, opts ...grpc.CallOption) (*FormatPath_Result, error) - LintPath(ctx context.Context, in *LintPath_Args, opts ...grpc.CallOption) (*LintPath_Result, error) - OverrideFile(ctx context.Context, in *OverrideFile_Args, opts ...grpc.CallOption) (*OverrideFile_Result, error) - GetSchemaType(ctx context.Context, in *GetSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) - GetSchemaTypeMapping(ctx context.Context, in *GetSchemaTypeMapping_Args, opts ...grpc.CallOption) (*GetSchemaTypeMapping_Result, error) - ValidateCode(ctx context.Context, in *ValidateCode_Args, opts ...grpc.CallOption) (*ValidateCode_Result, error) - ListDepFiles(ctx context.Context, in *ListDepFiles_Args, opts ...grpc.CallOption) (*ListDepFiles_Result, error) - LoadSettingsFiles(ctx context.Context, in *LoadSettingsFiles_Args, opts ...grpc.CallOption) (*LoadSettingsFiles_Result, error) - Rename(ctx context.Context, in *Rename_Args, opts ...grpc.CallOption) (*Rename_Result, error) - RenameCode(ctx context.Context, in *RenameCode_Args, opts ...grpc.CallOption) (*RenameCode_Result, error) -} - -type kclvmServiceClient struct { - cc grpc.ClientConnInterface -} - -func NewKclvmServiceClient(cc grpc.ClientConnInterface) KclvmServiceClient { - return &kclvmServiceClient{cc} -} - -func (c *kclvmServiceClient) Ping(ctx context.Context, in *Ping_Args, opts ...grpc.CallOption) (*Ping_Result, error) { - out := new(Ping_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/Ping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) ExecProgram(ctx context.Context, in *ExecProgram_Args, opts ...grpc.CallOption) (*ExecProgram_Result, error) { - out := new(ExecProgram_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/ExecProgram", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) FormatCode(ctx context.Context, in *FormatCode_Args, opts ...grpc.CallOption) (*FormatCode_Result, error) { - out := new(FormatCode_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/FormatCode", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) FormatPath(ctx context.Context, in *FormatPath_Args, opts ...grpc.CallOption) (*FormatPath_Result, error) { - out := new(FormatPath_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/FormatPath", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) LintPath(ctx context.Context, in *LintPath_Args, opts ...grpc.CallOption) (*LintPath_Result, error) { - out := new(LintPath_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/LintPath", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) OverrideFile(ctx context.Context, in *OverrideFile_Args, opts ...grpc.CallOption) (*OverrideFile_Result, error) { - out := new(OverrideFile_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/OverrideFile", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) GetSchemaType(ctx context.Context, in *GetSchemaType_Args, opts ...grpc.CallOption) (*GetSchemaType_Result, error) { - out := new(GetSchemaType_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/GetSchemaType", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) GetSchemaTypeMapping(ctx context.Context, in *GetSchemaTypeMapping_Args, opts ...grpc.CallOption) (*GetSchemaTypeMapping_Result, error) { - out := new(GetSchemaTypeMapping_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/GetSchemaTypeMapping", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) ValidateCode(ctx context.Context, in *ValidateCode_Args, opts ...grpc.CallOption) (*ValidateCode_Result, error) { - out := new(ValidateCode_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/ValidateCode", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) ListDepFiles(ctx context.Context, in *ListDepFiles_Args, opts ...grpc.CallOption) (*ListDepFiles_Result, error) { - out := new(ListDepFiles_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/ListDepFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) LoadSettingsFiles(ctx context.Context, in *LoadSettingsFiles_Args, opts ...grpc.CallOption) (*LoadSettingsFiles_Result, error) { - out := new(LoadSettingsFiles_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/LoadSettingsFiles", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) Rename(ctx context.Context, in *Rename_Args, opts ...grpc.CallOption) (*Rename_Result, error) { - out := new(Rename_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/Rename", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -func (c *kclvmServiceClient) RenameCode(ctx context.Context, in *RenameCode_Args, opts ...grpc.CallOption) (*RenameCode_Result, error) { - out := new(RenameCode_Result) - err := c.cc.Invoke(ctx, "/gpyrpc.KclvmService/RenameCode", in, out, opts...) - if err != nil { - return nil, err - } - return out, nil -} - -// KclvmServiceServer is the server API for KclvmService service. -type KclvmServiceServer interface { - Ping(context.Context, *Ping_Args) (*Ping_Result, error) - ExecProgram(context.Context, *ExecProgram_Args) (*ExecProgram_Result, error) - FormatCode(context.Context, *FormatCode_Args) (*FormatCode_Result, error) - FormatPath(context.Context, *FormatPath_Args) (*FormatPath_Result, error) - LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error) - OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error) - GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error) - GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error) - ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error) - ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error) - LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error) - Rename(context.Context, *Rename_Args) (*Rename_Result, error) - RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error) -} - -// UnimplementedKclvmServiceServer can be embedded to have forward compatible implementations. -type UnimplementedKclvmServiceServer struct { -} - -func (*UnimplementedKclvmServiceServer) Ping(context.Context, *Ping_Args) (*Ping_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method Ping not implemented") -} -func (*UnimplementedKclvmServiceServer) ExecProgram(context.Context, *ExecProgram_Args) (*ExecProgram_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method ExecProgram not implemented") -} -func (*UnimplementedKclvmServiceServer) FormatCode(context.Context, *FormatCode_Args) (*FormatCode_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method FormatCode not implemented") -} -func (*UnimplementedKclvmServiceServer) FormatPath(context.Context, *FormatPath_Args) (*FormatPath_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method FormatPath not implemented") -} -func (*UnimplementedKclvmServiceServer) LintPath(context.Context, *LintPath_Args) (*LintPath_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method LintPath not implemented") -} -func (*UnimplementedKclvmServiceServer) OverrideFile(context.Context, *OverrideFile_Args) (*OverrideFile_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method OverrideFile not implemented") -} -func (*UnimplementedKclvmServiceServer) GetSchemaType(context.Context, *GetSchemaType_Args) (*GetSchemaType_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSchemaType not implemented") -} -func (*UnimplementedKclvmServiceServer) GetSchemaTypeMapping(context.Context, *GetSchemaTypeMapping_Args) (*GetSchemaTypeMapping_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method GetSchemaTypeMapping not implemented") -} -func (*UnimplementedKclvmServiceServer) ValidateCode(context.Context, *ValidateCode_Args) (*ValidateCode_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method ValidateCode not implemented") -} -func (*UnimplementedKclvmServiceServer) ListDepFiles(context.Context, *ListDepFiles_Args) (*ListDepFiles_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method ListDepFiles not implemented") -} -func (*UnimplementedKclvmServiceServer) LoadSettingsFiles(context.Context, *LoadSettingsFiles_Args) (*LoadSettingsFiles_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method LoadSettingsFiles not implemented") -} -func (*UnimplementedKclvmServiceServer) Rename(context.Context, *Rename_Args) (*Rename_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method Rename not implemented") -} -func (*UnimplementedKclvmServiceServer) RenameCode(context.Context, *RenameCode_Args) (*RenameCode_Result, error) { - return nil, status.Errorf(codes.Unimplemented, "method RenameCode not implemented") -} - -func RegisterKclvmServiceServer(s *grpc.Server, srv KclvmServiceServer) { - s.RegisterService(&_KclvmService_serviceDesc, srv) -} - -func _KclvmService_Ping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Ping_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).Ping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/Ping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).Ping(ctx, req.(*Ping_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_ExecProgram_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ExecProgram_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).ExecProgram(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/ExecProgram", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).ExecProgram(ctx, req.(*ExecProgram_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_FormatCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FormatCode_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).FormatCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/FormatCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).FormatCode(ctx, req.(*FormatCode_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_FormatPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(FormatPath_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).FormatPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/FormatPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).FormatPath(ctx, req.(*FormatPath_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_LintPath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LintPath_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).LintPath(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/LintPath", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).LintPath(ctx, req.(*LintPath_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_OverrideFile_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(OverrideFile_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).OverrideFile(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/OverrideFile", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).OverrideFile(ctx, req.(*OverrideFile_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_GetSchemaType_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSchemaType_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).GetSchemaType(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/GetSchemaType", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).GetSchemaType(ctx, req.(*GetSchemaType_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_GetSchemaTypeMapping_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(GetSchemaTypeMapping_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).GetSchemaTypeMapping(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/GetSchemaTypeMapping", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).GetSchemaTypeMapping(ctx, req.(*GetSchemaTypeMapping_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_ValidateCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ValidateCode_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).ValidateCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/ValidateCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).ValidateCode(ctx, req.(*ValidateCode_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_ListDepFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(ListDepFiles_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).ListDepFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/ListDepFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).ListDepFiles(ctx, req.(*ListDepFiles_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_LoadSettingsFiles_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(LoadSettingsFiles_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).LoadSettingsFiles(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/LoadSettingsFiles", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).LoadSettingsFiles(ctx, req.(*LoadSettingsFiles_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_Rename_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(Rename_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).Rename(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/Rename", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).Rename(ctx, req.(*Rename_Args)) - } - return interceptor(ctx, in, info, handler) -} - -func _KclvmService_RenameCode_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { - in := new(RenameCode_Args) - if err := dec(in); err != nil { - return nil, err - } - if interceptor == nil { - return srv.(KclvmServiceServer).RenameCode(ctx, in) - } - info := &grpc.UnaryServerInfo{ - Server: srv, - FullMethod: "/gpyrpc.KclvmService/RenameCode", - } - handler := func(ctx context.Context, req interface{}) (interface{}, error) { - return srv.(KclvmServiceServer).RenameCode(ctx, req.(*RenameCode_Args)) - } - return interceptor(ctx, in, info, handler) -} - -var _KclvmService_serviceDesc = grpc.ServiceDesc{ - ServiceName: "gpyrpc.KclvmService", - HandlerType: (*KclvmServiceServer)(nil), - Methods: []grpc.MethodDesc{ - { - MethodName: "Ping", - Handler: _KclvmService_Ping_Handler, - }, - { - MethodName: "ExecProgram", - Handler: _KclvmService_ExecProgram_Handler, - }, - { - MethodName: "FormatCode", - Handler: _KclvmService_FormatCode_Handler, - }, - { - MethodName: "FormatPath", - Handler: _KclvmService_FormatPath_Handler, - }, - { - MethodName: "LintPath", - Handler: _KclvmService_LintPath_Handler, - }, - { - MethodName: "OverrideFile", - Handler: _KclvmService_OverrideFile_Handler, - }, - { - MethodName: "GetSchemaType", - Handler: _KclvmService_GetSchemaType_Handler, - }, - { - MethodName: "GetSchemaTypeMapping", - Handler: _KclvmService_GetSchemaTypeMapping_Handler, - }, - { - MethodName: "ValidateCode", - Handler: _KclvmService_ValidateCode_Handler, - }, - { - MethodName: "ListDepFiles", - Handler: _KclvmService_ListDepFiles_Handler, - }, - { - MethodName: "LoadSettingsFiles", - Handler: _KclvmService_LoadSettingsFiles_Handler, - }, - { - MethodName: "Rename", - Handler: _KclvmService_Rename_Handler, - }, - { - MethodName: "RenameCode", - Handler: _KclvmService_RenameCode_Handler, - }, - }, - Streams: []grpc.StreamDesc{}, - Metadata: "gpyrpc.proto", -} diff --git a/pkg/tools/override/testdata/test.k b/pkg/tools/override/testdata/test.k index e15c9c2d..85917477 100644 --- a/pkg/tools/override/testdata/test.k +++ b/pkg/tools/override/testdata/test.k @@ -1,4 +1,5 @@ import pkg + schema Config: image: str diff --git a/scripts/kclvm.go b/scripts/kclvm.go index f76ed298..a39c9890 100644 --- a/scripts/kclvm.go +++ b/scripts/kclvm.go @@ -17,9 +17,10 @@ const ( ) const ( - KclvmAbiVersion KclvmVersionType = KclvmVersionType_v0_7_0_alpha_2 - KclvmVersionType_latest = KclvmVersionType_v0_7_0_alpha_2 + KclvmAbiVersion KclvmVersionType = KclvmVersionType_v0_7_0_beta_1 + KclvmVersionType_latest = KclvmVersionType_v0_7_0_beta_1 + KclvmVersionType_v0_7_0_beta_1 KclvmVersionType = "v0.7.0-beta.1" KclvmVersionType_v0_7_0_alpha_2 KclvmVersionType = "v0.7.0-alpha.2" KclvmVersionType_v0_7_0_alpha_1 KclvmVersionType = "v0.7.0-alpha.1" KclvmVersionType_v0_6_0 KclvmVersionType = "v0.6.0"