// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.11
// 	protoc        v6.33.1
// source: remote/bor.proto

package remoteproto

import (
	typesproto "github.com/erigontech/erigon/node/gointerfaces/typesproto"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	emptypb "google.golang.org/protobuf/types/known/emptypb"
	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 BorTxnLookupRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	BorTxHash     *typesproto.H256       `protobuf:"bytes,1,opt,name=bor_tx_hash,json=borTxHash,proto3" json:"bor_tx_hash,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BorTxnLookupRequest) ProtoMessage() {}

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

func (x *BorTxnLookupRequest) GetBorTxHash() *typesproto.H256 {
	if x != nil {
		return x.BorTxHash
	}
	return nil
}

type BorTxnLookupReply struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Present       bool                   `protobuf:"varint,1,opt,name=present,proto3" json:"present,omitempty"`
	BlockNumber   uint64                 `protobuf:"varint,2,opt,name=block_number,json=blockNumber,proto3" json:"block_number,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BorTxnLookupReply) ProtoMessage() {}

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

func (x *BorTxnLookupReply) GetPresent() bool {
	if x != nil {
		return x.Present
	}
	return false
}

func (x *BorTxnLookupReply) GetBlockNumber() uint64 {
	if x != nil {
		return x.BlockNumber
	}
	return 0
}

type BorEventsRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	BlockNum      uint64                 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	BlockHash     *typesproto.H256       `protobuf:"bytes,2,opt,name=block_hash,json=blockHash,proto3" json:"block_hash,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BorEventsRequest) ProtoMessage() {}

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

func (x *BorEventsRequest) GetBlockNum() uint64 {
	if x != nil {
		return x.BlockNum
	}
	return 0
}

func (x *BorEventsRequest) GetBlockHash() *typesproto.H256 {
	if x != nil {
		return x.BlockHash
	}
	return nil
}

type BorEventsReply struct {
	state                        protoimpl.MessageState `protogen:"open.v1"`
	StateReceiverContractAddress string                 `protobuf:"bytes,1,opt,name=state_receiver_contract_address,json=stateReceiverContractAddress,proto3" json:"state_receiver_contract_address,omitempty"`
	EventRlps                    [][]byte               `protobuf:"bytes,2,rep,name=event_rlps,json=eventRlps,proto3" json:"event_rlps,omitempty"`
	unknownFields                protoimpl.UnknownFields
	sizeCache                    protoimpl.SizeCache
}

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

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

func (*BorEventsReply) ProtoMessage() {}

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

func (x *BorEventsReply) GetStateReceiverContractAddress() string {
	if x != nil {
		return x.StateReceiverContractAddress
	}
	return ""
}

func (x *BorEventsReply) GetEventRlps() [][]byte {
	if x != nil {
		return x.EventRlps
	}
	return nil
}

type BorProducersRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	BlockNum      uint64                 `protobuf:"varint,1,opt,name=block_num,json=blockNum,proto3" json:"block_num,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BorProducersRequest) ProtoMessage() {}

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

func (x *BorProducersRequest) GetBlockNum() uint64 {
	if x != nil {
		return x.BlockNum
	}
	return 0
}

type BorProducersResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Proposer      *Validator             `protobuf:"bytes,1,opt,name=proposer,proto3" json:"proposer,omitempty"`
	Validators    []*Validator           `protobuf:"bytes,2,rep,name=validators,proto3" json:"validators,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*BorProducersResponse) ProtoMessage() {}

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

func (x *BorProducersResponse) GetProposer() *Validator {
	if x != nil {
		return x.Proposer
	}
	return nil
}

func (x *BorProducersResponse) GetValidators() []*Validator {
	if x != nil {
		return x.Validators
	}
	return nil
}

type Validator struct {
	state            protoimpl.MessageState `protogen:"open.v1"`
	Id               uint64                 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	Address          *typesproto.H160       `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"`
	VotingPower      int64                  `protobuf:"varint,3,opt,name=voting_power,json=votingPower,proto3" json:"voting_power,omitempty"`
	ProposerPriority int64                  `protobuf:"varint,4,opt,name=proposer_priority,json=proposerPriority,proto3" json:"proposer_priority,omitempty"`
	unknownFields    protoimpl.UnknownFields
	sizeCache        protoimpl.SizeCache
}

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

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

func (*Validator) ProtoMessage() {}

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

func (x *Validator) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *Validator) GetAddress() *typesproto.H160 {
	if x != nil {
		return x.Address
	}
	return nil
}

func (x *Validator) GetVotingPower() int64 {
	if x != nil {
		return x.VotingPower
	}
	return 0
}

func (x *Validator) GetProposerPriority() int64 {
	if x != nil {
		return x.ProposerPriority
	}
	return 0
}

var File_remote_bor_proto protoreflect.FileDescriptor

const file_remote_bor_proto_rawDesc = "" +
	"\n" +
	"\x10remote/bor.proto\x12\x06remote\x1a\x1bgoogle/protobuf/empty.proto\x1a\x11types/types.proto\"B\n" +
	"\x13BorTxnLookupRequest\x12+\n" +
	"\vbor_tx_hash\x18\x01 \x01(\v2\v.types.H256R\tborTxHash\"P\n" +
	"\x11BorTxnLookupReply\x12\x18\n" +
	"\apresent\x18\x01 \x01(\bR\apresent\x12!\n" +
	"\fblock_number\x18\x02 \x01(\x04R\vblockNumber\"[\n" +
	"\x10BorEventsRequest\x12\x1b\n" +
	"\tblock_num\x18\x01 \x01(\x04R\bblockNum\x12*\n" +
	"\n" +
	"block_hash\x18\x02 \x01(\v2\v.types.H256R\tblockHash\"v\n" +
	"\x0eBorEventsReply\x12E\n" +
	"\x1fstate_receiver_contract_address\x18\x01 \x01(\tR\x1cstateReceiverContractAddress\x12\x1d\n" +
	"\n" +
	"event_rlps\x18\x02 \x03(\fR\teventRlps\"2\n" +
	"\x13BorProducersRequest\x12\x1b\n" +
	"\tblock_num\x18\x01 \x01(\x04R\bblockNum\"x\n" +
	"\x14BorProducersResponse\x12-\n" +
	"\bproposer\x18\x01 \x01(\v2\x11.remote.ValidatorR\bproposer\x121\n" +
	"\n" +
	"validators\x18\x02 \x03(\v2\x11.remote.ValidatorR\n" +
	"validators\"\x92\x01\n" +
	"\tValidator\x12\x0e\n" +
	"\x02id\x18\x01 \x01(\x04R\x02id\x12%\n" +
	"\aaddress\x18\x02 \x01(\v2\v.types.H160R\aaddress\x12!\n" +
	"\fvoting_power\x18\x03 \x01(\x03R\vvotingPower\x12+\n" +
	"\x11proposer_priority\x18\x04 \x01(\x03R\x10proposerPriority2\xce\x01\n" +
	"\rBridgeBackend\x126\n" +
	"\aVersion\x12\x16.google.protobuf.Empty\x1a\x13.types.VersionReply\x12F\n" +
	"\fBorTxnLookup\x12\x1b.remote.BorTxnLookupRequest\x1a\x19.remote.BorTxnLookupReply\x12=\n" +
	"\tBorEvents\x12\x18.remote.BorEventsRequest\x1a\x16.remote.BorEventsReply2\x91\x01\n" +
	"\x0fHeimdallBackend\x126\n" +
	"\aVersion\x12\x16.google.protobuf.Empty\x1a\x13.types.VersionReply\x12F\n" +
	"\tProducers\x12\x1b.remote.BorProducersRequest\x1a\x1c.remote.BorProducersResponseB\x16Z\x14./remote;remoteprotob\x06proto3"

var (
	file_remote_bor_proto_rawDescOnce sync.Once
	file_remote_bor_proto_rawDescData []byte
)

func file_remote_bor_proto_rawDescGZIP() []byte {
	file_remote_bor_proto_rawDescOnce.Do(func() {
		file_remote_bor_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_remote_bor_proto_rawDesc), len(file_remote_bor_proto_rawDesc)))
	})
	return file_remote_bor_proto_rawDescData
}

var file_remote_bor_proto_msgTypes = make([]protoimpl.MessageInfo, 7)
var file_remote_bor_proto_goTypes = []any{
	(*BorTxnLookupRequest)(nil),     // 0: remote.BorTxnLookupRequest
	(*BorTxnLookupReply)(nil),       // 1: remote.BorTxnLookupReply
	(*BorEventsRequest)(nil),        // 2: remote.BorEventsRequest
	(*BorEventsReply)(nil),          // 3: remote.BorEventsReply
	(*BorProducersRequest)(nil),     // 4: remote.BorProducersRequest
	(*BorProducersResponse)(nil),    // 5: remote.BorProducersResponse
	(*Validator)(nil),               // 6: remote.Validator
	(*typesproto.H256)(nil),         // 7: types.H256
	(*typesproto.H160)(nil),         // 8: types.H160
	(*emptypb.Empty)(nil),           // 9: google.protobuf.Empty
	(*typesproto.VersionReply)(nil), // 10: types.VersionReply
}
var file_remote_bor_proto_depIdxs = []int32{
	7,  // 0: remote.BorTxnLookupRequest.bor_tx_hash:type_name -> types.H256
	7,  // 1: remote.BorEventsRequest.block_hash:type_name -> types.H256
	6,  // 2: remote.BorProducersResponse.proposer:type_name -> remote.Validator
	6,  // 3: remote.BorProducersResponse.validators:type_name -> remote.Validator
	8,  // 4: remote.Validator.address:type_name -> types.H160
	9,  // 5: remote.BridgeBackend.Version:input_type -> google.protobuf.Empty
	0,  // 6: remote.BridgeBackend.BorTxnLookup:input_type -> remote.BorTxnLookupRequest
	2,  // 7: remote.BridgeBackend.BorEvents:input_type -> remote.BorEventsRequest
	9,  // 8: remote.HeimdallBackend.Version:input_type -> google.protobuf.Empty
	4,  // 9: remote.HeimdallBackend.Producers:input_type -> remote.BorProducersRequest
	10, // 10: remote.BridgeBackend.Version:output_type -> types.VersionReply
	1,  // 11: remote.BridgeBackend.BorTxnLookup:output_type -> remote.BorTxnLookupReply
	3,  // 12: remote.BridgeBackend.BorEvents:output_type -> remote.BorEventsReply
	10, // 13: remote.HeimdallBackend.Version:output_type -> types.VersionReply
	5,  // 14: remote.HeimdallBackend.Producers:output_type -> remote.BorProducersResponse
	10, // [10:15] is the sub-list for method output_type
	5,  // [5:10] is the sub-list for method input_type
	5,  // [5:5] is the sub-list for extension type_name
	5,  // [5:5] is the sub-list for extension extendee
	0,  // [0:5] is the sub-list for field type_name
}

func init() { file_remote_bor_proto_init() }
func file_remote_bor_proto_init() {
	if File_remote_bor_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_remote_bor_proto_rawDesc), len(file_remote_bor_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   7,
			NumExtensions: 0,
			NumServices:   2,
		},
		GoTypes:           file_remote_bor_proto_goTypes,
		DependencyIndexes: file_remote_bor_proto_depIdxs,
		MessageInfos:      file_remote_bor_proto_msgTypes,
	}.Build()
	File_remote_bor_proto = out.File
	file_remote_bor_proto_goTypes = nil
	file_remote_bor_proto_depIdxs = nil
}
