// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.36.3
// 	protoc        v5.29.3
// source: github.com/ipfs/boxo/bitswap/message/pb/message.proto

package pb

import (
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	reflect "reflect"
	sync "sync"
)

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 Message_BlockPresenceType int32

const (
	Message_Have     Message_BlockPresenceType = 0
	Message_DontHave Message_BlockPresenceType = 1
)

// Enum value maps for Message_BlockPresenceType.
var (
	Message_BlockPresenceType_name = map[int32]string{
		0: "Have",
		1: "DontHave",
	}
	Message_BlockPresenceType_value = map[string]int32{
		"Have":     0,
		"DontHave": 1,
	}
)

func (x Message_BlockPresenceType) Enum() *Message_BlockPresenceType {
	p := new(Message_BlockPresenceType)
	*p = x
	return p
}

func (x Message_BlockPresenceType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Message_BlockPresenceType) Descriptor() protoreflect.EnumDescriptor {
	return file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_enumTypes[0].Descriptor()
}

func (Message_BlockPresenceType) Type() protoreflect.EnumType {
	return &file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_enumTypes[0]
}

func (x Message_BlockPresenceType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Message_BlockPresenceType.Descriptor instead.
func (Message_BlockPresenceType) EnumDescriptor() ([]byte, []int) {
	return file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescGZIP(), []int{0, 0}
}

type Message_Wantlist_WantType int32

const (
	Message_Wantlist_Block Message_Wantlist_WantType = 0
	Message_Wantlist_Have  Message_Wantlist_WantType = 1
)

// Enum value maps for Message_Wantlist_WantType.
var (
	Message_Wantlist_WantType_name = map[int32]string{
		0: "Block",
		1: "Have",
	}
	Message_Wantlist_WantType_value = map[string]int32{
		"Block": 0,
		"Have":  1,
	}
)

func (x Message_Wantlist_WantType) Enum() *Message_Wantlist_WantType {
	p := new(Message_Wantlist_WantType)
	*p = x
	return p
}

func (x Message_Wantlist_WantType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (Message_Wantlist_WantType) Descriptor() protoreflect.EnumDescriptor {
	return file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_enumTypes[1].Descriptor()
}

func (Message_Wantlist_WantType) Type() protoreflect.EnumType {
	return &file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_enumTypes[1]
}

func (x Message_Wantlist_WantType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use Message_Wantlist_WantType.Descriptor instead.
func (Message_Wantlist_WantType) EnumDescriptor() ([]byte, []int) {
	return file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescGZIP(), []int{0, 0, 0}
}

type Message struct {
	state          protoimpl.MessageState   `protogen:"open.v1"`
	Wantlist       *Message_Wantlist        `protobuf:"bytes,1,opt,name=wantlist,proto3" json:"wantlist,omitempty"`
	Blocks         [][]byte                 `protobuf:"bytes,2,rep,name=blocks,proto3" json:"blocks,omitempty"`   // used to send Blocks in bitswap 1.0.0
	Payload        []*Message_Block         `protobuf:"bytes,3,rep,name=payload,proto3" json:"payload,omitempty"` // used to send Blocks in bitswap 1.1.0
	BlockPresences []*Message_BlockPresence `protobuf:"bytes,4,rep,name=blockPresences,proto3" json:"blockPresences,omitempty"`
	PendingBytes   int32                    `protobuf:"varint,5,opt,name=pendingBytes,proto3" json:"pendingBytes,omitempty"`
	unknownFields  protoimpl.UnknownFields
	sizeCache      protoimpl.SizeCache
}

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

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

func (*Message) ProtoMessage() {}

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

func (x *Message) GetWantlist() *Message_Wantlist {
	if x != nil {
		return x.Wantlist
	}
	return nil
}

func (x *Message) GetBlocks() [][]byte {
	if x != nil {
		return x.Blocks
	}
	return nil
}

func (x *Message) GetPayload() []*Message_Block {
	if x != nil {
		return x.Payload
	}
	return nil
}

func (x *Message) GetBlockPresences() []*Message_BlockPresence {
	if x != nil {
		return x.BlockPresences
	}
	return nil
}

func (x *Message) GetPendingBytes() int32 {
	if x != nil {
		return x.PendingBytes
	}
	return 0
}

type Message_Wantlist struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Entries       []*Message_Wantlist_Entry `protobuf:"bytes,1,rep,name=entries,proto3" json:"entries,omitempty"` // a list of wantlist entries
	Full          bool                      `protobuf:"varint,2,opt,name=full,proto3" json:"full,omitempty"`      // whether this is the full wantlist. default to false
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Message_Wantlist) ProtoMessage() {}

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

func (x *Message_Wantlist) GetEntries() []*Message_Wantlist_Entry {
	if x != nil {
		return x.Entries
	}
	return nil
}

func (x *Message_Wantlist) GetFull() bool {
	if x != nil {
		return x.Full
	}
	return false
}

type Message_Block struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Prefix        []byte                 `protobuf:"bytes,1,opt,name=prefix,proto3" json:"prefix,omitempty"` // CID prefix (cid version, multicodec and multihash prefix (type + length)
	Data          []byte                 `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Message_Block) ProtoMessage() {}

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

func (x *Message_Block) GetPrefix() []byte {
	if x != nil {
		return x.Prefix
	}
	return nil
}

func (x *Message_Block) GetData() []byte {
	if x != nil {
		return x.Data
	}
	return nil
}

type Message_BlockPresence struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Cid           []byte                    `protobuf:"bytes,1,opt,name=cid,proto3" json:"cid,omitempty"`
	Type          Message_BlockPresenceType `protobuf:"varint,2,opt,name=type,proto3,enum=ipfs.boxo.bitswap.message.v1.pb.Message_BlockPresenceType" json:"type,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Message_BlockPresence) ProtoMessage() {}

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

func (x *Message_BlockPresence) GetCid() []byte {
	if x != nil {
		return x.Cid
	}
	return nil
}

func (x *Message_BlockPresence) GetType() Message_BlockPresenceType {
	if x != nil {
		return x.Type
	}
	return Message_Have
}

type Message_Wantlist_Entry struct {
	state         protoimpl.MessageState    `protogen:"open.v1"`
	Block         []byte                    `protobuf:"bytes,1,opt,name=block,proto3" json:"block,omitempty"`                                                                       // the block cid (cidV0 in bitswap 1.0.0, cidV1 in bitswap 1.1.0)
	Priority      int32                     `protobuf:"varint,2,opt,name=priority,proto3" json:"priority,omitempty"`                                                                // the priority (normalized). default to 1
	Cancel        bool                      `protobuf:"varint,3,opt,name=cancel,proto3" json:"cancel,omitempty"`                                                                    // whether this revokes an entry
	WantType      Message_Wantlist_WantType `protobuf:"varint,4,opt,name=wantType,proto3,enum=ipfs.boxo.bitswap.message.v1.pb.Message_Wantlist_WantType" json:"wantType,omitempty"` // Note: defaults to enum 0, ie Block
	SendDontHave  bool                      `protobuf:"varint,5,opt,name=sendDontHave,proto3" json:"sendDontHave,omitempty"`                                                        // Note: defaults to false
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*Message_Wantlist_Entry) ProtoMessage() {}

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

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

func (x *Message_Wantlist_Entry) GetPriority() int32 {
	if x != nil {
		return x.Priority
	}
	return 0
}

func (x *Message_Wantlist_Entry) GetCancel() bool {
	if x != nil {
		return x.Cancel
	}
	return false
}

func (x *Message_Wantlist_Entry) GetWantType() Message_Wantlist_WantType {
	if x != nil {
		return x.WantType
	}
	return Message_Wantlist_Block
}

func (x *Message_Wantlist_Entry) GetSendDontHave() bool {
	if x != nil {
		return x.SendDontHave
	}
	return false
}

var File_github_com_ipfs_boxo_bitswap_message_pb_message_proto protoreflect.FileDescriptor

var file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDesc = []byte{
	0x0a, 0x35, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x69, 0x70, 0x66,
	0x73, 0x2f, 0x62, 0x6f, 0x78, 0x6f, 0x2f, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70, 0x2f, 0x6d,
	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x62, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67,
	0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1f, 0x69, 0x70, 0x66, 0x73, 0x2e, 0x62, 0x6f,
	0x78, 0x6f, 0x2e, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
	0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x22, 0xf8, 0x06, 0x0a, 0x07, 0x4d, 0x65, 0x73,
	0x73, 0x61, 0x67, 0x65, 0x12, 0x4d, 0x0a, 0x08, 0x77, 0x61, 0x6e, 0x74, 0x6c, 0x69, 0x73, 0x74,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x31, 0x2e, 0x69, 0x70, 0x66, 0x73, 0x2e, 0x62, 0x6f,
	0x78, 0x6f, 0x2e, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61,
	0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
	0x2e, 0x57, 0x61, 0x6e, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x52, 0x08, 0x77, 0x61, 0x6e, 0x74, 0x6c,
	0x69, 0x73, 0x74, 0x12, 0x16, 0x0a, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x18, 0x02, 0x20,
	0x03, 0x28, 0x0c, 0x52, 0x06, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x73, 0x12, 0x48, 0x0a, 0x07, 0x70,
	0x61, 0x79, 0x6c, 0x6f, 0x61, 0x64, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x69,
	0x70, 0x66, 0x73, 0x2e, 0x62, 0x6f, 0x78, 0x6f, 0x2e, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70,
	0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x4d,
	0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x52, 0x07, 0x70, 0x61,
	0x79, 0x6c, 0x6f, 0x61, 0x64, 0x12, 0x5e, 0x0a, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72,
	0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x36, 0x2e,
	0x69, 0x70, 0x66, 0x73, 0x2e, 0x62, 0x6f, 0x78, 0x6f, 0x2e, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61,
	0x70, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x2e,
	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x65,
	0x73, 0x65, 0x6e, 0x63, 0x65, 0x52, 0x0e, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x73,
	0x65, 0x6e, 0x63, 0x65, 0x73, 0x12, 0x22, 0x0a, 0x0c, 0x70, 0x65, 0x6e, 0x64, 0x69, 0x6e, 0x67,
	0x42, 0x79, 0x74, 0x65, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x52, 0x0c, 0x70, 0x65, 0x6e,
	0x64, 0x69, 0x6e, 0x67, 0x42, 0x79, 0x74, 0x65, 0x73, 0x1a, 0xe2, 0x02, 0x0a, 0x08, 0x57, 0x61,
	0x6e, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x12, 0x51, 0x0a, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65,
	0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x37, 0x2e, 0x69, 0x70, 0x66, 0x73, 0x2e, 0x62,
	0x6f, 0x78, 0x6f, 0x2e, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x6d, 0x65, 0x73, 0x73,
	0x61, 0x67, 0x65, 0x2e, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
	0x65, 0x2e, 0x57, 0x61, 0x6e, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x45, 0x6e, 0x74, 0x72, 0x79,
	0x52, 0x07, 0x65, 0x6e, 0x74, 0x72, 0x69, 0x65, 0x73, 0x12, 0x12, 0x0a, 0x04, 0x66, 0x75, 0x6c,
	0x6c, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x04, 0x66, 0x75, 0x6c, 0x6c, 0x1a, 0xcd, 0x01,
	0x0a, 0x05, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x62, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x1a, 0x0a,
	0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x52,
	0x08, 0x70, 0x72, 0x69, 0x6f, 0x72, 0x69, 0x74, 0x79, 0x12, 0x16, 0x0a, 0x06, 0x63, 0x61, 0x6e,
	0x63, 0x65, 0x6c, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x06, 0x63, 0x61, 0x6e, 0x63, 0x65,
	0x6c, 0x12, 0x56, 0x0a, 0x08, 0x77, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20,
	0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x69, 0x70, 0x66, 0x73, 0x2e, 0x62, 0x6f, 0x78, 0x6f, 0x2e,
	0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e,
	0x76, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x57, 0x61,
	0x6e, 0x74, 0x6c, 0x69, 0x73, 0x74, 0x2e, 0x57, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x52,
	0x08, 0x77, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a, 0x0c, 0x73, 0x65, 0x6e,
	0x64, 0x44, 0x6f, 0x6e, 0x74, 0x48, 0x61, 0x76, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52,
	0x0c, 0x73, 0x65, 0x6e, 0x64, 0x44, 0x6f, 0x6e, 0x74, 0x48, 0x61, 0x76, 0x65, 0x22, 0x1f, 0x0a,
	0x08, 0x57, 0x61, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x09, 0x0a, 0x05, 0x42, 0x6c, 0x6f,
	0x63, 0x6b, 0x10, 0x00, 0x12, 0x08, 0x0a, 0x04, 0x48, 0x61, 0x76, 0x65, 0x10, 0x01, 0x1a, 0x33,
	0x0a, 0x05, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x12, 0x16, 0x0a, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69,
	0x78, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x70, 0x72, 0x65, 0x66, 0x69, 0x78, 0x12,
	0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x04, 0x64,
	0x61, 0x74, 0x61, 0x1a, 0x71, 0x0a, 0x0d, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x73,
	0x65, 0x6e, 0x63, 0x65, 0x12, 0x10, 0x0a, 0x03, 0x63, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x0c, 0x52, 0x03, 0x63, 0x69, 0x64, 0x12, 0x4e, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02,
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x3a, 0x2e, 0x69, 0x70, 0x66, 0x73, 0x2e, 0x62, 0x6f, 0x78, 0x6f,
	0x2e, 0x62, 0x69, 0x74, 0x73, 0x77, 0x61, 0x70, 0x2e, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65,
	0x2e, 0x76, 0x31, 0x2e, 0x70, 0x62, 0x2e, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2e, 0x42,
	0x6c, 0x6f, 0x63, 0x6b, 0x50, 0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65,
	0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x22, 0x2b, 0x0a, 0x11, 0x42, 0x6c, 0x6f, 0x63, 0x6b, 0x50,
	0x72, 0x65, 0x73, 0x65, 0x6e, 0x63, 0x65, 0x54, 0x79, 0x70, 0x65, 0x12, 0x08, 0x0a, 0x04, 0x48,
	0x61, 0x76, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x6f, 0x6e, 0x74, 0x48, 0x61, 0x76,
	0x65, 0x10, 0x01, 0x42, 0x29, 0x5a, 0x27, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
	0x6d, 0x2f, 0x69, 0x70, 0x66, 0x73, 0x2f, 0x62, 0x6f, 0x78, 0x6f, 0x2f, 0x62, 0x69, 0x74, 0x73,
	0x77, 0x61, 0x70, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x2f, 0x70, 0x62, 0x62, 0x06,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescOnce sync.Once
	file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescData = file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDesc
)

func file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescGZIP() []byte {
	file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescOnce.Do(func() {
		file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescData = protoimpl.X.CompressGZIP(file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescData)
	})
	return file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDescData
}

var file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
var file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_goTypes = []any{
	(Message_BlockPresenceType)(0), // 0: ipfs.boxo.bitswap.message.v1.pb.Message.BlockPresenceType
	(Message_Wantlist_WantType)(0), // 1: ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist.WantType
	(*Message)(nil),                // 2: ipfs.boxo.bitswap.message.v1.pb.Message
	(*Message_Wantlist)(nil),       // 3: ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist
	(*Message_Block)(nil),          // 4: ipfs.boxo.bitswap.message.v1.pb.Message.Block
	(*Message_BlockPresence)(nil),  // 5: ipfs.boxo.bitswap.message.v1.pb.Message.BlockPresence
	(*Message_Wantlist_Entry)(nil), // 6: ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist.Entry
}
var file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_depIdxs = []int32{
	3, // 0: ipfs.boxo.bitswap.message.v1.pb.Message.wantlist:type_name -> ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist
	4, // 1: ipfs.boxo.bitswap.message.v1.pb.Message.payload:type_name -> ipfs.boxo.bitswap.message.v1.pb.Message.Block
	5, // 2: ipfs.boxo.bitswap.message.v1.pb.Message.blockPresences:type_name -> ipfs.boxo.bitswap.message.v1.pb.Message.BlockPresence
	6, // 3: ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist.entries:type_name -> ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist.Entry
	0, // 4: ipfs.boxo.bitswap.message.v1.pb.Message.BlockPresence.type:type_name -> ipfs.boxo.bitswap.message.v1.pb.Message.BlockPresenceType
	1, // 5: ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist.Entry.wantType:type_name -> ipfs.boxo.bitswap.message.v1.pb.Message.Wantlist.WantType
	6, // [6:6] is the sub-list for method output_type
	6, // [6:6] is the sub-list for method input_type
	6, // [6:6] is the sub-list for extension type_name
	6, // [6:6] is the sub-list for extension extendee
	0, // [0:6] is the sub-list for field type_name
}

func init() { file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_init() }
func file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_init() {
	if File_github_com_ipfs_boxo_bitswap_message_pb_message_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDesc,
			NumEnums:      2,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_goTypes,
		DependencyIndexes: file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_depIdxs,
		EnumInfos:         file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_enumTypes,
		MessageInfos:      file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_msgTypes,
	}.Build()
	File_github_com_ipfs_boxo_bitswap_message_pb_message_proto = out.File
	file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_rawDesc = nil
	file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_goTypes = nil
	file_github_com_ipfs_boxo_bitswap_message_pb_message_proto_depIdxs = nil
}
