From 1733df863b696e44274c056eb7dccbb1237c8191 Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Sun, 25 Dec 2022 21:45:19 +0900 Subject: [PATCH] Add GetOriginalwd method (#224) --- helper/runner.go | 5 + plugin/host2plugin/host2plugin_test.go | 4 + plugin/plugin2host/client.go | 17 + plugin/plugin2host/plugin2host_test.go | 38 + plugin/plugin2host/server.go | 6 + plugin/proto/tflint.pb.go | 1413 +++++++++++++----------- plugin/proto/tflint.proto | 8 + plugin/proto/tflint_grpc.pb.go | 38 +- tflint/interface.go | 5 + 9 files changed, 913 insertions(+), 621 deletions(-) diff --git a/helper/runner.go b/helper/runner.go index 4859aeb..3362f87 100644 --- a/helper/runner.go +++ b/helper/runner.go @@ -44,6 +44,11 @@ type RuleConfig struct { var _ tflint.Runner = &Runner{} +// GetOriginalwd always returns the current directory +func (r *Runner) GetOriginalwd() (string, error) { + return os.Getwd() +} + // GetModulePath always returns the root module path address func (r *Runner) GetModulePath() (addrs.Module, error) { return []string{}, nil diff --git a/plugin/host2plugin/host2plugin_test.go b/plugin/host2plugin/host2plugin_test.go index 3bf7d90..b918052 100644 --- a/plugin/host2plugin/host2plugin_test.go +++ b/plugin/host2plugin/host2plugin_test.go @@ -540,6 +540,10 @@ type mockServerImpl struct { getFile func(string) (*hcl.File, error) } +func (s *mockServer) GetOriginalwd() string { + return "/work" +} + func (s *mockServer) GetModulePath() []string { return []string{} } diff --git a/plugin/plugin2host/client.go b/plugin/plugin2host/client.go index 9a22f52..d3bcf88 100644 --- a/plugin/plugin2host/client.go +++ b/plugin/plugin2host/client.go @@ -4,6 +4,7 @@ import ( "context" "errors" "fmt" + "os" "strings" "github.com/hashicorp/hcl/v2" @@ -19,6 +20,8 @@ import ( "github.com/zclconf/go-cty/cty/gocty" "github.com/zclconf/go-cty/cty/json" "github.com/zclconf/go-cty/cty/msgpack" + "google.golang.org/grpc/codes" + "google.golang.org/grpc/status" ) // GRPCClient is a plugin-side implementation. Plugin can send requests through the client to host's gRPC server. @@ -28,6 +31,20 @@ type GRPCClient struct { var _ tflint.Runner = &GRPCClient{} +// GetOriginalwd gets the original working directory. +func (c *GRPCClient) GetOriginalwd() (string, error) { + resp, err := c.Client.GetOriginalwd(context.Background(), &proto.GetOriginalwd_Request{}) + if err != nil { + if st, ok := status.FromError(err); ok && st.Code() == codes.Unimplemented { + // Originalwd is available in TFLint v0.44+ + // Fallback to os.Getwd() because it equals the current directory in earlier versions. + return os.Getwd() + } + return "", fromproto.Error(err) + } + return resp.Path, err +} + // GetModulePath gets the current module path address. func (c *GRPCClient) GetModulePath() (addrs.Module, error) { resp, err := c.Client.GetModulePath(context.Background(), &proto.GetModulePath_Request{}) diff --git a/plugin/plugin2host/plugin2host_test.go b/plugin/plugin2host/plugin2host_test.go index 237b983..dc8adc6 100644 --- a/plugin/plugin2host/plugin2host_test.go +++ b/plugin/plugin2host/plugin2host_test.go @@ -35,6 +35,7 @@ type mockServer struct { } type mockServerImpl struct { + getOriginalwd func() string getModulePath func() []string getModuleContent func(*hclext.BodySchema, tflint.GetModuleContentOption) (*hclext.BodyContent, hcl.Diagnostics) getFile func(string) (*hcl.File, error) @@ -48,6 +49,13 @@ func newMockServer(impl mockServerImpl) *mockServer { return &mockServer{impl: impl} } +func (s *mockServer) GetOriginalwd() string { + if s.impl.getOriginalwd != nil { + return s.impl.getOriginalwd() + } + return "" +} + func (s *mockServer) GetModulePath() []string { if s.impl.getModulePath != nil { return s.impl.getModulePath() @@ -100,6 +108,36 @@ func (s *mockServer) EmitIssue(rule tflint.Rule, message string, location hcl.Ra // @see https://github.com/google/go-cmp/issues/40 var allowAllUnexported = cmp.Exporter(func(reflect.Type) bool { return true }) +func TestGetOriginalwd(t *testing.T) { + tests := []struct { + Name string + ServerImpl func() string + Want string + }{ + { + Name: "get the original working directory", + ServerImpl: func() string { + return "/work" + }, + Want: "/work", + }, + } + + for _, test := range tests { + t.Run(test.Name, func(t *testing.T) { + client := startTestGRPCServer(t, newMockServer(mockServerImpl{getOriginalwd: test.ServerImpl})) + + got, err := client.GetOriginalwd() + if err != nil { + t.Fatalf("failed to call GetOriginalwd: %s", err) + } + if diff := cmp.Diff(got, test.Want); diff != "" { + t.Errorf("diff: %s", diff) + } + }) + } +} + func TestGetModulePath(t *testing.T) { tests := []struct { Name string diff --git a/plugin/plugin2host/server.go b/plugin/plugin2host/server.go index 67fcc86..8af3191 100644 --- a/plugin/plugin2host/server.go +++ b/plugin/plugin2host/server.go @@ -28,6 +28,7 @@ var _ proto.RunnerServer = &GRPCServer{} // Server is the interface that the host should implement when a plugin communicates with the host. type Server interface { + GetOriginalwd() string GetModulePath() []string GetModuleContent(*hclext.BodySchema, tflint.GetModuleContentOption) (*hclext.BodyContent, hcl.Diagnostics) GetFile(string) (*hcl.File, error) @@ -38,6 +39,11 @@ type Server interface { EmitIssue(rule tflint.Rule, message string, location hcl.Range) error } +// GetOriginalwd gets the original working directory. +func (s *GRPCServer) GetOriginalwd(ctx context.Context, req *proto.GetOriginalwd_Request) (*proto.GetOriginalwd_Response, error) { + return &proto.GetOriginalwd_Response{Path: s.Impl.GetOriginalwd()}, nil +} + // GetModulePath gets the current module path address. func (s *GRPCServer) GetModulePath(ctx context.Context, req *proto.GetModulePath_Request) (*proto.GetModulePath_Response, error) { return &proto.GetModulePath_Response{Path: s.Impl.GetModulePath()}, nil diff --git a/plugin/proto/tflint.pb.go b/plugin/proto/tflint.pb.go index 4c6e1cd..07e80af 100644 --- a/plugin/proto/tflint.pb.go +++ b/plugin/proto/tflint.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.1 -// protoc v3.6.1 +// protoc v3.20.3 // source: tflint.proto package proto @@ -219,7 +219,7 @@ func (x GetModuleContent_ExpandMode) Number() protoreflect.EnumNumber { // Deprecated: Use GetModuleContent_ExpandMode.Descriptor instead. func (GetModuleContent_ExpandMode) EnumDescriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10, 0} + return file_tflint_proto_rawDescGZIP(), []int{11, 0} } type EmitIssue_Severity int32 @@ -271,7 +271,7 @@ func (x EmitIssue_Severity) Number() protoreflect.EnumNumber { // Deprecated: Use EmitIssue_Severity.Descriptor instead. func (EmitIssue_Severity) EnumDescriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{15, 0} + return file_tflint_proto_rawDescGZIP(), []int{16, 0} } type GetName struct { @@ -616,6 +616,44 @@ func (*Check) Descriptor() ([]byte, []int) { return file_tflint_proto_rawDescGZIP(), []int{8} } +type GetOriginalwd struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetOriginalwd) Reset() { + *x = GetOriginalwd{} + if protoimpl.UnsafeEnabled { + mi := &file_tflint_proto_msgTypes[9] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOriginalwd) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOriginalwd) ProtoMessage() {} + +func (x *GetOriginalwd) ProtoReflect() protoreflect.Message { + mi := &file_tflint_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 GetOriginalwd.ProtoReflect.Descriptor instead. +func (*GetOriginalwd) Descriptor() ([]byte, []int) { + return file_tflint_proto_rawDescGZIP(), []int{9} +} + type GetModulePath struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -625,7 +663,7 @@ type GetModulePath struct { func (x *GetModulePath) Reset() { *x = GetModulePath{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[9] + mi := &file_tflint_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -638,7 +676,7 @@ func (x *GetModulePath) String() string { func (*GetModulePath) ProtoMessage() {} func (x *GetModulePath) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[9] + mi := &file_tflint_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -651,7 +689,7 @@ func (x *GetModulePath) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModulePath.ProtoReflect.Descriptor instead. func (*GetModulePath) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{9} + return file_tflint_proto_rawDescGZIP(), []int{10} } type GetModuleContent struct { @@ -663,7 +701,7 @@ type GetModuleContent struct { func (x *GetModuleContent) Reset() { *x = GetModuleContent{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[10] + mi := &file_tflint_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -676,7 +714,7 @@ func (x *GetModuleContent) String() string { func (*GetModuleContent) ProtoMessage() {} func (x *GetModuleContent) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[10] + mi := &file_tflint_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -689,7 +727,7 @@ func (x *GetModuleContent) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleContent.ProtoReflect.Descriptor instead. func (*GetModuleContent) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10} + return file_tflint_proto_rawDescGZIP(), []int{11} } type GetFile struct { @@ -701,7 +739,7 @@ type GetFile struct { func (x *GetFile) Reset() { *x = GetFile{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[11] + mi := &file_tflint_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -714,7 +752,7 @@ func (x *GetFile) String() string { func (*GetFile) ProtoMessage() {} func (x *GetFile) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[11] + mi := &file_tflint_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -727,7 +765,7 @@ func (x *GetFile) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFile.ProtoReflect.Descriptor instead. func (*GetFile) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{11} + return file_tflint_proto_rawDescGZIP(), []int{12} } type GetFiles struct { @@ -739,7 +777,7 @@ type GetFiles struct { func (x *GetFiles) Reset() { *x = GetFiles{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[12] + mi := &file_tflint_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -752,7 +790,7 @@ func (x *GetFiles) String() string { func (*GetFiles) ProtoMessage() {} func (x *GetFiles) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[12] + mi := &file_tflint_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -765,7 +803,7 @@ func (x *GetFiles) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFiles.ProtoReflect.Descriptor instead. func (*GetFiles) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{12} + return file_tflint_proto_rawDescGZIP(), []int{13} } type GetRuleConfigContent struct { @@ -777,7 +815,7 @@ type GetRuleConfigContent struct { func (x *GetRuleConfigContent) Reset() { *x = GetRuleConfigContent{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[13] + mi := &file_tflint_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -790,7 +828,7 @@ func (x *GetRuleConfigContent) String() string { func (*GetRuleConfigContent) ProtoMessage() {} func (x *GetRuleConfigContent) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[13] + mi := &file_tflint_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -803,7 +841,7 @@ func (x *GetRuleConfigContent) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleConfigContent.ProtoReflect.Descriptor instead. func (*GetRuleConfigContent) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{13} + return file_tflint_proto_rawDescGZIP(), []int{14} } type EvaluateExpr struct { @@ -815,7 +853,7 @@ type EvaluateExpr struct { func (x *EvaluateExpr) Reset() { *x = EvaluateExpr{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[14] + mi := &file_tflint_proto_msgTypes[15] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -828,7 +866,7 @@ func (x *EvaluateExpr) String() string { func (*EvaluateExpr) ProtoMessage() {} func (x *EvaluateExpr) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[14] + mi := &file_tflint_proto_msgTypes[15] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -841,7 +879,7 @@ func (x *EvaluateExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use EvaluateExpr.ProtoReflect.Descriptor instead. func (*EvaluateExpr) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{14} + return file_tflint_proto_rawDescGZIP(), []int{15} } type EmitIssue struct { @@ -853,7 +891,7 @@ type EmitIssue struct { func (x *EmitIssue) Reset() { *x = EmitIssue{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[15] + mi := &file_tflint_proto_msgTypes[16] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -866,7 +904,7 @@ func (x *EmitIssue) String() string { func (*EmitIssue) ProtoMessage() {} func (x *EmitIssue) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[15] + mi := &file_tflint_proto_msgTypes[16] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -879,7 +917,7 @@ func (x *EmitIssue) ProtoReflect() protoreflect.Message { // Deprecated: Use EmitIssue.ProtoReflect.Descriptor instead. func (*EmitIssue) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{15} + return file_tflint_proto_rawDescGZIP(), []int{16} } type BodySchema struct { @@ -895,7 +933,7 @@ type BodySchema struct { func (x *BodySchema) Reset() { *x = BodySchema{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[16] + mi := &file_tflint_proto_msgTypes[17] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -908,7 +946,7 @@ func (x *BodySchema) String() string { func (*BodySchema) ProtoMessage() {} func (x *BodySchema) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[16] + mi := &file_tflint_proto_msgTypes[17] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -921,7 +959,7 @@ func (x *BodySchema) ProtoReflect() protoreflect.Message { // Deprecated: Use BodySchema.ProtoReflect.Descriptor instead. func (*BodySchema) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{16} + return file_tflint_proto_rawDescGZIP(), []int{17} } func (x *BodySchema) GetAttributes() []*BodySchema_Attribute { @@ -957,7 +995,7 @@ type BodyContent struct { func (x *BodyContent) Reset() { *x = BodyContent{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[17] + mi := &file_tflint_proto_msgTypes[18] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -970,7 +1008,7 @@ func (x *BodyContent) String() string { func (*BodyContent) ProtoMessage() {} func (x *BodyContent) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[17] + mi := &file_tflint_proto_msgTypes[18] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -983,7 +1021,7 @@ func (x *BodyContent) ProtoReflect() protoreflect.Message { // Deprecated: Use BodyContent.ProtoReflect.Descriptor instead. func (*BodyContent) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{17} + return file_tflint_proto_rawDescGZIP(), []int{18} } func (x *BodyContent) GetAttributes() map[string]*BodyContent_Attribute { @@ -1013,7 +1051,7 @@ type Expression struct { func (x *Expression) Reset() { *x = Expression{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[18] + mi := &file_tflint_proto_msgTypes[19] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1026,7 +1064,7 @@ func (x *Expression) String() string { func (*Expression) ProtoMessage() {} func (x *Expression) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[18] + mi := &file_tflint_proto_msgTypes[19] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1039,7 +1077,7 @@ func (x *Expression) ProtoReflect() protoreflect.Message { // Deprecated: Use Expression.ProtoReflect.Descriptor instead. func (*Expression) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{18} + return file_tflint_proto_rawDescGZIP(), []int{19} } func (x *Expression) GetBytes() []byte { @@ -1076,7 +1114,7 @@ type Range struct { func (x *Range) Reset() { *x = Range{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[19] + mi := &file_tflint_proto_msgTypes[20] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1089,7 +1127,7 @@ func (x *Range) String() string { func (*Range) ProtoMessage() {} func (x *Range) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[19] + mi := &file_tflint_proto_msgTypes[20] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1102,7 +1140,7 @@ func (x *Range) ProtoReflect() protoreflect.Message { // Deprecated: Use Range.ProtoReflect.Descriptor instead. func (*Range) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{19} + return file_tflint_proto_rawDescGZIP(), []int{20} } func (x *Range) GetFilename() string { @@ -1138,7 +1176,7 @@ type ErrorDetail struct { func (x *ErrorDetail) Reset() { *x = ErrorDetail{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[20] + mi := &file_tflint_proto_msgTypes[21] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1151,7 +1189,7 @@ func (x *ErrorDetail) String() string { func (*ErrorDetail) ProtoMessage() {} func (x *ErrorDetail) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[20] + mi := &file_tflint_proto_msgTypes[21] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1164,7 +1202,7 @@ func (x *ErrorDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead. func (*ErrorDetail) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{20} + return file_tflint_proto_rawDescGZIP(), []int{21} } func (x *ErrorDetail) GetCode() ErrorCode { @@ -1190,7 +1228,7 @@ type GetName_Request struct { func (x *GetName_Request) Reset() { *x = GetName_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[21] + mi := &file_tflint_proto_msgTypes[22] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1203,7 +1241,7 @@ func (x *GetName_Request) String() string { func (*GetName_Request) ProtoMessage() {} func (x *GetName_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[21] + mi := &file_tflint_proto_msgTypes[22] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1230,7 +1268,7 @@ type GetName_Response struct { func (x *GetName_Response) Reset() { *x = GetName_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[22] + mi := &file_tflint_proto_msgTypes[23] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1243,7 +1281,7 @@ func (x *GetName_Response) String() string { func (*GetName_Response) ProtoMessage() {} func (x *GetName_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[22] + mi := &file_tflint_proto_msgTypes[23] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1275,7 +1313,7 @@ type GetVersion_Request struct { func (x *GetVersion_Request) Reset() { *x = GetVersion_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[23] + mi := &file_tflint_proto_msgTypes[24] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1288,7 +1326,7 @@ func (x *GetVersion_Request) String() string { func (*GetVersion_Request) ProtoMessage() {} func (x *GetVersion_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[23] + mi := &file_tflint_proto_msgTypes[24] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1315,7 +1353,7 @@ type GetVersion_Response struct { func (x *GetVersion_Response) Reset() { *x = GetVersion_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[24] + mi := &file_tflint_proto_msgTypes[25] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1328,7 +1366,7 @@ func (x *GetVersion_Response) String() string { func (*GetVersion_Response) ProtoMessage() {} func (x *GetVersion_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[24] + mi := &file_tflint_proto_msgTypes[25] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1360,7 +1398,7 @@ type GetVersionConstraint_Request struct { func (x *GetVersionConstraint_Request) Reset() { *x = GetVersionConstraint_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[25] + mi := &file_tflint_proto_msgTypes[26] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1373,7 +1411,7 @@ func (x *GetVersionConstraint_Request) String() string { func (*GetVersionConstraint_Request) ProtoMessage() {} func (x *GetVersionConstraint_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[25] + mi := &file_tflint_proto_msgTypes[26] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1400,7 +1438,7 @@ type GetVersionConstraint_Response struct { func (x *GetVersionConstraint_Response) Reset() { *x = GetVersionConstraint_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[26] + mi := &file_tflint_proto_msgTypes[27] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1413,7 +1451,7 @@ func (x *GetVersionConstraint_Response) String() string { func (*GetVersionConstraint_Response) ProtoMessage() {} func (x *GetVersionConstraint_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[26] + mi := &file_tflint_proto_msgTypes[27] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1445,7 +1483,7 @@ type GetSDKVersion_Request struct { func (x *GetSDKVersion_Request) Reset() { *x = GetSDKVersion_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[27] + mi := &file_tflint_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1458,7 +1496,7 @@ func (x *GetSDKVersion_Request) String() string { func (*GetSDKVersion_Request) ProtoMessage() {} func (x *GetSDKVersion_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[27] + mi := &file_tflint_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1485,7 +1523,7 @@ type GetSDKVersion_Response struct { func (x *GetSDKVersion_Response) Reset() { *x = GetSDKVersion_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[28] + mi := &file_tflint_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1498,7 +1536,7 @@ func (x *GetSDKVersion_Response) String() string { func (*GetSDKVersion_Response) ProtoMessage() {} func (x *GetSDKVersion_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[28] + mi := &file_tflint_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1530,7 +1568,7 @@ type GetRuleNames_Request struct { func (x *GetRuleNames_Request) Reset() { *x = GetRuleNames_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[29] + mi := &file_tflint_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1543,7 +1581,7 @@ func (x *GetRuleNames_Request) String() string { func (*GetRuleNames_Request) ProtoMessage() {} func (x *GetRuleNames_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[29] + mi := &file_tflint_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1570,7 +1608,7 @@ type GetRuleNames_Response struct { func (x *GetRuleNames_Response) Reset() { *x = GetRuleNames_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[30] + mi := &file_tflint_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1583,7 +1621,7 @@ func (x *GetRuleNames_Response) String() string { func (*GetRuleNames_Response) ProtoMessage() {} func (x *GetRuleNames_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[30] + mi := &file_tflint_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1615,7 +1653,7 @@ type GetConfigSchema_Request struct { func (x *GetConfigSchema_Request) Reset() { *x = GetConfigSchema_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[31] + mi := &file_tflint_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1628,7 +1666,7 @@ func (x *GetConfigSchema_Request) String() string { func (*GetConfigSchema_Request) ProtoMessage() {} func (x *GetConfigSchema_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[31] + mi := &file_tflint_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1655,7 +1693,7 @@ type GetConfigSchema_Response struct { func (x *GetConfigSchema_Response) Reset() { *x = GetConfigSchema_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[32] + mi := &file_tflint_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1668,7 +1706,7 @@ func (x *GetConfigSchema_Response) String() string { func (*GetConfigSchema_Response) ProtoMessage() {} func (x *GetConfigSchema_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[32] + mi := &file_tflint_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1704,7 +1742,7 @@ type ApplyGlobalConfig_Config struct { func (x *ApplyGlobalConfig_Config) Reset() { *x = ApplyGlobalConfig_Config{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[33] + mi := &file_tflint_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1717,7 +1755,7 @@ func (x *ApplyGlobalConfig_Config) String() string { func (*ApplyGlobalConfig_Config) ProtoMessage() {} func (x *ApplyGlobalConfig_Config) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[33] + mi := &file_tflint_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1766,7 +1804,7 @@ type ApplyGlobalConfig_RuleConfig struct { func (x *ApplyGlobalConfig_RuleConfig) Reset() { *x = ApplyGlobalConfig_RuleConfig{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[34] + mi := &file_tflint_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1779,7 +1817,7 @@ func (x *ApplyGlobalConfig_RuleConfig) String() string { func (*ApplyGlobalConfig_RuleConfig) ProtoMessage() {} func (x *ApplyGlobalConfig_RuleConfig) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[34] + mi := &file_tflint_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1820,7 +1858,7 @@ type ApplyGlobalConfig_Request struct { func (x *ApplyGlobalConfig_Request) Reset() { *x = ApplyGlobalConfig_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[35] + mi := &file_tflint_proto_msgTypes[36] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1833,7 +1871,7 @@ func (x *ApplyGlobalConfig_Request) String() string { func (*ApplyGlobalConfig_Request) ProtoMessage() {} func (x *ApplyGlobalConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[35] + mi := &file_tflint_proto_msgTypes[36] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1865,7 +1903,7 @@ type ApplyGlobalConfig_Response struct { func (x *ApplyGlobalConfig_Response) Reset() { *x = ApplyGlobalConfig_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[36] + mi := &file_tflint_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1878,7 +1916,7 @@ func (x *ApplyGlobalConfig_Response) String() string { func (*ApplyGlobalConfig_Response) ProtoMessage() {} func (x *ApplyGlobalConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[36] + mi := &file_tflint_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1905,7 +1943,7 @@ type ApplyConfig_Request struct { func (x *ApplyConfig_Request) Reset() { *x = ApplyConfig_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[38] + mi := &file_tflint_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1918,7 +1956,7 @@ func (x *ApplyConfig_Request) String() string { func (*ApplyConfig_Request) ProtoMessage() {} func (x *ApplyConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[38] + mi := &file_tflint_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1950,7 +1988,7 @@ type ApplyConfig_Response struct { func (x *ApplyConfig_Response) Reset() { *x = ApplyConfig_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[39] + mi := &file_tflint_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1963,7 +2001,7 @@ func (x *ApplyConfig_Response) String() string { func (*ApplyConfig_Response) ProtoMessage() {} func (x *ApplyConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[39] + mi := &file_tflint_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1990,7 +2028,7 @@ type Check_Request struct { func (x *Check_Request) Reset() { *x = Check_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[40] + mi := &file_tflint_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2003,7 +2041,7 @@ func (x *Check_Request) String() string { func (*Check_Request) ProtoMessage() {} func (x *Check_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[40] + mi := &file_tflint_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2035,7 +2073,7 @@ type Check_Response struct { func (x *Check_Response) Reset() { *x = Check_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[41] + mi := &file_tflint_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2048,7 +2086,7 @@ func (x *Check_Response) String() string { func (*Check_Response) ProtoMessage() {} func (x *Check_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[41] + mi := &file_tflint_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2064,6 +2102,91 @@ func (*Check_Response) Descriptor() ([]byte, []int) { return file_tflint_proto_rawDescGZIP(), []int{8, 1} } +type GetOriginalwd_Request struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetOriginalwd_Request) Reset() { + *x = GetOriginalwd_Request{} + if protoimpl.UnsafeEnabled { + mi := &file_tflint_proto_msgTypes[43] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOriginalwd_Request) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOriginalwd_Request) ProtoMessage() {} + +func (x *GetOriginalwd_Request) ProtoReflect() protoreflect.Message { + mi := &file_tflint_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 GetOriginalwd_Request.ProtoReflect.Descriptor instead. +func (*GetOriginalwd_Request) Descriptor() ([]byte, []int) { + return file_tflint_proto_rawDescGZIP(), []int{9, 0} +} + +type GetOriginalwd_Response struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Path string `protobuf:"bytes,1,opt,name=path,proto3" json:"path,omitempty"` +} + +func (x *GetOriginalwd_Response) Reset() { + *x = GetOriginalwd_Response{} + if protoimpl.UnsafeEnabled { + mi := &file_tflint_proto_msgTypes[44] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetOriginalwd_Response) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetOriginalwd_Response) ProtoMessage() {} + +func (x *GetOriginalwd_Response) ProtoReflect() protoreflect.Message { + mi := &file_tflint_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 GetOriginalwd_Response.ProtoReflect.Descriptor instead. +func (*GetOriginalwd_Response) Descriptor() ([]byte, []int) { + return file_tflint_proto_rawDescGZIP(), []int{9, 1} +} + +func (x *GetOriginalwd_Response) GetPath() string { + if x != nil { + return x.Path + } + return "" +} + type GetModulePath_Request struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -2073,7 +2196,7 @@ type GetModulePath_Request struct { func (x *GetModulePath_Request) Reset() { *x = GetModulePath_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[42] + mi := &file_tflint_proto_msgTypes[45] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2086,7 +2209,7 @@ func (x *GetModulePath_Request) String() string { func (*GetModulePath_Request) ProtoMessage() {} func (x *GetModulePath_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[42] + mi := &file_tflint_proto_msgTypes[45] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2099,7 +2222,7 @@ func (x *GetModulePath_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModulePath_Request.ProtoReflect.Descriptor instead. func (*GetModulePath_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{9, 0} + return file_tflint_proto_rawDescGZIP(), []int{10, 0} } type GetModulePath_Response struct { @@ -2113,7 +2236,7 @@ type GetModulePath_Response struct { func (x *GetModulePath_Response) Reset() { *x = GetModulePath_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[43] + mi := &file_tflint_proto_msgTypes[46] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2126,7 +2249,7 @@ func (x *GetModulePath_Response) String() string { func (*GetModulePath_Response) ProtoMessage() {} func (x *GetModulePath_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[43] + mi := &file_tflint_proto_msgTypes[46] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2139,7 +2262,7 @@ func (x *GetModulePath_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModulePath_Response.ProtoReflect.Descriptor instead. func (*GetModulePath_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{9, 1} + return file_tflint_proto_rawDescGZIP(), []int{10, 1} } func (x *GetModulePath_Response) GetPath() []string { @@ -2160,7 +2283,7 @@ type GetModuleContent_Hint struct { func (x *GetModuleContent_Hint) Reset() { *x = GetModuleContent_Hint{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[44] + mi := &file_tflint_proto_msgTypes[47] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2173,7 +2296,7 @@ func (x *GetModuleContent_Hint) String() string { func (*GetModuleContent_Hint) ProtoMessage() {} func (x *GetModuleContent_Hint) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[44] + mi := &file_tflint_proto_msgTypes[47] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2186,7 +2309,7 @@ func (x *GetModuleContent_Hint) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleContent_Hint.ProtoReflect.Descriptor instead. func (*GetModuleContent_Hint) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10, 0} + return file_tflint_proto_rawDescGZIP(), []int{11, 0} } func (x *GetModuleContent_Hint) GetResourceType() string { @@ -2211,7 +2334,7 @@ type GetModuleContent_Option struct { func (x *GetModuleContent_Option) Reset() { *x = GetModuleContent_Option{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[45] + mi := &file_tflint_proto_msgTypes[48] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2224,7 +2347,7 @@ func (x *GetModuleContent_Option) String() string { func (*GetModuleContent_Option) ProtoMessage() {} func (x *GetModuleContent_Option) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[45] + mi := &file_tflint_proto_msgTypes[48] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2237,7 +2360,7 @@ func (x *GetModuleContent_Option) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleContent_Option.ProtoReflect.Descriptor instead. func (*GetModuleContent_Option) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10, 1} + return file_tflint_proto_rawDescGZIP(), []int{11, 1} } func (x *GetModuleContent_Option) GetModuleCtx() ModuleCtxType { @@ -2281,7 +2404,7 @@ type GetModuleContent_Request struct { func (x *GetModuleContent_Request) Reset() { *x = GetModuleContent_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[46] + mi := &file_tflint_proto_msgTypes[49] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2294,7 +2417,7 @@ func (x *GetModuleContent_Request) String() string { func (*GetModuleContent_Request) ProtoMessage() {} func (x *GetModuleContent_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[46] + mi := &file_tflint_proto_msgTypes[49] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2307,7 +2430,7 @@ func (x *GetModuleContent_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleContent_Request.ProtoReflect.Descriptor instead. func (*GetModuleContent_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10, 2} + return file_tflint_proto_rawDescGZIP(), []int{11, 2} } func (x *GetModuleContent_Request) GetSchema() *BodySchema { @@ -2335,7 +2458,7 @@ type GetModuleContent_Response struct { func (x *GetModuleContent_Response) Reset() { *x = GetModuleContent_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[47] + mi := &file_tflint_proto_msgTypes[50] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2348,7 +2471,7 @@ func (x *GetModuleContent_Response) String() string { func (*GetModuleContent_Response) ProtoMessage() {} func (x *GetModuleContent_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[47] + mi := &file_tflint_proto_msgTypes[50] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2361,7 +2484,7 @@ func (x *GetModuleContent_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleContent_Response.ProtoReflect.Descriptor instead. func (*GetModuleContent_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10, 3} + return file_tflint_proto_rawDescGZIP(), []int{11, 3} } func (x *GetModuleContent_Response) GetContent() *BodyContent { @@ -2382,7 +2505,7 @@ type GetFile_Request struct { func (x *GetFile_Request) Reset() { *x = GetFile_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[48] + mi := &file_tflint_proto_msgTypes[51] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2395,7 +2518,7 @@ func (x *GetFile_Request) String() string { func (*GetFile_Request) ProtoMessage() {} func (x *GetFile_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[48] + mi := &file_tflint_proto_msgTypes[51] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2408,7 +2531,7 @@ func (x *GetFile_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFile_Request.ProtoReflect.Descriptor instead. func (*GetFile_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{11, 0} + return file_tflint_proto_rawDescGZIP(), []int{12, 0} } func (x *GetFile_Request) GetName() string { @@ -2429,7 +2552,7 @@ type GetFile_Response struct { func (x *GetFile_Response) Reset() { *x = GetFile_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[49] + mi := &file_tflint_proto_msgTypes[52] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2442,7 +2565,7 @@ func (x *GetFile_Response) String() string { func (*GetFile_Response) ProtoMessage() {} func (x *GetFile_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[49] + mi := &file_tflint_proto_msgTypes[52] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2455,7 +2578,7 @@ func (x *GetFile_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFile_Response.ProtoReflect.Descriptor instead. func (*GetFile_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{11, 1} + return file_tflint_proto_rawDescGZIP(), []int{12, 1} } func (x *GetFile_Response) GetFile() []byte { @@ -2474,7 +2597,7 @@ type GetFiles_Request struct { func (x *GetFiles_Request) Reset() { *x = GetFiles_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[50] + mi := &file_tflint_proto_msgTypes[53] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2487,7 +2610,7 @@ func (x *GetFiles_Request) String() string { func (*GetFiles_Request) ProtoMessage() {} func (x *GetFiles_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[50] + mi := &file_tflint_proto_msgTypes[53] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2500,7 +2623,7 @@ func (x *GetFiles_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFiles_Request.ProtoReflect.Descriptor instead. func (*GetFiles_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{12, 0} + return file_tflint_proto_rawDescGZIP(), []int{13, 0} } type GetFiles_Response struct { @@ -2514,7 +2637,7 @@ type GetFiles_Response struct { func (x *GetFiles_Response) Reset() { *x = GetFiles_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[51] + mi := &file_tflint_proto_msgTypes[54] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2527,7 +2650,7 @@ func (x *GetFiles_Response) String() string { func (*GetFiles_Response) ProtoMessage() {} func (x *GetFiles_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[51] + mi := &file_tflint_proto_msgTypes[54] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2540,7 +2663,7 @@ func (x *GetFiles_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFiles_Response.ProtoReflect.Descriptor instead. func (*GetFiles_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{12, 1} + return file_tflint_proto_rawDescGZIP(), []int{13, 1} } func (x *GetFiles_Response) GetFiles() map[string][]byte { @@ -2562,7 +2685,7 @@ type GetRuleConfigContent_Request struct { func (x *GetRuleConfigContent_Request) Reset() { *x = GetRuleConfigContent_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[53] + mi := &file_tflint_proto_msgTypes[56] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2575,7 +2698,7 @@ func (x *GetRuleConfigContent_Request) String() string { func (*GetRuleConfigContent_Request) ProtoMessage() {} func (x *GetRuleConfigContent_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[53] + mi := &file_tflint_proto_msgTypes[56] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2588,7 +2711,7 @@ func (x *GetRuleConfigContent_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleConfigContent_Request.ProtoReflect.Descriptor instead. func (*GetRuleConfigContent_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{13, 0} + return file_tflint_proto_rawDescGZIP(), []int{14, 0} } func (x *GetRuleConfigContent_Request) GetName() string { @@ -2616,7 +2739,7 @@ type GetRuleConfigContent_Response struct { func (x *GetRuleConfigContent_Response) Reset() { *x = GetRuleConfigContent_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[54] + mi := &file_tflint_proto_msgTypes[57] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2629,7 +2752,7 @@ func (x *GetRuleConfigContent_Response) String() string { func (*GetRuleConfigContent_Response) ProtoMessage() {} func (x *GetRuleConfigContent_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[54] + mi := &file_tflint_proto_msgTypes[57] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2642,7 +2765,7 @@ func (x *GetRuleConfigContent_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleConfigContent_Response.ProtoReflect.Descriptor instead. func (*GetRuleConfigContent_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{13, 1} + return file_tflint_proto_rawDescGZIP(), []int{14, 1} } func (x *GetRuleConfigContent_Response) GetContent() *BodyContent { @@ -2664,7 +2787,7 @@ type EvaluateExpr_Option struct { func (x *EvaluateExpr_Option) Reset() { *x = EvaluateExpr_Option{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[55] + mi := &file_tflint_proto_msgTypes[58] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2677,7 +2800,7 @@ func (x *EvaluateExpr_Option) String() string { func (*EvaluateExpr_Option) ProtoMessage() {} func (x *EvaluateExpr_Option) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[55] + mi := &file_tflint_proto_msgTypes[58] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2690,7 +2813,7 @@ func (x *EvaluateExpr_Option) ProtoReflect() protoreflect.Message { // Deprecated: Use EvaluateExpr_Option.ProtoReflect.Descriptor instead. func (*EvaluateExpr_Option) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{14, 0} + return file_tflint_proto_rawDescGZIP(), []int{15, 0} } func (x *EvaluateExpr_Option) GetType() []byte { @@ -2723,7 +2846,7 @@ type EvaluateExpr_Request struct { func (x *EvaluateExpr_Request) Reset() { *x = EvaluateExpr_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[56] + mi := &file_tflint_proto_msgTypes[59] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2736,7 +2859,7 @@ func (x *EvaluateExpr_Request) String() string { func (*EvaluateExpr_Request) ProtoMessage() {} func (x *EvaluateExpr_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[56] + mi := &file_tflint_proto_msgTypes[59] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2749,7 +2872,7 @@ func (x *EvaluateExpr_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use EvaluateExpr_Request.ProtoReflect.Descriptor instead. func (*EvaluateExpr_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{14, 1} + return file_tflint_proto_rawDescGZIP(), []int{15, 1} } // Deprecated: Do not use. @@ -2793,7 +2916,7 @@ type EvaluateExpr_Response struct { func (x *EvaluateExpr_Response) Reset() { *x = EvaluateExpr_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[57] + mi := &file_tflint_proto_msgTypes[60] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2806,7 +2929,7 @@ func (x *EvaluateExpr_Response) String() string { func (*EvaluateExpr_Response) ProtoMessage() {} func (x *EvaluateExpr_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[57] + mi := &file_tflint_proto_msgTypes[60] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2819,7 +2942,7 @@ func (x *EvaluateExpr_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use EvaluateExpr_Response.ProtoReflect.Descriptor instead. func (*EvaluateExpr_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{14, 2} + return file_tflint_proto_rawDescGZIP(), []int{15, 2} } func (x *EvaluateExpr_Response) GetValue() []byte { @@ -2843,7 +2966,7 @@ type EmitIssue_Rule struct { func (x *EmitIssue_Rule) Reset() { *x = EmitIssue_Rule{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[58] + mi := &file_tflint_proto_msgTypes[61] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2856,7 +2979,7 @@ func (x *EmitIssue_Rule) String() string { func (*EmitIssue_Rule) ProtoMessage() {} func (x *EmitIssue_Rule) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[58] + mi := &file_tflint_proto_msgTypes[61] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2869,7 +2992,7 @@ func (x *EmitIssue_Rule) ProtoReflect() protoreflect.Message { // Deprecated: Use EmitIssue_Rule.ProtoReflect.Descriptor instead. func (*EmitIssue_Rule) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{15, 0} + return file_tflint_proto_rawDescGZIP(), []int{16, 0} } func (x *EmitIssue_Rule) GetName() string { @@ -2913,7 +3036,7 @@ type EmitIssue_Request struct { func (x *EmitIssue_Request) Reset() { *x = EmitIssue_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[59] + mi := &file_tflint_proto_msgTypes[62] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2926,7 +3049,7 @@ func (x *EmitIssue_Request) String() string { func (*EmitIssue_Request) ProtoMessage() {} func (x *EmitIssue_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[59] + mi := &file_tflint_proto_msgTypes[62] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2939,7 +3062,7 @@ func (x *EmitIssue_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use EmitIssue_Request.ProtoReflect.Descriptor instead. func (*EmitIssue_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{15, 1} + return file_tflint_proto_rawDescGZIP(), []int{16, 1} } func (x *EmitIssue_Request) GetRule() *EmitIssue_Rule { @@ -2972,7 +3095,7 @@ type EmitIssue_Response struct { func (x *EmitIssue_Response) Reset() { *x = EmitIssue_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[60] + mi := &file_tflint_proto_msgTypes[63] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2985,7 +3108,7 @@ func (x *EmitIssue_Response) String() string { func (*EmitIssue_Response) ProtoMessage() {} func (x *EmitIssue_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[60] + mi := &file_tflint_proto_msgTypes[63] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2998,7 +3121,7 @@ func (x *EmitIssue_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use EmitIssue_Response.ProtoReflect.Descriptor instead. func (*EmitIssue_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{15, 2} + return file_tflint_proto_rawDescGZIP(), []int{16, 2} } type BodySchema_Attribute struct { @@ -3013,7 +3136,7 @@ type BodySchema_Attribute struct { func (x *BodySchema_Attribute) Reset() { *x = BodySchema_Attribute{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[61] + mi := &file_tflint_proto_msgTypes[64] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3026,7 +3149,7 @@ func (x *BodySchema_Attribute) String() string { func (*BodySchema_Attribute) ProtoMessage() {} func (x *BodySchema_Attribute) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[61] + mi := &file_tflint_proto_msgTypes[64] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3039,7 +3162,7 @@ func (x *BodySchema_Attribute) ProtoReflect() protoreflect.Message { // Deprecated: Use BodySchema_Attribute.ProtoReflect.Descriptor instead. func (*BodySchema_Attribute) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{16, 0} + return file_tflint_proto_rawDescGZIP(), []int{17, 0} } func (x *BodySchema_Attribute) GetName() string { @@ -3069,7 +3192,7 @@ type BodySchema_Block struct { func (x *BodySchema_Block) Reset() { *x = BodySchema_Block{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[62] + mi := &file_tflint_proto_msgTypes[65] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3082,7 +3205,7 @@ func (x *BodySchema_Block) String() string { func (*BodySchema_Block) ProtoMessage() {} func (x *BodySchema_Block) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[62] + mi := &file_tflint_proto_msgTypes[65] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3095,7 +3218,7 @@ func (x *BodySchema_Block) ProtoReflect() protoreflect.Message { // Deprecated: Use BodySchema_Block.ProtoReflect.Descriptor instead. func (*BodySchema_Block) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{16, 1} + return file_tflint_proto_rawDescGZIP(), []int{17, 1} } func (x *BodySchema_Block) GetType() string { @@ -3137,7 +3260,7 @@ type BodyContent_Attribute struct { func (x *BodyContent_Attribute) Reset() { *x = BodyContent_Attribute{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[63] + mi := &file_tflint_proto_msgTypes[66] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3150,7 +3273,7 @@ func (x *BodyContent_Attribute) String() string { func (*BodyContent_Attribute) ProtoMessage() {} func (x *BodyContent_Attribute) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[63] + mi := &file_tflint_proto_msgTypes[66] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3163,7 +3286,7 @@ func (x *BodyContent_Attribute) ProtoReflect() protoreflect.Message { // Deprecated: Use BodyContent_Attribute.ProtoReflect.Descriptor instead. func (*BodyContent_Attribute) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{17, 0} + return file_tflint_proto_rawDescGZIP(), []int{18, 0} } func (x *BodyContent_Attribute) GetName() string { @@ -3226,7 +3349,7 @@ type BodyContent_Block struct { func (x *BodyContent_Block) Reset() { *x = BodyContent_Block{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[64] + mi := &file_tflint_proto_msgTypes[67] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3239,7 +3362,7 @@ func (x *BodyContent_Block) String() string { func (*BodyContent_Block) ProtoMessage() {} func (x *BodyContent_Block) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[64] + mi := &file_tflint_proto_msgTypes[67] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3252,7 +3375,7 @@ func (x *BodyContent_Block) ProtoReflect() protoreflect.Message { // Deprecated: Use BodyContent_Block.ProtoReflect.Descriptor instead. func (*BodyContent_Block) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{17, 1} + return file_tflint_proto_rawDescGZIP(), []int{18, 1} } func (x *BodyContent_Block) GetType() string { @@ -3310,7 +3433,7 @@ type Range_Pos struct { func (x *Range_Pos) Reset() { *x = Range_Pos{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[66] + mi := &file_tflint_proto_msgTypes[69] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -3323,7 +3446,7 @@ func (x *Range_Pos) String() string { func (*Range_Pos) ProtoMessage() {} func (x *Range_Pos) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[66] + mi := &file_tflint_proto_msgTypes[69] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -3336,7 +3459,7 @@ func (x *Range_Pos) ProtoReflect() protoreflect.Message { // Deprecated: Use Range_Pos.ProtoReflect.Descriptor instead. func (*Range_Pos) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{19, 0} + return file_tflint_proto_rawDescGZIP(), []int{20, 0} } func (x *Range_Pos) GetLine() int64 { @@ -3424,302 +3547,311 @@ var file_tflint_proto_rawDesc = []byte{ 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x06, 0x72, 0x75, 0x6e, 0x6e, 0x65, 0x72, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x3a, 0x0a, 0x0d, 0x47, - 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x1a, 0x09, 0x0a, 0x07, + 0x65, 0x74, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x77, 0x64, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, - 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0xab, 0x04, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x2b, 0x0a, 0x04, - 0x48, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, - 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, - 0x6f, 0x75, 0x72, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xe8, 0x01, 0x0a, 0x06, 0x4f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x33, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, - 0x74, 0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x12, 0x30, 0x0a, 0x04, 0x68, 0x69, 0x6e, - 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x2e, 0x48, 0x69, 0x6e, 0x74, 0x52, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x13, 0x69, - 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, - 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x11, 0x69, 0x6e, - 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, 0x6f, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, - 0x43, 0x0a, 0x0b, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, - 0x20, 0x01, 0x28, 0x0e, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, - 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, - 0x70, 0x61, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, - 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x6c, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, - 0x29, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, - 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x36, 0x0a, 0x06, 0x6f, 0x70, - 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x1a, 0x38, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, - 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, - 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x0a, - 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, - 0x50, 0x41, 0x4e, 0x44, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, - 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x58, 0x50, 0x41, 0x4e, - 0x44, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x16, 0x0a, - 0x12, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x45, 0x58, 0x50, - 0x41, 0x4e, 0x44, 0x10, 0x02, 0x22, 0x48, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, - 0x1a, 0x1d, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, - 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, - 0x1e, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, - 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x22, - 0x96, 0x01, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x09, 0x0a, 0x07, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x7f, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x39, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, - 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x38, - 0x0a, 0x0a, 0x46, 0x69, 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, 0x14, - 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, - 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, - 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x1a, 0x48, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x29, 0x0a, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, - 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, - 0x65, 0x6d, 0x61, 0x52, 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x38, 0x0a, 0x08, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, - 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0xbf, 0x02, 0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, - 0x74, 0x65, 0x45, 0x78, 0x70, 0x72, 0x1a, 0x51, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x33, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, - 0x74, 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, - 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x1a, 0xb9, 0x01, 0x0a, 0x07, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, + 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x01, 0x28, + 0x09, 0x52, 0x04, 0x70, 0x61, 0x74, 0x68, 0x22, 0x3a, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x6f, + 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x1e, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x12, 0x0a, 0x04, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x70, + 0x61, 0x74, 0x68, 0x22, 0xab, 0x04, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x2b, 0x0a, 0x04, 0x48, 0x69, 0x6e, 0x74, + 0x12, 0x23, 0x0a, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x74, 0x79, 0x70, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0c, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, + 0x65, 0x54, 0x79, 0x70, 0x65, 0x1a, 0xe8, 0x01, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x12, 0x33, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x74, 0x78, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x43, 0x74, 0x78, 0x12, 0x30, 0x0a, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, + 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x48, 0x69, 0x6e, + 0x74, 0x52, 0x04, 0x68, 0x69, 0x6e, 0x74, 0x12, 0x32, 0x0a, 0x13, 0x69, 0x6e, 0x63, 0x6c, 0x75, + 0x64, 0x65, 0x5f, 0x6e, 0x6f, 0x74, 0x5f, 0x63, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x08, 0x42, 0x02, 0x18, 0x01, 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x4e, 0x6f, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 0x12, 0x43, 0x0a, 0x0b, 0x65, + 0x78, 0x70, 0x61, 0x6e, 0x64, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, + 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x45, 0x78, 0x70, 0x61, 0x6e, 0x64, + 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x61, 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x65, + 0x1a, 0x6c, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, 0x06, 0x73, + 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x36, 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, + 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, + 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x1a, 0x38, + 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x63, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, + 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22, 0x57, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x61, + 0x6e, 0x64, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, + 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, + 0x44, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x5f, 0x4d, 0x4f, + 0x44, 0x45, 0x5f, 0x4e, 0x4f, 0x4e, 0x45, 0x10, 0x01, 0x12, 0x16, 0x0a, 0x12, 0x45, 0x58, 0x50, + 0x41, 0x4e, 0x44, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x45, 0x58, 0x50, 0x41, 0x4e, 0x44, 0x10, + 0x02, 0x22, 0x48, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x1a, 0x1d, 0x0a, 0x07, + 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x1a, 0x1e, 0x0a, 0x08, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x18, + 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x22, 0x96, 0x01, 0x0a, 0x08, + 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x7f, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x39, 0x0a, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2e, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x45, 0x6e, + 0x74, 0x72, 0x79, 0x52, 0x05, 0x66, 0x69, 0x6c, 0x65, 0x73, 0x1a, 0x38, 0x0a, 0x0a, 0x46, 0x69, + 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, 0x14, 0x0a, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, + 0x3a, 0x02, 0x38, 0x01, 0x22, 0x9a, 0x01, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x48, 0x0a, + 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x29, 0x0a, 0x06, + 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, + 0x06, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x38, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x2c, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 0x01, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, + 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x22, 0xbf, 0x02, 0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, 0x78, + 0x70, 0x72, 0x1a, 0x51, 0x0a, 0x06, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x33, 0x0a, 0x0a, 0x6d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x5f, 0x63, 0x74, 0x78, 0x18, 0x02, + 0x20, 0x01, 0x28, 0x0e, 0x32, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65, 0x52, 0x09, 0x6d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x43, 0x74, 0x78, 0x1a, 0xb9, 0x01, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x12, 0x16, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x42, + 0x02, 0x18, 0x01, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, 0x2f, 0x0a, 0x0a, 0x65, 0x78, 0x70, + 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, + 0x09, 0x65, 0x78, 0x70, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x32, 0x0a, 0x06, 0x6f, 0x70, + 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, + 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x31, + 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x04, 0x20, 0x01, + 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x78, 0x70, 0x72, 0x65, + 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, + 0x6e, 0x1a, 0x20, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x14, 0x0a, + 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, 0x61, + 0x6c, 0x75, 0x65, 0x22, 0xf1, 0x02, 0x0a, 0x09, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, + 0x65, 0x1a, 0x7f, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, + 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x18, 0x0a, + 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, + 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x35, 0x0a, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, + 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x53, 0x65, 0x76, 0x65, + 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x12, + 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6c, 0x69, + 0x6e, 0x6b, 0x1a, 0x72, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x29, 0x0a, + 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x15, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x52, 0x75, + 0x6c, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, + 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, + 0x67, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, + 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, + 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x22, 0x63, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x12, 0x18, + 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, + 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, 0x53, 0x45, 0x56, 0x45, + 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, 0x12, 0x14, 0x0a, 0x10, + 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x52, 0x4e, 0x49, 0x4e, 0x47, + 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x4e, + 0x4f, 0x54, 0x49, 0x43, 0x45, 0x10, 0x03, 0x22, 0xc3, 0x02, 0x0a, 0x0a, 0x42, 0x6f, 0x64, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, + 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x41, 0x74, + 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, + 0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, + 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, + 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x62, 0x6c, + 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x03, 0x20, 0x01, + 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x63, 0x68, 0x65, 0x6d, + 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x1a, 0x3b, 0x0a, 0x09, 0x41, + 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, + 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x1a, 0x0a, 0x08, + 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x08, + 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x1a, 0x63, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, + 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x6e, + 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, + 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, + 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, 0x22, 0xb6, 0x05, + 0x0a, 0x0b, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x42, 0x0a, + 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, + 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, + 0x73, 0x12, 0x30, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, + 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, + 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x06, 0x62, 0x6c, 0x6f, + 0x63, 0x6b, 0x73, 0x1a, 0xec, 0x01, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, + 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, + 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, 0x2f, 0x0a, - 0x0a, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, + 0x0a, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x42, - 0x02, 0x18, 0x01, 0x52, 0x09, 0x65, 0x78, 0x70, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x32, - 0x0a, 0x06, 0x6f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1a, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, - 0x78, 0x70, 0x72, 0x2e, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x06, 0x6f, 0x70, 0x74, 0x69, - 0x6f, 0x6e, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, - 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, - 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, - 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x20, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, - 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xf1, 0x02, 0x0a, 0x09, 0x45, 0x6d, 0x69, 0x74, - 0x49, 0x73, 0x73, 0x75, 0x65, 0x1a, 0x7f, 0x0a, 0x04, 0x52, 0x75, 0x6c, 0x65, 0x12, 0x12, 0x0a, - 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, - 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x35, 0x0a, 0x08, 0x73, - 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x19, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, - 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, 0x74, 0x79, 0x52, 0x08, 0x73, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x12, 0x12, 0x0a, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, - 0x52, 0x04, 0x6c, 0x69, 0x6e, 0x6b, 0x1a, 0x72, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x12, 0x29, 0x0a, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, - 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x2e, 0x52, 0x75, 0x6c, 0x65, 0x52, 0x04, 0x72, 0x75, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, - 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, - 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, - 0x6e, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, - 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x63, 0x0a, 0x08, 0x53, 0x65, 0x76, 0x65, 0x72, 0x69, - 0x74, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x55, - 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x12, 0x0a, 0x0e, - 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x10, 0x01, - 0x12, 0x14, 0x0a, 0x10, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, 0x54, 0x59, 0x5f, 0x57, 0x41, 0x52, - 0x4e, 0x49, 0x4e, 0x47, 0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x45, 0x56, 0x45, 0x52, 0x49, - 0x54, 0x59, 0x5f, 0x4e, 0x4f, 0x54, 0x49, 0x43, 0x45, 0x10, 0x03, 0x22, 0xc3, 0x02, 0x0a, 0x0a, - 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x3b, 0x0a, 0x0a, 0x61, 0x74, - 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1b, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, - 0x61, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x0a, 0x61, 0x74, 0x74, - 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x2f, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, - 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x4d, 0x6f, 0x64, 0x65, - 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, - 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x4d, 0x6f, 0x64, 0x65, 0x1a, - 0x3b, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, - 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, - 0x12, 0x1a, 0x0a, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, - 0x28, 0x08, 0x52, 0x08, 0x72, 0x65, 0x71, 0x75, 0x69, 0x72, 0x65, 0x64, 0x1a, 0x63, 0x0a, 0x05, - 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, 0x0b, 0x6c, 0x61, 0x62, - 0x65, 0x6c, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0a, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x04, 0x62, 0x6f, - 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x52, 0x04, 0x62, 0x6f, 0x64, - 0x79, 0x22, 0xb6, 0x05, 0x0a, 0x0b, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, - 0x74, 0x12, 0x42, 0x0a, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x73, 0x18, - 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, - 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, - 0x75, 0x74, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x0a, 0x61, 0x74, 0x74, 0x72, 0x69, - 0x62, 0x75, 0x74, 0x65, 0x73, 0x12, 0x30, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, - 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, - 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, - 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x1a, 0xec, 0x01, 0x0a, 0x09, 0x41, 0x74, 0x74, 0x72, - 0x69, 0x62, 0x75, 0x74, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, - 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x0a, 0x04, 0x65, 0x78, 0x70, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x42, 0x02, 0x18, 0x01, 0x52, 0x04, 0x65, 0x78, 0x70, - 0x72, 0x12, 0x2f, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, - 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, - 0x6e, 0x67, 0x65, 0x42, 0x02, 0x18, 0x01, 0x52, 0x09, 0x65, 0x78, 0x70, 0x72, 0x52, 0x61, 0x6e, - 0x67, 0x65, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, - 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, - 0x61, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x61, - 0x6e, 0x67, 0x65, 0x12, 0x31, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, - 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, - 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0xe4, 0x01, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, - 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, - 0x74, 0x79, 0x70, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, - 0x20, 0x03, 0x28, 0x09, 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x04, - 0x62, 0x6f, 0x64, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, - 0x62, 0x6f, 0x64, 0x79, 0x12, 0x29, 0x0a, 0x09, 0x64, 0x65, 0x66, 0x5f, 0x72, 0x61, 0x6e, 0x67, - 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x08, 0x64, 0x65, 0x66, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, - 0x2b, 0x0a, 0x0a, 0x74, 0x79, 0x70, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, - 0x65, 0x52, 0x09, 0x74, 0x79, 0x70, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x0c, - 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, - 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, - 0x52, 0x0b, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0x5b, 0x0a, - 0x0f, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 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, 0x32, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, - 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, - 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5c, 0x0a, 0x0a, 0x45, 0x78, - 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, - 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, - 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, + 0x02, 0x18, 0x01, 0x52, 0x09, 0x65, 0x78, 0x70, 0x72, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x22, + 0x0a, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, - 0x67, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, - 0x0c, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb6, 0x01, 0x0a, 0x05, 0x52, 0x61, 0x6e, - 0x67, 0x65, 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, 0x26, - 0x0a, 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, - 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x52, - 0x05, 0x73, 0x74, 0x61, 0x72, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, - 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, - 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x1a, 0x45, 0x0a, 0x03, 0x50, 0x6f, - 0x73, 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, 0x12, 0x0a, - 0x04, 0x62, 0x79, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x62, 0x79, 0x74, - 0x65, 0x22, 0x4d, 0x0a, 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, - 0x12, 0x24, 0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, - 0x52, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, - 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, - 0x2a, 0x64, 0x0a, 0x0d, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x54, 0x79, 0x70, - 0x65, 0x12, 0x1f, 0x0a, 0x1b, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x54, 0x58, 0x5f, - 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, - 0x10, 0x00, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x54, 0x58, - 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, - 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x54, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, - 0x52, 0x4f, 0x4f, 0x54, 0x10, 0x02, 0x2a, 0x63, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x4d, + 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x0a, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, + 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, + 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x6e, 0x61, 0x6d, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, + 0x31, 0x0a, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x78, 0x70, 0x72, + 0x65, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x52, 0x0a, 0x65, 0x78, 0x70, 0x72, 0x65, 0x73, 0x73, 0x69, + 0x6f, 0x6e, 0x1a, 0xe4, 0x01, 0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x12, 0x0a, 0x04, + 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, + 0x12, 0x16, 0x0a, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, + 0x52, 0x06, 0x6c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x12, 0x26, 0x0a, 0x04, 0x62, 0x6f, 0x64, 0x79, + 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x12, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, + 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x62, 0x6f, 0x64, 0x79, + 0x12, 0x29, 0x0a, 0x09, 0x64, 0x65, 0x66, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x04, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, + 0x65, 0x52, 0x08, 0x64, 0x65, 0x66, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2b, 0x0a, 0x0a, 0x74, + 0x79, 0x70, 0x65, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x09, 0x74, + 0x79, 0x70, 0x65, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x2f, 0x0a, 0x0c, 0x6c, 0x61, 0x62, 0x65, + 0x6c, 0x5f, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x0c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x0b, 0x6c, 0x61, + 0x62, 0x65, 0x6c, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x73, 0x1a, 0x5b, 0x0a, 0x0f, 0x41, 0x74, 0x74, + 0x72, 0x69, 0x62, 0x75, 0x74, 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, 0x32, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x42, 0x6f, 0x64, 0x79, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, + 0x74, 0x2e, 0x41, 0x74, 0x74, 0x72, 0x69, 0x62, 0x75, 0x74, 0x65, 0x52, 0x05, 0x76, 0x61, 0x6c, + 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x5c, 0x0a, 0x0a, 0x45, 0x78, 0x70, 0x72, 0x65, 0x73, + 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x18, 0x01, 0x20, + 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x79, 0x74, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x05, 0x72, 0x61, + 0x6e, 0x67, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0c, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x52, 0x05, 0x72, 0x61, 0x6e, 0x67, 0x65, 0x12, 0x14, + 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x76, + 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb6, 0x01, 0x0a, 0x05, 0x52, 0x61, 0x6e, 0x67, 0x65, 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, 0x26, 0x0a, 0x05, 0x73, 0x74, + 0x61, 0x72, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x50, 0x6f, 0x73, 0x52, 0x05, 0x73, 0x74, 0x61, + 0x72, 0x74, 0x12, 0x22, 0x0a, 0x03, 0x65, 0x6e, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, + 0x10, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x61, 0x6e, 0x67, 0x65, 0x2e, 0x50, 0x6f, + 0x73, 0x52, 0x03, 0x65, 0x6e, 0x64, 0x1a, 0x45, 0x0a, 0x03, 0x50, 0x6f, 0x73, 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, 0x12, 0x0a, 0x04, 0x62, 0x79, 0x74, + 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x03, 0x52, 0x04, 0x62, 0x79, 0x74, 0x65, 0x22, 0x4d, 0x0a, + 0x0b, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x12, 0x24, 0x0a, 0x04, + 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x10, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x52, 0x04, 0x63, 0x6f, + 0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2a, 0x64, 0x0a, 0x0d, + 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x74, 0x78, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1f, 0x0a, + 0x1b, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x54, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, + 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x18, + 0x0a, 0x14, 0x4d, 0x4f, 0x44, 0x55, 0x4c, 0x45, 0x5f, 0x43, 0x54, 0x58, 0x5f, 0x54, 0x59, 0x50, + 0x45, 0x5f, 0x53, 0x45, 0x4c, 0x46, 0x10, 0x01, 0x12, 0x18, 0x0a, 0x14, 0x4d, 0x4f, 0x44, 0x55, + 0x4c, 0x45, 0x5f, 0x43, 0x54, 0x58, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x4f, 0x4f, 0x54, + 0x10, 0x02, 0x2a, 0x63, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x4d, 0x6f, 0x64, 0x65, + 0x12, 0x1b, 0x0a, 0x17, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, + 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, + 0x13, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x44, 0x45, 0x46, + 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, + 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4a, 0x55, 0x53, 0x54, 0x5f, 0x41, 0x54, 0x54, 0x52, 0x49, + 0x42, 0x55, 0x54, 0x45, 0x53, 0x10, 0x02, 0x2a, 0x96, 0x01, 0x0a, 0x09, 0x45, 0x72, 0x72, 0x6f, + 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, - 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, - 0x5f, 0x44, 0x45, 0x46, 0x41, 0x55, 0x4c, 0x54, 0x10, 0x01, 0x12, 0x1f, 0x0a, 0x1b, 0x53, 0x43, - 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x4d, 0x4f, 0x44, 0x45, 0x5f, 0x4a, 0x55, 0x53, 0x54, 0x5f, 0x41, - 0x54, 0x54, 0x52, 0x49, 0x42, 0x55, 0x54, 0x45, 0x53, 0x10, 0x02, 0x2a, 0x96, 0x01, 0x0a, 0x09, - 0x45, 0x72, 0x72, 0x6f, 0x72, 0x43, 0x6f, 0x64, 0x65, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, 0x52, - 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, - 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, - 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x56, 0x41, 0x4c, 0x55, - 0x45, 0x10, 0x01, 0x12, 0x19, 0x0a, 0x15, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, - 0x45, 0x5f, 0x4e, 0x55, 0x4c, 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1a, - 0x0a, 0x16, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x45, - 0x56, 0x41, 0x4c, 0x55, 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x52, - 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x53, 0x49, 0x54, 0x49, - 0x56, 0x45, 0x10, 0x04, 0x32, 0xb2, 0x05, 0x0a, 0x07, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, - 0x12, 0x3a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4e, - 0x61, 0x6d, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0a, - 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, - 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, - 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x61, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, - 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, - 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, - 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, - 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x44, 0x4b, 0x56, 0x65, - 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, - 0x74, 0x53, 0x44, 0x4b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, - 0x44, 0x4b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, - 0x65, 0x73, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, - 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, - 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x4e, - 0x61, 0x6d, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, - 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, - 0x12, 0x1e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x1a, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x12, 0x58, 0x0a, 0x11, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, - 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, - 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, - 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, - 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, - 0x6e, 0x73, 0x65, 0x12, 0x34, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x14, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, - 0x73, 0x74, 0x1a, 0x15, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, - 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0x98, 0x04, 0x0a, 0x06, 0x52, 0x75, - 0x6e, 0x6e, 0x65, 0x72, 0x12, 0x4c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, - 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, - 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x71, 0x75, - 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, - 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x55, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, - 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, - 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x00, 0x12, 0x1c, 0x0a, 0x18, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, + 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x01, 0x12, + 0x19, 0x0a, 0x15, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x4e, 0x55, + 0x4c, 0x4c, 0x5f, 0x56, 0x41, 0x4c, 0x55, 0x45, 0x10, 0x02, 0x12, 0x1a, 0x0a, 0x16, 0x45, 0x52, + 0x52, 0x4f, 0x52, 0x5f, 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x55, 0x4e, 0x45, 0x56, 0x41, 0x4c, 0x55, + 0x41, 0x42, 0x4c, 0x45, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x45, 0x52, 0x52, 0x4f, 0x52, 0x5f, + 0x43, 0x4f, 0x44, 0x45, 0x5f, 0x53, 0x45, 0x4e, 0x53, 0x49, 0x54, 0x49, 0x56, 0x45, 0x10, 0x04, + 0x32, 0xb2, 0x05, 0x0a, 0x07, 0x52, 0x75, 0x6c, 0x65, 0x53, 0x65, 0x74, 0x12, 0x3a, 0x0a, 0x07, + 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, + 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x2e, + 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x43, 0x0a, 0x0a, 0x47, 0x65, 0x74, 0x56, + 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, + 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, + 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, + 0x14, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, + 0x72, 0x61, 0x69, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, + 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, + 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, + 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x43, 0x6f, 0x6e, + 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, + 0x12, 0x4c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x53, 0x44, 0x4b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, + 0x6e, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x44, 0x4b, + 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x53, 0x44, 0x4b, 0x56, 0x65, + 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, + 0x0a, 0x0c, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1b, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x61, + 0x6d, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, + 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x52, 0x0a, 0x0f, 0x47, 0x65, 0x74, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x12, 0x1e, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1f, 0x2e, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x63, + 0x68, 0x65, 0x6d, 0x61, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x58, 0x0a, + 0x11, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, + 0x69, 0x67, 0x12, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x21, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x70, 0x70, + 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, + 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x46, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1a, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, + 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x1a, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x41, 0x70, 0x70, 0x6c, 0x79, + 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x34, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x12, 0x14, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, + 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x15, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x2e, 0x52, 0x65, 0x73, + 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x32, 0xe6, 0x04, 0x0a, 0x06, 0x52, 0x75, 0x6e, 0x6e, 0x65, 0x72, + 0x12, 0x4c, 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x69, 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x77, + 0x64, 0x12, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x69, + 0x67, 0x69, 0x6e, 0x61, 0x6c, 0x77, 0x64, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, + 0x1d, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4f, 0x72, 0x69, 0x67, 0x69, + 0x6e, 0x61, 0x6c, 0x77, 0x64, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x4c, + 0x0a, 0x0d, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, 0x61, 0x74, 0x68, 0x12, + 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, + 0x65, 0x50, 0x61, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1d, 0x2e, + 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x50, + 0x61, 0x74, 0x68, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x55, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, - 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x47, 0x65, 0x74, - 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, - 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x73, - 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x3d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, - 0x73, 0x12, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, - 0x65, 0x73, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, - 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x43, - 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x70, - 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, - 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, - 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x52, - 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x75, - 0x61, 0x74, 0x65, 0x45, 0x78, 0x70, 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, - 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x76, 0x61, - 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, - 0x73, 0x65, 0x12, 0x40, 0x0a, 0x09, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, - 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, - 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, - 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, - 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3d, 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, - 0x6f, 0x6d, 0x2f, 0x74, 0x65, 0x72, 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x2d, 0x6c, 0x69, 0x6e, - 0x74, 0x65, 0x72, 0x73, 0x2f, 0x74, 0x66, 0x6c, 0x69, 0x6e, 0x74, 0x2d, 0x70, 0x6c, 0x75, 0x67, - 0x69, 0x6e, 0x2d, 0x73, 0x64, 0x6b, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, - 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, + 0x12, 0x1f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, 0x75, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, + 0x74, 0x1a, 0x20, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x4d, 0x6f, 0x64, + 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x12, 0x3a, 0x0a, 0x07, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x12, 0x16, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x17, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, + 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, + 0x3d, 0x0a, 0x08, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x17, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x71, + 0x75, 0x65, 0x73, 0x74, 0x1a, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, + 0x46, 0x69, 0x6c, 0x65, 0x73, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x61, + 0x0a, 0x14, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, + 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x23, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x47, + 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x43, 0x6f, 0x6e, 0x74, + 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x2e, 0x70, 0x72, + 0x6f, 0x74, 0x6f, 0x2e, 0x47, 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 0x43, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, 0x78, 0x70, + 0x72, 0x12, 0x1b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, + 0x74, 0x65, 0x45, 0x78, 0x70, 0x72, 0x2e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, + 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x76, 0x61, 0x6c, 0x75, 0x61, 0x74, 0x65, 0x45, + 0x78, 0x70, 0x72, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x09, + 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x12, 0x18, 0x2e, 0x70, 0x72, 0x6f, 0x74, + 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x52, 0x65, 0x71, 0x75, + 0x65, 0x73, 0x74, 0x1a, 0x19, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x45, 0x6d, 0x69, 0x74, + 0x49, 0x73, 0x73, 0x75, 0x65, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x42, 0x3d, + 0x5a, 0x3b, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x65, 0x72, + 0x72, 0x61, 0x66, 0x6f, 0x72, 0x6d, 0x2d, 0x6c, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x73, 0x2f, 0x74, + 0x66, 0x6c, 0x69, 0x6e, 0x74, 0x2d, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2d, 0x73, 0x64, 0x6b, + 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, + 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( @@ -3735,7 +3867,7 @@ func file_tflint_proto_rawDescGZIP() []byte { } var file_tflint_proto_enumTypes = make([]protoimpl.EnumInfo, 5) -var file_tflint_proto_msgTypes = make([]protoimpl.MessageInfo, 67) +var file_tflint_proto_msgTypes = make([]protoimpl.MessageInfo, 70) var file_tflint_proto_goTypes = []interface{}{ (ModuleCtxType)(0), // 0: proto.ModuleCtxType (SchemaMode)(0), // 1: proto.SchemaMode @@ -3751,140 +3883,145 @@ var file_tflint_proto_goTypes = []interface{}{ (*ApplyGlobalConfig)(nil), // 11: proto.ApplyGlobalConfig (*ApplyConfig)(nil), // 12: proto.ApplyConfig (*Check)(nil), // 13: proto.Check - (*GetModulePath)(nil), // 14: proto.GetModulePath - (*GetModuleContent)(nil), // 15: proto.GetModuleContent - (*GetFile)(nil), // 16: proto.GetFile - (*GetFiles)(nil), // 17: proto.GetFiles - (*GetRuleConfigContent)(nil), // 18: proto.GetRuleConfigContent - (*EvaluateExpr)(nil), // 19: proto.EvaluateExpr - (*EmitIssue)(nil), // 20: proto.EmitIssue - (*BodySchema)(nil), // 21: proto.BodySchema - (*BodyContent)(nil), // 22: proto.BodyContent - (*Expression)(nil), // 23: proto.Expression - (*Range)(nil), // 24: proto.Range - (*ErrorDetail)(nil), // 25: proto.ErrorDetail - (*GetName_Request)(nil), // 26: proto.GetName.Request - (*GetName_Response)(nil), // 27: proto.GetName.Response - (*GetVersion_Request)(nil), // 28: proto.GetVersion.Request - (*GetVersion_Response)(nil), // 29: proto.GetVersion.Response - (*GetVersionConstraint_Request)(nil), // 30: proto.GetVersionConstraint.Request - (*GetVersionConstraint_Response)(nil), // 31: proto.GetVersionConstraint.Response - (*GetSDKVersion_Request)(nil), // 32: proto.GetSDKVersion.Request - (*GetSDKVersion_Response)(nil), // 33: proto.GetSDKVersion.Response - (*GetRuleNames_Request)(nil), // 34: proto.GetRuleNames.Request - (*GetRuleNames_Response)(nil), // 35: proto.GetRuleNames.Response - (*GetConfigSchema_Request)(nil), // 36: proto.GetConfigSchema.Request - (*GetConfigSchema_Response)(nil), // 37: proto.GetConfigSchema.Response - (*ApplyGlobalConfig_Config)(nil), // 38: proto.ApplyGlobalConfig.Config - (*ApplyGlobalConfig_RuleConfig)(nil), // 39: proto.ApplyGlobalConfig.RuleConfig - (*ApplyGlobalConfig_Request)(nil), // 40: proto.ApplyGlobalConfig.Request - (*ApplyGlobalConfig_Response)(nil), // 41: proto.ApplyGlobalConfig.Response - nil, // 42: proto.ApplyGlobalConfig.Config.RulesEntry - (*ApplyConfig_Request)(nil), // 43: proto.ApplyConfig.Request - (*ApplyConfig_Response)(nil), // 44: proto.ApplyConfig.Response - (*Check_Request)(nil), // 45: proto.Check.Request - (*Check_Response)(nil), // 46: proto.Check.Response - (*GetModulePath_Request)(nil), // 47: proto.GetModulePath.Request - (*GetModulePath_Response)(nil), // 48: proto.GetModulePath.Response - (*GetModuleContent_Hint)(nil), // 49: proto.GetModuleContent.Hint - (*GetModuleContent_Option)(nil), // 50: proto.GetModuleContent.Option - (*GetModuleContent_Request)(nil), // 51: proto.GetModuleContent.Request - (*GetModuleContent_Response)(nil), // 52: proto.GetModuleContent.Response - (*GetFile_Request)(nil), // 53: proto.GetFile.Request - (*GetFile_Response)(nil), // 54: proto.GetFile.Response - (*GetFiles_Request)(nil), // 55: proto.GetFiles.Request - (*GetFiles_Response)(nil), // 56: proto.GetFiles.Response - nil, // 57: proto.GetFiles.Response.FilesEntry - (*GetRuleConfigContent_Request)(nil), // 58: proto.GetRuleConfigContent.Request - (*GetRuleConfigContent_Response)(nil), // 59: proto.GetRuleConfigContent.Response - (*EvaluateExpr_Option)(nil), // 60: proto.EvaluateExpr.Option - (*EvaluateExpr_Request)(nil), // 61: proto.EvaluateExpr.Request - (*EvaluateExpr_Response)(nil), // 62: proto.EvaluateExpr.Response - (*EmitIssue_Rule)(nil), // 63: proto.EmitIssue.Rule - (*EmitIssue_Request)(nil), // 64: proto.EmitIssue.Request - (*EmitIssue_Response)(nil), // 65: proto.EmitIssue.Response - (*BodySchema_Attribute)(nil), // 66: proto.BodySchema.Attribute - (*BodySchema_Block)(nil), // 67: proto.BodySchema.Block - (*BodyContent_Attribute)(nil), // 68: proto.BodyContent.Attribute - (*BodyContent_Block)(nil), // 69: proto.BodyContent.Block - nil, // 70: proto.BodyContent.AttributesEntry - (*Range_Pos)(nil), // 71: proto.Range.Pos + (*GetOriginalwd)(nil), // 14: proto.GetOriginalwd + (*GetModulePath)(nil), // 15: proto.GetModulePath + (*GetModuleContent)(nil), // 16: proto.GetModuleContent + (*GetFile)(nil), // 17: proto.GetFile + (*GetFiles)(nil), // 18: proto.GetFiles + (*GetRuleConfigContent)(nil), // 19: proto.GetRuleConfigContent + (*EvaluateExpr)(nil), // 20: proto.EvaluateExpr + (*EmitIssue)(nil), // 21: proto.EmitIssue + (*BodySchema)(nil), // 22: proto.BodySchema + (*BodyContent)(nil), // 23: proto.BodyContent + (*Expression)(nil), // 24: proto.Expression + (*Range)(nil), // 25: proto.Range + (*ErrorDetail)(nil), // 26: proto.ErrorDetail + (*GetName_Request)(nil), // 27: proto.GetName.Request + (*GetName_Response)(nil), // 28: proto.GetName.Response + (*GetVersion_Request)(nil), // 29: proto.GetVersion.Request + (*GetVersion_Response)(nil), // 30: proto.GetVersion.Response + (*GetVersionConstraint_Request)(nil), // 31: proto.GetVersionConstraint.Request + (*GetVersionConstraint_Response)(nil), // 32: proto.GetVersionConstraint.Response + (*GetSDKVersion_Request)(nil), // 33: proto.GetSDKVersion.Request + (*GetSDKVersion_Response)(nil), // 34: proto.GetSDKVersion.Response + (*GetRuleNames_Request)(nil), // 35: proto.GetRuleNames.Request + (*GetRuleNames_Response)(nil), // 36: proto.GetRuleNames.Response + (*GetConfigSchema_Request)(nil), // 37: proto.GetConfigSchema.Request + (*GetConfigSchema_Response)(nil), // 38: proto.GetConfigSchema.Response + (*ApplyGlobalConfig_Config)(nil), // 39: proto.ApplyGlobalConfig.Config + (*ApplyGlobalConfig_RuleConfig)(nil), // 40: proto.ApplyGlobalConfig.RuleConfig + (*ApplyGlobalConfig_Request)(nil), // 41: proto.ApplyGlobalConfig.Request + (*ApplyGlobalConfig_Response)(nil), // 42: proto.ApplyGlobalConfig.Response + nil, // 43: proto.ApplyGlobalConfig.Config.RulesEntry + (*ApplyConfig_Request)(nil), // 44: proto.ApplyConfig.Request + (*ApplyConfig_Response)(nil), // 45: proto.ApplyConfig.Response + (*Check_Request)(nil), // 46: proto.Check.Request + (*Check_Response)(nil), // 47: proto.Check.Response + (*GetOriginalwd_Request)(nil), // 48: proto.GetOriginalwd.Request + (*GetOriginalwd_Response)(nil), // 49: proto.GetOriginalwd.Response + (*GetModulePath_Request)(nil), // 50: proto.GetModulePath.Request + (*GetModulePath_Response)(nil), // 51: proto.GetModulePath.Response + (*GetModuleContent_Hint)(nil), // 52: proto.GetModuleContent.Hint + (*GetModuleContent_Option)(nil), // 53: proto.GetModuleContent.Option + (*GetModuleContent_Request)(nil), // 54: proto.GetModuleContent.Request + (*GetModuleContent_Response)(nil), // 55: proto.GetModuleContent.Response + (*GetFile_Request)(nil), // 56: proto.GetFile.Request + (*GetFile_Response)(nil), // 57: proto.GetFile.Response + (*GetFiles_Request)(nil), // 58: proto.GetFiles.Request + (*GetFiles_Response)(nil), // 59: proto.GetFiles.Response + nil, // 60: proto.GetFiles.Response.FilesEntry + (*GetRuleConfigContent_Request)(nil), // 61: proto.GetRuleConfigContent.Request + (*GetRuleConfigContent_Response)(nil), // 62: proto.GetRuleConfigContent.Response + (*EvaluateExpr_Option)(nil), // 63: proto.EvaluateExpr.Option + (*EvaluateExpr_Request)(nil), // 64: proto.EvaluateExpr.Request + (*EvaluateExpr_Response)(nil), // 65: proto.EvaluateExpr.Response + (*EmitIssue_Rule)(nil), // 66: proto.EmitIssue.Rule + (*EmitIssue_Request)(nil), // 67: proto.EmitIssue.Request + (*EmitIssue_Response)(nil), // 68: proto.EmitIssue.Response + (*BodySchema_Attribute)(nil), // 69: proto.BodySchema.Attribute + (*BodySchema_Block)(nil), // 70: proto.BodySchema.Block + (*BodyContent_Attribute)(nil), // 71: proto.BodyContent.Attribute + (*BodyContent_Block)(nil), // 72: proto.BodyContent.Block + nil, // 73: proto.BodyContent.AttributesEntry + (*Range_Pos)(nil), // 74: proto.Range.Pos } var file_tflint_proto_depIdxs = []int32{ - 66, // 0: proto.BodySchema.attributes:type_name -> proto.BodySchema.Attribute - 67, // 1: proto.BodySchema.blocks:type_name -> proto.BodySchema.Block + 69, // 0: proto.BodySchema.attributes:type_name -> proto.BodySchema.Attribute + 70, // 1: proto.BodySchema.blocks:type_name -> proto.BodySchema.Block 1, // 2: proto.BodySchema.Mode:type_name -> proto.SchemaMode - 70, // 3: proto.BodyContent.attributes:type_name -> proto.BodyContent.AttributesEntry - 69, // 4: proto.BodyContent.blocks:type_name -> proto.BodyContent.Block - 24, // 5: proto.Expression.range:type_name -> proto.Range - 71, // 6: proto.Range.start:type_name -> proto.Range.Pos - 71, // 7: proto.Range.end:type_name -> proto.Range.Pos + 73, // 3: proto.BodyContent.attributes:type_name -> proto.BodyContent.AttributesEntry + 72, // 4: proto.BodyContent.blocks:type_name -> proto.BodyContent.Block + 25, // 5: proto.Expression.range:type_name -> proto.Range + 74, // 6: proto.Range.start:type_name -> proto.Range.Pos + 74, // 7: proto.Range.end:type_name -> proto.Range.Pos 2, // 8: proto.ErrorDetail.code:type_name -> proto.ErrorCode - 21, // 9: proto.GetConfigSchema.Response.schema:type_name -> proto.BodySchema - 42, // 10: proto.ApplyGlobalConfig.Config.rules:type_name -> proto.ApplyGlobalConfig.Config.RulesEntry - 38, // 11: proto.ApplyGlobalConfig.Request.config:type_name -> proto.ApplyGlobalConfig.Config - 39, // 12: proto.ApplyGlobalConfig.Config.RulesEntry.value:type_name -> proto.ApplyGlobalConfig.RuleConfig - 22, // 13: proto.ApplyConfig.Request.content:type_name -> proto.BodyContent + 22, // 9: proto.GetConfigSchema.Response.schema:type_name -> proto.BodySchema + 43, // 10: proto.ApplyGlobalConfig.Config.rules:type_name -> proto.ApplyGlobalConfig.Config.RulesEntry + 39, // 11: proto.ApplyGlobalConfig.Request.config:type_name -> proto.ApplyGlobalConfig.Config + 40, // 12: proto.ApplyGlobalConfig.Config.RulesEntry.value:type_name -> proto.ApplyGlobalConfig.RuleConfig + 23, // 13: proto.ApplyConfig.Request.content:type_name -> proto.BodyContent 0, // 14: proto.GetModuleContent.Option.module_ctx:type_name -> proto.ModuleCtxType - 49, // 15: proto.GetModuleContent.Option.hint:type_name -> proto.GetModuleContent.Hint + 52, // 15: proto.GetModuleContent.Option.hint:type_name -> proto.GetModuleContent.Hint 3, // 16: proto.GetModuleContent.Option.expand_mode:type_name -> proto.GetModuleContent.ExpandMode - 21, // 17: proto.GetModuleContent.Request.schema:type_name -> proto.BodySchema - 50, // 18: proto.GetModuleContent.Request.option:type_name -> proto.GetModuleContent.Option - 22, // 19: proto.GetModuleContent.Response.content:type_name -> proto.BodyContent - 57, // 20: proto.GetFiles.Response.files:type_name -> proto.GetFiles.Response.FilesEntry - 21, // 21: proto.GetRuleConfigContent.Request.schema:type_name -> proto.BodySchema - 22, // 22: proto.GetRuleConfigContent.Response.content:type_name -> proto.BodyContent + 22, // 17: proto.GetModuleContent.Request.schema:type_name -> proto.BodySchema + 53, // 18: proto.GetModuleContent.Request.option:type_name -> proto.GetModuleContent.Option + 23, // 19: proto.GetModuleContent.Response.content:type_name -> proto.BodyContent + 60, // 20: proto.GetFiles.Response.files:type_name -> proto.GetFiles.Response.FilesEntry + 22, // 21: proto.GetRuleConfigContent.Request.schema:type_name -> proto.BodySchema + 23, // 22: proto.GetRuleConfigContent.Response.content:type_name -> proto.BodyContent 0, // 23: proto.EvaluateExpr.Option.module_ctx:type_name -> proto.ModuleCtxType - 24, // 24: proto.EvaluateExpr.Request.expr_range:type_name -> proto.Range - 60, // 25: proto.EvaluateExpr.Request.option:type_name -> proto.EvaluateExpr.Option - 23, // 26: proto.EvaluateExpr.Request.expression:type_name -> proto.Expression + 25, // 24: proto.EvaluateExpr.Request.expr_range:type_name -> proto.Range + 63, // 25: proto.EvaluateExpr.Request.option:type_name -> proto.EvaluateExpr.Option + 24, // 26: proto.EvaluateExpr.Request.expression:type_name -> proto.Expression 4, // 27: proto.EmitIssue.Rule.severity:type_name -> proto.EmitIssue.Severity - 63, // 28: proto.EmitIssue.Request.rule:type_name -> proto.EmitIssue.Rule - 24, // 29: proto.EmitIssue.Request.range:type_name -> proto.Range - 21, // 30: proto.BodySchema.Block.body:type_name -> proto.BodySchema - 24, // 31: proto.BodyContent.Attribute.expr_range:type_name -> proto.Range - 24, // 32: proto.BodyContent.Attribute.range:type_name -> proto.Range - 24, // 33: proto.BodyContent.Attribute.name_range:type_name -> proto.Range - 23, // 34: proto.BodyContent.Attribute.expression:type_name -> proto.Expression - 22, // 35: proto.BodyContent.Block.body:type_name -> proto.BodyContent - 24, // 36: proto.BodyContent.Block.def_range:type_name -> proto.Range - 24, // 37: proto.BodyContent.Block.type_range:type_name -> proto.Range - 24, // 38: proto.BodyContent.Block.label_ranges:type_name -> proto.Range - 68, // 39: proto.BodyContent.AttributesEntry.value:type_name -> proto.BodyContent.Attribute - 26, // 40: proto.RuleSet.GetName:input_type -> proto.GetName.Request - 28, // 41: proto.RuleSet.GetVersion:input_type -> proto.GetVersion.Request - 30, // 42: proto.RuleSet.GetVersionConstraint:input_type -> proto.GetVersionConstraint.Request - 32, // 43: proto.RuleSet.GetSDKVersion:input_type -> proto.GetSDKVersion.Request - 34, // 44: proto.RuleSet.GetRuleNames:input_type -> proto.GetRuleNames.Request - 36, // 45: proto.RuleSet.GetConfigSchema:input_type -> proto.GetConfigSchema.Request - 40, // 46: proto.RuleSet.ApplyGlobalConfig:input_type -> proto.ApplyGlobalConfig.Request - 43, // 47: proto.RuleSet.ApplyConfig:input_type -> proto.ApplyConfig.Request - 45, // 48: proto.RuleSet.Check:input_type -> proto.Check.Request - 47, // 49: proto.Runner.GetModulePath:input_type -> proto.GetModulePath.Request - 51, // 50: proto.Runner.GetModuleContent:input_type -> proto.GetModuleContent.Request - 53, // 51: proto.Runner.GetFile:input_type -> proto.GetFile.Request - 55, // 52: proto.Runner.GetFiles:input_type -> proto.GetFiles.Request - 58, // 53: proto.Runner.GetRuleConfigContent:input_type -> proto.GetRuleConfigContent.Request - 61, // 54: proto.Runner.EvaluateExpr:input_type -> proto.EvaluateExpr.Request - 64, // 55: proto.Runner.EmitIssue:input_type -> proto.EmitIssue.Request - 27, // 56: proto.RuleSet.GetName:output_type -> proto.GetName.Response - 29, // 57: proto.RuleSet.GetVersion:output_type -> proto.GetVersion.Response - 31, // 58: proto.RuleSet.GetVersionConstraint:output_type -> proto.GetVersionConstraint.Response - 33, // 59: proto.RuleSet.GetSDKVersion:output_type -> proto.GetSDKVersion.Response - 35, // 60: proto.RuleSet.GetRuleNames:output_type -> proto.GetRuleNames.Response - 37, // 61: proto.RuleSet.GetConfigSchema:output_type -> proto.GetConfigSchema.Response - 41, // 62: proto.RuleSet.ApplyGlobalConfig:output_type -> proto.ApplyGlobalConfig.Response - 44, // 63: proto.RuleSet.ApplyConfig:output_type -> proto.ApplyConfig.Response - 46, // 64: proto.RuleSet.Check:output_type -> proto.Check.Response - 48, // 65: proto.Runner.GetModulePath:output_type -> proto.GetModulePath.Response - 52, // 66: proto.Runner.GetModuleContent:output_type -> proto.GetModuleContent.Response - 54, // 67: proto.Runner.GetFile:output_type -> proto.GetFile.Response - 56, // 68: proto.Runner.GetFiles:output_type -> proto.GetFiles.Response - 59, // 69: proto.Runner.GetRuleConfigContent:output_type -> proto.GetRuleConfigContent.Response - 62, // 70: proto.Runner.EvaluateExpr:output_type -> proto.EvaluateExpr.Response - 65, // 71: proto.Runner.EmitIssue:output_type -> proto.EmitIssue.Response - 56, // [56:72] is the sub-list for method output_type - 40, // [40:56] is the sub-list for method input_type + 66, // 28: proto.EmitIssue.Request.rule:type_name -> proto.EmitIssue.Rule + 25, // 29: proto.EmitIssue.Request.range:type_name -> proto.Range + 22, // 30: proto.BodySchema.Block.body:type_name -> proto.BodySchema + 25, // 31: proto.BodyContent.Attribute.expr_range:type_name -> proto.Range + 25, // 32: proto.BodyContent.Attribute.range:type_name -> proto.Range + 25, // 33: proto.BodyContent.Attribute.name_range:type_name -> proto.Range + 24, // 34: proto.BodyContent.Attribute.expression:type_name -> proto.Expression + 23, // 35: proto.BodyContent.Block.body:type_name -> proto.BodyContent + 25, // 36: proto.BodyContent.Block.def_range:type_name -> proto.Range + 25, // 37: proto.BodyContent.Block.type_range:type_name -> proto.Range + 25, // 38: proto.BodyContent.Block.label_ranges:type_name -> proto.Range + 71, // 39: proto.BodyContent.AttributesEntry.value:type_name -> proto.BodyContent.Attribute + 27, // 40: proto.RuleSet.GetName:input_type -> proto.GetName.Request + 29, // 41: proto.RuleSet.GetVersion:input_type -> proto.GetVersion.Request + 31, // 42: proto.RuleSet.GetVersionConstraint:input_type -> proto.GetVersionConstraint.Request + 33, // 43: proto.RuleSet.GetSDKVersion:input_type -> proto.GetSDKVersion.Request + 35, // 44: proto.RuleSet.GetRuleNames:input_type -> proto.GetRuleNames.Request + 37, // 45: proto.RuleSet.GetConfigSchema:input_type -> proto.GetConfigSchema.Request + 41, // 46: proto.RuleSet.ApplyGlobalConfig:input_type -> proto.ApplyGlobalConfig.Request + 44, // 47: proto.RuleSet.ApplyConfig:input_type -> proto.ApplyConfig.Request + 46, // 48: proto.RuleSet.Check:input_type -> proto.Check.Request + 48, // 49: proto.Runner.GetOriginalwd:input_type -> proto.GetOriginalwd.Request + 50, // 50: proto.Runner.GetModulePath:input_type -> proto.GetModulePath.Request + 54, // 51: proto.Runner.GetModuleContent:input_type -> proto.GetModuleContent.Request + 56, // 52: proto.Runner.GetFile:input_type -> proto.GetFile.Request + 58, // 53: proto.Runner.GetFiles:input_type -> proto.GetFiles.Request + 61, // 54: proto.Runner.GetRuleConfigContent:input_type -> proto.GetRuleConfigContent.Request + 64, // 55: proto.Runner.EvaluateExpr:input_type -> proto.EvaluateExpr.Request + 67, // 56: proto.Runner.EmitIssue:input_type -> proto.EmitIssue.Request + 28, // 57: proto.RuleSet.GetName:output_type -> proto.GetName.Response + 30, // 58: proto.RuleSet.GetVersion:output_type -> proto.GetVersion.Response + 32, // 59: proto.RuleSet.GetVersionConstraint:output_type -> proto.GetVersionConstraint.Response + 34, // 60: proto.RuleSet.GetSDKVersion:output_type -> proto.GetSDKVersion.Response + 36, // 61: proto.RuleSet.GetRuleNames:output_type -> proto.GetRuleNames.Response + 38, // 62: proto.RuleSet.GetConfigSchema:output_type -> proto.GetConfigSchema.Response + 42, // 63: proto.RuleSet.ApplyGlobalConfig:output_type -> proto.ApplyGlobalConfig.Response + 45, // 64: proto.RuleSet.ApplyConfig:output_type -> proto.ApplyConfig.Response + 47, // 65: proto.RuleSet.Check:output_type -> proto.Check.Response + 49, // 66: proto.Runner.GetOriginalwd:output_type -> proto.GetOriginalwd.Response + 51, // 67: proto.Runner.GetModulePath:output_type -> proto.GetModulePath.Response + 55, // 68: proto.Runner.GetModuleContent:output_type -> proto.GetModuleContent.Response + 57, // 69: proto.Runner.GetFile:output_type -> proto.GetFile.Response + 59, // 70: proto.Runner.GetFiles:output_type -> proto.GetFiles.Response + 62, // 71: proto.Runner.GetRuleConfigContent:output_type -> proto.GetRuleConfigContent.Response + 65, // 72: proto.Runner.EvaluateExpr:output_type -> proto.EvaluateExpr.Response + 68, // 73: proto.Runner.EmitIssue:output_type -> proto.EmitIssue.Response + 57, // [57:74] is the sub-list for method output_type + 40, // [40:57] is the sub-list for method input_type 40, // [40:40] is the sub-list for extension type_name 40, // [40:40] is the sub-list for extension extendee 0, // [0:40] is the sub-list for field type_name @@ -4005,7 +4142,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModulePath); i { + switch v := v.(*GetOriginalwd); i { case 0: return &v.state case 1: @@ -4017,7 +4154,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModuleContent); i { + switch v := v.(*GetModulePath); i { case 0: return &v.state case 1: @@ -4029,7 +4166,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFile); i { + switch v := v.(*GetModuleContent); i { case 0: return &v.state case 1: @@ -4041,7 +4178,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFiles); i { + switch v := v.(*GetFile); i { case 0: return &v.state case 1: @@ -4053,7 +4190,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleConfigContent); i { + switch v := v.(*GetFiles); i { case 0: return &v.state case 1: @@ -4065,7 +4202,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EvaluateExpr); i { + switch v := v.(*GetRuleConfigContent); i { case 0: return &v.state case 1: @@ -4077,7 +4214,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmitIssue); i { + switch v := v.(*EvaluateExpr); i { case 0: return &v.state case 1: @@ -4089,7 +4226,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BodySchema); i { + switch v := v.(*EmitIssue); i { case 0: return &v.state case 1: @@ -4101,7 +4238,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BodyContent); i { + switch v := v.(*BodySchema); i { case 0: return &v.state case 1: @@ -4113,7 +4250,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Expression); i { + switch v := v.(*BodyContent); i { case 0: return &v.state case 1: @@ -4125,7 +4262,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Range); i { + switch v := v.(*Expression); i { case 0: return &v.state case 1: @@ -4137,7 +4274,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorDetail); i { + switch v := v.(*Range); i { case 0: return &v.state case 1: @@ -4149,7 +4286,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetName_Request); i { + switch v := v.(*ErrorDetail); i { case 0: return &v.state case 1: @@ -4161,7 +4298,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetName_Response); i { + switch v := v.(*GetName_Request); i { case 0: return &v.state case 1: @@ -4173,7 +4310,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersion_Request); i { + switch v := v.(*GetName_Response); i { case 0: return &v.state case 1: @@ -4185,7 +4322,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[24].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersion_Response); i { + switch v := v.(*GetVersion_Request); i { case 0: return &v.state case 1: @@ -4197,7 +4334,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersionConstraint_Request); i { + switch v := v.(*GetVersion_Response); i { case 0: return &v.state case 1: @@ -4209,7 +4346,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetVersionConstraint_Response); i { + switch v := v.(*GetVersionConstraint_Request); i { case 0: return &v.state case 1: @@ -4221,7 +4358,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSDKVersion_Request); i { + switch v := v.(*GetVersionConstraint_Response); i { case 0: return &v.state case 1: @@ -4233,7 +4370,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetSDKVersion_Response); i { + switch v := v.(*GetSDKVersion_Request); i { case 0: return &v.state case 1: @@ -4245,7 +4382,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleNames_Request); i { + switch v := v.(*GetSDKVersion_Response); i { case 0: return &v.state case 1: @@ -4257,7 +4394,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleNames_Response); i { + switch v := v.(*GetRuleNames_Request); i { case 0: return &v.state case 1: @@ -4269,7 +4406,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigSchema_Request); i { + switch v := v.(*GetRuleNames_Response); i { case 0: return &v.state case 1: @@ -4281,7 +4418,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigSchema_Response); i { + switch v := v.(*GetConfigSchema_Request); i { case 0: return &v.state case 1: @@ -4293,7 +4430,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_Config); i { + switch v := v.(*GetConfigSchema_Response); i { case 0: return &v.state case 1: @@ -4305,7 +4442,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_RuleConfig); i { + switch v := v.(*ApplyGlobalConfig_Config); i { case 0: return &v.state case 1: @@ -4317,7 +4454,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_Request); i { + switch v := v.(*ApplyGlobalConfig_RuleConfig); i { case 0: return &v.state case 1: @@ -4329,6 +4466,18 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGlobalConfig_Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tflint_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyGlobalConfig_Response); i { case 0: return &v.state @@ -4340,7 +4489,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyConfig_Request); i { case 0: return &v.state @@ -4352,7 +4501,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyConfig_Response); i { case 0: return &v.state @@ -4364,7 +4513,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Check_Request); i { case 0: return &v.state @@ -4376,7 +4525,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Check_Response); i { case 0: return &v.state @@ -4388,7 +4537,31 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOriginalwd_Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tflint_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*GetOriginalwd_Response); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tflint_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModulePath_Request); i { case 0: return &v.state @@ -4400,7 +4573,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModulePath_Response); i { case 0: return &v.state @@ -4412,7 +4585,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Hint); i { case 0: return &v.state @@ -4424,7 +4597,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Option); i { case 0: return &v.state @@ -4436,7 +4609,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[46].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Request); i { case 0: return &v.state @@ -4448,7 +4621,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[47].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Response); i { case 0: return &v.state @@ -4460,7 +4633,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[48].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetFile_Request); i { case 0: return &v.state @@ -4472,7 +4645,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[49].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetFile_Response); i { case 0: return &v.state @@ -4484,7 +4657,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[50].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetFiles_Request); i { case 0: return &v.state @@ -4496,7 +4669,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[51].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetFiles_Response); i { case 0: return &v.state @@ -4508,7 +4681,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[53].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRuleConfigContent_Request); i { case 0: return &v.state @@ -4520,7 +4693,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[54].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetRuleConfigContent_Response); i { case 0: return &v.state @@ -4532,7 +4705,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvaluateExpr_Option); i { case 0: return &v.state @@ -4544,7 +4717,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[56].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvaluateExpr_Request); i { case 0: return &v.state @@ -4556,7 +4729,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[57].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvaluateExpr_Response); i { case 0: return &v.state @@ -4568,7 +4741,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[58].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EmitIssue_Rule); i { case 0: return &v.state @@ -4580,7 +4753,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[59].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EmitIssue_Request); i { case 0: return &v.state @@ -4592,7 +4765,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[60].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EmitIssue_Response); i { case 0: return &v.state @@ -4604,7 +4777,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[61].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BodySchema_Attribute); i { case 0: return &v.state @@ -4616,7 +4789,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[62].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[65].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BodySchema_Block); i { case 0: return &v.state @@ -4628,7 +4801,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[63].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BodyContent_Attribute); i { case 0: return &v.state @@ -4640,7 +4813,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[64].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[67].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*BodyContent_Block); i { case 0: return &v.state @@ -4652,7 +4825,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[66].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[69].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Range_Pos); i { case 0: return &v.state @@ -4671,7 +4844,7 @@ func file_tflint_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_tflint_proto_rawDesc, NumEnums: 5, - NumMessages: 67, + NumMessages: 70, NumExtensions: 0, NumServices: 2, }, diff --git a/plugin/proto/tflint.proto b/plugin/proto/tflint.proto index 6d4fc6d..7741383 100644 --- a/plugin/proto/tflint.proto +++ b/plugin/proto/tflint.proto @@ -89,6 +89,7 @@ message Check { } service Runner { + rpc GetOriginalwd(GetOriginalwd.Request) returns (GetOriginalwd.Response); rpc GetModulePath(GetModulePath.Request) returns (GetModulePath.Response); rpc GetModuleContent(GetModuleContent.Request) returns (GetModuleContent.Response); rpc GetFile(GetFile.Request) returns (GetFile.Response); @@ -104,6 +105,13 @@ enum ModuleCtxType { MODULE_CTX_TYPE_ROOT = 2; } +message GetOriginalwd { + message Request {} + message Response { + string path = 1; + } +} + message GetModulePath { message Request {} message Response { diff --git a/plugin/proto/tflint_grpc.pb.go b/plugin/proto/tflint_grpc.pb.go index f891df6..04f6711 100644 --- a/plugin/proto/tflint_grpc.pb.go +++ b/plugin/proto/tflint_grpc.pb.go @@ -1,7 +1,7 @@ // Code generated by protoc-gen-go-grpc. DO NOT EDIT. // versions: // - protoc-gen-go-grpc v1.2.0 -// - protoc v3.6.1 +// - protoc v3.20.3 // source: tflint.proto package proto @@ -396,6 +396,7 @@ var RuleSet_ServiceDesc = grpc.ServiceDesc{ // // For semantics around ctx use and closing/ending streaming RPCs, please refer to https://pkg.go.dev/google.golang.org/grpc/?tab=doc#ClientConn.NewStream. type RunnerClient interface { + GetOriginalwd(ctx context.Context, in *GetOriginalwd_Request, opts ...grpc.CallOption) (*GetOriginalwd_Response, error) GetModulePath(ctx context.Context, in *GetModulePath_Request, opts ...grpc.CallOption) (*GetModulePath_Response, error) GetModuleContent(ctx context.Context, in *GetModuleContent_Request, opts ...grpc.CallOption) (*GetModuleContent_Response, error) GetFile(ctx context.Context, in *GetFile_Request, opts ...grpc.CallOption) (*GetFile_Response, error) @@ -413,6 +414,15 @@ func NewRunnerClient(cc grpc.ClientConnInterface) RunnerClient { return &runnerClient{cc} } +func (c *runnerClient) GetOriginalwd(ctx context.Context, in *GetOriginalwd_Request, opts ...grpc.CallOption) (*GetOriginalwd_Response, error) { + out := new(GetOriginalwd_Response) + err := c.cc.Invoke(ctx, "/proto.Runner/GetOriginalwd", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *runnerClient) GetModulePath(ctx context.Context, in *GetModulePath_Request, opts ...grpc.CallOption) (*GetModulePath_Response, error) { out := new(GetModulePath_Response) err := c.cc.Invoke(ctx, "/proto.Runner/GetModulePath", in, out, opts...) @@ -480,6 +490,7 @@ func (c *runnerClient) EmitIssue(ctx context.Context, in *EmitIssue_Request, opt // All implementations must embed UnimplementedRunnerServer // for forward compatibility type RunnerServer interface { + GetOriginalwd(context.Context, *GetOriginalwd_Request) (*GetOriginalwd_Response, error) GetModulePath(context.Context, *GetModulePath_Request) (*GetModulePath_Response, error) GetModuleContent(context.Context, *GetModuleContent_Request) (*GetModuleContent_Response, error) GetFile(context.Context, *GetFile_Request) (*GetFile_Response, error) @@ -494,6 +505,9 @@ type RunnerServer interface { type UnimplementedRunnerServer struct { } +func (UnimplementedRunnerServer) GetOriginalwd(context.Context, *GetOriginalwd_Request) (*GetOriginalwd_Response, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetOriginalwd not implemented") +} func (UnimplementedRunnerServer) GetModulePath(context.Context, *GetModulePath_Request) (*GetModulePath_Response, error) { return nil, status.Errorf(codes.Unimplemented, "method GetModulePath not implemented") } @@ -528,6 +542,24 @@ func RegisterRunnerServer(s grpc.ServiceRegistrar, srv RunnerServer) { s.RegisterService(&Runner_ServiceDesc, srv) } +func _Runner_GetOriginalwd_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetOriginalwd_Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RunnerServer).GetOriginalwd(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/proto.Runner/GetOriginalwd", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RunnerServer).GetOriginalwd(ctx, req.(*GetOriginalwd_Request)) + } + return interceptor(ctx, in, info, handler) +} + func _Runner_GetModulePath_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetModulePath_Request) if err := dec(in); err != nil { @@ -661,6 +693,10 @@ var Runner_ServiceDesc = grpc.ServiceDesc{ ServiceName: "proto.Runner", HandlerType: (*RunnerServer)(nil), Methods: []grpc.MethodDesc{ + { + MethodName: "GetOriginalwd", + Handler: _Runner_GetOriginalwd_Handler, + }, { MethodName: "GetModulePath", Handler: _Runner_GetModulePath_Handler, diff --git a/tflint/interface.go b/tflint/interface.go index 366cdcc..a93bcfa 100644 --- a/tflint/interface.go +++ b/tflint/interface.go @@ -75,6 +75,11 @@ type RuleSet interface { // Runner acts as a client for each plugin to query the host process about the Terraform configurations. // The actual implementation can be found in plugin/plugin2host.GRPCClient. type Runner interface { + // GetOriginalwd returns the original working directory. + // Normally this is equal to os.Getwd(), but differs if --chdir or --recursive is used. + // If you need the absolute path of the file, joining with the original working directory is appropriate. + GetOriginalwd() (string, error) + // GetModulePath returns the current module path address. GetModulePath() (addrs.Module, error)