// Code generated by protoc-gen-go. DO NOT EDIT.
// source: infra/engine/driver/bigtable/proto/cursor.proto

package proto

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.ProtoPackageIsVersion3 // please upgrade the proto package

type Cursor_Type int32

const (
	Cursor_LOG   Cursor_Type = 0
	Cursor_INDEX Cursor_Type = 1
	Cursor_PEEK  Cursor_Type = 2
)

var Cursor_Type_name = map[int32]string{
	0: "LOG",
	1: "INDEX",
	2: "PEEK",
}

var Cursor_Type_value = map[string]int32{
	"LOG":   0,
	"INDEX": 1,
	"PEEK":  2,
}

func (x Cursor_Type) String() string {
	return proto.EnumName(Cursor_Type_name, int32(x))
}

func (Cursor_Type) EnumDescriptor() ([]byte, []int) {
	return fileDescriptor_f278abf2123fd65e, []int{1, 0}
}

type CursorSet struct {
	Cursors              []*Cursor `protobuf:"bytes,1,rep,name=cursors,proto3" json:"cursors,omitempty"`
	XXX_NoUnkeyedLiteral struct{}  `json:"-"`
	XXX_unrecognized     []byte    `json:"-"`
	XXX_sizecache        int32     `json:"-"`
}

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

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

var xxx_messageInfo_CursorSet proto.InternalMessageInfo

func (m *CursorSet) GetCursors() []*Cursor {
	if m != nil {
		return m.Cursors
	}
	return nil
}

type Cursor struct {
	Type                 Cursor_Type `protobuf:"varint,1,opt,name=type,proto3,enum=bigtable.Cursor_Type" json:"type,omitempty"`
	LogStart             int64       `protobuf:"varint,10,opt,name=log_start,json=logStart,proto3" json:"log_start,omitempty"`
	LogEnd               int64       `protobuf:"varint,11,opt,name=log_end,json=logEnd,proto3" json:"log_end,omitempty"`
	IndexId              int32       `protobuf:"varint,20,opt,name=index_id,json=indexId,proto3" json:"index_id,omitempty"`
	IndexStart           []byte      `protobuf:"bytes,21,opt,name=index_start,json=indexStart,proto3" json:"index_start,omitempty"`
	IndexEnd             []byte      `protobuf:"bytes,22,opt,name=index_end,json=indexEnd,proto3" json:"index_end,omitempty"`
	XXX_NoUnkeyedLiteral struct{}    `json:"-"`
	XXX_unrecognized     []byte      `json:"-"`
	XXX_sizecache        int32       `json:"-"`
}

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

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

var xxx_messageInfo_Cursor proto.InternalMessageInfo

func (m *Cursor) GetType() Cursor_Type {
	if m != nil {
		return m.Type
	}
	return Cursor_LOG
}

func (m *Cursor) GetLogStart() int64 {
	if m != nil {
		return m.LogStart
	}
	return 0
}

func (m *Cursor) GetLogEnd() int64 {
	if m != nil {
		return m.LogEnd
	}
	return 0
}

func (m *Cursor) GetIndexId() int32 {
	if m != nil {
		return m.IndexId
	}
	return 0
}

func (m *Cursor) GetIndexStart() []byte {
	if m != nil {
		return m.IndexStart
	}
	return nil
}

func (m *Cursor) GetIndexEnd() []byte {
	if m != nil {
		return m.IndexEnd
	}
	return nil
}

func init() {
	proto.RegisterEnum("bigtable.Cursor_Type", Cursor_Type_name, Cursor_Type_value)
	proto.RegisterType((*CursorSet)(nil), "bigtable.CursorSet")
	proto.RegisterType((*Cursor)(nil), "bigtable.Cursor")
}

func init() {
	proto.RegisterFile("infra/engine/driver/bigtable/proto/cursor.proto", fileDescriptor_f278abf2123fd65e)
}

var fileDescriptor_f278abf2123fd65e = []byte{
	// 287 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x5c, 0x90, 0xcf, 0x4a, 0xec, 0x30,
	0x1c, 0x85, 0x6f, 0x6e, 0xff, 0xff, 0x2a, 0x52, 0x82, 0xa3, 0x95, 0x59, 0x58, 0x8a, 0x8b, 0xea,
	0xa2, 0x85, 0x71, 0xa1, 0x6b, 0xb5, 0xc8, 0xa0, 0xa8, 0x74, 0x5c, 0x88, 0x9b, 0xa1, 0x9d, 0xc4,
	0x12, 0x28, 0x49, 0x49, 0x53, 0x71, 0xde, 0xd8, 0xc7, 0x90, 0x26, 0x74, 0xe3, 0x2a, 0x9c, 0xf3,
	0x7d, 0x39, 0x84, 0xc0, 0x0d, 0xe3, 0x9f, 0xb2, 0x1e, 0x94, 0x1c, 0x77, 0x6a, 0x94, 0xb4, 0xa0,
	0xbc, 0x65, 0x9c, 0x16, 0x44, 0xb2,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