// Code generated by protoc-gen-go. DO NOT EDIT.
// source: updates.proto

package txmgr

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 KVWrite struct {
	Namespace            string   `protobuf:"bytes,1,opt,name=namespace,proto3" json:"namespace,omitempty"`
	Collection           string   `protobuf:"bytes,2,opt,name=collection,proto3" json:"collection,omitempty"`
	Key                  []byte   `protobuf:"bytes,3,opt,name=key,proto3" json:"key,omitempty"`
	IsDelete             bool     `protobuf:"varint,4,opt,name=isDelete,proto3" json:"isDelete,omitempty"`
	Value                []byte   `protobuf:"bytes,5,opt,name=value,proto3" json:"value,omitempty"`
	VersionBytes         []byte   `protobuf:"bytes,6,opt,name=version_bytes,json=versionBytes,proto3" json:"version_bytes,omitempty"`
	XXX_NoUnkeyedLiteral struct{} `json:"-"`
	XXX_unrecognized     []byte   `json:"-"`
	XXX_sizecache        int32    `json:"-"`
}

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

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

var xxx_messageInfo_KVWrite proto.InternalMessageInfo

func (m *KVWrite) GetNamespace() string {
	if m != nil {
		return m.Namespace
	}
	return ""
}

func (m *KVWrite) GetCollection() string {
	if m != nil {
		return m.Collection
	}
	return ""
}

func (m *KVWrite) GetKey() []byte {
	if m != nil {
		return m.Key
	}
	return nil
}

func (m *KVWrite) GetIsDelete() bool {
	if m != nil {
		return m.IsDelete
	}
	return false
}

func (m *KVWrite) GetValue() []byte {
	if m != nil {
		return m.Value
	}
	return nil
}

func (m *KVWrite) GetVersionBytes() []byte {
	if m != nil {
		return m.VersionBytes
	}
	return nil
}

type Updates struct {
	Kvwrites             []*KVWrite `protobuf:"bytes,1,rep,name=kvwrites,proto3" json:"kvwrites,omitempty"`
	XXX_NoUnkeyedLiteral struct{}   `json:"-"`
	XXX_unrecognized     []byte     `json:"-"`
	XXX_sizecache        int32      `json:"-"`
}

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

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

var xxx_messageInfo_Updates proto.InternalMessageInfo

func (m *Updates) GetKvwrites() []*KVWrite {
	if m != nil {
		return m.Kvwrites
	}
	return nil
}

func init() {
	proto.RegisterType((*KVWrite)(nil), "txmgr.KVWrite")
	proto.RegisterType((*Updates)(nil), "txmgr.Updates")
}

func init() { proto.RegisterFile("updates.proto", fileDescriptor_675fc0bf03cd96fd) }

var fileDescriptor_675fc0bf03cd96fd = []byte{
	// 260 bytes of a gzipped FileDescriptorProto
	0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x4c, 0x90, 0x41, 0x4b, 0xc4, 0x30,
	0x10, 0x85, 0x89, 0xb5, 0xbb, 0xdd, 0x71, 0x57, 0x24, 0x78, 0x08, 0x22, 0x52, 0xd6, 0x4b, 0xf1,
	0xd0, 0x82, 0xe2, 0x59, 0x5c, 0xbc, 0x79, 0x2b, 0xa8, 0xe0, 0x45, 0xd2, 0xec, 0xd8, 0x0d, 0x4d,
	0x9b, 0x92, 0xa4, 0xd5, 0xfe, 0x2b, 0x7f, 0xa2, 0x34, 0x5b, 0x56, 0x4f, 0x79, 0xef, 0x7b, 0x61,
	0x98, 0x37, 0xb0, 0xea, 0xda, 0x2d, 0x77, 0x68, 0xd3, 0xd6, 0x68, 0xa7, 0x69, 0xe8, 0xbe, 0xeb,
	0xd2, 0xac, 0x7f, 0x08, 0xcc, 0x9f, 0x5f, 0xdf, 0x8c, 0x74, 0x48, 0x2f, 0x61, 0xd1, 0xf0, 0x1a,
	0x6d, 0xcb, 0x05, 0x32, 0x12, 0x93, 0x64, 0x91, 0xff, 0x01, 0x7a, 0x05, 0x20, 0xb4, 0x52, 0x28,
	0x9c, 0xd4, 0x0d, 0x3b, 0xf2, 0xf1, 0x3f, 0x42, 0xcf, 0x20, 0xa8, 0x70, 0x60, 0x41, 0x4c, 0x92,
	0x65, 0x3e, 0x4a, 0x7a, 0x01, 0x91, 0xb4, 0x4f, 0xa8, 0xd0, 0x21, 0x3b, 0x8e, 0x49, 0x12, 0xe5,
	0x07, 0x4f, 0xcf, 0x21, 0xec, 0xb9, 0xea, 0x90, 0x85, 0xfe, 0xff, 0xde, 0xd0, 0x6b, 0x58, 0xf5,
	0x68, 0xac, 0xd4, 0xcd, 0x47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