// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v3.21.12
// source: autopilotrpc/autopilot.proto

package autopilotrpc

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 StatusRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StatusRequest) ProtoMessage() {}

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

type StatusResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Indicates whether the autopilot is active or not.
	Active        bool `protobuf:"varint,1,opt,name=active,proto3" json:"active,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*StatusResponse) ProtoMessage() {}

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

func (x *StatusResponse) GetActive() bool {
	if x != nil {
		return x.Active
	}
	return false
}

type ModifyStatusRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Whether the autopilot agent should be enabled or not.
	Enable        bool `protobuf:"varint,1,opt,name=enable,proto3" json:"enable,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ModifyStatusRequest) ProtoMessage() {}

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

func (x *ModifyStatusRequest) GetEnable() bool {
	if x != nil {
		return x.Enable
	}
	return false
}

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

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

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

func (*ModifyStatusResponse) ProtoMessage() {}

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

type QueryScoresRequest struct {
	state   protoimpl.MessageState `protogen:"open.v1"`
	Pubkeys []string               `protobuf:"bytes,1,rep,name=pubkeys,proto3" json:"pubkeys,omitempty"`
	// If set, we will ignore the local channel state when calculating scores.
	IgnoreLocalState bool `protobuf:"varint,2,opt,name=ignore_local_state,json=ignoreLocalState,proto3" json:"ignore_local_state,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*QueryScoresRequest) ProtoMessage() {}

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

func (x *QueryScoresRequest) GetPubkeys() []string {
	if x != nil {
		return x.Pubkeys
	}
	return nil
}

func (x *QueryScoresRequest) GetIgnoreLocalState() bool {
	if x != nil {
		return x.IgnoreLocalState
	}
	return false
}

type QueryScoresResponse struct {
	state         protoimpl.MessageState                 `protogen:"open.v1"`
	Results       []*QueryScoresResponse_HeuristicResult `protobuf:"bytes,1,rep,name=results,proto3" json:"results,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*QueryScoresResponse) ProtoMessage() {}

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

func (x *QueryScoresResponse) GetResults() []*QueryScoresResponse_HeuristicResult {
	if x != nil {
		return x.Results
	}
	return nil
}

type SetScoresRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// The name of the heuristic to provide scores to.
	Heuristic string `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"`
	// A map from hex-encoded public keys to scores. Scores must be in the range
	// [0.0, 1.0].
	Scores        map[string]float64 `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SetScoresRequest) ProtoMessage() {}

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

func (x *SetScoresRequest) GetHeuristic() string {
	if x != nil {
		return x.Heuristic
	}
	return ""
}

func (x *SetScoresRequest) GetScores() map[string]float64 {
	if x != nil {
		return x.Scores
	}
	return nil
}

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

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

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

func (*SetScoresResponse) ProtoMessage() {}

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

type QueryScoresResponse_HeuristicResult struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Heuristic     string                 `protobuf:"bytes,1,opt,name=heuristic,proto3" json:"heuristic,omitempty"`
	Scores        map[string]float64     `protobuf:"bytes,2,rep,name=scores,proto3" json:"scores,omitempty" protobuf_key:"bytes,1,opt,name=key" protobuf_val:"fixed64,2,opt,name=value"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

func (x *QueryScoresResponse_HeuristicResult) Reset() {
	*x = QueryScoresResponse_HeuristicResult{}
	mi := &file_autopilotrpc_autopilot_proto_msgTypes[8]
	ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
	ms.StoreMessageInfo(mi)
}

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

func (*QueryScoresResponse_HeuristicResult) ProtoMessage() {}

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

func (x *QueryScoresResponse_HeuristicResult) GetHeuristic() string {
	if x != nil {
		return x.Heuristic
	}
	return ""
}

func (x *QueryScoresResponse_HeuristicResult) GetScores() map[string]float64 {
	if x != nil {
		return x.Scores
	}
	return nil
}

var File_autopilotrpc_autopilot_proto protoreflect.FileDescriptor

const file_autopilotrpc_autopilot_proto_rawDesc = "" +
	"\n" +
	"\x1cautopilotrpc/autopilot.proto\x12\fautopilotrpc\"\x0f\n" +
	"\rStatusRequest\"(\n" +
	"\x0eStatusResponse\x12\x16\n" +
	"\x06active\x18\x01 \x01(\bR\x06active\"-\n" +
	"\x13ModifyStatusRequest\x12\x16\n" +
	"\x06enable\x18\x01 \x01(\bR\x06enable\"\x16\n" +
	"\x14ModifyStatusResponse\"\\\n" +
	"\x12QueryScoresRequest\x12\x18\n" +
	"\apubkeys\x18\x01 \x03(\tR\apubkeys\x12,\n" +
	"\x12ignore_local_state\x18\x02 \x01(\bR\x10ignoreLocalState\"\xa6\x02\n" +
	"\x13QueryScoresResponse\x12K\n" +
	"\aresults\x18\x01 \x03(\v21.autopilotrpc.QueryScoresResponse.HeuristicResultR\aresults\x1a\xc1\x01\n" +
	"\x0fHeuristicResult\x12\x1c\n" +
	"\theuristic\x18\x01 \x01(\tR\theuristic\x12U\n" +
	"\x06scores\x18\x02 \x03(\v2=.autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntryR\x06scores\x1a9\n" +
	"\vScoresEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\"\xaf\x01\n" +
	"\x10SetScoresRequest\x12\x1c\n" +
	"\theuristic\x18\x01 \x01(\tR\theuristic\x12B\n" +
	"\x06scores\x18\x02 \x03(\v2*.autopilotrpc.SetScoresRequest.ScoresEntryR\x06scores\x1a9\n" +
	"\vScoresEntry\x12\x10\n" +
	"\x03key\x18\x01 \x01(\tR\x03key\x12\x14\n" +
	"\x05value\x18\x02 \x01(\x01R\x05value:\x028\x01\"\x13\n" +
	"\x11SetScoresResponse2\xc9\x02\n" +
	"\tAutopilot\x12C\n" +
	"\x06Status\x12\x1b.autopilotrpc.StatusRequest\x1a\x1c.autopilotrpc.StatusResponse\x12U\n" +
	"\fModifyStatus\x12!.autopilotrpc.ModifyStatusRequest\x1a\".autopilotrpc.ModifyStatusResponse\x12R\n" +
	"\vQueryScores\x12 .autopilotrpc.QueryScoresRequest\x1a!.autopilotrpc.QueryScoresResponse\x12L\n" +
	"\tSetScores\x12\x1e.autopilotrpc.SetScoresRequest\x1a\x1f.autopilotrpc.SetScoresResponseB4Z2github.com/lightningnetwork/lnd/lnrpc/autopilotrpcb\x06proto3"

var (
	file_autopilotrpc_autopilot_proto_rawDescOnce sync.Once
	file_autopilotrpc_autopilot_proto_rawDescData []byte
)

func file_autopilotrpc_autopilot_proto_rawDescGZIP() []byte {
	file_autopilotrpc_autopilot_proto_rawDescOnce.Do(func() {
		file_autopilotrpc_autopilot_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_autopilotrpc_autopilot_proto_rawDesc), len(file_autopilotrpc_autopilot_proto_rawDesc)))
	})
	return file_autopilotrpc_autopilot_proto_rawDescData
}

var file_autopilotrpc_autopilot_proto_msgTypes = make([]protoimpl.MessageInfo, 11)
var file_autopilotrpc_autopilot_proto_goTypes = []any{
	(*StatusRequest)(nil),                       // 0: autopilotrpc.StatusRequest
	(*StatusResponse)(nil),                      // 1: autopilotrpc.StatusResponse
	(*ModifyStatusRequest)(nil),                 // 2: autopilotrpc.ModifyStatusRequest
	(*ModifyStatusResponse)(nil),                // 3: autopilotrpc.ModifyStatusResponse
	(*QueryScoresRequest)(nil),                  // 4: autopilotrpc.QueryScoresRequest
	(*QueryScoresResponse)(nil),                 // 5: autopilotrpc.QueryScoresResponse
	(*SetScoresRequest)(nil),                    // 6: autopilotrpc.SetScoresRequest
	(*SetScoresResponse)(nil),                   // 7: autopilotrpc.SetScoresResponse
	(*QueryScoresResponse_HeuristicResult)(nil), // 8: autopilotrpc.QueryScoresResponse.HeuristicResult
	nil, // 9: autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry
	nil, // 10: autopilotrpc.SetScoresRequest.ScoresEntry
}
var file_autopilotrpc_autopilot_proto_depIdxs = []int32{
	8,  // 0: autopilotrpc.QueryScoresResponse.results:type_name -> autopilotrpc.QueryScoresResponse.HeuristicResult
	10, // 1: autopilotrpc.SetScoresRequest.scores:type_name -> autopilotrpc.SetScoresRequest.ScoresEntry
	9,  // 2: autopilotrpc.QueryScoresResponse.HeuristicResult.scores:type_name -> autopilotrpc.QueryScoresResponse.HeuristicResult.ScoresEntry
	0,  // 3: autopilotrpc.Autopilot.Status:input_type -> autopilotrpc.StatusRequest
	2,  // 4: autopilotrpc.Autopilot.ModifyStatus:input_type -> autopilotrpc.ModifyStatusRequest
	4,  // 5: autopilotrpc.Autopilot.QueryScores:input_type -> autopilotrpc.QueryScoresRequest
	6,  // 6: autopilotrpc.Autopilot.SetScores:input_type -> autopilotrpc.SetScoresRequest
	1,  // 7: autopilotrpc.Autopilot.Status:output_type -> autopilotrpc.StatusResponse
	3,  // 8: autopilotrpc.Autopilot.ModifyStatus:output_type -> autopilotrpc.ModifyStatusResponse
	5,  // 9: autopilotrpc.Autopilot.QueryScores:output_type -> autopilotrpc.QueryScoresResponse
	7,  // 10: autopilotrpc.Autopilot.SetScores:output_type -> autopilotrpc.SetScoresResponse
	7,  // [7:11] is the sub-list for method output_type
	3,  // [3:7] is the sub-list for method input_type
	3,  // [3:3] is the sub-list for extension type_name
	3,  // [3:3] is the sub-list for extension extendee
	0,  // [0:3] is the sub-list for field type_name
}

func init() { file_autopilotrpc_autopilot_proto_init() }
func file_autopilotrpc_autopilot_proto_init() {
	if File_autopilotrpc_autopilot_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_autopilotrpc_autopilot_proto_rawDesc), len(file_autopilotrpc_autopilot_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   11,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_autopilotrpc_autopilot_proto_goTypes,
		DependencyIndexes: file_autopilotrpc_autopilot_proto_depIdxs,
		MessageInfos:      file_autopilotrpc_autopilot_proto_msgTypes,
	}.Build()
	File_autopilotrpc_autopilot_proto = out.File
	file_autopilotrpc_autopilot_proto_goTypes = nil
	file_autopilotrpc_autopilot_proto_depIdxs = nil
}
