-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathszengine.proto
343 lines (274 loc) · 8.15 KB
/
szengine.proto
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
339
340
341
342
343
syntax = "proto3";
package szengine;
option go_package = "github.com/senzing-garage/sz-sdk-go-grpc/szengine";
option java_package = "com.senzing.sdk.grpc";
option java_outer_classname = "SzEngineProto";
service SzEngine {
rpc AddRecord(AddRecordRequest) returns (AddRecordResponse) {}
rpc CloseExport(CloseExportRequest) returns (CloseExportResponse) {}
rpc CountRedoRecords(CountRedoRecordsRequest) returns (CountRedoRecordsResponse) {}
rpc DeleteRecord(DeleteRecordRequest) returns (DeleteRecordResponse) {}
rpc ExportCsvEntityReport(ExportCsvEntityReportRequest) returns (ExportCsvEntityReportResponse) {}
rpc ExportJsonEntityReport(ExportJsonEntityReportRequest) returns (ExportJsonEntityReportResponse) {}
rpc FetchNext(FetchNextRequest) returns (FetchNextResponse) {}
rpc FindInterestingEntitiesByEntityId(FindInterestingEntitiesByEntityIdRequest) returns (FindInterestingEntitiesByEntityIdResponse) {}
rpc FindInterestingEntitiesByRecordId(FindInterestingEntitiesByRecordIdRequest) returns (FindInterestingEntitiesByRecordIdResponse) {}
rpc FindNetworkByEntityId(FindNetworkByEntityIdRequest) returns (FindNetworkByEntityIdResponse) {}
rpc FindNetworkByRecordId(FindNetworkByRecordIdRequest) returns (FindNetworkByRecordIdResponse) {}
rpc FindPathByEntityId(FindPathByEntityIdRequest) returns (FindPathByEntityIdResponse) {}
rpc FindPathByRecordId(FindPathByRecordIdRequest) returns (FindPathByRecordIdResponse) {}
rpc GetActiveConfigId(GetActiveConfigIdRequest) returns (GetActiveConfigIdResponse) {}
rpc GetEntityByEntityId(GetEntityByEntityIdRequest) returns (GetEntityByEntityIdResponse) {}
rpc GetEntityByRecordId(GetEntityByRecordIdRequest) returns (GetEntityByRecordIdResponse) {}
rpc GetRecord(GetRecordRequest) returns (GetRecordResponse) {}
rpc GetRedoRecord(GetRedoRecordRequest) returns (GetRedoRecordResponse) {}
rpc GetStats(GetStatsRequest) returns (GetStatsResponse) {}
rpc GetVirtualEntityByRecordId(GetVirtualEntityByRecordIdRequest) returns (GetVirtualEntityByRecordIdResponse) {}
rpc HowEntityByEntityId(HowEntityByEntityIdRequest) returns (HowEntityByEntityIdResponse) {}
rpc PreprocessRecord(PreprocessRecordRequest) returns (PreprocessRecordResponse) {}
rpc PrimeEngine(PrimeEngineRequest) returns (PrimeEngineResponse) {}
rpc ProcessRedoRecord(ProcessRedoRecordRequest) returns (ProcessRedoRecordResponse) {}
rpc ReevaluateEntity(ReevaluateEntityRequest) returns (ReevaluateEntityResponse) {}
rpc ReevaluateRecord(ReevaluateRecordRequest) returns (ReevaluateRecordResponse) {}
rpc Reinitialize (ReinitializeRequest) returns (ReinitializeResponse) {}
rpc SearchByAttributes(SearchByAttributesRequest) returns (SearchByAttributesResponse) {}
rpc StreamExportCsvEntityReport(StreamExportCsvEntityReportRequest) returns (stream StreamExportCsvEntityReportResponse) {}
rpc StreamExportJsonEntityReport(StreamExportJsonEntityReportRequest) returns (stream StreamExportJsonEntityReportResponse) {}
rpc WhyEntities(WhyEntitiesRequest) returns (WhyEntitiesResponse) {}
rpc WhyRecordInEntity(WhyRecordInEntityRequest) returns (WhyRecordInEntityResponse) {}
rpc WhyRecords(WhyRecordsRequest) returns (WhyRecordsResponse) {}
}
message AddRecordRequest {
string dataSourceCode = 1;
string recordId = 2;
string recordDefinition = 3;
int64 flags = 4;
}
message AddRecordResponse {
string result = 1;
}
message CloseExportRequest {
int64 exportHandle = 1;
}
message CloseExportResponse {}
message CountRedoRecordsRequest {}
message CountRedoRecordsResponse {
int64 result = 1;
}
message DeleteRecordRequest {
string dataSourceCode = 1;
string recordId = 2;
int64 flags = 3;
}
message DeleteRecordResponse {
string result = 1;
}
message ExportCsvEntityReportRequest {
string csvColumnList = 1;
int64 flags = 2;
}
message ExportCsvEntityReportResponse {
int64 result = 1;
}
message ExportJsonEntityReportRequest {
int64 flags = 1;
}
message ExportJsonEntityReportResponse {
int64 result = 1;
}
message FetchNextRequest {
int64 exportHandle = 1;
}
message FetchNextResponse {
string result = 1;
}
message FindInterestingEntitiesByEntityIdRequest {
int64 entityId = 1;
int64 flags = 2;
}
message FindInterestingEntitiesByEntityIdResponse {
string result = 1;
}
message FindInterestingEntitiesByRecordIdRequest {
string dataSourceCode = 1;
string recordId = 2;
int64 flags = 3;
}
message FindInterestingEntitiesByRecordIdResponse {
string result = 1;
}
message FindNetworkByEntityIdRequest {
string entityIds = 1;
int64 maxDegrees = 2;
int64 buildOutDegrees = 3;
int64 buildOutMaxEntities = 4;
int64 flags = 5;
}
message FindNetworkByEntityIdResponse {
string result = 1;
}
message FindNetworkByRecordIdRequest {
string recordKeys = 1;
int64 maxDegrees = 2;
int64 buildOutDegrees = 3;
int64 buildOutMaxEntities = 4;
int64 flags = 5;
}
message FindNetworkByRecordIdResponse {
string result = 1;
}
message FindPathByEntityIdRequest {
int64 startEntityId = 1;
int64 endEntityId = 2;
int64 maxDegrees = 3;
string avoidEntityIds = 4;
string requiredDataSources = 5;
int64 flags = 6;
}
message FindPathByEntityIdResponse {
string result = 1;
}
message FindPathByRecordIdRequest {
string startDataSourceCode = 1;
string startRecordId = 2;
string endDataSourceCode = 3;
string endRecordId = 4;
int64 maxDegrees = 5;
string avoidRecordKeys = 6;
string requiredDataSources = 7;
int64 flags = 8;
}
message FindPathByRecordIdResponse {
string result = 1;
}
message GetActiveConfigIdRequest {}
message GetActiveConfigIdResponse {
int64 result = 1;
}
message GetEntityByEntityIdRequest {
int64 entityId = 1;
int64 flags = 2;
}
message GetEntityByEntityIdResponse {
string result = 1;
}
message GetEntityByRecordIdRequest {
string dataSourceCode = 1;
string recordId = 2;
int64 flags = 3;
}
message GetEntityByRecordIdResponse {
string result = 1;
}
message GetRecordRequest {
string dataSourceCode = 1;
string recordId = 2;
int64 flags = 3;
}
message GetRecordResponse {
string result = 1;
}
message GetRedoRecordRequest {}
message GetRedoRecordResponse {
string result = 1;
}
message GetStatsRequest {}
message GetStatsResponse {
string result = 1;
}
message GetVirtualEntityByRecordIdRequest {
string recordKeys = 1;
int64 flags = 2;
}
message GetVirtualEntityByRecordIdResponse {
string result = 1;
}
message HowEntityByEntityIdRequest {
int64 entityId = 1;
int64 flags = 2;
}
message HowEntityByEntityIdResponse {
string result = 1;
}
message PreprocessRecordRequest {
string recordDefinition = 1;
int64 flags = 2;
}
message PreprocessRecordResponse {
string result = 1;
}
message PrimeEngineRequest {}
message PrimeEngineResponse {}
message ProcessRedoRecordRequest {
string redoRecord = 1;
int64 flags = 2;
}
message ProcessRedoRecordResponse {
string result = 1;
}
message ReevaluateEntityRequest {
int64 entityId = 1;
int64 flags = 2;
}
message ReevaluateEntityResponse {
string result = 1;
}
message ReevaluateRecordRequest {
string dataSourceCode = 1;
string recordId = 2;
int64 flags = 3;
}
message ReevaluateRecordResponse {
string result = 1;
}
message ReinitializeRequest {
int64 configId = 1;
}
message ReinitializeResponse {}
message SearchByAttributesRequest {
string attributes = 1;
string searchProfile = 2;
int64 flags = 3;
}
message SearchByAttributesResponse {
string result = 1;
}
message StreamExportCsvEntityReportRequest {
string csvColumnList = 1;
int64 flags = 2;
}
message StreamExportCsvEntityReportResponse {
string result = 1;
}
message StreamExportJsonEntityReportRequest {
int64 flags = 1;
}
message StreamExportJsonEntityReportResponse {
string result = 1;
}
message WhyEntitiesRequest {
int64 entityId1 = 1;
int64 entityId2 = 2;
int64 flags = 3;
}
message WhyEntitiesResponse {
string result = 1;
}
message WhyRecordInEntityRequest {
string dataSourceCode = 1;
string recordId = 2;
int64 flags = 3;
}
message WhyRecordInEntityResponse {
string result = 1;
}
message WhyRecordsRequest {
string dataSourceCode1 = 1;
string recordId1 = 2;
string dataSourceCode2 = 3;
string recordId2 = 4;
int64 flags = 5;
}
message WhyRecordsResponse {
string result = 1;
}