github.com/MerlinKodo/gvisor@v0.0.0-20231110090155-957f62ecf90e/pkg/sentry/unimpl/unimplemented_syscall_go_proto/unimplemented_syscall.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.30.0 4 // protoc v3.21.7 5 // source: pkg/sentry/unimpl/unimplemented_syscall.proto 6 7 package unimplemented_syscall_go_proto 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 registers_go_proto "github.com/MerlinKodo/gvisor/pkg/sentry/arch/registers_go_proto" 13 reflect "reflect" 14 sync "sync" 15 ) 16 17 const ( 18 // Verify that this generated code is sufficiently up-to-date. 19 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 20 // Verify that runtime/protoimpl is sufficiently up-to-date. 21 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 22 ) 23 24 type UnimplementedSyscall struct { 25 state protoimpl.MessageState 26 sizeCache protoimpl.SizeCache 27 unknownFields protoimpl.UnknownFields 28 29 Tid int32 `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"` 30 Registers *registers_go_proto.Registers `protobuf:"bytes,2,opt,name=registers,proto3" json:"registers,omitempty"` 31 } 32 33 func (x *UnimplementedSyscall) Reset() { 34 *x = UnimplementedSyscall{} 35 if protoimpl.UnsafeEnabled { 36 mi := &file_pkg_sentry_unimpl_unimplemented_syscall_proto_msgTypes[0] 37 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 38 ms.StoreMessageInfo(mi) 39 } 40 } 41 42 func (x *UnimplementedSyscall) String() string { 43 return protoimpl.X.MessageStringOf(x) 44 } 45 46 func (*UnimplementedSyscall) ProtoMessage() {} 47 48 func (x *UnimplementedSyscall) ProtoReflect() protoreflect.Message { 49 mi := &file_pkg_sentry_unimpl_unimplemented_syscall_proto_msgTypes[0] 50 if protoimpl.UnsafeEnabled && x != nil { 51 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 52 if ms.LoadMessageInfo() == nil { 53 ms.StoreMessageInfo(mi) 54 } 55 return ms 56 } 57 return mi.MessageOf(x) 58 } 59 60 // Deprecated: Use UnimplementedSyscall.ProtoReflect.Descriptor instead. 61 func (*UnimplementedSyscall) Descriptor() ([]byte, []int) { 62 return file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescGZIP(), []int{0} 63 } 64 65 func (x *UnimplementedSyscall) GetTid() int32 { 66 if x != nil { 67 return x.Tid 68 } 69 return 0 70 } 71 72 func (x *UnimplementedSyscall) GetRegisters() *registers_go_proto.Registers { 73 if x != nil { 74 return x.Registers 75 } 76 return nil 77 } 78 79 var File_pkg_sentry_unimpl_unimplemented_syscall_proto protoreflect.FileDescriptor 80 81 var file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDesc = []byte{ 82 0x0a, 0x2d, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x6e, 0x74, 0x72, 0x79, 0x2f, 0x75, 0x6e, 0x69, 83 0x6d, 0x70, 0x6c, 0x2f, 0x75, 0x6e, 0x69, 0x6d, 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 84 0x64, 0x5f, 0x73, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 85 0x06, 0x67, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x1a, 0x1f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x65, 0x6e, 86 0x74, 0x72, 0x79, 0x2f, 0x61, 0x72, 0x63, 0x68, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 87 0x72, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x59, 0x0a, 0x14, 0x55, 0x6e, 0x69, 0x6d, 88 0x70, 0x6c, 0x65, 0x6d, 0x65, 0x6e, 0x74, 0x65, 0x64, 0x53, 0x79, 0x73, 0x63, 0x61, 0x6c, 0x6c, 89 0x12, 0x10, 0x0a, 0x03, 0x74, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x03, 0x74, 90 0x69, 0x64, 0x12, 0x2f, 0x0a, 0x09, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x18, 91 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x76, 0x69, 0x73, 0x6f, 0x72, 0x2e, 0x52, 92 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x73, 0x52, 0x09, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 93 0x65, 0x72, 0x73, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 94 } 95 96 var ( 97 file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescOnce sync.Once 98 file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescData = file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDesc 99 ) 100 101 func file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescGZIP() []byte { 102 file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescOnce.Do(func() { 103 file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescData = protoimpl.X.CompressGZIP(file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescData) 104 }) 105 return file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDescData 106 } 107 108 var file_pkg_sentry_unimpl_unimplemented_syscall_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 109 var file_pkg_sentry_unimpl_unimplemented_syscall_proto_goTypes = []interface{}{ 110 (*UnimplementedSyscall)(nil), // 0: gvisor.UnimplementedSyscall 111 (*registers_go_proto.Registers)(nil), // 1: gvisor.Registers 112 } 113 var file_pkg_sentry_unimpl_unimplemented_syscall_proto_depIdxs = []int32{ 114 1, // 0: gvisor.UnimplementedSyscall.registers:type_name -> gvisor.Registers 115 1, // [1:1] is the sub-list for method output_type 116 1, // [1:1] is the sub-list for method input_type 117 1, // [1:1] is the sub-list for extension type_name 118 1, // [1:1] is the sub-list for extension extendee 119 0, // [0:1] is the sub-list for field type_name 120 } 121 122 func init() { file_pkg_sentry_unimpl_unimplemented_syscall_proto_init() } 123 func file_pkg_sentry_unimpl_unimplemented_syscall_proto_init() { 124 if File_pkg_sentry_unimpl_unimplemented_syscall_proto != nil { 125 return 126 } 127 if !protoimpl.UnsafeEnabled { 128 file_pkg_sentry_unimpl_unimplemented_syscall_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 129 switch v := v.(*UnimplementedSyscall); i { 130 case 0: 131 return &v.state 132 case 1: 133 return &v.sizeCache 134 case 2: 135 return &v.unknownFields 136 default: 137 return nil 138 } 139 } 140 } 141 type x struct{} 142 out := protoimpl.TypeBuilder{ 143 File: protoimpl.DescBuilder{ 144 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 145 RawDescriptor: file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDesc, 146 NumEnums: 0, 147 NumMessages: 1, 148 NumExtensions: 0, 149 NumServices: 0, 150 }, 151 GoTypes: file_pkg_sentry_unimpl_unimplemented_syscall_proto_goTypes, 152 DependencyIndexes: file_pkg_sentry_unimpl_unimplemented_syscall_proto_depIdxs, 153 MessageInfos: file_pkg_sentry_unimpl_unimplemented_syscall_proto_msgTypes, 154 }.Build() 155 File_pkg_sentry_unimpl_unimplemented_syscall_proto = out.File 156 file_pkg_sentry_unimpl_unimplemented_syscall_proto_rawDesc = nil 157 file_pkg_sentry_unimpl_unimplemented_syscall_proto_goTypes = nil 158 file_pkg_sentry_unimpl_unimplemented_syscall_proto_depIdxs = nil 159 }