// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.8
// 	protoc        v6.33.2
// source: pkg/sentry/kernel/uncaught_signal.proto

package uncaught_signal_go_proto

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	registers_go_proto "gvisor.dev/gvisor/pkg/sentry/arch/registers_go_proto"
	reflect "reflect"
	sync "sync"
	unsafe "unsafe"
)

const (
	// Verify that this generated code is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
	// Verify that runtime/protoimpl is sufficiently up-to-date.
	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
)

type UncaughtSignal struct {
	state         protoimpl.MessageState        `protogen:"open.v1"`
	Tid           int32                         `protobuf:"varint,1,opt,name=tid,proto3" json:"tid,omitempty"`
	Pid           int32                         `protobuf:"varint,2,opt,name=pid,proto3" json:"pid,omitempty"`
	Registers     *registers_go_proto.Registers `protobuf:"bytes,3,opt,name=registers,proto3" json:"registers,omitempty"`
	SignalNumber  int32                         `protobuf:"varint,4,opt,name=signal_number,json=signalNumber,proto3" json:"signal_number,omitempty"`
	FaultAddr     uint64                        `protobuf:"varint,5,opt,name=fault_addr,json=faultAddr,proto3" json:"fault_addr,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *UncaughtSignal) Reset() {
	*x = UncaughtSignal{}
	mi := &file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes[0]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

func (x *UncaughtSignal) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*UncaughtSignal) ProtoMessage() {}

func (x *UncaughtSignal) ProtoReflect() protoreflect.Message {
	mi := &file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes[0]
	if x != nil {
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		if ms.LoadMessageInfo() == nil {
			ms.StoreMessageInfo(mi)
		}
		return ms
	}
	return mi.MessageOf(x)
}

// Deprecated: Use UncaughtSignal.ProtoReflect.Descriptor instead.
func (*UncaughtSignal) Descriptor() ([]byte, []int) {
	return file_pkg_sentry_kernel_uncaught_signal_proto_rawDescGZIP(), []int{0}
}

func (x *UncaughtSignal) GetTid() int32 {
	if x != nil {
		return x.Tid
	}
	return 0
}

func (x *UncaughtSignal) GetPid() int32 {
	if x != nil {
		return x.Pid
	}
	return 0
}

func (x *UncaughtSignal) GetRegisters() *registers_go_proto.Registers {
	if x != nil {
		return x.Registers
	}
	return nil
}

func (x *UncaughtSignal) GetSignalNumber() int32 {
	if x != nil {
		return x.SignalNumber
	}
	return 0
}

func (x *UncaughtSignal) GetFaultAddr() uint64 {
	if x != nil {
		return x.FaultAddr
	}
	return 0
}

var File_pkg_sentry_kernel_uncaught_signal_proto protoreflect.FileDescriptor

const file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc = "" +
	"\n" +
	"'pkg/sentry/kernel/uncaught_signal.proto\x12\x06gvisor\x1a\x1fpkg/sentry/arch/registers.proto\"\xa9\x01\n" +
	"\x0eUncaughtSignal\x12\x10\n" +
	"\x03tid\x18\x01 \x01(\x05R\x03tid\x12\x10\n" +
	"\x03pid\x18\x02 \x01(\x05R\x03pid\x12/\n" +
	"\tregisters\x18\x03 \x01(\v2\x11.gvisor.RegistersR\tregisters\x12#\n" +
	"\rsignal_number\x18\x04 \x01(\x05R\fsignalNumber\x12\x1d\n" +
	"\n" +
	"fault_addr\x18\x05 \x01(\x04R\tfaultAddrb\x06proto3"

var (
	file_pkg_sentry_kernel_uncaught_signal_proto_rawDescOnce sync.Once
	file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData []byte
)

func file_pkg_sentry_kernel_uncaught_signal_proto_rawDescGZIP() []byte {
	file_pkg_sentry_kernel_uncaught_signal_proto_rawDescOnce.Do(func() {
		file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc), len(file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc)))
	})
	return file_pkg_sentry_kernel_uncaught_signal_proto_rawDescData
}

var file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
var file_pkg_sentry_kernel_uncaught_signal_proto_goTypes = []any{
	(*UncaughtSignal)(nil),               // 0: gvisor.UncaughtSignal
	(*registers_go_proto.Registers)(nil), // 1: gvisor.Registers
}
var file_pkg_sentry_kernel_uncaught_signal_proto_depIdxs = []int32{
	1, // 0: gvisor.UncaughtSignal.registers:type_name -> gvisor.Registers
	1, // [1:1] is the sub-list for method output_type
	1, // [1:1] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_pkg_sentry_kernel_uncaught_signal_proto_init() }
func file_pkg_sentry_kernel_uncaught_signal_proto_init() {
	if File_pkg_sentry_kernel_uncaught_signal_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc), len(file_pkg_sentry_kernel_uncaught_signal_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   1,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_pkg_sentry_kernel_uncaught_signal_proto_goTypes,
		DependencyIndexes: file_pkg_sentry_kernel_uncaught_signal_proto_depIdxs,
		MessageInfos:      file_pkg_sentry_kernel_uncaught_signal_proto_msgTypes,
	}.Build()
	File_pkg_sentry_kernel_uncaught_signal_proto = out.File
	file_pkg_sentry_kernel_uncaught_signal_proto_goTypes = nil
	file_pkg_sentry_kernel_uncaught_signal_proto_depIdxs = nil
}
