From aa3ee62e24f94b1fd5be85ec6caa1fdece46a04d Mon Sep 17 00:00:00 2001 From: Kazuma Watanabe Date: Fri, 7 Oct 2022 14:51:23 +0000 Subject: [PATCH] Add SDKVersion --- plugin/host2plugin/client.go | 9 + plugin/host2plugin/host2plugin_test.go | 13 + plugin/host2plugin/plugin.go | 3 + plugin/host2plugin/server.go | 5 + plugin/proto/tflint.pb.go | 1361 +++++++++++++----------- plugin/proto/tflint.proto | 8 + plugin/proto/tflint_grpc.pb.go | 36 + 7 files changed, 841 insertions(+), 594 deletions(-) diff --git a/plugin/host2plugin/client.go b/plugin/host2plugin/client.go index 52fa2e0..6170866 100644 --- a/plugin/host2plugin/client.go +++ b/plugin/host2plugin/client.go @@ -81,6 +81,15 @@ func (c *GRPCClient) VersionConstraints() (version.Constraints, error) { return version.NewConstraint(resp.Constraint) } +// SDKVersion returns the SDK version. +func (c *GRPCClient) SDKVersion() (*version.Version, error) { + resp, err := c.client.GetSDKVersion(context.Background(), &proto.GetSDKVersion_Request{}) + if err != nil { + return nil, fromproto.Error(err) + } + return version.NewVersion(resp.Version) +} + // ConfigSchema fetches the config schema from a plugin. func (c *GRPCClient) ConfigSchema() (*hclext.BodySchema, error) { resp, err := c.client.GetConfigSchema(context.Background(), &proto.GetConfigSchema_Request{}) diff --git a/plugin/host2plugin/host2plugin_test.go b/plugin/host2plugin/host2plugin_test.go index 645c828..3bf7d90 100644 --- a/plugin/host2plugin/host2plugin_test.go +++ b/plugin/host2plugin/host2plugin_test.go @@ -254,6 +254,19 @@ func TestVersionConstraints(t *testing.T) { } } +func TestSDKVersion(t *testing.T) { + client := startTestGRPCPluginServer(t, newMockRuleSet("test_ruleset", "0.1.0", mockRuleSetImpl{})) + + got, err := client.SDKVersion() + if err != nil { + t.Fatalf("failed to call SDKVersion: %s", err) + } + + if got.String() != SDKVersion { + t.Errorf("want: %s, got: %s", SDKVersion, got) + } +} + func TestConfigSchema(t *testing.T) { // default error check helper neverHappend := func(err error) bool { return err != nil } diff --git a/plugin/host2plugin/plugin.go b/plugin/host2plugin/plugin.go index 9ab06d8..8d3d727 100644 --- a/plugin/host2plugin/plugin.go +++ b/plugin/host2plugin/plugin.go @@ -9,6 +9,9 @@ import ( "google.golang.org/grpc" ) +// SDKVersion is the SDK version. +const SDKVersion = "0.13.0" + // handShakeConfig is used for UX. ProcotolVersion will be updated by incompatible changes. var handshakeConfig = plugin.HandshakeConfig{ ProtocolVersion: 11, diff --git a/plugin/host2plugin/server.go b/plugin/host2plugin/server.go index 9a5832e..6eee98c 100644 --- a/plugin/host2plugin/server.go +++ b/plugin/host2plugin/server.go @@ -68,6 +68,11 @@ func (s *GRPCServer) GetVersionConstraint(ctx context.Context, req *proto.GetVer return &proto.GetVersionConstraint_Response{Constraint: s.impl.VersionConstraint()}, nil } +// GetSDKVersion returns the SDK version. +func (s *GRPCServer) GetSDKVersion(ctx context.Context, req *proto.GetSDKVersion_Request) (*proto.GetSDKVersion_Response, error) { + return &proto.GetSDKVersion_Response{Version: SDKVersion}, nil +} + // GetConfigSchema returns the config schema of the plugin. func (s *GRPCServer) GetConfigSchema(ctx context.Context, req *proto.GetConfigSchema_Request) (*proto.GetConfigSchema_Response, error) { return &proto.GetConfigSchema_Response{Schema: toproto.BodySchema(s.impl.ConfigSchema())}, nil diff --git a/plugin/proto/tflint.pb.go b/plugin/proto/tflint.pb.go index 15cb8f7..704f07f 100644 --- a/plugin/proto/tflint.pb.go +++ b/plugin/proto/tflint.pb.go @@ -222,7 +222,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{14, 0} + return file_tflint_proto_rawDescGZIP(), []int{15, 0} } type GetName struct { @@ -339,6 +339,44 @@ func (*GetVersionConstraint) Descriptor() ([]byte, []int) { return file_tflint_proto_rawDescGZIP(), []int{2} } +type GetSDKVersion struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetSDKVersion) Reset() { + *x = GetSDKVersion{} + if protoimpl.UnsafeEnabled { + mi := &file_tflint_proto_msgTypes[3] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSDKVersion) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSDKVersion) ProtoMessage() {} + +func (x *GetSDKVersion) ProtoReflect() protoreflect.Message { + mi := &file_tflint_proto_msgTypes[3] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSDKVersion.ProtoReflect.Descriptor instead. +func (*GetSDKVersion) Descriptor() ([]byte, []int) { + return file_tflint_proto_rawDescGZIP(), []int{3} +} + type GetRuleNames struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -348,7 +386,7 @@ type GetRuleNames struct { func (x *GetRuleNames) Reset() { *x = GetRuleNames{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[3] + mi := &file_tflint_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -361,7 +399,7 @@ func (x *GetRuleNames) String() string { func (*GetRuleNames) ProtoMessage() {} func (x *GetRuleNames) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[3] + mi := &file_tflint_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -374,7 +412,7 @@ func (x *GetRuleNames) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleNames.ProtoReflect.Descriptor instead. func (*GetRuleNames) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{3} + return file_tflint_proto_rawDescGZIP(), []int{4} } type GetConfigSchema struct { @@ -386,7 +424,7 @@ type GetConfigSchema struct { func (x *GetConfigSchema) Reset() { *x = GetConfigSchema{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[4] + mi := &file_tflint_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -399,7 +437,7 @@ func (x *GetConfigSchema) String() string { func (*GetConfigSchema) ProtoMessage() {} func (x *GetConfigSchema) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[4] + mi := &file_tflint_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -412,7 +450,7 @@ func (x *GetConfigSchema) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSchema.ProtoReflect.Descriptor instead. func (*GetConfigSchema) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{4} + return file_tflint_proto_rawDescGZIP(), []int{5} } type ApplyGlobalConfig struct { @@ -424,7 +462,7 @@ type ApplyGlobalConfig struct { func (x *ApplyGlobalConfig) Reset() { *x = ApplyGlobalConfig{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[5] + mi := &file_tflint_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -437,7 +475,7 @@ func (x *ApplyGlobalConfig) String() string { func (*ApplyGlobalConfig) ProtoMessage() {} func (x *ApplyGlobalConfig) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[5] + mi := &file_tflint_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -450,7 +488,7 @@ func (x *ApplyGlobalConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyGlobalConfig.ProtoReflect.Descriptor instead. func (*ApplyGlobalConfig) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{5} + return file_tflint_proto_rawDescGZIP(), []int{6} } type ApplyConfig struct { @@ -462,7 +500,7 @@ type ApplyConfig struct { func (x *ApplyConfig) Reset() { *x = ApplyConfig{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[6] + mi := &file_tflint_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -475,7 +513,7 @@ func (x *ApplyConfig) String() string { func (*ApplyConfig) ProtoMessage() {} func (x *ApplyConfig) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[6] + mi := &file_tflint_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -488,7 +526,7 @@ func (x *ApplyConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyConfig.ProtoReflect.Descriptor instead. func (*ApplyConfig) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{6} + return file_tflint_proto_rawDescGZIP(), []int{7} } type Check struct { @@ -500,7 +538,7 @@ type Check struct { func (x *Check) Reset() { *x = Check{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[7] + mi := &file_tflint_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -513,7 +551,7 @@ func (x *Check) String() string { func (*Check) ProtoMessage() {} func (x *Check) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[7] + mi := &file_tflint_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -526,7 +564,7 @@ func (x *Check) ProtoReflect() protoreflect.Message { // Deprecated: Use Check.ProtoReflect.Descriptor instead. func (*Check) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{7} + return file_tflint_proto_rawDescGZIP(), []int{8} } type GetModulePath struct { @@ -538,7 +576,7 @@ type GetModulePath struct { func (x *GetModulePath) Reset() { *x = GetModulePath{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[8] + mi := &file_tflint_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -551,7 +589,7 @@ func (x *GetModulePath) String() string { func (*GetModulePath) ProtoMessage() {} func (x *GetModulePath) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[8] + mi := &file_tflint_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -564,7 +602,7 @@ func (x *GetModulePath) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModulePath.ProtoReflect.Descriptor instead. func (*GetModulePath) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{8} + return file_tflint_proto_rawDescGZIP(), []int{9} } type GetModuleContent struct { @@ -576,7 +614,7 @@ type GetModuleContent struct { func (x *GetModuleContent) Reset() { *x = GetModuleContent{} 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) } @@ -589,7 +627,7 @@ func (x *GetModuleContent) String() string { func (*GetModuleContent) ProtoMessage() {} func (x *GetModuleContent) 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 { @@ -602,7 +640,7 @@ func (x *GetModuleContent) ProtoReflect() protoreflect.Message { // Deprecated: Use GetModuleContent.ProtoReflect.Descriptor instead. func (*GetModuleContent) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{9} + return file_tflint_proto_rawDescGZIP(), []int{10} } type GetFile struct { @@ -614,7 +652,7 @@ type GetFile struct { func (x *GetFile) Reset() { *x = GetFile{} 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) } @@ -627,7 +665,7 @@ func (x *GetFile) String() string { func (*GetFile) ProtoMessage() {} func (x *GetFile) 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 { @@ -640,7 +678,7 @@ func (x *GetFile) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFile.ProtoReflect.Descriptor instead. func (*GetFile) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{10} + return file_tflint_proto_rawDescGZIP(), []int{11} } type GetFiles struct { @@ -652,7 +690,7 @@ type GetFiles struct { func (x *GetFiles) Reset() { *x = GetFiles{} 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) } @@ -665,7 +703,7 @@ func (x *GetFiles) String() string { func (*GetFiles) ProtoMessage() {} func (x *GetFiles) 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 { @@ -678,7 +716,7 @@ func (x *GetFiles) ProtoReflect() protoreflect.Message { // Deprecated: Use GetFiles.ProtoReflect.Descriptor instead. func (*GetFiles) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{11} + return file_tflint_proto_rawDescGZIP(), []int{12} } type GetRuleConfigContent struct { @@ -690,7 +728,7 @@ type GetRuleConfigContent struct { func (x *GetRuleConfigContent) Reset() { *x = GetRuleConfigContent{} 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) } @@ -703,7 +741,7 @@ func (x *GetRuleConfigContent) String() string { func (*GetRuleConfigContent) ProtoMessage() {} func (x *GetRuleConfigContent) 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 { @@ -716,7 +754,7 @@ func (x *GetRuleConfigContent) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleConfigContent.ProtoReflect.Descriptor instead. func (*GetRuleConfigContent) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{12} + return file_tflint_proto_rawDescGZIP(), []int{13} } type EvaluateExpr struct { @@ -728,7 +766,7 @@ type EvaluateExpr struct { func (x *EvaluateExpr) Reset() { *x = EvaluateExpr{} 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) } @@ -741,7 +779,7 @@ func (x *EvaluateExpr) String() string { func (*EvaluateExpr) ProtoMessage() {} func (x *EvaluateExpr) 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 { @@ -754,7 +792,7 @@ func (x *EvaluateExpr) ProtoReflect() protoreflect.Message { // Deprecated: Use EvaluateExpr.ProtoReflect.Descriptor instead. func (*EvaluateExpr) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{13} + return file_tflint_proto_rawDescGZIP(), []int{14} } type EmitIssue struct { @@ -766,7 +804,7 @@ type EmitIssue struct { func (x *EmitIssue) Reset() { *x = EmitIssue{} 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) } @@ -779,7 +817,7 @@ func (x *EmitIssue) String() string { func (*EmitIssue) ProtoMessage() {} func (x *EmitIssue) 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 { @@ -792,7 +830,7 @@ func (x *EmitIssue) ProtoReflect() protoreflect.Message { // Deprecated: Use EmitIssue.ProtoReflect.Descriptor instead. func (*EmitIssue) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{14} + return file_tflint_proto_rawDescGZIP(), []int{15} } type BodySchema struct { @@ -808,7 +846,7 @@ type BodySchema struct { func (x *BodySchema) Reset() { *x = BodySchema{} 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) } @@ -821,7 +859,7 @@ func (x *BodySchema) String() string { func (*BodySchema) ProtoMessage() {} func (x *BodySchema) 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 { @@ -834,7 +872,7 @@ func (x *BodySchema) ProtoReflect() protoreflect.Message { // Deprecated: Use BodySchema.ProtoReflect.Descriptor instead. func (*BodySchema) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{15} + return file_tflint_proto_rawDescGZIP(), []int{16} } func (x *BodySchema) GetAttributes() []*BodySchema_Attribute { @@ -870,7 +908,7 @@ type BodyContent struct { func (x *BodyContent) Reset() { *x = BodyContent{} 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) } @@ -883,7 +921,7 @@ func (x *BodyContent) String() string { func (*BodyContent) ProtoMessage() {} func (x *BodyContent) 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 { @@ -896,7 +934,7 @@ func (x *BodyContent) ProtoReflect() protoreflect.Message { // Deprecated: Use BodyContent.ProtoReflect.Descriptor instead. func (*BodyContent) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{16} + return file_tflint_proto_rawDescGZIP(), []int{17} } func (x *BodyContent) GetAttributes() map[string]*BodyContent_Attribute { @@ -926,7 +964,7 @@ type Range struct { func (x *Range) Reset() { *x = Range{} 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) } @@ -939,7 +977,7 @@ func (x *Range) String() string { func (*Range) ProtoMessage() {} func (x *Range) 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 { @@ -952,7 +990,7 @@ func (x *Range) ProtoReflect() protoreflect.Message { // Deprecated: Use Range.ProtoReflect.Descriptor instead. func (*Range) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{17} + return file_tflint_proto_rawDescGZIP(), []int{18} } func (x *Range) GetFilename() string { @@ -988,7 +1026,7 @@ type ErrorDetail struct { func (x *ErrorDetail) Reset() { *x = ErrorDetail{} 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) } @@ -1001,7 +1039,7 @@ func (x *ErrorDetail) String() string { func (*ErrorDetail) ProtoMessage() {} func (x *ErrorDetail) 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 { @@ -1014,7 +1052,7 @@ func (x *ErrorDetail) ProtoReflect() protoreflect.Message { // Deprecated: Use ErrorDetail.ProtoReflect.Descriptor instead. func (*ErrorDetail) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{18} + return file_tflint_proto_rawDescGZIP(), []int{19} } func (x *ErrorDetail) GetCode() ErrorCode { @@ -1040,7 +1078,7 @@ type GetName_Request struct { func (x *GetName_Request) Reset() { *x = GetName_Request{} 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) } @@ -1053,7 +1091,7 @@ func (x *GetName_Request) String() string { func (*GetName_Request) ProtoMessage() {} func (x *GetName_Request) 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 { @@ -1080,7 +1118,7 @@ type GetName_Response struct { func (x *GetName_Response) Reset() { *x = GetName_Response{} 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) } @@ -1093,7 +1131,7 @@ func (x *GetName_Response) String() string { func (*GetName_Response) ProtoMessage() {} func (x *GetName_Response) 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 { @@ -1125,7 +1163,7 @@ type GetVersion_Request struct { func (x *GetVersion_Request) Reset() { *x = GetVersion_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) } @@ -1138,7 +1176,7 @@ func (x *GetVersion_Request) String() string { func (*GetVersion_Request) ProtoMessage() {} func (x *GetVersion_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 { @@ -1165,7 +1203,7 @@ type GetVersion_Response struct { func (x *GetVersion_Response) Reset() { *x = GetVersion_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) } @@ -1178,7 +1216,7 @@ func (x *GetVersion_Response) String() string { func (*GetVersion_Response) ProtoMessage() {} func (x *GetVersion_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 { @@ -1210,7 +1248,7 @@ type GetVersionConstraint_Request struct { func (x *GetVersionConstraint_Request) Reset() { *x = GetVersionConstraint_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) } @@ -1223,7 +1261,7 @@ func (x *GetVersionConstraint_Request) String() string { func (*GetVersionConstraint_Request) ProtoMessage() {} func (x *GetVersionConstraint_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 { @@ -1250,7 +1288,7 @@ type GetVersionConstraint_Response struct { func (x *GetVersionConstraint_Response) Reset() { *x = GetVersionConstraint_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) } @@ -1263,7 +1301,7 @@ func (x *GetVersionConstraint_Response) String() string { func (*GetVersionConstraint_Response) ProtoMessage() {} func (x *GetVersionConstraint_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 { @@ -1286,6 +1324,91 @@ func (x *GetVersionConstraint_Response) GetConstraint() string { return "" } +type GetSDKVersion_Request struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields +} + +func (x *GetSDKVersion_Request) Reset() { + *x = GetSDKVersion_Request{} + if protoimpl.UnsafeEnabled { + mi := &file_tflint_proto_msgTypes[26] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSDKVersion_Request) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSDKVersion_Request) ProtoMessage() {} + +func (x *GetSDKVersion_Request) ProtoReflect() protoreflect.Message { + mi := &file_tflint_proto_msgTypes[26] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSDKVersion_Request.ProtoReflect.Descriptor instead. +func (*GetSDKVersion_Request) Descriptor() ([]byte, []int) { + return file_tflint_proto_rawDescGZIP(), []int{3, 0} +} + +type GetSDKVersion_Response struct { + state protoimpl.MessageState + sizeCache protoimpl.SizeCache + unknownFields protoimpl.UnknownFields + + Version string `protobuf:"bytes,1,opt,name=version,proto3" json:"version,omitempty"` +} + +func (x *GetSDKVersion_Response) Reset() { + *x = GetSDKVersion_Response{} + if protoimpl.UnsafeEnabled { + mi := &file_tflint_proto_msgTypes[27] + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + ms.StoreMessageInfo(mi) + } +} + +func (x *GetSDKVersion_Response) String() string { + return protoimpl.X.MessageStringOf(x) +} + +func (*GetSDKVersion_Response) ProtoMessage() {} + +func (x *GetSDKVersion_Response) ProtoReflect() protoreflect.Message { + mi := &file_tflint_proto_msgTypes[27] + if protoimpl.UnsafeEnabled && x != nil { + ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) + if ms.LoadMessageInfo() == nil { + ms.StoreMessageInfo(mi) + } + return ms + } + return mi.MessageOf(x) +} + +// Deprecated: Use GetSDKVersion_Response.ProtoReflect.Descriptor instead. +func (*GetSDKVersion_Response) Descriptor() ([]byte, []int) { + return file_tflint_proto_rawDescGZIP(), []int{3, 1} +} + +func (x *GetSDKVersion_Response) GetVersion() string { + if x != nil { + return x.Version + } + return "" +} + type GetRuleNames_Request struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache @@ -1295,7 +1418,7 @@ type GetRuleNames_Request struct { func (x *GetRuleNames_Request) Reset() { *x = GetRuleNames_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[25] + mi := &file_tflint_proto_msgTypes[28] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1308,7 +1431,7 @@ func (x *GetRuleNames_Request) String() string { func (*GetRuleNames_Request) ProtoMessage() {} func (x *GetRuleNames_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[25] + mi := &file_tflint_proto_msgTypes[28] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1321,7 +1444,7 @@ func (x *GetRuleNames_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleNames_Request.ProtoReflect.Descriptor instead. func (*GetRuleNames_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{3, 0} + return file_tflint_proto_rawDescGZIP(), []int{4, 0} } type GetRuleNames_Response struct { @@ -1335,7 +1458,7 @@ type GetRuleNames_Response struct { func (x *GetRuleNames_Response) Reset() { *x = GetRuleNames_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[26] + mi := &file_tflint_proto_msgTypes[29] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1348,7 +1471,7 @@ func (x *GetRuleNames_Response) String() string { func (*GetRuleNames_Response) ProtoMessage() {} func (x *GetRuleNames_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[26] + mi := &file_tflint_proto_msgTypes[29] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1361,7 +1484,7 @@ func (x *GetRuleNames_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetRuleNames_Response.ProtoReflect.Descriptor instead. func (*GetRuleNames_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{3, 1} + return file_tflint_proto_rawDescGZIP(), []int{4, 1} } func (x *GetRuleNames_Response) GetNames() []string { @@ -1380,7 +1503,7 @@ type GetConfigSchema_Request struct { func (x *GetConfigSchema_Request) Reset() { *x = GetConfigSchema_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[27] + mi := &file_tflint_proto_msgTypes[30] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1393,7 +1516,7 @@ func (x *GetConfigSchema_Request) String() string { func (*GetConfigSchema_Request) ProtoMessage() {} func (x *GetConfigSchema_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[27] + mi := &file_tflint_proto_msgTypes[30] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1406,7 +1529,7 @@ func (x *GetConfigSchema_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSchema_Request.ProtoReflect.Descriptor instead. func (*GetConfigSchema_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{4, 0} + return file_tflint_proto_rawDescGZIP(), []int{5, 0} } type GetConfigSchema_Response struct { @@ -1420,7 +1543,7 @@ type GetConfigSchema_Response struct { func (x *GetConfigSchema_Response) Reset() { *x = GetConfigSchema_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[28] + mi := &file_tflint_proto_msgTypes[31] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1433,7 +1556,7 @@ func (x *GetConfigSchema_Response) String() string { func (*GetConfigSchema_Response) ProtoMessage() {} func (x *GetConfigSchema_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[28] + mi := &file_tflint_proto_msgTypes[31] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1446,7 +1569,7 @@ func (x *GetConfigSchema_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use GetConfigSchema_Response.ProtoReflect.Descriptor instead. func (*GetConfigSchema_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{4, 1} + return file_tflint_proto_rawDescGZIP(), []int{5, 1} } func (x *GetConfigSchema_Response) GetSchema() *BodySchema { @@ -1469,7 +1592,7 @@ type ApplyGlobalConfig_Config struct { func (x *ApplyGlobalConfig_Config) Reset() { *x = ApplyGlobalConfig_Config{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[29] + mi := &file_tflint_proto_msgTypes[32] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1482,7 +1605,7 @@ func (x *ApplyGlobalConfig_Config) String() string { func (*ApplyGlobalConfig_Config) ProtoMessage() {} func (x *ApplyGlobalConfig_Config) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[29] + mi := &file_tflint_proto_msgTypes[32] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1495,7 +1618,7 @@ func (x *ApplyGlobalConfig_Config) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyGlobalConfig_Config.ProtoReflect.Descriptor instead. func (*ApplyGlobalConfig_Config) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{5, 0} + return file_tflint_proto_rawDescGZIP(), []int{6, 0} } func (x *ApplyGlobalConfig_Config) GetRules() map[string]*ApplyGlobalConfig_RuleConfig { @@ -1531,7 +1654,7 @@ type ApplyGlobalConfig_RuleConfig struct { func (x *ApplyGlobalConfig_RuleConfig) Reset() { *x = ApplyGlobalConfig_RuleConfig{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[30] + mi := &file_tflint_proto_msgTypes[33] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1544,7 +1667,7 @@ func (x *ApplyGlobalConfig_RuleConfig) String() string { func (*ApplyGlobalConfig_RuleConfig) ProtoMessage() {} func (x *ApplyGlobalConfig_RuleConfig) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[30] + mi := &file_tflint_proto_msgTypes[33] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1557,7 +1680,7 @@ func (x *ApplyGlobalConfig_RuleConfig) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyGlobalConfig_RuleConfig.ProtoReflect.Descriptor instead. func (*ApplyGlobalConfig_RuleConfig) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{5, 1} + return file_tflint_proto_rawDescGZIP(), []int{6, 1} } func (x *ApplyGlobalConfig_RuleConfig) GetName() string { @@ -1585,7 +1708,7 @@ type ApplyGlobalConfig_Request struct { func (x *ApplyGlobalConfig_Request) Reset() { *x = ApplyGlobalConfig_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[31] + mi := &file_tflint_proto_msgTypes[34] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1598,7 +1721,7 @@ func (x *ApplyGlobalConfig_Request) String() string { func (*ApplyGlobalConfig_Request) ProtoMessage() {} func (x *ApplyGlobalConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[31] + mi := &file_tflint_proto_msgTypes[34] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1611,7 +1734,7 @@ func (x *ApplyGlobalConfig_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyGlobalConfig_Request.ProtoReflect.Descriptor instead. func (*ApplyGlobalConfig_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{5, 2} + return file_tflint_proto_rawDescGZIP(), []int{6, 2} } func (x *ApplyGlobalConfig_Request) GetConfig() *ApplyGlobalConfig_Config { @@ -1630,7 +1753,7 @@ type ApplyGlobalConfig_Response struct { func (x *ApplyGlobalConfig_Response) Reset() { *x = ApplyGlobalConfig_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[32] + mi := &file_tflint_proto_msgTypes[35] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1643,7 +1766,7 @@ func (x *ApplyGlobalConfig_Response) String() string { func (*ApplyGlobalConfig_Response) ProtoMessage() {} func (x *ApplyGlobalConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[32] + mi := &file_tflint_proto_msgTypes[35] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1656,7 +1779,7 @@ func (x *ApplyGlobalConfig_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyGlobalConfig_Response.ProtoReflect.Descriptor instead. func (*ApplyGlobalConfig_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{5, 3} + return file_tflint_proto_rawDescGZIP(), []int{6, 3} } type ApplyConfig_Request struct { @@ -1670,7 +1793,7 @@ type ApplyConfig_Request struct { func (x *ApplyConfig_Request) Reset() { *x = ApplyConfig_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[34] + mi := &file_tflint_proto_msgTypes[37] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1683,7 +1806,7 @@ func (x *ApplyConfig_Request) String() string { func (*ApplyConfig_Request) ProtoMessage() {} func (x *ApplyConfig_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[34] + mi := &file_tflint_proto_msgTypes[37] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1696,7 +1819,7 @@ func (x *ApplyConfig_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyConfig_Request.ProtoReflect.Descriptor instead. func (*ApplyConfig_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{6, 0} + return file_tflint_proto_rawDescGZIP(), []int{7, 0} } func (x *ApplyConfig_Request) GetContent() *BodyContent { @@ -1715,7 +1838,7 @@ type ApplyConfig_Response struct { func (x *ApplyConfig_Response) Reset() { *x = ApplyConfig_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[35] + mi := &file_tflint_proto_msgTypes[38] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1728,7 +1851,7 @@ func (x *ApplyConfig_Response) String() string { func (*ApplyConfig_Response) ProtoMessage() {} func (x *ApplyConfig_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[35] + mi := &file_tflint_proto_msgTypes[38] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1741,7 +1864,7 @@ func (x *ApplyConfig_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use ApplyConfig_Response.ProtoReflect.Descriptor instead. func (*ApplyConfig_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{6, 1} + return file_tflint_proto_rawDescGZIP(), []int{7, 1} } type Check_Request struct { @@ -1755,7 +1878,7 @@ type Check_Request struct { func (x *Check_Request) Reset() { *x = Check_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[36] + mi := &file_tflint_proto_msgTypes[39] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1768,7 +1891,7 @@ func (x *Check_Request) String() string { func (*Check_Request) ProtoMessage() {} func (x *Check_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[36] + mi := &file_tflint_proto_msgTypes[39] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1781,7 +1904,7 @@ func (x *Check_Request) ProtoReflect() protoreflect.Message { // Deprecated: Use Check_Request.ProtoReflect.Descriptor instead. func (*Check_Request) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{7, 0} + return file_tflint_proto_rawDescGZIP(), []int{8, 0} } func (x *Check_Request) GetRunner() uint32 { @@ -1800,7 +1923,7 @@ type Check_Response struct { func (x *Check_Response) Reset() { *x = Check_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[37] + mi := &file_tflint_proto_msgTypes[40] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1813,7 +1936,7 @@ func (x *Check_Response) String() string { func (*Check_Response) ProtoMessage() {} func (x *Check_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[37] + mi := &file_tflint_proto_msgTypes[40] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1826,7 +1949,7 @@ func (x *Check_Response) ProtoReflect() protoreflect.Message { // Deprecated: Use Check_Response.ProtoReflect.Descriptor instead. func (*Check_Response) Descriptor() ([]byte, []int) { - return file_tflint_proto_rawDescGZIP(), []int{7, 1} + return file_tflint_proto_rawDescGZIP(), []int{8, 1} } type GetModulePath_Request struct { @@ -1838,7 +1961,7 @@ type GetModulePath_Request struct { func (x *GetModulePath_Request) Reset() { *x = GetModulePath_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[38] + mi := &file_tflint_proto_msgTypes[41] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1851,7 +1974,7 @@ func (x *GetModulePath_Request) String() string { func (*GetModulePath_Request) ProtoMessage() {} func (x *GetModulePath_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[38] + mi := &file_tflint_proto_msgTypes[41] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1864,7 +1987,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{8, 0} + return file_tflint_proto_rawDescGZIP(), []int{9, 0} } type GetModulePath_Response struct { @@ -1878,7 +2001,7 @@ type GetModulePath_Response struct { func (x *GetModulePath_Response) Reset() { *x = GetModulePath_Response{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[39] + mi := &file_tflint_proto_msgTypes[42] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1891,7 +2014,7 @@ func (x *GetModulePath_Response) String() string { func (*GetModulePath_Response) ProtoMessage() {} func (x *GetModulePath_Response) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[39] + mi := &file_tflint_proto_msgTypes[42] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1904,7 +2027,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{8, 1} + return file_tflint_proto_rawDescGZIP(), []int{9, 1} } func (x *GetModulePath_Response) GetPath() []string { @@ -1925,7 +2048,7 @@ type GetModuleContent_Hint struct { func (x *GetModuleContent_Hint) Reset() { *x = GetModuleContent_Hint{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[40] + mi := &file_tflint_proto_msgTypes[43] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1938,7 +2061,7 @@ func (x *GetModuleContent_Hint) String() string { func (*GetModuleContent_Hint) ProtoMessage() {} func (x *GetModuleContent_Hint) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[40] + mi := &file_tflint_proto_msgTypes[43] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -1951,7 +2074,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{9, 0} + return file_tflint_proto_rawDescGZIP(), []int{10, 0} } func (x *GetModuleContent_Hint) GetResourceType() string { @@ -1974,7 +2097,7 @@ type GetModuleContent_Option struct { func (x *GetModuleContent_Option) Reset() { *x = GetModuleContent_Option{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[41] + mi := &file_tflint_proto_msgTypes[44] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -1987,7 +2110,7 @@ func (x *GetModuleContent_Option) String() string { func (*GetModuleContent_Option) ProtoMessage() {} func (x *GetModuleContent_Option) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[41] + mi := &file_tflint_proto_msgTypes[44] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2000,7 +2123,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{9, 1} + return file_tflint_proto_rawDescGZIP(), []int{10, 1} } func (x *GetModuleContent_Option) GetModuleCtx() ModuleCtxType { @@ -2036,7 +2159,7 @@ type GetModuleContent_Request struct { func (x *GetModuleContent_Request) Reset() { *x = GetModuleContent_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) } @@ -2049,7 +2172,7 @@ func (x *GetModuleContent_Request) String() string { func (*GetModuleContent_Request) ProtoMessage() {} func (x *GetModuleContent_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 { @@ -2062,7 +2185,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{9, 2} + return file_tflint_proto_rawDescGZIP(), []int{10, 2} } func (x *GetModuleContent_Request) GetSchema() *BodySchema { @@ -2090,7 +2213,7 @@ type GetModuleContent_Response struct { func (x *GetModuleContent_Response) Reset() { *x = GetModuleContent_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) } @@ -2103,7 +2226,7 @@ func (x *GetModuleContent_Response) String() string { func (*GetModuleContent_Response) ProtoMessage() {} func (x *GetModuleContent_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 { @@ -2116,7 +2239,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{9, 3} + return file_tflint_proto_rawDescGZIP(), []int{10, 3} } func (x *GetModuleContent_Response) GetContent() *BodyContent { @@ -2137,7 +2260,7 @@ type GetFile_Request struct { func (x *GetFile_Request) Reset() { *x = GetFile_Request{} 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) } @@ -2150,7 +2273,7 @@ func (x *GetFile_Request) String() string { func (*GetFile_Request) ProtoMessage() {} func (x *GetFile_Request) 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 { @@ -2163,7 +2286,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{10, 0} + return file_tflint_proto_rawDescGZIP(), []int{11, 0} } func (x *GetFile_Request) GetName() string { @@ -2184,7 +2307,7 @@ type GetFile_Response struct { func (x *GetFile_Response) Reset() { *x = GetFile_Response{} 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) } @@ -2197,7 +2320,7 @@ func (x *GetFile_Response) String() string { func (*GetFile_Response) ProtoMessage() {} func (x *GetFile_Response) 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 { @@ -2210,7 +2333,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{10, 1} + return file_tflint_proto_rawDescGZIP(), []int{11, 1} } func (x *GetFile_Response) GetFile() []byte { @@ -2229,7 +2352,7 @@ type GetFiles_Request struct { func (x *GetFiles_Request) Reset() { *x = GetFiles_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) } @@ -2242,7 +2365,7 @@ func (x *GetFiles_Request) String() string { func (*GetFiles_Request) ProtoMessage() {} func (x *GetFiles_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 { @@ -2255,7 +2378,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{11, 0} + return file_tflint_proto_rawDescGZIP(), []int{12, 0} } type GetFiles_Response struct { @@ -2269,7 +2392,7 @@ type GetFiles_Response struct { func (x *GetFiles_Response) Reset() { *x = GetFiles_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) } @@ -2282,7 +2405,7 @@ func (x *GetFiles_Response) String() string { func (*GetFiles_Response) ProtoMessage() {} func (x *GetFiles_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 { @@ -2295,7 +2418,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{11, 1} + return file_tflint_proto_rawDescGZIP(), []int{12, 1} } func (x *GetFiles_Response) GetFiles() map[string][]byte { @@ -2317,7 +2440,7 @@ type GetRuleConfigContent_Request struct { func (x *GetRuleConfigContent_Request) Reset() { *x = GetRuleConfigContent_Request{} 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) } @@ -2330,7 +2453,7 @@ func (x *GetRuleConfigContent_Request) String() string { func (*GetRuleConfigContent_Request) ProtoMessage() {} func (x *GetRuleConfigContent_Request) 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 { @@ -2343,7 +2466,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{12, 0} + return file_tflint_proto_rawDescGZIP(), []int{13, 0} } func (x *GetRuleConfigContent_Request) GetName() string { @@ -2371,7 +2494,7 @@ type GetRuleConfigContent_Response struct { func (x *GetRuleConfigContent_Response) Reset() { *x = GetRuleConfigContent_Response{} 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) } @@ -2384,7 +2507,7 @@ func (x *GetRuleConfigContent_Response) String() string { func (*GetRuleConfigContent_Response) ProtoMessage() {} func (x *GetRuleConfigContent_Response) 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 { @@ -2397,7 +2520,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{12, 1} + return file_tflint_proto_rawDescGZIP(), []int{13, 1} } func (x *GetRuleConfigContent_Response) GetContent() *BodyContent { @@ -2419,7 +2542,7 @@ type EvaluateExpr_Option struct { func (x *EvaluateExpr_Option) Reset() { *x = EvaluateExpr_Option{} 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) } @@ -2432,7 +2555,7 @@ func (x *EvaluateExpr_Option) String() string { func (*EvaluateExpr_Option) ProtoMessage() {} func (x *EvaluateExpr_Option) 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 { @@ -2445,7 +2568,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{13, 0} + return file_tflint_proto_rawDescGZIP(), []int{14, 0} } func (x *EvaluateExpr_Option) GetType() []byte { @@ -2475,7 +2598,7 @@ type EvaluateExpr_Request struct { func (x *EvaluateExpr_Request) Reset() { *x = EvaluateExpr_Request{} if protoimpl.UnsafeEnabled { - mi := &file_tflint_proto_msgTypes[52] + mi := &file_tflint_proto_msgTypes[55] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } @@ -2488,7 +2611,7 @@ func (x *EvaluateExpr_Request) String() string { func (*EvaluateExpr_Request) ProtoMessage() {} func (x *EvaluateExpr_Request) ProtoReflect() protoreflect.Message { - mi := &file_tflint_proto_msgTypes[52] + mi := &file_tflint_proto_msgTypes[55] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { @@ -2501,7 +2624,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{13, 1} + return file_tflint_proto_rawDescGZIP(), []int{14, 1} } func (x *EvaluateExpr_Request) GetExpr() []byte { @@ -2536,7 +2659,7 @@ type EvaluateExpr_Response struct { func (x *EvaluateExpr_Response) Reset() { *x = EvaluateExpr_Response{} 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) } @@ -2549,7 +2672,7 @@ func (x *EvaluateExpr_Response) String() string { func (*EvaluateExpr_Response) ProtoMessage() {} func (x *EvaluateExpr_Response) 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 { @@ -2562,7 +2685,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{13, 2} + return file_tflint_proto_rawDescGZIP(), []int{14, 2} } func (x *EvaluateExpr_Response) GetValue() []byte { @@ -2586,7 +2709,7 @@ type EmitIssue_Rule struct { func (x *EmitIssue_Rule) Reset() { *x = EmitIssue_Rule{} 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) } @@ -2599,7 +2722,7 @@ func (x *EmitIssue_Rule) String() string { func (*EmitIssue_Rule) ProtoMessage() {} func (x *EmitIssue_Rule) 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 { @@ -2612,7 +2735,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{14, 0} + return file_tflint_proto_rawDescGZIP(), []int{15, 0} } func (x *EmitIssue_Rule) GetName() string { @@ -2656,7 +2779,7 @@ type EmitIssue_Request struct { func (x *EmitIssue_Request) Reset() { *x = EmitIssue_Request{} 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) } @@ -2669,7 +2792,7 @@ func (x *EmitIssue_Request) String() string { func (*EmitIssue_Request) ProtoMessage() {} func (x *EmitIssue_Request) 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 { @@ -2682,7 +2805,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{14, 1} + return file_tflint_proto_rawDescGZIP(), []int{15, 1} } func (x *EmitIssue_Request) GetRule() *EmitIssue_Rule { @@ -2715,7 +2838,7 @@ type EmitIssue_Response struct { func (x *EmitIssue_Response) Reset() { *x = EmitIssue_Response{} 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) } @@ -2728,7 +2851,7 @@ func (x *EmitIssue_Response) String() string { func (*EmitIssue_Response) ProtoMessage() {} func (x *EmitIssue_Response) 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 { @@ -2741,7 +2864,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{14, 2} + return file_tflint_proto_rawDescGZIP(), []int{15, 2} } type BodySchema_Attribute struct { @@ -2756,7 +2879,7 @@ type BodySchema_Attribute struct { func (x *BodySchema_Attribute) Reset() { *x = BodySchema_Attribute{} 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) } @@ -2769,7 +2892,7 @@ func (x *BodySchema_Attribute) String() string { func (*BodySchema_Attribute) ProtoMessage() {} func (x *BodySchema_Attribute) 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 { @@ -2782,7 +2905,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{15, 0} + return file_tflint_proto_rawDescGZIP(), []int{16, 0} } func (x *BodySchema_Attribute) GetName() string { @@ -2812,7 +2935,7 @@ type BodySchema_Block struct { func (x *BodySchema_Block) Reset() { *x = BodySchema_Block{} 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) } @@ -2825,7 +2948,7 @@ func (x *BodySchema_Block) String() string { func (*BodySchema_Block) ProtoMessage() {} func (x *BodySchema_Block) 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 { @@ -2838,7 +2961,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{15, 1} + return file_tflint_proto_rawDescGZIP(), []int{16, 1} } func (x *BodySchema_Block) GetType() string { @@ -2877,7 +3000,7 @@ type BodyContent_Attribute struct { func (x *BodyContent_Attribute) Reset() { *x = BodyContent_Attribute{} 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) } @@ -2890,7 +3013,7 @@ func (x *BodyContent_Attribute) String() string { func (*BodyContent_Attribute) ProtoMessage() {} func (x *BodyContent_Attribute) 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 { @@ -2903,7 +3026,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{16, 0} + return file_tflint_proto_rawDescGZIP(), []int{17, 0} } func (x *BodyContent_Attribute) GetName() string { @@ -2957,7 +3080,7 @@ type BodyContent_Block struct { func (x *BodyContent_Block) Reset() { *x = BodyContent_Block{} 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) } @@ -2970,7 +3093,7 @@ func (x *BodyContent_Block) String() string { func (*BodyContent_Block) ProtoMessage() {} func (x *BodyContent_Block) 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 { @@ -2983,7 +3106,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{16, 1} + return file_tflint_proto_rawDescGZIP(), []int{17, 1} } func (x *BodyContent_Block) GetType() string { @@ -3041,7 +3164,7 @@ type Range_Pos struct { func (x *Range_Pos) Reset() { *x = Range_Pos{} 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) } @@ -3054,7 +3177,7 @@ func (x *Range_Pos) String() string { func (*Range_Pos) ProtoMessage() {} func (x *Range_Pos) 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 { @@ -3067,7 +3190,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{17, 0} + return file_tflint_proto_rawDescGZIP(), []int{18, 0} } func (x *Range_Pos) GetLine() int64 { @@ -3107,256 +3230,265 @@ var file_tflint_proto_rawDesc = []byte{ 0x6e, 0x74, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x2a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1e, 0x0a, 0x0a, 0x63, 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0a, 0x63, - 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x3b, 0x0a, 0x0c, 0x47, 0x65, 0x74, - 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, - 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, 0x6f, 0x6e, - 0x66, 0x69, 0x67, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, 0x71, - 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, - 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, 0x22, 0x8f, 0x03, 0x0a, 0x11, - 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x1a, 0xed, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, 0x0a, 0x05, - 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, 0x75, 0x6c, - 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x12, 0x2e, - 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, 0x64, 0x65, - 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, 0x69, 0x73, - 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x12, 0x12, - 0x0a, 0x04, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, 0x6f, 0x6e, - 0x6c, 0x79, 0x1a, 0x5d, 0x0a, 0x0a, 0x52, 0x75, 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, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, - 0x0b, 0x32, 0x23, 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, 0x75, 0x6c, 0x65, - 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, - 0x01, 0x1a, 0x3a, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, + 0x6f, 0x6e, 0x73, 0x74, 0x72, 0x61, 0x69, 0x6e, 0x74, 0x22, 0x40, 0x0a, 0x0d, 0x47, 0x65, 0x74, + 0x53, 0x44, 0x4b, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x1a, 0x09, 0x0a, 0x07, 0x52, 0x65, + 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x24, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, + 0x65, 0x12, 0x18, 0x0a, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, + 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x22, 0x3b, 0x0a, 0x0c, 0x47, + 0x65, 0x74, 0x52, 0x75, 0x6c, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x1a, 0x09, 0x0a, 0x07, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x20, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, + 0x09, 0x52, 0x05, 0x6e, 0x61, 0x6d, 0x65, 0x73, 0x22, 0x53, 0x0a, 0x0f, 0x47, 0x65, 0x74, 0x43, + 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x1a, 0x09, 0x0a, 0x07, 0x52, + 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x35, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, + 0x73, 0x65, 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, 0x22, 0x8f, 0x03, + 0x0a, 0x11, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x47, 0x6c, 0x6f, 0x62, 0x61, 0x6c, 0x43, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x1a, 0xed, 0x01, 0x0a, 0x06, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x40, + 0x0a, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2a, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x52, + 0x75, 0x6c, 0x65, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x05, 0x72, 0x75, 0x6c, 0x65, 0x73, + 0x12, 0x2e, 0x0a, 0x13, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x5f, 0x62, 0x79, 0x5f, + 0x64, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x11, 0x64, + 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x42, 0x79, 0x44, 0x65, 0x66, 0x61, 0x75, 0x6c, 0x74, + 0x12, 0x12, 0x0a, 0x04, 0x6f, 0x6e, 0x6c, 0x79, 0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x04, + 0x6f, 0x6e, 0x6c, 0x79, 0x1a, 0x5d, 0x0a, 0x0a, 0x52, 0x75, 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, 0x39, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, + 0x01, 0x28, 0x0b, 0x32, 0x23, 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, 0x75, + 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, + 0x02, 0x38, 0x01, 0x1a, 0x3a, 0x0a, 0x0a, 0x52, 0x75, 0x6c, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, + 0x67, 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, 0x1a, + 0x42, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x6f, + 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, + 0x66, 0x69, 0x67, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, + 0x52, 0x0a, 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x37, + 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, + 0x6e, 0x73, 0x65, 0x22, 0x36, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x1a, 0x21, 0x0a, 0x07, + 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, + 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, 0x89, 0x03, 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, 0x9f, 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, 0x2e, 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, 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, + 0x65, 0x4e, 0x6f, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 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, 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, 0x83, 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, 0x7e, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, + 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, + 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, 0x2b, 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, 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, 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, 0x1a, 0x42, 0x0a, - 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x37, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, - 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x1f, 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, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, - 0x67, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x52, 0x0a, - 0x0b, 0x41, 0x70, 0x70, 0x6c, 0x79, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x1a, 0x37, 0x0a, 0x07, - 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 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, 0x1a, 0x0a, 0x0a, 0x08, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, - 0x65, 0x22, 0x36, 0x0a, 0x05, 0x43, 0x68, 0x65, 0x63, 0x6b, 0x1a, 0x21, 0x0a, 0x07, 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, 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, 0x89, 0x03, 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, 0x9f, 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, 0x2e, 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, 0x52, 0x11, 0x69, 0x6e, 0x63, 0x6c, 0x75, 0x64, 0x65, 0x4e, - 0x6f, 0x74, 0x43, 0x72, 0x65, 0x61, 0x74, 0x65, 0x64, 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, 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, 0x83, 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, 0x7e, 0x0a, 0x07, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, - 0x12, 0x12, 0x0a, 0x04, 0x65, 0x78, 0x70, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, - 0x65, 0x78, 0x70, 0x72, 0x12, 0x2b, 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, 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, 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, 0xfb, 0x04, 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, 0xb1, 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, 0x12, 0x0a, 0x04, 0x65, 0x78, 0x70, - 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, 0x2b, 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, 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, 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, - 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, 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, 0xe4, 0x04, 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, + 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, 0xfb, 0x04, 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, 0xb1, 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, 0x12, 0x0a, 0x04, 0x65, + 0x78, 0x70, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x65, 0x78, 0x70, 0x72, 0x12, + 0x2b, 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, 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, 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, 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, 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, 0x2e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x49, 0x0a, 0x0c, 0x47, + 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, @@ -3434,7 +3566,7 @@ func file_tflint_proto_rawDescGZIP() []byte { } var file_tflint_proto_enumTypes = make([]protoimpl.EnumInfo, 4) -var file_tflint_proto_msgTypes = make([]protoimpl.MessageInfo, 63) +var file_tflint_proto_msgTypes = make([]protoimpl.MessageInfo, 66) var file_tflint_proto_goTypes = []interface{}{ (ModuleCtxType)(0), // 0: proto.ModuleCtxType (SchemaMode)(0), // 1: proto.SchemaMode @@ -3443,136 +3575,141 @@ var file_tflint_proto_goTypes = []interface{}{ (*GetName)(nil), // 4: proto.GetName (*GetVersion)(nil), // 5: proto.GetVersion (*GetVersionConstraint)(nil), // 6: proto.GetVersionConstraint - (*GetRuleNames)(nil), // 7: proto.GetRuleNames - (*GetConfigSchema)(nil), // 8: proto.GetConfigSchema - (*ApplyGlobalConfig)(nil), // 9: proto.ApplyGlobalConfig - (*ApplyConfig)(nil), // 10: proto.ApplyConfig - (*Check)(nil), // 11: proto.Check - (*GetModulePath)(nil), // 12: proto.GetModulePath - (*GetModuleContent)(nil), // 13: proto.GetModuleContent - (*GetFile)(nil), // 14: proto.GetFile - (*GetFiles)(nil), // 15: proto.GetFiles - (*GetRuleConfigContent)(nil), // 16: proto.GetRuleConfigContent - (*EvaluateExpr)(nil), // 17: proto.EvaluateExpr - (*EmitIssue)(nil), // 18: proto.EmitIssue - (*BodySchema)(nil), // 19: proto.BodySchema - (*BodyContent)(nil), // 20: proto.BodyContent - (*Range)(nil), // 21: proto.Range - (*ErrorDetail)(nil), // 22: proto.ErrorDetail - (*GetName_Request)(nil), // 23: proto.GetName.Request - (*GetName_Response)(nil), // 24: proto.GetName.Response - (*GetVersion_Request)(nil), // 25: proto.GetVersion.Request - (*GetVersion_Response)(nil), // 26: proto.GetVersion.Response - (*GetVersionConstraint_Request)(nil), // 27: proto.GetVersionConstraint.Request - (*GetVersionConstraint_Response)(nil), // 28: proto.GetVersionConstraint.Response - (*GetRuleNames_Request)(nil), // 29: proto.GetRuleNames.Request - (*GetRuleNames_Response)(nil), // 30: proto.GetRuleNames.Response - (*GetConfigSchema_Request)(nil), // 31: proto.GetConfigSchema.Request - (*GetConfigSchema_Response)(nil), // 32: proto.GetConfigSchema.Response - (*ApplyGlobalConfig_Config)(nil), // 33: proto.ApplyGlobalConfig.Config - (*ApplyGlobalConfig_RuleConfig)(nil), // 34: proto.ApplyGlobalConfig.RuleConfig - (*ApplyGlobalConfig_Request)(nil), // 35: proto.ApplyGlobalConfig.Request - (*ApplyGlobalConfig_Response)(nil), // 36: proto.ApplyGlobalConfig.Response - nil, // 37: proto.ApplyGlobalConfig.Config.RulesEntry - (*ApplyConfig_Request)(nil), // 38: proto.ApplyConfig.Request - (*ApplyConfig_Response)(nil), // 39: proto.ApplyConfig.Response - (*Check_Request)(nil), // 40: proto.Check.Request - (*Check_Response)(nil), // 41: proto.Check.Response - (*GetModulePath_Request)(nil), // 42: proto.GetModulePath.Request - (*GetModulePath_Response)(nil), // 43: proto.GetModulePath.Response - (*GetModuleContent_Hint)(nil), // 44: proto.GetModuleContent.Hint - (*GetModuleContent_Option)(nil), // 45: proto.GetModuleContent.Option - (*GetModuleContent_Request)(nil), // 46: proto.GetModuleContent.Request - (*GetModuleContent_Response)(nil), // 47: proto.GetModuleContent.Response - (*GetFile_Request)(nil), // 48: proto.GetFile.Request - (*GetFile_Response)(nil), // 49: proto.GetFile.Response - (*GetFiles_Request)(nil), // 50: proto.GetFiles.Request - (*GetFiles_Response)(nil), // 51: proto.GetFiles.Response - nil, // 52: proto.GetFiles.Response.FilesEntry - (*GetRuleConfigContent_Request)(nil), // 53: proto.GetRuleConfigContent.Request - (*GetRuleConfigContent_Response)(nil), // 54: proto.GetRuleConfigContent.Response - (*EvaluateExpr_Option)(nil), // 55: proto.EvaluateExpr.Option - (*EvaluateExpr_Request)(nil), // 56: proto.EvaluateExpr.Request - (*EvaluateExpr_Response)(nil), // 57: proto.EvaluateExpr.Response - (*EmitIssue_Rule)(nil), // 58: proto.EmitIssue.Rule - (*EmitIssue_Request)(nil), // 59: proto.EmitIssue.Request - (*EmitIssue_Response)(nil), // 60: proto.EmitIssue.Response - (*BodySchema_Attribute)(nil), // 61: proto.BodySchema.Attribute - (*BodySchema_Block)(nil), // 62: proto.BodySchema.Block - (*BodyContent_Attribute)(nil), // 63: proto.BodyContent.Attribute - (*BodyContent_Block)(nil), // 64: proto.BodyContent.Block - nil, // 65: proto.BodyContent.AttributesEntry - (*Range_Pos)(nil), // 66: proto.Range.Pos + (*GetSDKVersion)(nil), // 7: proto.GetSDKVersion + (*GetRuleNames)(nil), // 8: proto.GetRuleNames + (*GetConfigSchema)(nil), // 9: proto.GetConfigSchema + (*ApplyGlobalConfig)(nil), // 10: proto.ApplyGlobalConfig + (*ApplyConfig)(nil), // 11: proto.ApplyConfig + (*Check)(nil), // 12: proto.Check + (*GetModulePath)(nil), // 13: proto.GetModulePath + (*GetModuleContent)(nil), // 14: proto.GetModuleContent + (*GetFile)(nil), // 15: proto.GetFile + (*GetFiles)(nil), // 16: proto.GetFiles + (*GetRuleConfigContent)(nil), // 17: proto.GetRuleConfigContent + (*EvaluateExpr)(nil), // 18: proto.EvaluateExpr + (*EmitIssue)(nil), // 19: proto.EmitIssue + (*BodySchema)(nil), // 20: proto.BodySchema + (*BodyContent)(nil), // 21: proto.BodyContent + (*Range)(nil), // 22: proto.Range + (*ErrorDetail)(nil), // 23: proto.ErrorDetail + (*GetName_Request)(nil), // 24: proto.GetName.Request + (*GetName_Response)(nil), // 25: proto.GetName.Response + (*GetVersion_Request)(nil), // 26: proto.GetVersion.Request + (*GetVersion_Response)(nil), // 27: proto.GetVersion.Response + (*GetVersionConstraint_Request)(nil), // 28: proto.GetVersionConstraint.Request + (*GetVersionConstraint_Response)(nil), // 29: proto.GetVersionConstraint.Response + (*GetSDKVersion_Request)(nil), // 30: proto.GetSDKVersion.Request + (*GetSDKVersion_Response)(nil), // 31: proto.GetSDKVersion.Response + (*GetRuleNames_Request)(nil), // 32: proto.GetRuleNames.Request + (*GetRuleNames_Response)(nil), // 33: proto.GetRuleNames.Response + (*GetConfigSchema_Request)(nil), // 34: proto.GetConfigSchema.Request + (*GetConfigSchema_Response)(nil), // 35: proto.GetConfigSchema.Response + (*ApplyGlobalConfig_Config)(nil), // 36: proto.ApplyGlobalConfig.Config + (*ApplyGlobalConfig_RuleConfig)(nil), // 37: proto.ApplyGlobalConfig.RuleConfig + (*ApplyGlobalConfig_Request)(nil), // 38: proto.ApplyGlobalConfig.Request + (*ApplyGlobalConfig_Response)(nil), // 39: proto.ApplyGlobalConfig.Response + nil, // 40: proto.ApplyGlobalConfig.Config.RulesEntry + (*ApplyConfig_Request)(nil), // 41: proto.ApplyConfig.Request + (*ApplyConfig_Response)(nil), // 42: proto.ApplyConfig.Response + (*Check_Request)(nil), // 43: proto.Check.Request + (*Check_Response)(nil), // 44: proto.Check.Response + (*GetModulePath_Request)(nil), // 45: proto.GetModulePath.Request + (*GetModulePath_Response)(nil), // 46: proto.GetModulePath.Response + (*GetModuleContent_Hint)(nil), // 47: proto.GetModuleContent.Hint + (*GetModuleContent_Option)(nil), // 48: proto.GetModuleContent.Option + (*GetModuleContent_Request)(nil), // 49: proto.GetModuleContent.Request + (*GetModuleContent_Response)(nil), // 50: proto.GetModuleContent.Response + (*GetFile_Request)(nil), // 51: proto.GetFile.Request + (*GetFile_Response)(nil), // 52: proto.GetFile.Response + (*GetFiles_Request)(nil), // 53: proto.GetFiles.Request + (*GetFiles_Response)(nil), // 54: proto.GetFiles.Response + nil, // 55: proto.GetFiles.Response.FilesEntry + (*GetRuleConfigContent_Request)(nil), // 56: proto.GetRuleConfigContent.Request + (*GetRuleConfigContent_Response)(nil), // 57: proto.GetRuleConfigContent.Response + (*EvaluateExpr_Option)(nil), // 58: proto.EvaluateExpr.Option + (*EvaluateExpr_Request)(nil), // 59: proto.EvaluateExpr.Request + (*EvaluateExpr_Response)(nil), // 60: proto.EvaluateExpr.Response + (*EmitIssue_Rule)(nil), // 61: proto.EmitIssue.Rule + (*EmitIssue_Request)(nil), // 62: proto.EmitIssue.Request + (*EmitIssue_Response)(nil), // 63: proto.EmitIssue.Response + (*BodySchema_Attribute)(nil), // 64: proto.BodySchema.Attribute + (*BodySchema_Block)(nil), // 65: proto.BodySchema.Block + (*BodyContent_Attribute)(nil), // 66: proto.BodyContent.Attribute + (*BodyContent_Block)(nil), // 67: proto.BodyContent.Block + nil, // 68: proto.BodyContent.AttributesEntry + (*Range_Pos)(nil), // 69: proto.Range.Pos } var file_tflint_proto_depIdxs = []int32{ - 61, // 0: proto.BodySchema.attributes:type_name -> proto.BodySchema.Attribute - 62, // 1: proto.BodySchema.blocks:type_name -> proto.BodySchema.Block + 64, // 0: proto.BodySchema.attributes:type_name -> proto.BodySchema.Attribute + 65, // 1: proto.BodySchema.blocks:type_name -> proto.BodySchema.Block 1, // 2: proto.BodySchema.Mode:type_name -> proto.SchemaMode - 65, // 3: proto.BodyContent.attributes:type_name -> proto.BodyContent.AttributesEntry - 64, // 4: proto.BodyContent.blocks:type_name -> proto.BodyContent.Block - 66, // 5: proto.Range.start:type_name -> proto.Range.Pos - 66, // 6: proto.Range.end:type_name -> proto.Range.Pos + 68, // 3: proto.BodyContent.attributes:type_name -> proto.BodyContent.AttributesEntry + 67, // 4: proto.BodyContent.blocks:type_name -> proto.BodyContent.Block + 69, // 5: proto.Range.start:type_name -> proto.Range.Pos + 69, // 6: proto.Range.end:type_name -> proto.Range.Pos 2, // 7: proto.ErrorDetail.code:type_name -> proto.ErrorCode - 19, // 8: proto.GetConfigSchema.Response.schema:type_name -> proto.BodySchema - 37, // 9: proto.ApplyGlobalConfig.Config.rules:type_name -> proto.ApplyGlobalConfig.Config.RulesEntry - 33, // 10: proto.ApplyGlobalConfig.Request.config:type_name -> proto.ApplyGlobalConfig.Config - 34, // 11: proto.ApplyGlobalConfig.Config.RulesEntry.value:type_name -> proto.ApplyGlobalConfig.RuleConfig - 20, // 12: proto.ApplyConfig.Request.content:type_name -> proto.BodyContent + 20, // 8: proto.GetConfigSchema.Response.schema:type_name -> proto.BodySchema + 40, // 9: proto.ApplyGlobalConfig.Config.rules:type_name -> proto.ApplyGlobalConfig.Config.RulesEntry + 36, // 10: proto.ApplyGlobalConfig.Request.config:type_name -> proto.ApplyGlobalConfig.Config + 37, // 11: proto.ApplyGlobalConfig.Config.RulesEntry.value:type_name -> proto.ApplyGlobalConfig.RuleConfig + 21, // 12: proto.ApplyConfig.Request.content:type_name -> proto.BodyContent 0, // 13: proto.GetModuleContent.Option.module_ctx:type_name -> proto.ModuleCtxType - 44, // 14: proto.GetModuleContent.Option.hint:type_name -> proto.GetModuleContent.Hint - 19, // 15: proto.GetModuleContent.Request.schema:type_name -> proto.BodySchema - 45, // 16: proto.GetModuleContent.Request.option:type_name -> proto.GetModuleContent.Option - 20, // 17: proto.GetModuleContent.Response.content:type_name -> proto.BodyContent - 52, // 18: proto.GetFiles.Response.files:type_name -> proto.GetFiles.Response.FilesEntry - 19, // 19: proto.GetRuleConfigContent.Request.schema:type_name -> proto.BodySchema - 20, // 20: proto.GetRuleConfigContent.Response.content:type_name -> proto.BodyContent + 47, // 14: proto.GetModuleContent.Option.hint:type_name -> proto.GetModuleContent.Hint + 20, // 15: proto.GetModuleContent.Request.schema:type_name -> proto.BodySchema + 48, // 16: proto.GetModuleContent.Request.option:type_name -> proto.GetModuleContent.Option + 21, // 17: proto.GetModuleContent.Response.content:type_name -> proto.BodyContent + 55, // 18: proto.GetFiles.Response.files:type_name -> proto.GetFiles.Response.FilesEntry + 20, // 19: proto.GetRuleConfigContent.Request.schema:type_name -> proto.BodySchema + 21, // 20: proto.GetRuleConfigContent.Response.content:type_name -> proto.BodyContent 0, // 21: proto.EvaluateExpr.Option.module_ctx:type_name -> proto.ModuleCtxType - 21, // 22: proto.EvaluateExpr.Request.expr_range:type_name -> proto.Range - 55, // 23: proto.EvaluateExpr.Request.option:type_name -> proto.EvaluateExpr.Option + 22, // 22: proto.EvaluateExpr.Request.expr_range:type_name -> proto.Range + 58, // 23: proto.EvaluateExpr.Request.option:type_name -> proto.EvaluateExpr.Option 3, // 24: proto.EmitIssue.Rule.severity:type_name -> proto.EmitIssue.Severity - 58, // 25: proto.EmitIssue.Request.rule:type_name -> proto.EmitIssue.Rule - 21, // 26: proto.EmitIssue.Request.range:type_name -> proto.Range - 19, // 27: proto.BodySchema.Block.body:type_name -> proto.BodySchema - 21, // 28: proto.BodyContent.Attribute.expr_range:type_name -> proto.Range - 21, // 29: proto.BodyContent.Attribute.range:type_name -> proto.Range - 21, // 30: proto.BodyContent.Attribute.name_range:type_name -> proto.Range - 20, // 31: proto.BodyContent.Block.body:type_name -> proto.BodyContent - 21, // 32: proto.BodyContent.Block.def_range:type_name -> proto.Range - 21, // 33: proto.BodyContent.Block.type_range:type_name -> proto.Range - 21, // 34: proto.BodyContent.Block.label_ranges:type_name -> proto.Range - 63, // 35: proto.BodyContent.AttributesEntry.value:type_name -> proto.BodyContent.Attribute - 23, // 36: proto.RuleSet.GetName:input_type -> proto.GetName.Request - 25, // 37: proto.RuleSet.GetVersion:input_type -> proto.GetVersion.Request - 27, // 38: proto.RuleSet.GetVersionConstraint:input_type -> proto.GetVersionConstraint.Request - 29, // 39: proto.RuleSet.GetRuleNames:input_type -> proto.GetRuleNames.Request - 31, // 40: proto.RuleSet.GetConfigSchema:input_type -> proto.GetConfigSchema.Request - 35, // 41: proto.RuleSet.ApplyGlobalConfig:input_type -> proto.ApplyGlobalConfig.Request - 38, // 42: proto.RuleSet.ApplyConfig:input_type -> proto.ApplyConfig.Request - 40, // 43: proto.RuleSet.Check:input_type -> proto.Check.Request - 42, // 44: proto.Runner.GetModulePath:input_type -> proto.GetModulePath.Request - 46, // 45: proto.Runner.GetModuleContent:input_type -> proto.GetModuleContent.Request - 48, // 46: proto.Runner.GetFile:input_type -> proto.GetFile.Request - 50, // 47: proto.Runner.GetFiles:input_type -> proto.GetFiles.Request - 53, // 48: proto.Runner.GetRuleConfigContent:input_type -> proto.GetRuleConfigContent.Request - 56, // 49: proto.Runner.EvaluateExpr:input_type -> proto.EvaluateExpr.Request - 59, // 50: proto.Runner.EmitIssue:input_type -> proto.EmitIssue.Request - 24, // 51: proto.RuleSet.GetName:output_type -> proto.GetName.Response - 26, // 52: proto.RuleSet.GetVersion:output_type -> proto.GetVersion.Response - 28, // 53: proto.RuleSet.GetVersionConstraint:output_type -> proto.GetVersionConstraint.Response - 30, // 54: proto.RuleSet.GetRuleNames:output_type -> proto.GetRuleNames.Response - 32, // 55: proto.RuleSet.GetConfigSchema:output_type -> proto.GetConfigSchema.Response - 36, // 56: proto.RuleSet.ApplyGlobalConfig:output_type -> proto.ApplyGlobalConfig.Response - 39, // 57: proto.RuleSet.ApplyConfig:output_type -> proto.ApplyConfig.Response - 41, // 58: proto.RuleSet.Check:output_type -> proto.Check.Response - 43, // 59: proto.Runner.GetModulePath:output_type -> proto.GetModulePath.Response - 47, // 60: proto.Runner.GetModuleContent:output_type -> proto.GetModuleContent.Response - 49, // 61: proto.Runner.GetFile:output_type -> proto.GetFile.Response - 51, // 62: proto.Runner.GetFiles:output_type -> proto.GetFiles.Response - 54, // 63: proto.Runner.GetRuleConfigContent:output_type -> proto.GetRuleConfigContent.Response - 57, // 64: proto.Runner.EvaluateExpr:output_type -> proto.EvaluateExpr.Response - 60, // 65: proto.Runner.EmitIssue:output_type -> proto.EmitIssue.Response - 51, // [51:66] is the sub-list for method output_type - 36, // [36:51] is the sub-list for method input_type + 61, // 25: proto.EmitIssue.Request.rule:type_name -> proto.EmitIssue.Rule + 22, // 26: proto.EmitIssue.Request.range:type_name -> proto.Range + 20, // 27: proto.BodySchema.Block.body:type_name -> proto.BodySchema + 22, // 28: proto.BodyContent.Attribute.expr_range:type_name -> proto.Range + 22, // 29: proto.BodyContent.Attribute.range:type_name -> proto.Range + 22, // 30: proto.BodyContent.Attribute.name_range:type_name -> proto.Range + 21, // 31: proto.BodyContent.Block.body:type_name -> proto.BodyContent + 22, // 32: proto.BodyContent.Block.def_range:type_name -> proto.Range + 22, // 33: proto.BodyContent.Block.type_range:type_name -> proto.Range + 22, // 34: proto.BodyContent.Block.label_ranges:type_name -> proto.Range + 66, // 35: proto.BodyContent.AttributesEntry.value:type_name -> proto.BodyContent.Attribute + 24, // 36: proto.RuleSet.GetName:input_type -> proto.GetName.Request + 26, // 37: proto.RuleSet.GetVersion:input_type -> proto.GetVersion.Request + 28, // 38: proto.RuleSet.GetVersionConstraint:input_type -> proto.GetVersionConstraint.Request + 30, // 39: proto.RuleSet.GetSDKVersion:input_type -> proto.GetSDKVersion.Request + 32, // 40: proto.RuleSet.GetRuleNames:input_type -> proto.GetRuleNames.Request + 34, // 41: proto.RuleSet.GetConfigSchema:input_type -> proto.GetConfigSchema.Request + 38, // 42: proto.RuleSet.ApplyGlobalConfig:input_type -> proto.ApplyGlobalConfig.Request + 41, // 43: proto.RuleSet.ApplyConfig:input_type -> proto.ApplyConfig.Request + 43, // 44: proto.RuleSet.Check:input_type -> proto.Check.Request + 45, // 45: proto.Runner.GetModulePath:input_type -> proto.GetModulePath.Request + 49, // 46: proto.Runner.GetModuleContent:input_type -> proto.GetModuleContent.Request + 51, // 47: proto.Runner.GetFile:input_type -> proto.GetFile.Request + 53, // 48: proto.Runner.GetFiles:input_type -> proto.GetFiles.Request + 56, // 49: proto.Runner.GetRuleConfigContent:input_type -> proto.GetRuleConfigContent.Request + 59, // 50: proto.Runner.EvaluateExpr:input_type -> proto.EvaluateExpr.Request + 62, // 51: proto.Runner.EmitIssue:input_type -> proto.EmitIssue.Request + 25, // 52: proto.RuleSet.GetName:output_type -> proto.GetName.Response + 27, // 53: proto.RuleSet.GetVersion:output_type -> proto.GetVersion.Response + 29, // 54: proto.RuleSet.GetVersionConstraint:output_type -> proto.GetVersionConstraint.Response + 31, // 55: proto.RuleSet.GetSDKVersion:output_type -> proto.GetSDKVersion.Response + 33, // 56: proto.RuleSet.GetRuleNames:output_type -> proto.GetRuleNames.Response + 35, // 57: proto.RuleSet.GetConfigSchema:output_type -> proto.GetConfigSchema.Response + 39, // 58: proto.RuleSet.ApplyGlobalConfig:output_type -> proto.ApplyGlobalConfig.Response + 42, // 59: proto.RuleSet.ApplyConfig:output_type -> proto.ApplyConfig.Response + 44, // 60: proto.RuleSet.Check:output_type -> proto.Check.Response + 46, // 61: proto.Runner.GetModulePath:output_type -> proto.GetModulePath.Response + 50, // 62: proto.Runner.GetModuleContent:output_type -> proto.GetModuleContent.Response + 52, // 63: proto.Runner.GetFile:output_type -> proto.GetFile.Response + 54, // 64: proto.Runner.GetFiles:output_type -> proto.GetFiles.Response + 57, // 65: proto.Runner.GetRuleConfigContent:output_type -> proto.GetRuleConfigContent.Response + 60, // 66: proto.Runner.EvaluateExpr:output_type -> proto.EvaluateExpr.Response + 63, // 67: proto.Runner.EmitIssue:output_type -> proto.EmitIssue.Response + 52, // [52:68] is the sub-list for method output_type + 36, // [36:52] is the sub-list for method input_type 36, // [36:36] is the sub-list for extension type_name 36, // [36:36] is the sub-list for extension extendee 0, // [0:36] is the sub-list for field type_name @@ -3621,7 +3758,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleNames); i { + switch v := v.(*GetSDKVersion); i { case 0: return &v.state case 1: @@ -3633,7 +3770,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigSchema); i { + switch v := v.(*GetRuleNames); i { case 0: return &v.state case 1: @@ -3645,7 +3782,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig); i { + switch v := v.(*GetConfigSchema); i { case 0: return &v.state case 1: @@ -3657,7 +3794,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyConfig); i { + switch v := v.(*ApplyGlobalConfig); i { case 0: return &v.state case 1: @@ -3669,7 +3806,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Check); i { + switch v := v.(*ApplyConfig); i { case 0: return &v.state case 1: @@ -3681,7 +3818,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModulePath); i { + switch v := v.(*Check); i { case 0: return &v.state case 1: @@ -3693,7 +3830,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetModuleContent); i { + switch v := v.(*GetModulePath); i { case 0: return &v.state case 1: @@ -3705,7 +3842,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFile); i { + switch v := v.(*GetModuleContent); i { case 0: return &v.state case 1: @@ -3717,7 +3854,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetFiles); i { + switch v := v.(*GetFile); i { case 0: return &v.state case 1: @@ -3729,7 +3866,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleConfigContent); i { + switch v := v.(*GetFiles); i { case 0: return &v.state case 1: @@ -3741,7 +3878,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EvaluateExpr); i { + switch v := v.(*GetRuleConfigContent); i { case 0: return &v.state case 1: @@ -3753,7 +3890,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*EmitIssue); i { + switch v := v.(*EvaluateExpr); i { case 0: return &v.state case 1: @@ -3765,7 +3902,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BodySchema); i { + switch v := v.(*EmitIssue); i { case 0: return &v.state case 1: @@ -3777,7 +3914,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*BodyContent); i { + switch v := v.(*BodySchema); i { case 0: return &v.state case 1: @@ -3789,7 +3926,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*Range); i { + switch v := v.(*BodyContent); i { case 0: return &v.state case 1: @@ -3801,7 +3938,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ErrorDetail); i { + switch v := v.(*Range); i { case 0: return &v.state case 1: @@ -3813,7 +3950,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[19].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: @@ -3825,7 +3962,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[20].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: @@ -3837,7 +3974,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[21].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: @@ -3849,7 +3986,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[22].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: @@ -3861,7 +3998,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[23].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: @@ -3873,7 +4010,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[24].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: @@ -3885,7 +4022,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[25].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleNames_Request); i { + switch v := v.(*GetVersionConstraint_Response); i { case 0: return &v.state case 1: @@ -3897,7 +4034,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[26].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetRuleNames_Response); i { + switch v := v.(*GetSDKVersion_Request); i { case 0: return &v.state case 1: @@ -3909,7 +4046,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[27].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigSchema_Request); i { + switch v := v.(*GetSDKVersion_Response); i { case 0: return &v.state case 1: @@ -3921,7 +4058,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[28].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*GetConfigSchema_Response); i { + switch v := v.(*GetRuleNames_Request); i { case 0: return &v.state case 1: @@ -3933,7 +4070,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[29].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_Config); i { + switch v := v.(*GetRuleNames_Response); i { case 0: return &v.state case 1: @@ -3945,7 +4082,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[30].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_RuleConfig); i { + switch v := v.(*GetConfigSchema_Request); i { case 0: return &v.state case 1: @@ -3957,7 +4094,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[31].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_Request); i { + switch v := v.(*GetConfigSchema_Response); i { case 0: return &v.state case 1: @@ -3969,7 +4106,19 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[32].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyGlobalConfig_Response); i { + switch v := v.(*ApplyGlobalConfig_Config); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tflint_proto_msgTypes[33].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGlobalConfig_RuleConfig); i { case 0: return &v.state case 1: @@ -3981,7 +4130,7 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[34].Exporter = func(v interface{}, i int) interface{} { - switch v := v.(*ApplyConfig_Request); i { + switch v := v.(*ApplyGlobalConfig_Request); i { case 0: return &v.state case 1: @@ -3993,6 +4142,30 @@ func file_tflint_proto_init() { } } file_tflint_proto_msgTypes[35].Exporter = func(v interface{}, i int) interface{} { + switch v := v.(*ApplyGlobalConfig_Response); 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.(*ApplyConfig_Request); i { + case 0: + return &v.state + case 1: + return &v.sizeCache + case 2: + return &v.unknownFields + default: + return nil + } + } + file_tflint_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ApplyConfig_Response); i { case 0: return &v.state @@ -4004,7 +4177,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[36].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Check_Request); i { case 0: return &v.state @@ -4016,7 +4189,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[37].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Check_Response); i { case 0: return &v.state @@ -4028,7 +4201,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[38].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModulePath_Request); i { case 0: return &v.state @@ -4040,7 +4213,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[39].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModulePath_Response); i { case 0: return &v.state @@ -4052,7 +4225,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[40].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[43].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Hint); i { case 0: return &v.state @@ -4064,7 +4237,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[41].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[44].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Option); i { case 0: return &v.state @@ -4076,7 +4249,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[42].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[45].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*GetModuleContent_Request); i { case 0: return &v.state @@ -4088,7 +4261,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.(*GetModuleContent_Response); i { case 0: return &v.state @@ -4100,7 +4273,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.(*GetFile_Request); i { case 0: return &v.state @@ -4112,7 +4285,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.(*GetFile_Response); i { case 0: return &v.state @@ -4124,7 +4297,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.(*GetFiles_Request); i { case 0: return &v.state @@ -4136,7 +4309,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.(*GetFiles_Response); i { case 0: return &v.state @@ -4148,7 +4321,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.(*GetRuleConfigContent_Request); i { case 0: return &v.state @@ -4160,7 +4333,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.(*GetRuleConfigContent_Response); i { case 0: return &v.state @@ -4172,7 +4345,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.(*EvaluateExpr_Option); i { case 0: return &v.state @@ -4184,7 +4357,7 @@ func file_tflint_proto_init() { return nil } } - file_tflint_proto_msgTypes[52].Exporter = func(v interface{}, i int) interface{} { + file_tflint_proto_msgTypes[55].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*EvaluateExpr_Request); i { case 0: return &v.state @@ -4196,7 +4369,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.(*EvaluateExpr_Response); i { case 0: return &v.state @@ -4208,7 +4381,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.(*EmitIssue_Rule); i { case 0: return &v.state @@ -4220,7 +4393,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.(*EmitIssue_Request); i { case 0: return &v.state @@ -4232,7 +4405,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.(*EmitIssue_Response); i { case 0: return &v.state @@ -4244,7 +4417,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.(*BodySchema_Attribute); i { case 0: return &v.state @@ -4256,7 +4429,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.(*BodySchema_Block); i { case 0: return &v.state @@ -4268,7 +4441,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.(*BodyContent_Attribute); i { case 0: return &v.state @@ -4280,7 +4453,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.(*BodyContent_Block); i { case 0: return &v.state @@ -4292,7 +4465,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.(*Range_Pos); i { case 0: return &v.state @@ -4311,7 +4484,7 @@ func file_tflint_proto_init() { GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_tflint_proto_rawDesc, NumEnums: 4, - NumMessages: 63, + NumMessages: 66, NumExtensions: 0, NumServices: 2, }, diff --git a/plugin/proto/tflint.proto b/plugin/proto/tflint.proto index 9f69dec..f6d6fd2 100644 --- a/plugin/proto/tflint.proto +++ b/plugin/proto/tflint.proto @@ -7,6 +7,7 @@ service RuleSet { rpc GetName(GetName.Request) returns (GetName.Response); rpc GetVersion(GetVersion.Request) returns (GetVersion.Response); rpc GetVersionConstraint(GetVersionConstraint.Request) returns (GetVersionConstraint.Response); + rpc GetSDKVersion(GetSDKVersion.Request) returns (GetSDKVersion.Response); rpc GetRuleNames(GetRuleNames.Request) returns (GetRuleNames.Response); rpc GetConfigSchema(GetConfigSchema.Request) returns (GetConfigSchema.Response); rpc ApplyGlobalConfig(ApplyGlobalConfig.Request) returns (ApplyGlobalConfig.Response); @@ -35,6 +36,13 @@ message GetVersionConstraint { } } +message GetSDKVersion { + message Request {} + message Response { + string version = 1; + } +} + message GetRuleNames { message Request {} message Response { diff --git a/plugin/proto/tflint_grpc.pb.go b/plugin/proto/tflint_grpc.pb.go index 1c19064..f891df6 100644 --- a/plugin/proto/tflint_grpc.pb.go +++ b/plugin/proto/tflint_grpc.pb.go @@ -25,6 +25,7 @@ type RuleSetClient interface { GetName(ctx context.Context, in *GetName_Request, opts ...grpc.CallOption) (*GetName_Response, error) GetVersion(ctx context.Context, in *GetVersion_Request, opts ...grpc.CallOption) (*GetVersion_Response, error) GetVersionConstraint(ctx context.Context, in *GetVersionConstraint_Request, opts ...grpc.CallOption) (*GetVersionConstraint_Response, error) + GetSDKVersion(ctx context.Context, in *GetSDKVersion_Request, opts ...grpc.CallOption) (*GetSDKVersion_Response, error) GetRuleNames(ctx context.Context, in *GetRuleNames_Request, opts ...grpc.CallOption) (*GetRuleNames_Response, error) GetConfigSchema(ctx context.Context, in *GetConfigSchema_Request, opts ...grpc.CallOption) (*GetConfigSchema_Response, error) ApplyGlobalConfig(ctx context.Context, in *ApplyGlobalConfig_Request, opts ...grpc.CallOption) (*ApplyGlobalConfig_Response, error) @@ -67,6 +68,15 @@ func (c *ruleSetClient) GetVersionConstraint(ctx context.Context, in *GetVersion return out, nil } +func (c *ruleSetClient) GetSDKVersion(ctx context.Context, in *GetSDKVersion_Request, opts ...grpc.CallOption) (*GetSDKVersion_Response, error) { + out := new(GetSDKVersion_Response) + err := c.cc.Invoke(ctx, "/proto.RuleSet/GetSDKVersion", in, out, opts...) + if err != nil { + return nil, err + } + return out, nil +} + func (c *ruleSetClient) GetRuleNames(ctx context.Context, in *GetRuleNames_Request, opts ...grpc.CallOption) (*GetRuleNames_Response, error) { out := new(GetRuleNames_Response) err := c.cc.Invoke(ctx, "/proto.RuleSet/GetRuleNames", in, out, opts...) @@ -119,6 +129,7 @@ type RuleSetServer interface { GetName(context.Context, *GetName_Request) (*GetName_Response, error) GetVersion(context.Context, *GetVersion_Request) (*GetVersion_Response, error) GetVersionConstraint(context.Context, *GetVersionConstraint_Request) (*GetVersionConstraint_Response, error) + GetSDKVersion(context.Context, *GetSDKVersion_Request) (*GetSDKVersion_Response, error) GetRuleNames(context.Context, *GetRuleNames_Request) (*GetRuleNames_Response, error) GetConfigSchema(context.Context, *GetConfigSchema_Request) (*GetConfigSchema_Response, error) ApplyGlobalConfig(context.Context, *ApplyGlobalConfig_Request) (*ApplyGlobalConfig_Response, error) @@ -140,6 +151,9 @@ func (UnimplementedRuleSetServer) GetVersion(context.Context, *GetVersion_Reques func (UnimplementedRuleSetServer) GetVersionConstraint(context.Context, *GetVersionConstraint_Request) (*GetVersionConstraint_Response, error) { return nil, status.Errorf(codes.Unimplemented, "method GetVersionConstraint not implemented") } +func (UnimplementedRuleSetServer) GetSDKVersion(context.Context, *GetSDKVersion_Request) (*GetSDKVersion_Response, error) { + return nil, status.Errorf(codes.Unimplemented, "method GetSDKVersion not implemented") +} func (UnimplementedRuleSetServer) GetRuleNames(context.Context, *GetRuleNames_Request) (*GetRuleNames_Response, error) { return nil, status.Errorf(codes.Unimplemented, "method GetRuleNames not implemented") } @@ -222,6 +236,24 @@ func _RuleSet_GetVersionConstraint_Handler(srv interface{}, ctx context.Context, return interceptor(ctx, in, info, handler) } +func _RuleSet_GetSDKVersion_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { + in := new(GetSDKVersion_Request) + if err := dec(in); err != nil { + return nil, err + } + if interceptor == nil { + return srv.(RuleSetServer).GetSDKVersion(ctx, in) + } + info := &grpc.UnaryServerInfo{ + Server: srv, + FullMethod: "/proto.RuleSet/GetSDKVersion", + } + handler := func(ctx context.Context, req interface{}) (interface{}, error) { + return srv.(RuleSetServer).GetSDKVersion(ctx, req.(*GetSDKVersion_Request)) + } + return interceptor(ctx, in, info, handler) +} + func _RuleSet_GetRuleNames_Handler(srv interface{}, ctx context.Context, dec func(interface{}) error, interceptor grpc.UnaryServerInterceptor) (interface{}, error) { in := new(GetRuleNames_Request) if err := dec(in); err != nil { @@ -331,6 +363,10 @@ var RuleSet_ServiceDesc = grpc.ServiceDesc{ MethodName: "GetVersionConstraint", Handler: _RuleSet_GetVersionConstraint_Handler, }, + { + MethodName: "GetSDKVersion", + Handler: _RuleSet_GetSDKVersion_Handler, + }, { MethodName: "GetRuleNames", Handler: _RuleSet_GetRuleNames_Handler,