104 lines
3.4 KiB
Go
104 lines
3.4 KiB
Go
|
// Code generated by protoc-gen-go. DO NOT EDIT.
|
||
|
// source: store/scan_request.proto
|
||
|
|
||
|
package main
|
||
|
|
||
|
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 ScanRequest struct {
|
||
|
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key,omitempty"`
|
||
|
From uint64 `protobuf:"varint,2,opt,name=from,proto3" json:"from,omitempty"`
|
||
|
To uint64 `protobuf:"varint,3,opt,name=to,proto3" json:"to,omitempty"`
|
||
|
Type string `protobuf:"bytes,4,opt,name=type,proto3" json:"type,omitempty"`
|
||
|
XXX_NoUnkeyedLiteral struct{} `json:"-"`
|
||
|
XXX_unrecognized []byte `json:"-"`
|
||
|
XXX_sizecache int32 `json:"-"`
|
||
|
}
|
||
|
|
||
|
func (m *ScanRequest) Reset() { *m = ScanRequest{} }
|
||
|
func (m *ScanRequest) String() string { return proto.CompactTextString(m) }
|
||
|
func (*ScanRequest) ProtoMessage() {}
|
||
|
func (*ScanRequest) Descriptor() ([]byte, []int) {
|
||
|
return fileDescriptor_812dc305bd560f72, []int{0}
|
||
|
}
|
||
|
|
||
|
func (m *ScanRequest) XXX_Unmarshal(b []byte) error {
|
||
|
return xxx_messageInfo_ScanRequest.Unmarshal(m, b)
|
||
|
}
|
||
|
func (m *ScanRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
|
||
|
return xxx_messageInfo_ScanRequest.Marshal(b, m, deterministic)
|
||
|
}
|
||
|
func (m *ScanRequest) XXX_Merge(src proto.Message) {
|
||
|
xxx_messageInfo_ScanRequest.Merge(m, src)
|
||
|
}
|
||
|
func (m *ScanRequest) XXX_Size() int {
|
||
|
return xxx_messageInfo_ScanRequest.Size(m)
|
||
|
}
|
||
|
func (m *ScanRequest) XXX_DiscardUnknown() {
|
||
|
xxx_messageInfo_ScanRequest.DiscardUnknown(m)
|
||
|
}
|
||
|
|
||
|
var xxx_messageInfo_ScanRequest proto.InternalMessageInfo
|
||
|
|
||
|
func (m *ScanRequest) GetKey() string {
|
||
|
if m != nil {
|
||
|
return m.Key
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func (m *ScanRequest) GetFrom() uint64 {
|
||
|
if m != nil {
|
||
|
return m.From
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *ScanRequest) GetTo() uint64 {
|
||
|
if m != nil {
|
||
|
return m.To
|
||
|
}
|
||
|
return 0
|
||
|
}
|
||
|
|
||
|
func (m *ScanRequest) GetType() string {
|
||
|
if m != nil {
|
||
|
return m.Type
|
||
|
}
|
||
|
return ""
|
||
|
}
|
||
|
|
||
|
func init() {
|
||
|
proto.RegisterType((*ScanRequest)(nil), "main.ScanRequest")
|
||
|
}
|
||
|
|
||
|
func init() { proto.RegisterFile("store/scan_request.proto", fileDescriptor_812dc305bd560f72) }
|
||
|
|
||
|
var fileDescriptor_812dc305bd560f72 = []byte{
|
||
|
// 129 bytes of a gzipped FileDescriptorProto
|
||
|
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0xe2, 0x92, 0x28, 0x2e, 0xc9, 0x2f,
|
||
|
0x4a, 0xd5, 0x2f, 0x4e, 0x4e, 0xcc, 0x8b, 0x2f, 0x4a, 0x2d, 0x2c, 0x4d, 0x2d, 0x2e, 0xd1, 0x2b,
|
||
|
0x28, 0xca, 0x2f, 0xc9, 0x17, 0x62, 0xc9, 0x4d, 0xcc, 0xcc, 0x53, 0x0a, 0xe7, 0xe2, 0x0e, 0x4e,
|
||
|
0x4e, 0xcc, 0x0b, 0x82, 0x48, 0x09, 0x09, 0x70, 0x31, 0x67, 0xa7, 0x56, 0x4a, 0x30, 0x2a, 0x30,
|
||
|
0x6a, 0x70, 0x06, 0x81, 0x98, 0x42, 0x42, 0x5c, 0x2c, 0x69, 0x45, 0xf9, 0xb9, 0x12, 0x4c, 0x0a,
|
||
|
0x8c, 0x1a, 0x2c, 0x41, 0x60, 0xb6, 0x10, 0x1f, 0x17, 0x53, 0x49, 0xbe, 0x04, 0x33, 0x58, 0x84,
|
||
|
0xa9, 0x24, 0x1f, 0xa4, 0xa6, 0xa4, 0xb2, 0x20, 0x55, 0x82, 0x05, 0xac, 0x0d, 0xcc, 0x4e, 0x62,
|
||
|
0x03, 0xdb, 0x62, 0x0c, 0x08, 0x00, 0x00, 0xff, 0xff, 0x2e, 0x77, 0x60, 0x56, 0x81, 0x00, 0x00,
|
||
|
0x00,
|
||
|
}
|