// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.10
// 	protoc        v6.32.1
// source: services/blockvalidation/blockvalidation_api/blockvalidation_api.proto

package blockvalidation_api

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
	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)
)

// swagger:model EmptyMessage
type EmptyMessage struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*EmptyMessage) ProtoMessage() {}

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

// swagger:model HealthResponse
type HealthResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Ok            bool                   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Details       string                 `protobuf:"bytes,2,opt,name=details,proto3" json:"details,omitempty"`
	Timestamp     *timestamppb.Timestamp `protobuf:"bytes,3,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*HealthResponse) ProtoMessage() {}

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

func (x *HealthResponse) GetOk() bool {
	if x != nil {
		return x.Ok
	}
	return false
}

func (x *HealthResponse) GetDetails() string {
	if x != nil {
		return x.Details
	}
	return ""
}

func (x *HealthResponse) GetTimestamp() *timestamppb.Timestamp {
	if x != nil {
		return x.Timestamp
	}
	return nil
}

// swagger:model BlockFoundRequest
type BlockFoundRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Hash           []byte                 `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"`
	BaseUrl        string                 `protobuf:"bytes,2,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	WaitToComplete bool                   `protobuf:"varint,3,opt,name=wait_to_complete,json=waitToComplete,proto3" json:"wait_to_complete,omitempty"`
	PeerId         string                 `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // P2P peer identifier for peerMetrics tracking
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*BlockFoundRequest) ProtoMessage() {}

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

func (x *BlockFoundRequest) GetHash() []byte {
	if x != nil {
		return x.Hash
	}
	return nil
}

func (x *BlockFoundRequest) GetBaseUrl() string {
	if x != nil {
		return x.BaseUrl
	}
	return ""
}

func (x *BlockFoundRequest) GetWaitToComplete() bool {
	if x != nil {
		return x.WaitToComplete
	}
	return false
}

func (x *BlockFoundRequest) GetPeerId() string {
	if x != nil {
		return x.PeerId
	}
	return ""
}

// swagger:model ProcessBlockRequest
type ProcessBlockRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Block         []byte                 `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Height        uint32                 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	BaseUrl       string                 `protobuf:"bytes,3,opt,name=base_url,json=baseUrl,proto3" json:"base_url,omitempty"`
	PeerId        string                 `protobuf:"bytes,4,opt,name=peer_id,json=peerId,proto3" json:"peer_id,omitempty"` // P2P peer identifier for peerMetrics tracking
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ProcessBlockRequest) ProtoMessage() {}

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

func (x *ProcessBlockRequest) GetBlock() []byte {
	if x != nil {
		return x.Block
	}
	return nil
}

func (x *ProcessBlockRequest) GetHeight() uint32 {
	if x != nil {
		return x.Height
	}
	return 0
}

func (x *ProcessBlockRequest) GetBaseUrl() string {
	if x != nil {
		return x.BaseUrl
	}
	return ""
}

func (x *ProcessBlockRequest) GetPeerId() string {
	if x != nil {
		return x.PeerId
	}
	return ""
}

// swagger:model ValidateBlockRequest
type ValidateBlockRequest struct {
	state          protoimpl.MessageState `protogen:"open.v1"`
	Block          []byte                 `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`
	Height         uint32                 `protobuf:"varint,2,opt,name=height,proto3" json:"height,omitempty"`
	IsRevalidation bool                   `protobuf:"varint,3,opt,name=is_revalidation,json=isRevalidation,proto3" json:"is_revalidation,omitempty"` // Indicates this is a revalidation of an invalid block
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*ValidateBlockRequest) ProtoMessage() {}

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

func (x *ValidateBlockRequest) GetBlock() []byte {
	if x != nil {
		return x.Block
	}
	return nil
}

func (x *ValidateBlockRequest) GetHeight() uint32 {
	if x != nil {
		return x.Height
	}
	return 0
}

func (x *ValidateBlockRequest) GetIsRevalidation() bool {
	if x != nil {
		return x.IsRevalidation
	}
	return false
}

// swagger:model ValidateBlockResponse
type ValidateBlockResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Ok            bool                   `protobuf:"varint,1,opt,name=ok,proto3" json:"ok,omitempty"`
	Message       string                 `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*ValidateBlockResponse) ProtoMessage() {}

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

func (x *ValidateBlockResponse) GetOk() bool {
	if x != nil {
		return x.Ok
	}
	return false
}

func (x *ValidateBlockResponse) GetMessage() string {
	if x != nil {
		return x.Message
	}
	return ""
}

var File_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto protoreflect.FileDescriptor

const file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDesc = "" +
	"\n" +
	"Fservices/blockvalidation/blockvalidation_api/blockvalidation_api.proto\x12\x13blockvalidation_api\x1a\x1fgoogle/protobuf/timestamp.proto\"\x0e\n" +
	"\fEmptyMessage\"t\n" +
	"\x0eHealthResponse\x12\x0e\n" +
	"\x02ok\x18\x01 \x01(\bR\x02ok\x12\x18\n" +
	"\adetails\x18\x02 \x01(\tR\adetails\x128\n" +
	"\ttimestamp\x18\x03 \x01(\v2\x1a.google.protobuf.TimestampR\ttimestamp\"\x85\x01\n" +
	"\x11BlockFoundRequest\x12\x12\n" +
	"\x04hash\x18\x01 \x01(\fR\x04hash\x12\x19\n" +
	"\bbase_url\x18\x02 \x01(\tR\abaseUrl\x12(\n" +
	"\x10wait_to_complete\x18\x03 \x01(\bR\x0ewaitToComplete\x12\x17\n" +
	"\apeer_id\x18\x04 \x01(\tR\x06peerId\"w\n" +
	"\x13ProcessBlockRequest\x12\x14\n" +
	"\x05block\x18\x01 \x01(\fR\x05block\x12\x16\n" +
	"\x06height\x18\x02 \x01(\rR\x06height\x12\x19\n" +
	"\bbase_url\x18\x03 \x01(\tR\abaseUrl\x12\x17\n" +
	"\apeer_id\x18\x04 \x01(\tR\x06peerId\"m\n" +
	"\x14ValidateBlockRequest\x12\x14\n" +
	"\x05block\x18\x01 \x01(\fR\x05block\x12\x16\n" +
	"\x06height\x18\x02 \x01(\rR\x06height\x12'\n" +
	"\x0fis_revalidation\x18\x03 \x01(\bR\x0eisRevalidation\"A\n" +
	"\x15ValidateBlockResponse\x12\x0e\n" +
	"\x02ok\x18\x01 \x01(\bR\x02ok\x12\x18\n" +
	"\amessage\x18\x02 \x01(\tR\amessage2\x90\x03\n" +
	"\x12BlockValidationAPI\x12V\n" +
	"\n" +
	"HealthGRPC\x12!.blockvalidation_api.EmptyMessage\x1a#.blockvalidation_api.HealthResponse\"\x00\x12Y\n" +
	"\n" +
	"BlockFound\x12&.blockvalidation_api.BlockFoundRequest\x1a!.blockvalidation_api.EmptyMessage\"\x00\x12]\n" +
	"\fProcessBlock\x12(.blockvalidation_api.ProcessBlockRequest\x1a!.blockvalidation_api.EmptyMessage\"\x00\x12h\n" +
	"\rValidateBlock\x12).blockvalidation_api.ValidateBlockRequest\x1a*.blockvalidation_api.ValidateBlockResponse\"\x00B\x18Z\x16./;blockvalidation_apib\x06proto3"

var (
	file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDescOnce sync.Once
	file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDescData []byte
)

func file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDescGZIP() []byte {
	file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDescOnce.Do(func() {
		file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDesc), len(file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDesc)))
	})
	return file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDescData
}

var file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_msgTypes = make([]protoimpl.MessageInfo, 6)
var file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_goTypes = []any{
	(*EmptyMessage)(nil),          // 0: blockvalidation_api.EmptyMessage
	(*HealthResponse)(nil),        // 1: blockvalidation_api.HealthResponse
	(*BlockFoundRequest)(nil),     // 2: blockvalidation_api.BlockFoundRequest
	(*ProcessBlockRequest)(nil),   // 3: blockvalidation_api.ProcessBlockRequest
	(*ValidateBlockRequest)(nil),  // 4: blockvalidation_api.ValidateBlockRequest
	(*ValidateBlockResponse)(nil), // 5: blockvalidation_api.ValidateBlockResponse
	(*timestamppb.Timestamp)(nil), // 6: google.protobuf.Timestamp
}
var file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_depIdxs = []int32{
	6, // 0: blockvalidation_api.HealthResponse.timestamp:type_name -> google.protobuf.Timestamp
	0, // 1: blockvalidation_api.BlockValidationAPI.HealthGRPC:input_type -> blockvalidation_api.EmptyMessage
	2, // 2: blockvalidation_api.BlockValidationAPI.BlockFound:input_type -> blockvalidation_api.BlockFoundRequest
	3, // 3: blockvalidation_api.BlockValidationAPI.ProcessBlock:input_type -> blockvalidation_api.ProcessBlockRequest
	4, // 4: blockvalidation_api.BlockValidationAPI.ValidateBlock:input_type -> blockvalidation_api.ValidateBlockRequest
	1, // 5: blockvalidation_api.BlockValidationAPI.HealthGRPC:output_type -> blockvalidation_api.HealthResponse
	0, // 6: blockvalidation_api.BlockValidationAPI.BlockFound:output_type -> blockvalidation_api.EmptyMessage
	0, // 7: blockvalidation_api.BlockValidationAPI.ProcessBlock:output_type -> blockvalidation_api.EmptyMessage
	5, // 8: blockvalidation_api.BlockValidationAPI.ValidateBlock:output_type -> blockvalidation_api.ValidateBlockResponse
	5, // [5:9] is the sub-list for method output_type
	1, // [1:5] is the sub-list for method input_type
	1, // [1:1] is the sub-list for extension type_name
	1, // [1:1] is the sub-list for extension extendee
	0, // [0:1] is the sub-list for field type_name
}

func init() { file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_init() }
func file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_init() {
	if File_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDesc), len(file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   6,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_goTypes,
		DependencyIndexes: file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_depIdxs,
		MessageInfos:      file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_msgTypes,
	}.Build()
	File_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto = out.File
	file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_goTypes = nil
	file_services_blockvalidation_blockvalidation_api_blockvalidation_api_proto_depIdxs = nil
}
