github.com/metacubex/gvisor@v0.0.0-20240320004321-933faba989ec/pkg/eventchannel/eventchannel_go_proto/event.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.31.0 4 // protoc v3.21.7 5 // source: pkg/eventchannel/event.proto 6 7 package eventchannel_go_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 type DebugEvent struct { 24 state protoimpl.MessageState 25 sizeCache protoimpl.SizeCache 26 unknownFields protoimpl.UnknownFields 27 28 Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` 29 Text string `protobuf:"bytes,2,opt,name=text,proto3" json:"text,omitempty"` 30 } 31 32 func (x *DebugEvent) Reset() { 33 *x = DebugEvent{} 34 if protoimpl.UnsafeEnabled { 35 mi := &file_pkg_eventchannel_event_proto_msgTypes[0] 36 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 37 ms.StoreMessageInfo(mi) 38 } 39 } 40 41 func (x *DebugEvent) String() string { 42 return protoimpl.X.MessageStringOf(x) 43 } 44 45 func (*DebugEvent) ProtoMessage() {} 46 47 func (x *DebugEvent) ProtoReflect() protoreflect.Message { 48 mi := &file_pkg_eventchannel_event_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 DebugEvent.ProtoReflect.Descriptor instead. 60 func (*DebugEvent) Descriptor() ([]byte, []int) { 61 return file_pkg_eventchannel_event_proto_rawDescGZIP(), []int{0} 62 } 63 64 func (x *DebugEvent) GetName() string { 65 if x != nil { 66 return x.Name 67 } 68 return "" 69 } 70 71 func (x *DebugEvent) GetText() string { 72 if x != nil { 73 return x.Text 74 } 75 return "" 76 } 77 78 var File_pkg_eventchannel_event_proto protoreflect.FileDescriptor 79 80 var file_pkg_eventchannel_event_proto_rawDesc = []byte{ 81 0x0a, 0x1c, 0x70, 0x6b, 0x67, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x63, 0x68, 0x61, 0x6e, 0x6e, 82 0x65, 0x6c, 0x2f, 0x65, 0x76, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 83 0x67, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x22, 0x34, 0x0a, 0x0a, 0x44, 0x65, 0x62, 0x75, 0x67, 0x45, 84 0x76, 0x65, 0x6e, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 85 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x65, 0x78, 0x74, 86 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x65, 0x78, 0x74, 0x62, 0x06, 0x70, 0x72, 87 0x6f, 0x74, 0x6f, 0x33, 88 } 89 90 var ( 91 file_pkg_eventchannel_event_proto_rawDescOnce sync.Once 92 file_pkg_eventchannel_event_proto_rawDescData = file_pkg_eventchannel_event_proto_rawDesc 93 ) 94 95 func file_pkg_eventchannel_event_proto_rawDescGZIP() []byte { 96 file_pkg_eventchannel_event_proto_rawDescOnce.Do(func() { 97 file_pkg_eventchannel_event_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_eventchannel_event_proto_rawDescData) 98 }) 99 return file_pkg_eventchannel_event_proto_rawDescData 100 } 101 102 var file_pkg_eventchannel_event_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 103 var file_pkg_eventchannel_event_proto_goTypes = []interface{}{ 104 (*DebugEvent)(nil), // 0: gvisor.DebugEvent 105 } 106 var file_pkg_eventchannel_event_proto_depIdxs = []int32{ 107 0, // [0:0] is the sub-list for method output_type 108 0, // [0:0] is the sub-list for method input_type 109 0, // [0:0] is the sub-list for extension type_name 110 0, // [0:0] is the sub-list for extension extendee 111 0, // [0:0] is the sub-list for field type_name 112 } 113 114 func init() { file_pkg_eventchannel_event_proto_init() } 115 func file_pkg_eventchannel_event_proto_init() { 116 if File_pkg_eventchannel_event_proto != nil { 117 return 118 } 119 if !protoimpl.UnsafeEnabled { 120 file_pkg_eventchannel_event_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 121 switch v := v.(*DebugEvent); i { 122 case 0: 123 return &v.state 124 case 1: 125 return &v.sizeCache 126 case 2: 127 return &v.unknownFields 128 default: 129 return nil 130 } 131 } 132 } 133 type x struct{} 134 out := protoimpl.TypeBuilder{ 135 File: protoimpl.DescBuilder{ 136 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 137 RawDescriptor: file_pkg_eventchannel_event_proto_rawDesc, 138 NumEnums: 0, 139 NumMessages: 1, 140 NumExtensions: 0, 141 NumServices: 0, 142 }, 143 GoTypes: file_pkg_eventchannel_event_proto_goTypes, 144 DependencyIndexes: file_pkg_eventchannel_event_proto_depIdxs, 145 MessageInfos: file_pkg_eventchannel_event_proto_msgTypes, 146 }.Build() 147 File_pkg_eventchannel_event_proto = out.File 148 file_pkg_eventchannel_event_proto_rawDesc = nil 149 file_pkg_eventchannel_event_proto_goTypes = nil 150 file_pkg_eventchannel_event_proto_depIdxs = nil 151 }