-
Notifications
You must be signed in to change notification settings - Fork 1
/
relation_count_aggregate.pb.go
338 lines (305 loc) · 13.9 KB
/
relation_count_aggregate.pb.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
// Code generated by protoc-gen-gogo. DO NOT EDIT.
// source: relation_count_aggregate.proto
package instance
import (
fmt "fmt"
_ "github.com/gogo/protobuf/gogoproto"
proto "github.com/gogo/protobuf/proto"
types "github.com/gogo/protobuf/types"
_ "github.com/mwitkow/go-proto-validators"
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.GoGoProtoPackageIsVersion3 // please upgrade the proto package
//
//RelationCountAggregate请求
type RelationCountAggregateRequest struct {
//
//模型对象ID
ObjectId string `protobuf:"bytes,1,opt,name=objectId,proto3" json:"objectId" form:"objectId"`
//
//e.g.: { name: { $like: '%q%' } }, { $or: [{ name: { $like: '%q%' }}] }
Query *types.Struct `protobuf:"bytes,2,opt,name=query,proto3" json:"query" form:"query"`
//
//关系sideId,例如APP的owner
RelationSideIds []string `protobuf:"bytes,3,rep,name=relation_side_ids,json=relationSideIds,proto3" json:"relation_side_ids" form:"relation_side_ids"`
//
//当为 true 时,只搜索与我相关实例
OnlyMyInstance bool `protobuf:"varint,4,opt,name=only_my_instance,json=onlyMyInstance,proto3" json:"only_my_instance" form:"only_my_instance"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RelationCountAggregateRequest) Reset() { *m = RelationCountAggregateRequest{} }
func (m *RelationCountAggregateRequest) String() string { return proto.CompactTextString(m) }
func (*RelationCountAggregateRequest) ProtoMessage() {}
func (*RelationCountAggregateRequest) Descriptor() ([]byte, []int) {
return fileDescriptor_3b9bc328045285bd, []int{0}
}
func (m *RelationCountAggregateRequest) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RelationCountAggregateRequest.Unmarshal(m, b)
}
func (m *RelationCountAggregateRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RelationCountAggregateRequest.Marshal(b, m, deterministic)
}
func (m *RelationCountAggregateRequest) XXX_Merge(src proto.Message) {
xxx_messageInfo_RelationCountAggregateRequest.Merge(m, src)
}
func (m *RelationCountAggregateRequest) XXX_Size() int {
return xxx_messageInfo_RelationCountAggregateRequest.Size(m)
}
func (m *RelationCountAggregateRequest) XXX_DiscardUnknown() {
xxx_messageInfo_RelationCountAggregateRequest.DiscardUnknown(m)
}
var xxx_messageInfo_RelationCountAggregateRequest proto.InternalMessageInfo
func (m *RelationCountAggregateRequest) GetObjectId() string {
if m != nil {
return m.ObjectId
}
return ""
}
func (m *RelationCountAggregateRequest) GetQuery() *types.Struct {
if m != nil {
return m.Query
}
return nil
}
func (m *RelationCountAggregateRequest) GetRelationSideIds() []string {
if m != nil {
return m.RelationSideIds
}
return nil
}
func (m *RelationCountAggregateRequest) GetOnlyMyInstance() bool {
if m != nil {
return m.OnlyMyInstance
}
return false
}
//
//RelationCountAggregate返回
type RelationCountAggregateResponse struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//错误信息
Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error" form:"error"`
//
//返回消息
Message string `protobuf:"bytes,3,opt,name=message,proto3" json:"message" form:"message"`
//
//关系数量统计结果
Data []*RelationCountAggregateResponse_Data `protobuf:"bytes,4,rep,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RelationCountAggregateResponse) Reset() { *m = RelationCountAggregateResponse{} }
func (m *RelationCountAggregateResponse) String() string { return proto.CompactTextString(m) }
func (*RelationCountAggregateResponse) ProtoMessage() {}
func (*RelationCountAggregateResponse) Descriptor() ([]byte, []int) {
return fileDescriptor_3b9bc328045285bd, []int{1}
}
func (m *RelationCountAggregateResponse) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RelationCountAggregateResponse.Unmarshal(m, b)
}
func (m *RelationCountAggregateResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RelationCountAggregateResponse.Marshal(b, m, deterministic)
}
func (m *RelationCountAggregateResponse) XXX_Merge(src proto.Message) {
xxx_messageInfo_RelationCountAggregateResponse.Merge(m, src)
}
func (m *RelationCountAggregateResponse) XXX_Size() int {
return xxx_messageInfo_RelationCountAggregateResponse.Size(m)
}
func (m *RelationCountAggregateResponse) XXX_DiscardUnknown() {
xxx_messageInfo_RelationCountAggregateResponse.DiscardUnknown(m)
}
var xxx_messageInfo_RelationCountAggregateResponse proto.InternalMessageInfo
func (m *RelationCountAggregateResponse) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *RelationCountAggregateResponse) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *RelationCountAggregateResponse) GetMessage() string {
if m != nil {
return m.Message
}
return ""
}
func (m *RelationCountAggregateResponse) GetData() []*RelationCountAggregateResponse_Data {
if m != nil {
return m.Data
}
return nil
}
type RelationCountAggregateResponse_Data struct {
//
//关系sideId
Key string `protobuf:"bytes,1,opt,name=key,proto3" json:"key" form:"key"`
//
//关系个数
Value int32 `protobuf:"varint,2,opt,name=value,proto3" json:"value" form:"value"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RelationCountAggregateResponse_Data) Reset() { *m = RelationCountAggregateResponse_Data{} }
func (m *RelationCountAggregateResponse_Data) String() string { return proto.CompactTextString(m) }
func (*RelationCountAggregateResponse_Data) ProtoMessage() {}
func (*RelationCountAggregateResponse_Data) Descriptor() ([]byte, []int) {
return fileDescriptor_3b9bc328045285bd, []int{1, 0}
}
func (m *RelationCountAggregateResponse_Data) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RelationCountAggregateResponse_Data.Unmarshal(m, b)
}
func (m *RelationCountAggregateResponse_Data) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RelationCountAggregateResponse_Data.Marshal(b, m, deterministic)
}
func (m *RelationCountAggregateResponse_Data) XXX_Merge(src proto.Message) {
xxx_messageInfo_RelationCountAggregateResponse_Data.Merge(m, src)
}
func (m *RelationCountAggregateResponse_Data) XXX_Size() int {
return xxx_messageInfo_RelationCountAggregateResponse_Data.Size(m)
}
func (m *RelationCountAggregateResponse_Data) XXX_DiscardUnknown() {
xxx_messageInfo_RelationCountAggregateResponse_Data.DiscardUnknown(m)
}
var xxx_messageInfo_RelationCountAggregateResponse_Data proto.InternalMessageInfo
func (m *RelationCountAggregateResponse_Data) GetKey() string {
if m != nil {
return m.Key
}
return ""
}
func (m *RelationCountAggregateResponse_Data) GetValue() int32 {
if m != nil {
return m.Value
}
return 0
}
//
//RelationCountAggregateApi返回
type RelationCountAggregateResponseWrapper struct {
//
//返回码
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code" form:"code"`
//
//返回码解释
CodeExplain string `protobuf:"bytes,2,opt,name=codeExplain,proto3" json:"codeExplain" form:"codeExplain"`
//
//错误详情
Error string `protobuf:"bytes,3,opt,name=error,proto3" json:"error" form:"error"`
//
//返回数据
Data *RelationCountAggregateResponse `protobuf:"bytes,4,opt,name=data,proto3" json:"data" form:"data"`
XXX_NoUnkeyedLiteral struct{} `json:"-"`
XXX_unrecognized []byte `json:"-"`
XXX_sizecache int32 `json:"-"`
}
func (m *RelationCountAggregateResponseWrapper) Reset() { *m = RelationCountAggregateResponseWrapper{} }
func (m *RelationCountAggregateResponseWrapper) String() string { return proto.CompactTextString(m) }
func (*RelationCountAggregateResponseWrapper) ProtoMessage() {}
func (*RelationCountAggregateResponseWrapper) Descriptor() ([]byte, []int) {
return fileDescriptor_3b9bc328045285bd, []int{2}
}
func (m *RelationCountAggregateResponseWrapper) XXX_Unmarshal(b []byte) error {
return xxx_messageInfo_RelationCountAggregateResponseWrapper.Unmarshal(m, b)
}
func (m *RelationCountAggregateResponseWrapper) XXX_Marshal(b []byte, deterministic bool) ([]byte, error) {
return xxx_messageInfo_RelationCountAggregateResponseWrapper.Marshal(b, m, deterministic)
}
func (m *RelationCountAggregateResponseWrapper) XXX_Merge(src proto.Message) {
xxx_messageInfo_RelationCountAggregateResponseWrapper.Merge(m, src)
}
func (m *RelationCountAggregateResponseWrapper) XXX_Size() int {
return xxx_messageInfo_RelationCountAggregateResponseWrapper.Size(m)
}
func (m *RelationCountAggregateResponseWrapper) XXX_DiscardUnknown() {
xxx_messageInfo_RelationCountAggregateResponseWrapper.DiscardUnknown(m)
}
var xxx_messageInfo_RelationCountAggregateResponseWrapper proto.InternalMessageInfo
func (m *RelationCountAggregateResponseWrapper) GetCode() int32 {
if m != nil {
return m.Code
}
return 0
}
func (m *RelationCountAggregateResponseWrapper) GetCodeExplain() string {
if m != nil {
return m.CodeExplain
}
return ""
}
func (m *RelationCountAggregateResponseWrapper) GetError() string {
if m != nil {
return m.Error
}
return ""
}
func (m *RelationCountAggregateResponseWrapper) GetData() *RelationCountAggregateResponse {
if m != nil {
return m.Data
}
return nil
}
func init() {
proto.RegisterType((*RelationCountAggregateRequest)(nil), "instance.RelationCountAggregateRequest")
proto.RegisterType((*RelationCountAggregateResponse)(nil), "instance.RelationCountAggregateResponse")
proto.RegisterType((*RelationCountAggregateResponse_Data)(nil), "instance.RelationCountAggregateResponse.Data")
proto.RegisterType((*RelationCountAggregateResponseWrapper)(nil), "instance.RelationCountAggregateResponseWrapper")
}
func init() { proto.RegisterFile("relation_count_aggregate.proto", fileDescriptor_3b9bc328045285bd) }
var fileDescriptor_3b9bc328045285bd = []byte{
// 559 bytes of a gzipped FileDescriptorProto
0x1f, 0x8b, 0x08, 0x00, 0x00, 0x00, 0x00, 0x00, 0x02, 0xff, 0x8c, 0x53, 0xcf, 0x6f, 0xd3, 0x30,
0x18, 0x55, 0x9b, 0x16, 0x5a, 0x17, 0xad, 0xc3, 0x07, 0x16, 0x15, 0xb6, 0x54, 0xe6, 0x87, 0x72,
0x58, 0xd2, 0xfd, 0x90, 0x26, 0xe0, 0x32, 0xad, 0x63, 0x87, 0x1e, 0x76, 0xf1, 0x0e, 0x48, 0x4c,
0x10, 0xb9, 0x89, 0x17, 0x42, 0xd3, 0xb8, 0xb3, 0x9d, 0x8d, 0x80, 0xf8, 0x57, 0x83, 0x84, 0x38,
0x70, 0xce, 0x1d, 0x09, 0xc5, 0x49, 0xda, 0x8a, 0x69, 0x55, 0x4f, 0xb5, 0xbf, 0xf7, 0xde, 0xd7,
0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