2015-05-21 17:12:58 +00:00
|
|
|
// Code generated by protoc-gen-gogo.
|
|
|
|
// source: internal/data.proto
|
2015-05-20 22:46:27 +00:00
|
|
|
// DO NOT EDIT!
|
|
|
|
|
|
|
|
/*
|
|
|
|
Package internal is a generated protocol buffer package.
|
|
|
|
|
|
|
|
It is generated from these files:
|
2015-05-21 17:12:58 +00:00
|
|
|
internal/data.proto
|
2015-05-20 22:46:27 +00:00
|
|
|
|
|
|
|
It has these top-level messages:
|
|
|
|
WriteShardRequest
|
|
|
|
WriteShardResponse
|
2015-07-16 21:27:29 +00:00
|
|
|
MapShardRequest
|
|
|
|
MapShardResponse
|
2015-05-20 22:46:27 +00:00
|
|
|
*/
|
|
|
|
package internal
|
|
|
|
|
2015-05-21 17:12:58 +00:00
|
|
|
import proto "github.com/gogo/protobuf/proto"
|
2015-05-20 22:46:27 +00:00
|
|
|
import math "math"
|
|
|
|
|
|
|
|
// Reference imports to suppress errors if they are not otherwise used.
|
|
|
|
var _ = proto.Marshal
|
|
|
|
var _ = math.Inf
|
|
|
|
|
|
|
|
type WriteShardRequest struct {
|
|
|
|
ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"`
|
2015-09-15 22:21:39 +00:00
|
|
|
Points [][]byte `protobuf:"bytes,2,rep" json:"Points,omitempty"`
|
2015-05-20 22:46:27 +00:00
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteShardRequest) Reset() { *m = WriteShardRequest{} }
|
|
|
|
func (m *WriteShardRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WriteShardRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *WriteShardRequest) GetShardID() uint64 {
|
|
|
|
if m != nil && m.ShardID != nil {
|
|
|
|
return *m.ShardID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
2015-09-15 22:21:39 +00:00
|
|
|
func (m *WriteShardRequest) GetPoints() [][]byte {
|
2015-05-20 22:46:27 +00:00
|
|
|
if m != nil {
|
|
|
|
return m.Points
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
type WriteShardResponse struct {
|
|
|
|
Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"`
|
|
|
|
Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteShardResponse) Reset() { *m = WriteShardResponse{} }
|
|
|
|
func (m *WriteShardResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*WriteShardResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *WriteShardResponse) GetCode() int32 {
|
|
|
|
if m != nil && m.Code != nil {
|
|
|
|
return *m.Code
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *WriteShardResponse) GetMessage() string {
|
|
|
|
if m != nil && m.Message != nil {
|
|
|
|
return *m.Message
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
2015-07-16 21:27:29 +00:00
|
|
|
type MapShardRequest struct {
|
|
|
|
ShardID *uint64 `protobuf:"varint,1,req" json:"ShardID,omitempty"`
|
|
|
|
Query *string `protobuf:"bytes,2,req" json:"Query,omitempty"`
|
|
|
|
ChunkSize *int32 `protobuf:"varint,3,req" json:"ChunkSize,omitempty"`
|
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardRequest) Reset() { *m = MapShardRequest{} }
|
|
|
|
func (m *MapShardRequest) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MapShardRequest) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *MapShardRequest) GetShardID() uint64 {
|
|
|
|
if m != nil && m.ShardID != nil {
|
|
|
|
return *m.ShardID
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardRequest) GetQuery() string {
|
|
|
|
if m != nil && m.Query != nil {
|
|
|
|
return *m.Query
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardRequest) GetChunkSize() int32 {
|
|
|
|
if m != nil && m.ChunkSize != nil {
|
|
|
|
return *m.ChunkSize
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
type MapShardResponse struct {
|
|
|
|
Code *int32 `protobuf:"varint,1,req" json:"Code,omitempty"`
|
|
|
|
Message *string `protobuf:"bytes,2,opt" json:"Message,omitempty"`
|
|
|
|
Data []byte `protobuf:"bytes,3,opt" json:"Data,omitempty"`
|
|
|
|
TagSets []string `protobuf:"bytes,4,rep" json:"TagSets,omitempty"`
|
2015-07-28 22:49:18 +00:00
|
|
|
Fields []string `protobuf:"bytes,5,rep" json:"Fields,omitempty"`
|
2015-07-16 21:27:29 +00:00
|
|
|
XXX_unrecognized []byte `json:"-"`
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardResponse) Reset() { *m = MapShardResponse{} }
|
|
|
|
func (m *MapShardResponse) String() string { return proto.CompactTextString(m) }
|
|
|
|
func (*MapShardResponse) ProtoMessage() {}
|
|
|
|
|
|
|
|
func (m *MapShardResponse) GetCode() int32 {
|
|
|
|
if m != nil && m.Code != nil {
|
|
|
|
return *m.Code
|
|
|
|
}
|
|
|
|
return 0
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardResponse) GetMessage() string {
|
|
|
|
if m != nil && m.Message != nil {
|
|
|
|
return *m.Message
|
|
|
|
}
|
|
|
|
return ""
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardResponse) GetData() []byte {
|
|
|
|
if m != nil {
|
|
|
|
return m.Data
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
|
|
|
func (m *MapShardResponse) GetTagSets() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.TagSets
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2015-07-28 22:49:18 +00:00
|
|
|
func (m *MapShardResponse) GetFields() []string {
|
|
|
|
if m != nil {
|
|
|
|
return m.Fields
|
|
|
|
}
|
|
|
|
return nil
|
|
|
|
}
|
|
|
|
|
2015-05-20 22:46:27 +00:00
|
|
|
func init() {
|
|
|
|
}
|