// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.6
// 	protoc        (unknown)
// source: signer/signer.proto

package signer

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	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 PublicKeyRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PublicKeyRequest) ProtoMessage() {}

func (x *PublicKeyRequest) ProtoReflect() protoreflect.Message {
	mi := &file_signer_signer_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 PublicKeyRequest.ProtoReflect.Descriptor instead.
func (*PublicKeyRequest) Descriptor() ([]byte, []int) {
	return file_signer_signer_proto_rawDescGZIP(), []int{0}
}

type PublicKeyResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PublicKey     []byte                 `protobuf:"bytes,1,opt,name=public_key,json=publicKey,proto3" json:"public_key,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *PublicKeyResponse) Reset() {
	*x = PublicKeyResponse{}
	mi := &file_signer_signer_proto_msgTypes[1]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*PublicKeyResponse) ProtoMessage() {}

func (x *PublicKeyResponse) ProtoReflect() protoreflect.Message {
	mi := &file_signer_signer_proto_msgTypes[1]
	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 PublicKeyResponse.ProtoReflect.Descriptor instead.
func (*PublicKeyResponse) Descriptor() ([]byte, []int) {
	return file_signer_signer_proto_rawDescGZIP(), []int{1}
}

func (x *PublicKeyResponse) GetPublicKey() []byte {
	if x != nil {
		return x.PublicKey
	}
	return nil
}

type SignRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       []byte                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignRequest) Reset() {
	*x = SignRequest{}
	mi := &file_signer_signer_proto_msgTypes[2]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignRequest) ProtoMessage() {}

func (x *SignRequest) ProtoReflect() protoreflect.Message {
	mi := &file_signer_signer_proto_msgTypes[2]
	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 SignRequest.ProtoReflect.Descriptor instead.
func (*SignRequest) Descriptor() ([]byte, []int) {
	return file_signer_signer_proto_rawDescGZIP(), []int{2}
}

func (x *SignRequest) GetMessage() []byte {
	if x != nil {
		return x.Message
	}
	return nil
}

type SignResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Signature     []byte                 `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignResponse) Reset() {
	*x = SignResponse{}
	mi := &file_signer_signer_proto_msgTypes[3]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignResponse) ProtoMessage() {}

func (x *SignResponse) ProtoReflect() protoreflect.Message {
	mi := &file_signer_signer_proto_msgTypes[3]
	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 SignResponse.ProtoReflect.Descriptor instead.
func (*SignResponse) Descriptor() ([]byte, []int) {
	return file_signer_signer_proto_rawDescGZIP(), []int{3}
}

func (x *SignResponse) GetSignature() []byte {
	if x != nil {
		return x.Signature
	}
	return nil
}

type SignProofOfPossessionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Message       []byte                 `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignProofOfPossessionRequest) Reset() {
	*x = SignProofOfPossessionRequest{}
	mi := &file_signer_signer_proto_msgTypes[4]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignProofOfPossessionRequest) ProtoMessage() {}

func (x *SignProofOfPossessionRequest) ProtoReflect() protoreflect.Message {
	mi := &file_signer_signer_proto_msgTypes[4]
	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 SignProofOfPossessionRequest.ProtoReflect.Descriptor instead.
func (*SignProofOfPossessionRequest) Descriptor() ([]byte, []int) {
	return file_signer_signer_proto_rawDescGZIP(), []int{4}
}

func (x *SignProofOfPossessionRequest) GetMessage() []byte {
	if x != nil {
		return x.Message
	}
	return nil
}

type SignProofOfPossessionResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Signature     []byte                 `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignProofOfPossessionResponse) Reset() {
	*x = SignProofOfPossessionResponse{}
	mi := &file_signer_signer_proto_msgTypes[5]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignProofOfPossessionResponse) ProtoMessage() {}

func (x *SignProofOfPossessionResponse) ProtoReflect() protoreflect.Message {
	mi := &file_signer_signer_proto_msgTypes[5]
	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 SignProofOfPossessionResponse.ProtoReflect.Descriptor instead.
func (*SignProofOfPossessionResponse) Descriptor() ([]byte, []int) {
	return file_signer_signer_proto_rawDescGZIP(), []int{5}
}

func (x *SignProofOfPossessionResponse) GetSignature() []byte {
	if x != nil {
		return x.Signature
	}
	return nil
}

var File_signer_signer_proto protoreflect.FileDescriptor

const file_signer_signer_proto_rawDesc = "" +
	"\n" +
	"\x13signer/signer.proto\x12\x06signer\"\x12\n" +
	"\x10PublicKeyRequest\"2\n" +
	"\x11PublicKeyResponse\x12\x1d\n" +
	"\n" +
	"public_key\x18\x01 \x01(\fR\tpublicKey\"'\n" +
	"\vSignRequest\x12\x18\n" +
	"\amessage\x18\x01 \x01(\fR\amessage\",\n" +
	"\fSignResponse\x12\x1c\n" +
	"\tsignature\x18\x01 \x01(\fR\tsignature\"8\n" +
	"\x1cSignProofOfPossessionRequest\x12\x18\n" +
	"\amessage\x18\x01 \x01(\fR\amessage\"=\n" +
	"\x1dSignProofOfPossessionResponse\x12\x1c\n" +
	"\tsignature\x18\x01 \x01(\fR\tsignature2\xe9\x01\n" +
	"\x06Signer\x12B\n" +
	"\tPublicKey\x12\x18.signer.PublicKeyRequest\x1a\x19.signer.PublicKeyResponse\"\x00\x123\n" +
	"\x04Sign\x12\x13.signer.SignRequest\x1a\x14.signer.SignResponse\"\x00\x12f\n" +
	"\x15SignProofOfPossession\x12$.signer.SignProofOfPossessionRequest\x1a%.signer.SignProofOfPossessionResponse\"\x00B1Z/github.com/ava-labs/avalanchego/proto/pb/signerb\x06proto3"

var (
	file_signer_signer_proto_rawDescOnce sync.Once
	file_signer_signer_proto_rawDescData []byte
)

func file_signer_signer_proto_rawDescGZIP() []byte {
	file_signer_signer_proto_rawDescOnce.Do(func() {
		file_signer_signer_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_signer_signer_proto_rawDesc), len(file_signer_signer_proto_rawDesc)))
	})
	return file_signer_signer_proto_rawDescData
}

var file_signer_signer_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_signer_signer_proto_goTypes = []any{
	(*PublicKeyRequest)(nil),              // 0: signer.PublicKeyRequest
	(*PublicKeyResponse)(nil),             // 1: signer.PublicKeyResponse
	(*SignRequest)(nil),                   // 2: signer.SignRequest
	(*SignResponse)(nil),                  // 3: signer.SignResponse
	(*SignProofOfPossessionRequest)(nil),  // 4: signer.SignProofOfPossessionRequest
	(*SignProofOfPossessionResponse)(nil), // 5: signer.SignProofOfPossessionResponse
}
var file_signer_signer_proto_depIdxs = []int32{
	0, // 0: signer.Signer.PublicKey:input_type -> signer.PublicKeyRequest
	2, // 1: signer.Signer.Sign:input_type -> signer.SignRequest
	4, // 2: signer.Signer.SignProofOfPossession:input_type -> signer.SignProofOfPossessionRequest
	1, // 3: signer.Signer.PublicKey:output_type -> signer.PublicKeyResponse
	3, // 4: signer.Signer.Sign:output_type -> signer.SignResponse
	5, // 5: signer.Signer.SignProofOfPossession:output_type -> signer.SignProofOfPossessionResponse
	3, // [3:6] is the sub-list for method output_type
	0, // [0:3] is the sub-list for method input_type
	0, // [0:0] is the sub-list for extension type_name
	0, // [0:0] is the sub-list for extension extendee
	0, // [0:0] is the sub-list for field type_name
}

func init() { file_signer_signer_proto_init() }
func file_signer_signer_proto_init() {
	if File_signer_signer_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_signer_signer_proto_rawDesc), len(file_signer_signer_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_signer_signer_proto_goTypes,
		DependencyIndexes: file_signer_signer_proto_depIdxs,
		MessageInfos:      file_signer_signer_proto_msgTypes,
	}.Build()
	File_signer_signer_proto = out.File
	file_signer_signer_proto_goTypes = nil
	file_signer_signer_proto_depIdxs = nil
}
