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

package sdk

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 PullGossipRequest struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Salt          []byte                 `protobuf:"bytes,2,opt,name=salt,proto3" json:"salt,omitempty"`
	Filter        []byte                 `protobuf:"bytes,3,opt,name=filter,proto3" json:"filter,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PullGossipRequest) ProtoMessage() {}

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

func (x *PullGossipRequest) GetSalt() []byte {
	if x != nil {
		return x.Salt
	}
	return nil
}

func (x *PullGossipRequest) GetFilter() []byte {
	if x != nil {
		return x.Filter
	}
	return nil
}

type PullGossipResponse struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Gossip        [][]byte               `protobuf:"bytes,1,rep,name=gossip,proto3" json:"gossip,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PullGossipResponse) ProtoMessage() {}

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

func (x *PullGossipResponse) GetGossip() [][]byte {
	if x != nil {
		return x.Gossip
	}
	return nil
}

type PushGossip struct {
	state         protoimpl.MessageState `protogen:"open.v1"`
	Gossip        [][]byte               `protobuf:"bytes,1,rep,name=gossip,proto3" json:"gossip,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*PushGossip) ProtoMessage() {}

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

func (x *PushGossip) GetGossip() [][]byte {
	if x != nil {
		return x.Gossip
	}
	return nil
}

// SignatureRequest is an AppRequest message type for requesting
// a BLS signature over a Warp message, as defined in ACP-118:
// https://github.com/avalanche-foundation/ACPs/tree/main/ACPs/118-warp-signature-request
type SignatureRequest struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// Warp message to be signed
	Message []byte `protobuf:"bytes,1,opt,name=message,proto3" json:"message,omitempty"`
	// Justification for the message
	Justification []byte `protobuf:"bytes,2,opt,name=justification,proto3" json:"justification,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SignatureRequest) ProtoMessage() {}

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

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

func (x *SignatureRequest) GetJustification() []byte {
	if x != nil {
		return x.Justification
	}
	return nil
}

// SignatureResponse is an AppResponse message type for providing
// a requested BLS signature over a Warp message, as defined in ACP-118:
// https://github.com/avalanche-foundation/ACPs/tree/main/ACPs/118-warp-signature-request
type SignatureResponse struct {
	state protoimpl.MessageState `protogen:"open.v1"`
	// BLS signature over the Warp message
	Signature     []byte `protobuf:"bytes,1,opt,name=signature,proto3" json:"signature,omitempty"`
	unknownFields protoimpl.UnknownFields
	sizeCache     protoimpl.SizeCache
}

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

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

func (*SignatureResponse) ProtoMessage() {}

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

func (x *SignatureResponse) GetSignature() []byte {
	if x != nil {
		return x.Signature
	}
	return nil
}

var File_sdk_sdk_proto protoreflect.FileDescriptor

const file_sdk_sdk_proto_rawDesc = "" +
	"\n" +
	"\rsdk/sdk.proto\x12\x03sdk\"?\n" +
	"\x11PullGossipRequest\x12\x12\n" +
	"\x04salt\x18\x02 \x01(\fR\x04salt\x12\x16\n" +
	"\x06filter\x18\x03 \x01(\fR\x06filter\",\n" +
	"\x12PullGossipResponse\x12\x16\n" +
	"\x06gossip\x18\x01 \x03(\fR\x06gossip\"$\n" +
	"\n" +
	"PushGossip\x12\x16\n" +
	"\x06gossip\x18\x01 \x03(\fR\x06gossip\"R\n" +
	"\x10SignatureRequest\x12\x18\n" +
	"\amessage\x18\x01 \x01(\fR\amessage\x12$\n" +
	"\rjustification\x18\x02 \x01(\fR\rjustification\"1\n" +
	"\x11SignatureResponse\x12\x1c\n" +
	"\tsignature\x18\x01 \x01(\fR\tsignatureB.Z,github.com/ava-labs/avalanchego/proto/pb/sdkb\x06proto3"

var (
	file_sdk_sdk_proto_rawDescOnce sync.Once
	file_sdk_sdk_proto_rawDescData []byte
)

func file_sdk_sdk_proto_rawDescGZIP() []byte {
	file_sdk_sdk_proto_rawDescOnce.Do(func() {
		file_sdk_sdk_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_sdk_sdk_proto_rawDesc), len(file_sdk_sdk_proto_rawDesc)))
	})
	return file_sdk_sdk_proto_rawDescData
}

var file_sdk_sdk_proto_msgTypes = make([]protoimpl.MessageInfo, 5)
var file_sdk_sdk_proto_goTypes = []any{
	(*PullGossipRequest)(nil),  // 0: sdk.PullGossipRequest
	(*PullGossipResponse)(nil), // 1: sdk.PullGossipResponse
	(*PushGossip)(nil),         // 2: sdk.PushGossip
	(*SignatureRequest)(nil),   // 3: sdk.SignatureRequest
	(*SignatureResponse)(nil),  // 4: sdk.SignatureResponse
}
var file_sdk_sdk_proto_depIdxs = []int32{
	0, // [0:0] is the sub-list for method output_type
	0, // [0:0] 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_sdk_sdk_proto_init() }
func file_sdk_sdk_proto_init() {
	if File_sdk_sdk_proto != nil {
		return
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: unsafe.Slice(unsafe.StringData(file_sdk_sdk_proto_rawDesc), len(file_sdk_sdk_proto_rawDesc)),
			NumEnums:      0,
			NumMessages:   5,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_sdk_sdk_proto_goTypes,
		DependencyIndexes: file_sdk_sdk_proto_depIdxs,
		MessageInfos:      file_sdk_sdk_proto_msgTypes,
	}.Build()
	File_sdk_sdk_proto = out.File
	file_sdk_sdk_proto_goTypes = nil
	file_sdk_sdk_proto_depIdxs = nil
}
