package response

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

const _ = proto.ProtoPackageIsVersion2 

type IndexResponse struct {

	LensIdentifier string `protobuf:"bytes,1,opt,name=lensIdentifier,proto3" json:"lensIdentifier,omitempty"`

	Keywords []string `protobuf:"bytes,2,rep,name=keywords,proto3" json:"keywords,omitempty"`

	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *IndexResponse) Reset()         { *m = IndexResponse{} }
func (m *IndexResponse) String() string { return proto.CompactTextString(m) }
func (*IndexResponse) ProtoMessage()    {}
func (*IndexResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_0fbc901015fa5021, []int{0}
}

func (m *IndexResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_IndexResponse.Unmarshal(m, b)
}
func (m *IndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_IndexResponse.Marshal(b, m, deterministic)
}
func (m *IndexResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_IndexResponse.Merge(m, src)
}
func (m *IndexResponse) XXX_Size() int {
	return xxx_messageInfo_IndexResponse.Size(m)
}
func (m *IndexResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_IndexResponse.DiscardUnknown(m)
}

var xxx_messageInfo_IndexResponse proto.InternalMessageInfo

func (m *IndexResponse) GetLensIdentifier() string {
	if m != nil {
		return m.LensIdentifier
	}
	return ""
}

func (m *IndexResponse) GetKeywords() []string {
	if m != nil {
		return m.Keywords
	}
	return nil
}

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

type SearchResponse struct {

	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`

	ObjectType           string   `protobuf:"bytes,2,opt,name=objectType,proto3" json:"objectType,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SearchResponse) Reset()         { *m = SearchResponse{} }
func (m *SearchResponse) String() string { return proto.CompactTextString(m) }
func (*SearchResponse) ProtoMessage()    {}
func (*SearchResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_0fbc901015fa5021, []int{1}
}

func (m *SearchResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SearchResponse.Unmarshal(m, b)
}
func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SearchResponse.Marshal(b, m, deterministic)
}
func (m *SearchResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SearchResponse.Merge(m, src)
}
func (m *SearchResponse) XXX_Size() int {
	return xxx_messageInfo_SearchResponse.Size(m)
}
func (m *SearchResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SearchResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SearchResponse proto.InternalMessageInfo

func (m *SearchResponse) GetNames() []string {
	if m != nil {
		return m.Names
	}
	return nil
}

func (m *SearchResponse) GetObjectType() string {
	if m != nil {
		return m.ObjectType
	}
	return ""
}

func init() {
	proto.RegisterType((*IndexResponse)(nil), "response.IndexResponse")
	proto.RegisterType((*SearchResponse)(nil), "response.SearchResponse")
}

func init() { proto.RegisterFile("response.proto", fileDescriptor_0fbc901015fa5021) }

var fileDescriptor_0fbc901015fa5021 = []byte{

	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x8f, 0xb1, 0x4a, 0xc6, 0x30,
	0x14, 0x85, 0xc9, 0x5f, 0x95, 0xf6, 0xa2, 0x1d, 0x82, 0x43, 0x70, 0x90, 0xd2, 0x41, 0xeb, 0xd2,
	0x0c, 0xbe, 0x81, 0x83, 0x50, 0x70, 0x8a, 0x9d, 0xdc, 0xd2, 0xe4, 0xda, 0x56, 0x6d, 0x12, 0x92,
	0x88, 0xf6, 0xed, 0xc5, 0x68, 0x8b, 0xb8, 0xdd, 0xef, 0x83, 0xcb, 0x39, 0x07, 0x4a, 0x8f, 0xc1,
	0x59, 0x13, 0xb0, 0x75, 0xde, 0x46, 0x4b, 0xf3, 0x8d, 0xeb, 0x11, 0xce, 0x3a, 0xa3, 0xf1, 0x53,
	0xfc, 0x0a, 0x7a, 0x05, 0xe5, 0x1b, 0x9a, 0xd0, 0x69, 0x34, 0x71, 0x7e, 0x9e, 0xd1, 0x33, 0x52,
	0x91, 0xa6, 0x10, 0xff, 0x2c, 0xbd, 0x80, 0xfc, 0x15, 0xd7, 0x0f, 0xeb, 0x75, 0x60, 0x87, 0x2a,
	0x6b, 0x0a, 0xb1, 0x33, 0xa5, 0x70, 0xa4, 0x65, 0x94, 0x2c, 0xab, 0x48, 0x73, 0x2a, 0xd2, 0x5d,
	0xdf, 0x43, 0xf9, 0x88, 0xd2, 0xab, 0x69, 0x4f, 0x3a, 0x87, 0x63, 0x23, 0x17, 0x0c, 0x8c, 0xa4,
	0xf7, 0x1f, 0xa0, 0x97, 0x00, 0x76, 0x78, 0x41, 0x15, 0xfb, 0xd5, 0x21, 0x3b, 0xa4, 0xec, 0x3f,
	0xe6, 0xee, 0xe6, 0xe9, 0x7a, 0x9c, 0xe3, 0xf4, 0x3e, 0xb4, 0xca, 0x2e, 0x5c, 0xf4, 0x5e, 0x6a,
	0x7c, 0x88, 0x9a, 0x8f, 0xde, 0x29, 0xfe, 0xdd, 0x91, 0x6f, 0xdb, 0x86, 0x93, 0x34, 0xf6, 0xf6,
	0x2b, 0x00, 0x00, 0xff, 0xff, 0xc8, 0x22, 0x11, 0x73, 0xfe, 0x00, 0x00, 0x00,
}
// Code generated by protoc-gen-go. DO NOT EDIT.
// source: response.proto

package response

import (
	fmt "fmt"
	proto "github.com/golang/protobuf/proto"
	math "math"
)

// Reference imports to suppress errors if they are not otherwise used.
var _ = proto.Marshal
var _ = fmt.Errorf
var _ = math.Inf

// This is a compile-time assertion to ensure that this generated file
// is compatible with the proto package it is being compiled against.
// A compilation error at this line likely means your copy of the
// proto package needs to be updated.
const _ = proto.ProtoPackageIsVersion2 // please upgrade the proto package

type IndexResponse struct {
	// lensIdentifier is the identifier of the indexed object according to the lens system
	LensIdentifier string `protobuf:"bytes,1,opt,name=lensIdentifier,proto3" json:"lensIdentifier,omitempty"`
	// keywords  are the keywords that you can use to search for this object within lens
	Keywords []string `protobuf:"bytes,2,rep,name=keywords,proto3" json:"keywords,omitempty"`
	// data is miscellaneous data associated with the response
	Data                 []byte   `protobuf:"bytes,3,opt,name=data,proto3" json:"data,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *IndexResponse) Reset()         { *m = IndexResponse{} }
func (m *IndexResponse) String() string { return proto.CompactTextString(m) }
func (*IndexResponse) ProtoMessage()    {}
func (*IndexResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_0fbc901015fa5021, []int{0}
}

func (m *IndexResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_IndexResponse.Unmarshal(m, b)
}
func (m *IndexResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_IndexResponse.Marshal(b, m, deterministic)
}
func (m *IndexResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_IndexResponse.Merge(m, src)
}
func (m *IndexResponse) XXX_Size() int {
	return xxx_messageInfo_IndexResponse.Size(m)
}
func (m *IndexResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_IndexResponse.DiscardUnknown(m)
}

var xxx_messageInfo_IndexResponse proto.InternalMessageInfo

func (m *IndexResponse) GetLensIdentifier() string {
	if m != nil {
		return m.LensIdentifier
	}
	return ""
}

func (m *IndexResponse) GetKeywords() []string {
	if m != nil {
		return m.Keywords
	}
	return nil
}

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

type SearchResponse struct {
	// name is the "name" of the object, such as an IPFS content hash
	Names []string `protobuf:"bytes,1,rep,name=names,proto3" json:"names,omitempty"`
	// objectType is the type of the object, such as IPLD
	ObjectType           string   `protobuf:"bytes,2,opt,name=objectType,proto3" json:"objectType,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

func (m *SearchResponse) Reset()         { *m = SearchResponse{} }
func (m *SearchResponse) String() string { return proto.CompactTextString(m) }
func (*SearchResponse) ProtoMessage()    {}
func (*SearchResponse) Descriptor() ([]byte, []int) {
	return fileDescriptor_0fbc901015fa5021, []int{1}
}

func (m *SearchResponse) XXX_Unmarshal(b []byte) error {
	return xxx_messageInfo_SearchResponse.Unmarshal(m, b)
}
func (m *SearchResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
	return xxx_messageInfo_SearchResponse.Marshal(b, m, deterministic)
}
func (m *SearchResponse) XXX_Merge(src proto.Message) {
	xxx_messageInfo_SearchResponse.Merge(m, src)
}
func (m *SearchResponse) XXX_Size() int {
	return xxx_messageInfo_SearchResponse.Size(m)
}
func (m *SearchResponse) XXX_DiscardUnknown() {
	xxx_messageInfo_SearchResponse.DiscardUnknown(m)
}

var xxx_messageInfo_SearchResponse proto.InternalMessageInfo

func (m *SearchResponse) GetNames() []string {
	if m != nil {
		return m.Names
	}
	return nil
}

func (m *SearchResponse) GetObjectType() string {
	if m != nil {
		return m.ObjectType
	}
	return ""
}

func init() {
	proto.RegisterType((*IndexResponse)(nil), "response.IndexResponse")
	proto.RegisterType((*SearchResponse)(nil), "response.SearchResponse")
}

func init() { proto.RegisterFile("response.proto", fileDescriptor_0fbc901015fa5021) }

var fileDescriptor_0fbc901015fa5021 = []byte{
	// 205 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00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