1// Code generated by protoc-gen-go.
2// source: common.proto
3// DO NOT EDIT!
4
5/*
6Package protobuf is a generated protocol buffer package.
7
8It is generated from these files:
9	common.proto
10	index.proto
11	partn_key.proto
12	partn_single.proto
13	partn_tp.proto
14	projector.proto
15
16It has these top-level messages:
17	Error
18	Vbuckets
19	Snapshot
20	TsVb
21	TsVbFull
22	TsVbuuid
23	FailoverLog
24*/
25package protobuf
26
27import proto "github.com/golang/protobuf/proto"
28import math "math"
29
30// Reference imports to suppress errors if they are not otherwise used.
31var _ = proto.Marshal
32var _ = math.Inf
33
34// Error message can be sent back as response or
35// encapsulated in response packets.
36type Error struct {
37	Error            *string `protobuf:"bytes,1,req,name=error" json:"error,omitempty"`
38	XXX_unrecognized []byte  `json:"-"`
39}
40
41func (m *Error) Reset()         { *m = Error{} }
42func (m *Error) String() string { return proto.CompactTextString(m) }
43func (*Error) ProtoMessage()    {}
44
45func (m *Error) GetError() string {
46	if m != nil && m.Error != nil {
47		return *m.Error
48	}
49	return ""
50}
51
52// list of vbucket numbers
53type Vbuckets struct {
54	Vbnos            []uint32 `protobuf:"varint,1,rep,name=vbnos" json:"vbnos,omitempty"`
55	XXX_unrecognized []byte   `json:"-"`
56}
57
58func (m *Vbuckets) Reset()         { *m = Vbuckets{} }
59func (m *Vbuckets) String() string { return proto.CompactTextString(m) }
60func (*Vbuckets) ProtoMessage()    {}
61
62func (m *Vbuckets) GetVbnos() []uint32 {
63	if m != nil {
64		return m.Vbnos
65	}
66	return nil
67}
68
69// Start and end of DCP snapshot
70type Snapshot struct {
71	Start            *uint64 `protobuf:"varint,1,req,name=start" json:"start,omitempty"`
72	End              *uint64 `protobuf:"varint,2,req,name=end" json:"end,omitempty"`
73	XXX_unrecognized []byte  `json:"-"`
74}
75
76func (m *Snapshot) Reset()         { *m = Snapshot{} }
77func (m *Snapshot) String() string { return proto.CompactTextString(m) }
78func (*Snapshot) ProtoMessage()    {}
79
80func (m *Snapshot) GetStart() uint64 {
81	if m != nil && m.Start != nil {
82		return *m.Start
83	}
84	return 0
85}
86
87func (m *Snapshot) GetEnd() uint64 {
88	if m != nil && m.End != nil {
89		return *m.End
90	}
91	return 0
92}
93
94// logical clock for a subset of vbuckets
95type TsVb struct {
96	Pool             *string  `protobuf:"bytes,1,req,name=pool" json:"pool,omitempty"`
97	Bucket           *string  `protobuf:"bytes,2,req,name=bucket" json:"bucket,omitempty"`
98	Vbnos            []uint32 `protobuf:"varint,3,rep,name=vbnos" json:"vbnos,omitempty"`
99	Seqnos           []uint64 `protobuf:"varint,4,rep,name=seqnos" json:"seqnos,omitempty"`
100	XXX_unrecognized []byte   `json:"-"`
101}
102
103func (m *TsVb) Reset()         { *m = TsVb{} }
104func (m *TsVb) String() string { return proto.CompactTextString(m) }
105func (*TsVb) ProtoMessage()    {}
106
107func (m *TsVb) GetPool() string {
108	if m != nil && m.Pool != nil {
109		return *m.Pool
110	}
111	return ""
112}
113
114func (m *TsVb) GetBucket() string {
115	if m != nil && m.Bucket != nil {
116		return *m.Bucket
117	}
118	return ""
119}
120
121func (m *TsVb) GetVbnos() []uint32 {
122	if m != nil {
123		return m.Vbnos
124	}
125	return nil
126}
127
128func (m *TsVb) GetSeqnos() []uint64 {
129	if m != nil {
130		return m.Seqnos
131	}
132	return nil
133}
134
135// logical clock for full set of vbuckets, starting from 0 to MaxVbucket.
136type TsVbFull struct {
137	Pool             *string  `protobuf:"bytes,1,req,name=pool" json:"pool,omitempty"`
138	Bucket           *string  `protobuf:"bytes,2,req,name=bucket" json:"bucket,omitempty"`
139	Seqnos           []uint64 `protobuf:"varint,3,rep,name=seqnos" json:"seqnos,omitempty"`
140	XXX_unrecognized []byte   `json:"-"`
141}
142
143func (m *TsVbFull) Reset()         { *m = TsVbFull{} }
144func (m *TsVbFull) String() string { return proto.CompactTextString(m) }
145func (*TsVbFull) ProtoMessage()    {}
146
147func (m *TsVbFull) GetPool() string {
148	if m != nil && m.Pool != nil {
149		return *m.Pool
150	}
151	return ""
152}
153
154func (m *TsVbFull) GetBucket() string {
155	if m != nil && m.Bucket != nil {
156		return *m.Bucket
157	}
158	return ""
159}
160
161func (m *TsVbFull) GetSeqnos() []uint64 {
162	if m != nil {
163		return m.Seqnos
164	}
165	return nil
166}
167
168// logical clock for a subset of vbuckets along with branch-id and snapshot
169// information.
170type TsVbuuid struct {
171	Pool             *string     `protobuf:"bytes,1,req,name=pool" json:"pool,omitempty"`
172	Bucket           *string     `protobuf:"bytes,2,req,name=bucket" json:"bucket,omitempty"`
173	Vbnos            []uint32    `protobuf:"varint,3,rep,name=vbnos" json:"vbnos,omitempty"`
174	Seqnos           []uint64    `protobuf:"varint,4,rep,name=seqnos" json:"seqnos,omitempty"`
175	Vbuuids          []uint64    `protobuf:"varint,5,rep,name=vbuuids" json:"vbuuids,omitempty"`
176	Snapshots        []*Snapshot `protobuf:"bytes,6,rep,name=snapshots" json:"snapshots,omitempty"`
177	XXX_unrecognized []byte      `json:"-"`
178}
179
180func (m *TsVbuuid) Reset()         { *m = TsVbuuid{} }
181func (m *TsVbuuid) String() string { return proto.CompactTextString(m) }
182func (*TsVbuuid) ProtoMessage()    {}
183
184func (m *TsVbuuid) GetPool() string {
185	if m != nil && m.Pool != nil {
186		return *m.Pool
187	}
188	return ""
189}
190
191func (m *TsVbuuid) GetBucket() string {
192	if m != nil && m.Bucket != nil {
193		return *m.Bucket
194	}
195	return ""
196}
197
198func (m *TsVbuuid) GetVbnos() []uint32 {
199	if m != nil {
200		return m.Vbnos
201	}
202	return nil
203}
204
205func (m *TsVbuuid) GetSeqnos() []uint64 {
206	if m != nil {
207		return m.Seqnos
208	}
209	return nil
210}
211
212func (m *TsVbuuid) GetVbuuids() []uint64 {
213	if m != nil {
214		return m.Vbuuids
215	}
216	return nil
217}
218
219func (m *TsVbuuid) GetSnapshots() []*Snapshot {
220	if m != nil {
221		return m.Snapshots
222	}
223	return nil
224}
225
226// failover log for a vbucket.
227type FailoverLog struct {
228	Vbno             *uint32  `protobuf:"varint,1,req,name=vbno" json:"vbno,omitempty"`
229	Vbuuids          []uint64 `protobuf:"varint,2,rep,name=vbuuids" json:"vbuuids,omitempty"`
230	Seqnos           []uint64 `protobuf:"varint,3,rep,name=seqnos" json:"seqnos,omitempty"`
231	XXX_unrecognized []byte   `json:"-"`
232}
233
234func (m *FailoverLog) Reset()         { *m = FailoverLog{} }
235func (m *FailoverLog) String() string { return proto.CompactTextString(m) }
236func (*FailoverLog) ProtoMessage()    {}
237
238func (m *FailoverLog) GetVbno() uint32 {
239	if m != nil && m.Vbno != nil {
240		return *m.Vbno
241	}
242	return 0
243}
244
245func (m *FailoverLog) GetVbuuids() []uint64 {
246	if m != nil {
247		return m.Vbuuids
248	}
249	return nil
250}
251
252func (m *FailoverLog) GetSeqnos() []uint64 {
253	if m != nil {
254		return m.Seqnos
255	}
256	return nil
257}
258
259func init() {
260}
261