github.com/hashicorp/go-plugin@v1.6.0/internal/plugin/grpc_controller.pb.go (about) 1 // Copyright (c) HashiCorp, Inc. 2 // SPDX-License-Identifier: MPL-2.0 3 4 // Code generated by protoc-gen-go. DO NOT EDIT. 5 // versions: 6 // protoc-gen-go v1.31.0 7 // protoc (unknown) 8 // source: internal/plugin/grpc_controller.proto 9 10 package plugin 11 12 import ( 13 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 14 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 15 reflect "reflect" 16 sync "sync" 17 ) 18 19 const ( 20 // Verify that this generated code is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 22 // Verify that runtime/protoimpl is sufficiently up-to-date. 23 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 24 ) 25 26 type Empty struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 } 31 32 func (x *Empty) Reset() { 33 *x = Empty{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_internal_plugin_grpc_controller_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *Empty) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*Empty) ProtoMessage() {} 46 47 func (x *Empty) ProtoReflect() protoreflect.Message { 48 mi := &file_internal_plugin_grpc_controller_proto_msgTypes[0] 49 if protoimpl.UnsafeEnabled && x != nil { 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 if ms.LoadMessageInfo() == nil { 52 ms.StoreMessageInfo(mi) 53 } 54 return ms 55 } 56 return mi.MessageOf(x) 57 } 58 59 // Deprecated: Use Empty.ProtoReflect.Descriptor instead. 60 func (*Empty) Descriptor() ([]byte, []int) { 61 return file_internal_plugin_grpc_controller_proto_rawDescGZIP(), []int{0} 62 } 63 64 var File_internal_plugin_grpc_controller_proto protoreflect.FileDescriptor 65 66 var file_internal_plugin_grpc_controller_proto_rawDesc = []byte{ 67 0x0a, 0x25, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 68 0x6e, 0x2f, 0x67, 0x72, 0x70, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 69 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x22, 70 0x07, 0x0a, 0x05, 0x45, 0x6d, 0x70, 0x74, 0x79, 0x32, 0x3a, 0x0a, 0x0e, 0x47, 0x52, 0x50, 0x43, 71 0x43, 0x6f, 0x6e, 0x74, 0x72, 0x6f, 0x6c, 0x6c, 0x65, 0x72, 0x12, 0x28, 0x0a, 0x08, 0x53, 0x68, 72 0x75, 0x74, 0x64, 0x6f, 0x77, 0x6e, 0x12, 0x0d, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 73 0x45, 0x6d, 0x70, 0x74, 0x79, 0x1a, 0x0d, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x45, 74 0x6d, 0x70, 0x74, 0x79, 0x42, 0x0a, 0x5a, 0x08, 0x2e, 0x2f, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 75 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 76 } 77 78 var ( 79 file_internal_plugin_grpc_controller_proto_rawDescOnce sync.Once 80 file_internal_plugin_grpc_controller_proto_rawDescData = file_internal_plugin_grpc_controller_proto_rawDesc 81 ) 82 83 func file_internal_plugin_grpc_controller_proto_rawDescGZIP() []byte { 84 file_internal_plugin_grpc_controller_proto_rawDescOnce.Do(func() { 85 file_internal_plugin_grpc_controller_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_plugin_grpc_controller_proto_rawDescData) 86 }) 87 return file_internal_plugin_grpc_controller_proto_rawDescData 88 } 89 90 var file_internal_plugin_grpc_controller_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 91 var file_internal_plugin_grpc_controller_proto_goTypes = []interface{}{ 92 (*Empty)(nil), // 0: plugin.Empty 93 } 94 var file_internal_plugin_grpc_controller_proto_depIdxs = []int32{ 95 0, // 0: plugin.GRPCController.Shutdown:input_type -> plugin.Empty 96 0, // 1: plugin.GRPCController.Shutdown:output_type -> plugin.Empty 97 1, // [1:2] is the sub-list for method output_type 98 0, // [0:1] is the sub-list for method input_type 99 0, // [0:0] is the sub-list for extension type_name 100 0, // [0:0] is the sub-list for extension extendee 101 0, // [0:0] is the sub-list for field type_name 102 } 103 104 func init() { file_internal_plugin_grpc_controller_proto_init() } 105 func file_internal_plugin_grpc_controller_proto_init() { 106 if File_internal_plugin_grpc_controller_proto != nil { 107 return 108 } 109 if !protoimpl.UnsafeEnabled { 110 file_internal_plugin_grpc_controller_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 111 switch v := v.(*Empty); i { 112 case 0: 113 return &v.state 114 case 1: 115 return &v.sizeCache 116 case 2: 117 return &v.unknownFields 118 default: 119 return nil 120 } 121 } 122 } 123 type x struct{} 124 out := protoimpl.TypeBuilder{ 125 File: protoimpl.DescBuilder{ 126 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 127 RawDescriptor: file_internal_plugin_grpc_controller_proto_rawDesc, 128 NumEnums: 0, 129 NumMessages: 1, 130 NumExtensions: 0, 131 NumServices: 1, 132 }, 133 GoTypes: file_internal_plugin_grpc_controller_proto_goTypes, 134 DependencyIndexes: file_internal_plugin_grpc_controller_proto_depIdxs, 135 MessageInfos: file_internal_plugin_grpc_controller_proto_msgTypes, 136 }.Build() 137 File_internal_plugin_grpc_controller_proto = out.File 138 file_internal_plugin_grpc_controller_proto_rawDesc = nil 139 file_internal_plugin_grpc_controller_proto_goTypes = nil 140 file_internal_plugin_grpc_controller_proto_depIdxs = nil 141 }