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

package signerv1

import (
	_ "github.com/meshapi/grpc-api-gateway/api"
	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 GetStatusRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetStatusRequest) ProtoMessage() {}

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

type GetStatusResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Ready         bool                   `protobuf:"varint,1,opt,name=ready,proto3" json:"ready,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetStatusResponse) ProtoMessage() {}

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

func (x *GetStatusResponse) GetReady() bool {
	if x != nil {
		return x.Ready
	}
	return false
}

type GetPubkeyRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetPubkeyRequest) ProtoMessage() {}

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

type GetPubkeyResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Pubkey        string                 `protobuf:"bytes,1,opt,name=pubkey,proto3" json:"pubkey,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*GetPubkeyResponse) ProtoMessage() {}

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

func (x *GetPubkeyResponse) GetPubkey() string {
	if x != nil {
		return x.Pubkey
	}
	return ""
}

type SignTransactionRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PartialTx     string                 `protobuf:"bytes,1,opt,name=partial_tx,json=partialTx,proto3" json:"partial_tx,omitempty"`
	ExtractRawTx  bool                   `protobuf:"varint,2,opt,name=extract_raw_tx,json=extractRawTx,proto3" json:"extract_raw_tx,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SignTransactionRequest) ProtoMessage() {}

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

func (x *SignTransactionRequest) GetPartialTx() string {
	if x != nil {
		return x.PartialTx
	}
	return ""
}

func (x *SignTransactionRequest) GetExtractRawTx() bool {
	if x != nil {
		return x.ExtractRawTx
	}
	return false
}

type SignTransactionResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SignedTx      string                 `protobuf:"bytes,1,opt,name=signed_tx,json=signedTx,proto3" json:"signed_tx,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SignTransactionResponse) ProtoMessage() {}

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

func (x *SignTransactionResponse) GetSignedTx() string {
	if x != nil {
		return x.SignedTx
	}
	return ""
}

type SignTransactionTapscriptRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	PartialTx     string                 `protobuf:"bytes,1,opt,name=partial_tx,json=partialTx,proto3" json:"partial_tx,omitempty"`
	InputIndexes  []int32                `protobuf:"varint,2,rep,packed,name=input_indexes,json=inputIndexes,proto3" json:"input_indexes,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignTransactionTapscriptRequest) Reset() {
	*x = SignTransactionTapscriptRequest{}
	mi := &file_signer_v1_service_proto_msgTypes[6]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignTransactionTapscriptRequest) ProtoMessage() {}

func (x *SignTransactionTapscriptRequest) ProtoReflect() protoreflect.Message {
	mi := &file_signer_v1_service_proto_msgTypes[6]
	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 SignTransactionTapscriptRequest.ProtoReflect.Descriptor instead.
func (*SignTransactionTapscriptRequest) Descriptor() ([]byte, []int) {
	return file_signer_v1_service_proto_rawDescGZIP(), []int{6}
}

func (x *SignTransactionTapscriptRequest) GetPartialTx() string {
	if x != nil {
		return x.PartialTx
	}
	return ""
}

func (x *SignTransactionTapscriptRequest) GetInputIndexes() []int32 {
	if x != nil {
		return x.InputIndexes
	}
	return nil
}

type SignTransactionTapscriptResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	SignedTx      string                 `protobuf:"bytes,1,opt,name=signed_tx,json=signedTx,proto3" json:"signed_tx,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *SignTransactionTapscriptResponse) Reset() {
	*x = SignTransactionTapscriptResponse{}
	mi := &file_signer_v1_service_proto_msgTypes[7]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*SignTransactionTapscriptResponse) ProtoMessage() {}

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

func (x *SignTransactionTapscriptResponse) GetSignedTx() string {
	if x != nil {
		return x.SignedTx
	}
	return ""
}

var File_signer_v1_service_proto protoreflect.FileDescriptor

const file_signer_v1_service_proto_rawDesc = "" +
	"\n" +
	"\x17signer/v1/service.proto\x12\tsigner.v1\x1a!meshapi/gateway/annotations.proto\"\x12\n" +
	"\x10GetStatusRequest\")\n" +
	"\x11GetStatusResponse\x12\x14\n" +
	"\x05ready\x18\x01 \x01(\bR\x05ready\"\x12\n" +
	"\x10GetPubkeyRequest\"+\n" +
	"\x11GetPubkeyResponse\x12\x16\n" +
	"\x06pubkey\x18\x01 \x01(\tR\x06pubkey\"]\n" +
	"\x16SignTransactionRequest\x12\x1d\n" +
	"\n" +
	"partial_tx\x18\x01 \x01(\tR\tpartialTx\x12$\n" +
	"\x0eextract_raw_tx\x18\x02 \x01(\bR\fextractRawTx\"6\n" +
	"\x17SignTransactionResponse\x12\x1b\n" +
	"\tsigned_tx\x18\x01 \x01(\tR\bsignedTx\"e\n" +
	"\x1fSignTransactionTapscriptRequest\x12\x1d\n" +
	"\n" +
	"partial_tx\x18\x01 \x01(\tR\tpartialTx\x12#\n" +
	"\rinput_indexes\x18\x02 \x03(\x05R\finputIndexes\"?\n" +
	" SignTransactionTapscriptResponse\x12\x1b\n" +
	"\tsigned_tx\x18\x01 \x01(\tR\bsignedTx2\xd7\x03\n" +
	"\rSignerService\x12W\n" +
	"\tGetStatus\x12\x1b.signer.v1.GetStatusRequest\x1a\x1c.signer.v1.GetStatusResponse\"\x0f\xb2J\f\x12\n" +
	"/v1/status\x12W\n" +
	"\tGetPubkey\x12\x1b.signer.v1.GetPubkeyRequest\x1a\x1c.signer.v1.GetPubkeyResponse\"\x0f\xb2J\f\x12\n" +
	"/v1/pubkey\x12v\n" +
	"\x0fSignTransaction\x12!.signer.v1.SignTransactionRequest\x1a\".signer.v1.SignTransactionResponse\"\x1c\xb2J\x19B\x01*\"\x14/v1/sign-transaction\x12\x9b\x01\n" +
	"\x18SignTransactionTapscript\x12*.signer.v1.SignTransactionTapscriptRequest\x1a+.signer.v1.SignTransactionTapscriptResponse\"&\xb2J#B\x01*\"\x1e/v1/sign-transaction-tapscriptB\x90\x01\n" +
	"\rcom.signer.v1B\fServiceProtoP\x01Z,github.com/arkade-os/arkd/signer/v1;signerv1\xa2\x02\x03SXX\xaa\x02\tSigner.V1\xca\x02\tSigner\\V1\xe2\x02\x15Signer\\V1\\GPBMetadata\xea\x02\n" +
	"Signer::V1b\x06proto3"

var (
	file_signer_v1_service_proto_rawDescOnce sync.Once
	file_signer_v1_service_proto_rawDescData []byte
)

func file_signer_v1_service_proto_rawDescGZIP() []byte {
	file_signer_v1_service_proto_rawDescOnce.Do(func() {
		file_signer_v1_service_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_signer_v1_service_proto_rawDesc), len(file_signer_v1_service_proto_rawDesc)))
	})
	return file_signer_v1_service_proto_rawDescData
}

var file_signer_v1_service_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_signer_v1_service_proto_goTypes = []any{
	(*GetStatusRequest)(nil),                 // 0: signer.v1.GetStatusRequest
	(*GetStatusResponse)(nil),                // 1: signer.v1.GetStatusResponse
	(*GetPubkeyRequest)(nil),                 // 2: signer.v1.GetPubkeyRequest
	(*GetPubkeyResponse)(nil),                // 3: signer.v1.GetPubkeyResponse
	(*SignTransactionRequest)(nil),           // 4: signer.v1.SignTransactionRequest
	(*SignTransactionResponse)(nil),          // 5: signer.v1.SignTransactionResponse
	(*SignTransactionTapscriptRequest)(nil),  // 6: signer.v1.SignTransactionTapscriptRequest
	(*SignTransactionTapscriptResponse)(nil), // 7: signer.v1.SignTransactionTapscriptResponse
}
var file_signer_v1_service_proto_depIdxs = []int32{
	0, // 0: signer.v1.SignerService.GetStatus:input_type -> signer.v1.GetStatusRequest
	2, // 1: signer.v1.SignerService.GetPubkey:input_type -> signer.v1.GetPubkeyRequest
	4, // 2: signer.v1.SignerService.SignTransaction:input_type -> signer.v1.SignTransactionRequest
	6, // 3: signer.v1.SignerService.SignTransactionTapscript:input_type -> signer.v1.SignTransactionTapscriptRequest
	1, // 4: signer.v1.SignerService.GetStatus:output_type -> signer.v1.GetStatusResponse
	3, // 5: signer.v1.SignerService.GetPubkey:output_type -> signer.v1.GetPubkeyResponse
	5, // 6: signer.v1.SignerService.SignTransaction:output_type -> signer.v1.SignTransactionResponse
	7, // 7: signer.v1.SignerService.SignTransactionTapscript:output_type -> signer.v1.SignTransactionTapscriptResponse
	4, // [4:8] is the sub-list for method output_type
	0, // [0:4] 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_v1_service_proto_init() }
func file_signer_v1_service_proto_init() {
	if File_signer_v1_service_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_signer_v1_service_proto_rawDesc), len(file_signer_v1_service_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_signer_v1_service_proto_goTypes,
		DependencyIndexes: file_signer_v1_service_proto_depIdxs,
		MessageInfos:      file_signer_v1_service_proto_msgTypes,
	}.Build()
	File_signer_v1_service_proto = out.File
	file_signer_v1_service_proto_goTypes = nil
	file_signer_v1_service_proto_depIdxs = nil
}
