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

package arkv1

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 LoadSignerRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Types that are valid to be assigned to Config:
	//
	//	*LoadSignerRequest_SignerUrl
	//	*LoadSignerRequest_SignerPrivateKey
	Config        isLoadSignerRequest_Config `protobuf_oneof:"config"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*LoadSignerRequest) ProtoMessage() {}

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

func (x *LoadSignerRequest) GetConfig() isLoadSignerRequest_Config {
	if x != nil {
		return x.Config
	}
	return nil
}

func (x *LoadSignerRequest) GetSignerUrl() string {
	if x != nil {
		if x, ok := x.Config.(*LoadSignerRequest_SignerUrl); ok {
			return x.SignerUrl
		}
	}
	return ""
}

func (x *LoadSignerRequest) GetSignerPrivateKey() string {
	if x != nil {
		if x, ok := x.Config.(*LoadSignerRequest_SignerPrivateKey); ok {
			return x.SignerPrivateKey
		}
	}
	return ""
}

type isLoadSignerRequest_Config interface {
	isLoadSignerRequest_Config()
}

type LoadSignerRequest_SignerUrl struct {
	SignerUrl string `protobuf:"bytes,1,opt,name=signer_url,json=signerUrl,proto3,oneof"`
}

type LoadSignerRequest_SignerPrivateKey struct {
	SignerPrivateKey string `protobuf:"bytes,2,opt,name=signer_private_key,json=signerPrivateKey,proto3,oneof"`
}

func (*LoadSignerRequest_SignerUrl) isLoadSignerRequest_Config() {}

func (*LoadSignerRequest_SignerPrivateKey) isLoadSignerRequest_Config() {}

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

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

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

func (*LoadSignerResponse) ProtoMessage() {}

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

var File_ark_v1_signer_manager_proto protoreflect.FileDescriptor

const file_ark_v1_signer_manager_proto_rawDesc = "" +
	"\n" +
	"\x1bark/v1/signer_manager.proto\x12\x06ark.v1\x1a!meshapi/gateway/annotations.proto\"n\n" +
	"\x11LoadSignerRequest\x12\x1f\n" +
	"\n" +
	"signer_url\x18\x01 \x01(\tH\x00R\tsignerUrl\x12.\n" +
	"\x12signer_private_key\x18\x02 \x01(\tH\x00R\x10signerPrivateKeyB\b\n" +
	"\x06config\"\x14\n" +
	"\x12LoadSignerResponse2u\n" +
	"\x14SignerManagerService\x12]\n" +
	"\n" +
	"LoadSigner\x12\x19.ark.v1.LoadSignerRequest\x1a\x1a.ark.v1.LoadSignerResponse\"\x18\xb2J\x15B\x01*\"\x10/v1/admin/signerB\x81\x01\n" +
	"\n" +
	"com.ark.v1B\x12SignerManagerProtoP\x01Z&github.com/arkade-os/arkd/ark/v1;arkv1\xa2\x02\x03AXX\xaa\x02\x06Ark.V1\xca\x02\x06Ark\\V1\xe2\x02\x12Ark\\V1\\GPBMetadata\xea\x02\aArk::V1b\x06proto3"

var (
	file_ark_v1_signer_manager_proto_rawDescOnce sync.Once
	file_ark_v1_signer_manager_proto_rawDescData []byte
)

func file_ark_v1_signer_manager_proto_rawDescGZIP() []byte {
	file_ark_v1_signer_manager_proto_rawDescOnce.Do(func() {
		file_ark_v1_signer_manager_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_ark_v1_signer_manager_proto_rawDesc), len(file_ark_v1_signer_manager_proto_rawDesc)))
	})
	return file_ark_v1_signer_manager_proto_rawDescData
}

var file_ark_v1_signer_manager_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_ark_v1_signer_manager_proto_goTypes = []any{
	(*LoadSignerRequest)(nil),  // 0: ark.v1.LoadSignerRequest
	(*LoadSignerResponse)(nil), // 1: ark.v1.LoadSignerResponse
}
var file_ark_v1_signer_manager_proto_depIdxs = []int32{
	0, // 0: ark.v1.SignerManagerService.LoadSigner:input_type -> ark.v1.LoadSignerRequest
	1, // 1: ark.v1.SignerManagerService.LoadSigner:output_type -> ark.v1.LoadSignerResponse
	1, // [1:2] is the sub-list for method output_type
	0, // [0:1] 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_ark_v1_signer_manager_proto_init() }
func file_ark_v1_signer_manager_proto_init() {
	if File_ark_v1_signer_manager_proto != nil {
		return
	}
	file_ark_v1_signer_manager_proto_msgTypes[0].OneofWrappers = []any{
		(*LoadSignerRequest_SignerUrl)(nil),
		(*LoadSignerRequest_SignerPrivateKey)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_ark_v1_signer_manager_proto_rawDesc), len(file_ark_v1_signer_manager_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   2,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_ark_v1_signer_manager_proto_goTypes,
		DependencyIndexes: file_ark_v1_signer_manager_proto_depIdxs,
		MessageInfos:      file_ark_v1_signer_manager_proto_msgTypes,
	}.Build()
	File_ark_v1_signer_manager_proto = out.File
	file_ark_v1_signer_manager_proto_goTypes = nil
	file_ark_v1_signer_manager_proto_depIdxs = nil
}
