@ondewo/nlu-client-typescript 4.0.0 → 4.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +450 -490
- package/api/ondewo/nlu/agent_grpc_web_pb.js +1113 -1244
- package/api/ondewo/nlu/agent_pb.d.ts +1939 -1751
- package/api/ondewo/nlu/agent_pb.js +9062 -10483
- package/api/ondewo/nlu/aiservices_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +245 -280
- package/api/ondewo/nlu/aiservices_pb.d.ts +745 -674
- package/api/ondewo/nlu/aiservices_pb.js +3638 -4403
- package/api/ondewo/nlu/common_pb.d.ts +15 -17
- package/api/ondewo/nlu/common_pb.js +83 -93
- package/api/ondewo/nlu/context_grpc_web_pb.d.ts +76 -82
- package/api/ondewo/nlu/context_grpc_web_pb.js +191 -220
- package/api/ondewo/nlu/context_pb.d.ts +151 -151
- package/api/ondewo/nlu/context_pb.js +889 -1042
- package/api/ondewo/nlu/entity_type_grpc_web_pb.d.ts +142 -154
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +351 -398
- package/api/ondewo/nlu/entity_type_pb.d.ts +614 -571
- package/api/ondewo/nlu/entity_type_pb.js +2893 -3369
- package/api/ondewo/nlu/intent_grpc_web_pb.d.ts +310 -334
- package/api/ondewo/nlu/intent_grpc_web_pb.js +766 -851
- package/api/ondewo/nlu/intent_pb.d.ts +2151 -1993
- package/api/ondewo/nlu/intent_pb.js +9502 -10692
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +86 -88
- package/api/ondewo/nlu/operation_metadata_pb.js +321 -412
- package/api/ondewo/nlu/operations_grpc_web_pb.d.ts +46 -50
- package/api/ondewo/nlu/operations_grpc_web_pb.js +140 -163
- package/api/ondewo/nlu/operations_pb.d.ts +189 -182
- package/api/ondewo/nlu/operations_pb.js +843 -1004
- package/api/ondewo/nlu/project_role_grpc_web_pb.d.ts +65 -70
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +164 -190
- package/api/ondewo/nlu/project_role_pb.d.ts +165 -151
- package/api/ondewo/nlu/project_role_pb.js +796 -963
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/project_statistics_grpc_web_pb.js +246 -281
- package/api/ondewo/nlu/project_statistics_pb.d.ts +67 -63
- package/api/ondewo/nlu/project_statistics_pb.js +354 -418
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/server_statistics_grpc_web_pb.js +110 -130
- package/api/ondewo/nlu/server_statistics_pb.d.ts +15 -14
- package/api/ondewo/nlu/server_statistics_pb.js +81 -91
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +164 -178
- package/api/ondewo/nlu/session_grpc_web_pb.js +409 -462
- package/api/ondewo/nlu/session_pb.d.ts +1080 -1025
- package/api/ondewo/nlu/session_pb.js +5285 -6536
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +172 -190
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -487
- package/api/ondewo/nlu/user_pb.d.ts +345 -325
- package/api/ondewo/nlu/user_pb.js +1948 -2312
- package/api/ondewo/nlu/utility_grpc_web_pb.d.ts +98 -106
- package/api/ondewo/nlu/utility_grpc_web_pb.js +244 -279
- package/api/ondewo/nlu/utility_pb.d.ts +588 -535
- package/api/ondewo/nlu/utility_pb.js +2814 -3348
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +43 -46
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +112 -132
- package/api/ondewo/nlu/webhook_pb.d.ts +123 -119
- package/api/ondewo/nlu/webhook_pb.js +599 -718
- package/api/ondewo/qa/qa_grpc_web_pb.d.ts +87 -94
- package/api/ondewo/qa/qa_grpc_web_pb.js +218 -250
- package/api/ondewo/qa/qa_pb.d.ts +235 -220
- package/api/ondewo/qa/qa_pb.js +1222 -1452
- package/package.json +1 -1
- package/public-api.d.ts +4 -34
|
@@ -13,7 +13,9 @@
|
|
|
13
13
|
|
|
14
14
|
var jspb = require('google-protobuf');
|
|
15
15
|
var goog = jspb;
|
|
16
|
-
var global =
|
|
16
|
+
var global = function () {
|
|
17
|
+
return this || window || global || self || Function('return this')();
|
|
18
|
+
}.call(null);
|
|
17
19
|
|
|
18
20
|
var google_api_annotations_pb = require('../../google/api/annotations_pb.js');
|
|
19
21
|
goog.object.extend(proto, google_api_annotations_pb);
|
|
@@ -37,16 +39,16 @@ goog.exportSymbol('proto.ondewo.nlu.GetProjectStatRequest', null, global);
|
|
|
37
39
|
* @extends {jspb.Message}
|
|
38
40
|
* @constructor
|
|
39
41
|
*/
|
|
40
|
-
proto.ondewo.nlu.GetIntentCountRequest = function(opt_data) {
|
|
41
|
-
|
|
42
|
+
proto.ondewo.nlu.GetIntentCountRequest = function (opt_data) {
|
|
43
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
42
44
|
};
|
|
43
45
|
goog.inherits(proto.ondewo.nlu.GetIntentCountRequest, jspb.Message);
|
|
44
46
|
if (goog.DEBUG && !COMPILED) {
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
47
|
+
/**
|
|
48
|
+
* @public
|
|
49
|
+
* @override
|
|
50
|
+
*/
|
|
51
|
+
proto.ondewo.nlu.GetIntentCountRequest.displayName = 'proto.ondewo.nlu.GetIntentCountRequest';
|
|
50
52
|
}
|
|
51
53
|
/**
|
|
52
54
|
* Generated by JsPbCodeGenerator.
|
|
@@ -58,16 +60,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
58
60
|
* @extends {jspb.Message}
|
|
59
61
|
* @constructor
|
|
60
62
|
*/
|
|
61
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest = function(opt_data) {
|
|
62
|
-
|
|
63
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest = function (opt_data) {
|
|
64
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
63
65
|
};
|
|
64
66
|
goog.inherits(proto.ondewo.nlu.GetEntityTypeCountRequest, jspb.Message);
|
|
65
67
|
if (goog.DEBUG && !COMPILED) {
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
68
|
+
/**
|
|
69
|
+
* @public
|
|
70
|
+
* @override
|
|
71
|
+
*/
|
|
72
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.displayName = 'proto.ondewo.nlu.GetEntityTypeCountRequest';
|
|
71
73
|
}
|
|
72
74
|
/**
|
|
73
75
|
* Generated by JsPbCodeGenerator.
|
|
@@ -79,16 +81,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
79
81
|
* @extends {jspb.Message}
|
|
80
82
|
* @constructor
|
|
81
83
|
*/
|
|
82
|
-
proto.ondewo.nlu.GetProjectStatRequest = function(opt_data) {
|
|
83
|
-
|
|
84
|
+
proto.ondewo.nlu.GetProjectStatRequest = function (opt_data) {
|
|
85
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
84
86
|
};
|
|
85
87
|
goog.inherits(proto.ondewo.nlu.GetProjectStatRequest, jspb.Message);
|
|
86
88
|
if (goog.DEBUG && !COMPILED) {
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
89
|
+
/**
|
|
90
|
+
* @public
|
|
91
|
+
* @override
|
|
92
|
+
*/
|
|
93
|
+
proto.ondewo.nlu.GetProjectStatRequest.displayName = 'proto.ondewo.nlu.GetProjectStatRequest';
|
|
92
94
|
}
|
|
93
95
|
/**
|
|
94
96
|
* Generated by JsPbCodeGenerator.
|
|
@@ -100,73 +102,69 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
100
102
|
* @extends {jspb.Message}
|
|
101
103
|
* @constructor
|
|
102
104
|
*/
|
|
103
|
-
proto.ondewo.nlu.GetProjectElementStatRequest = function(opt_data) {
|
|
104
|
-
|
|
105
|
+
proto.ondewo.nlu.GetProjectElementStatRequest = function (opt_data) {
|
|
106
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
105
107
|
};
|
|
106
108
|
goog.inherits(proto.ondewo.nlu.GetProjectElementStatRequest, jspb.Message);
|
|
107
109
|
if (goog.DEBUG && !COMPILED) {
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
110
|
+
/**
|
|
111
|
+
* @public
|
|
112
|
+
* @override
|
|
113
|
+
*/
|
|
114
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.displayName = 'proto.ondewo.nlu.GetProjectElementStatRequest';
|
|
113
115
|
}
|
|
114
116
|
|
|
115
|
-
|
|
116
|
-
|
|
117
117
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
118
|
-
/**
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
proto.ondewo.nlu.GetIntentCountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
131
|
-
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
};
|
|
118
|
+
/**
|
|
119
|
+
* Creates an object representation of this proto.
|
|
120
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
121
|
+
* Optional fields that are not set will be set to undefined.
|
|
122
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
123
|
+
* For the list of reserved names please see:
|
|
124
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
125
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
126
|
+
* JSPB instance for transitional soy proto support:
|
|
127
|
+
* http://goto/soy-param-migration
|
|
128
|
+
* @return {!Object}
|
|
129
|
+
*/
|
|
130
|
+
proto.ondewo.nlu.GetIntentCountRequest.prototype.toObject = function (opt_includeInstance) {
|
|
131
|
+
return proto.ondewo.nlu.GetIntentCountRequest.toObject(opt_includeInstance, this);
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
/**
|
|
135
|
+
* Static version of the {@see toObject} method.
|
|
136
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
137
|
+
* the JSPB instance for transitional soy proto support:
|
|
138
|
+
* http://goto/soy-param-migration
|
|
139
|
+
* @param {!proto.ondewo.nlu.GetIntentCountRequest} msg The msg instance to transform.
|
|
140
|
+
* @return {!Object}
|
|
141
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
142
|
+
*/
|
|
143
|
+
proto.ondewo.nlu.GetIntentCountRequest.toObject = function (includeInstance, msg) {
|
|
144
|
+
var f,
|
|
145
|
+
obj = {
|
|
146
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ''),
|
|
147
|
+
filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
148
|
+
};
|
|
149
|
+
|
|
150
|
+
if (includeInstance) {
|
|
151
|
+
obj.$jspbMessageInstance = msg;
|
|
152
|
+
}
|
|
153
|
+
return obj;
|
|
154
|
+
};
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
|
|
158
157
|
/**
|
|
159
158
|
* Deserializes binary data (in protobuf wire format).
|
|
160
159
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
161
160
|
* @return {!proto.ondewo.nlu.GetIntentCountRequest}
|
|
162
161
|
*/
|
|
163
|
-
proto.ondewo.nlu.GetIntentCountRequest.deserializeBinary = function(bytes) {
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
162
|
+
proto.ondewo.nlu.GetIntentCountRequest.deserializeBinary = function (bytes) {
|
|
163
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
164
|
+
var msg = new proto.ondewo.nlu.GetIntentCountRequest();
|
|
165
|
+
return proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader(msg, reader);
|
|
167
166
|
};
|
|
168
167
|
|
|
169
|
-
|
|
170
168
|
/**
|
|
171
169
|
* Deserializes binary data (in protobuf wire format) from the
|
|
172
170
|
* given reader into the given message object.
|
|
@@ -174,41 +172,39 @@ proto.ondewo.nlu.GetIntentCountRequest.deserializeBinary = function(bytes) {
|
|
|
174
172
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
175
173
|
* @return {!proto.ondewo.nlu.GetIntentCountRequest}
|
|
176
174
|
*/
|
|
177
|
-
proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
175
|
+
proto.ondewo.nlu.GetIntentCountRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
176
|
+
while (reader.nextField()) {
|
|
177
|
+
if (reader.isEndGroup()) {
|
|
178
|
+
break;
|
|
179
|
+
}
|
|
180
|
+
var field = reader.getFieldNumber();
|
|
181
|
+
switch (field) {
|
|
182
|
+
case 1:
|
|
183
|
+
var value = /** @type {string} */ (reader.readString());
|
|
184
|
+
msg.setParent(value);
|
|
185
|
+
break;
|
|
186
|
+
case 2:
|
|
187
|
+
var value = /** @type {!proto.ondewo.nlu.IntentCategory} */ (reader.readEnum());
|
|
188
|
+
msg.setFilterByCategory(value);
|
|
189
|
+
break;
|
|
190
|
+
default:
|
|
191
|
+
reader.skipField();
|
|
192
|
+
break;
|
|
193
|
+
}
|
|
194
|
+
}
|
|
195
|
+
return msg;
|
|
198
196
|
};
|
|
199
197
|
|
|
200
|
-
|
|
201
198
|
/**
|
|
202
199
|
* Serializes the message to binary data (in protobuf wire format).
|
|
203
200
|
* @return {!Uint8Array}
|
|
204
201
|
*/
|
|
205
|
-
proto.ondewo.nlu.GetIntentCountRequest.prototype.serializeBinary = function() {
|
|
206
|
-
|
|
207
|
-
|
|
208
|
-
|
|
202
|
+
proto.ondewo.nlu.GetIntentCountRequest.prototype.serializeBinary = function () {
|
|
203
|
+
var writer = new jspb.BinaryWriter();
|
|
204
|
+
proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter(this, writer);
|
|
205
|
+
return writer.getResultBuffer();
|
|
209
206
|
};
|
|
210
207
|
|
|
211
|
-
|
|
212
208
|
/**
|
|
213
209
|
* Serializes the given message to binary data (in protobuf wire
|
|
214
210
|
* format), writing to the given BinaryWriter.
|
|
@@ -216,117 +212,101 @@ proto.ondewo.nlu.GetIntentCountRequest.prototype.serializeBinary = function() {
|
|
|
216
212
|
* @param {!jspb.BinaryWriter} writer
|
|
217
213
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
218
214
|
*/
|
|
219
|
-
proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
if (f !== 0.0) {
|
|
230
|
-
writer.writeEnum(
|
|
231
|
-
2,
|
|
232
|
-
f
|
|
233
|
-
);
|
|
234
|
-
}
|
|
215
|
+
proto.ondewo.nlu.GetIntentCountRequest.serializeBinaryToWriter = function (message, writer) {
|
|
216
|
+
var f = undefined;
|
|
217
|
+
f = message.getParent();
|
|
218
|
+
if (f.length > 0) {
|
|
219
|
+
writer.writeString(1, f);
|
|
220
|
+
}
|
|
221
|
+
f = message.getFilterByCategory();
|
|
222
|
+
if (f !== 0.0) {
|
|
223
|
+
writer.writeEnum(2, f);
|
|
224
|
+
}
|
|
235
225
|
};
|
|
236
226
|
|
|
237
|
-
|
|
238
227
|
/**
|
|
239
228
|
* optional string parent = 1;
|
|
240
229
|
* @return {string}
|
|
241
230
|
*/
|
|
242
|
-
proto.ondewo.nlu.GetIntentCountRequest.prototype.getParent = function() {
|
|
243
|
-
|
|
231
|
+
proto.ondewo.nlu.GetIntentCountRequest.prototype.getParent = function () {
|
|
232
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
|
|
244
233
|
};
|
|
245
234
|
|
|
246
|
-
|
|
247
235
|
/**
|
|
248
236
|
* @param {string} value
|
|
249
237
|
* @return {!proto.ondewo.nlu.GetIntentCountRequest} returns this
|
|
250
238
|
*/
|
|
251
|
-
proto.ondewo.nlu.GetIntentCountRequest.prototype.setParent = function(value) {
|
|
252
|
-
|
|
239
|
+
proto.ondewo.nlu.GetIntentCountRequest.prototype.setParent = function (value) {
|
|
240
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
253
241
|
};
|
|
254
242
|
|
|
255
|
-
|
|
256
243
|
/**
|
|
257
244
|
* optional IntentCategory filter_by_category = 2;
|
|
258
245
|
* @return {!proto.ondewo.nlu.IntentCategory}
|
|
259
246
|
*/
|
|
260
|
-
proto.ondewo.nlu.GetIntentCountRequest.prototype.getFilterByCategory = function() {
|
|
261
|
-
|
|
247
|
+
proto.ondewo.nlu.GetIntentCountRequest.prototype.getFilterByCategory = function () {
|
|
248
|
+
return /** @type {!proto.ondewo.nlu.IntentCategory} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
262
249
|
};
|
|
263
250
|
|
|
264
|
-
|
|
265
251
|
/**
|
|
266
252
|
* @param {!proto.ondewo.nlu.IntentCategory} value
|
|
267
253
|
* @return {!proto.ondewo.nlu.GetIntentCountRequest} returns this
|
|
268
254
|
*/
|
|
269
|
-
proto.ondewo.nlu.GetIntentCountRequest.prototype.setFilterByCategory = function(value) {
|
|
270
|
-
|
|
255
|
+
proto.ondewo.nlu.GetIntentCountRequest.prototype.setFilterByCategory = function (value) {
|
|
256
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
271
257
|
};
|
|
272
258
|
|
|
273
|
-
|
|
274
|
-
|
|
275
|
-
|
|
276
|
-
|
|
277
259
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
278
|
-
/**
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.toObject = function(opt_includeInstance) {
|
|
291
|
-
|
|
292
|
-
};
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
303
|
-
|
|
304
|
-
|
|
305
|
-
|
|
306
|
-
|
|
307
|
-
|
|
308
|
-
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
};
|
|
260
|
+
/**
|
|
261
|
+
* Creates an object representation of this proto.
|
|
262
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
263
|
+
* Optional fields that are not set will be set to undefined.
|
|
264
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
265
|
+
* For the list of reserved names please see:
|
|
266
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
267
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
268
|
+
* JSPB instance for transitional soy proto support:
|
|
269
|
+
* http://goto/soy-param-migration
|
|
270
|
+
* @return {!Object}
|
|
271
|
+
*/
|
|
272
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.toObject = function (opt_includeInstance) {
|
|
273
|
+
return proto.ondewo.nlu.GetEntityTypeCountRequest.toObject(opt_includeInstance, this);
|
|
274
|
+
};
|
|
275
|
+
|
|
276
|
+
/**
|
|
277
|
+
* Static version of the {@see toObject} method.
|
|
278
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
279
|
+
* the JSPB instance for transitional soy proto support:
|
|
280
|
+
* http://goto/soy-param-migration
|
|
281
|
+
* @param {!proto.ondewo.nlu.GetEntityTypeCountRequest} msg The msg instance to transform.
|
|
282
|
+
* @return {!Object}
|
|
283
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
284
|
+
*/
|
|
285
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.toObject = function (includeInstance, msg) {
|
|
286
|
+
var f,
|
|
287
|
+
obj = {
|
|
288
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, ''),
|
|
289
|
+
filterByCategory: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
290
|
+
};
|
|
291
|
+
|
|
292
|
+
if (includeInstance) {
|
|
293
|
+
obj.$jspbMessageInstance = msg;
|
|
294
|
+
}
|
|
295
|
+
return obj;
|
|
296
|
+
};
|
|
315
297
|
}
|
|
316
298
|
|
|
317
|
-
|
|
318
299
|
/**
|
|
319
300
|
* Deserializes binary data (in protobuf wire format).
|
|
320
301
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
321
302
|
* @return {!proto.ondewo.nlu.GetEntityTypeCountRequest}
|
|
322
303
|
*/
|
|
323
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinary = function(bytes) {
|
|
324
|
-
|
|
325
|
-
|
|
326
|
-
|
|
304
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinary = function (bytes) {
|
|
305
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
306
|
+
var msg = new proto.ondewo.nlu.GetEntityTypeCountRequest();
|
|
307
|
+
return proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader(msg, reader);
|
|
327
308
|
};
|
|
328
309
|
|
|
329
|
-
|
|
330
310
|
/**
|
|
331
311
|
* Deserializes binary data (in protobuf wire format) from the
|
|
332
312
|
* given reader into the given message object.
|
|
@@ -334,41 +314,39 @@ proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinary = function(bytes) {
|
|
|
334
314
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
335
315
|
* @return {!proto.ondewo.nlu.GetEntityTypeCountRequest}
|
|
336
316
|
*/
|
|
337
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
338
|
-
|
|
339
|
-
|
|
340
|
-
|
|
341
|
-
|
|
342
|
-
|
|
343
|
-
|
|
344
|
-
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
317
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
318
|
+
while (reader.nextField()) {
|
|
319
|
+
if (reader.isEndGroup()) {
|
|
320
|
+
break;
|
|
321
|
+
}
|
|
322
|
+
var field = reader.getFieldNumber();
|
|
323
|
+
switch (field) {
|
|
324
|
+
case 1:
|
|
325
|
+
var value = /** @type {string} */ (reader.readString());
|
|
326
|
+
msg.setParent(value);
|
|
327
|
+
break;
|
|
328
|
+
case 2:
|
|
329
|
+
var value = /** @type {!proto.ondewo.nlu.EntityTypeCategory} */ (reader.readEnum());
|
|
330
|
+
msg.setFilterByCategory(value);
|
|
331
|
+
break;
|
|
332
|
+
default:
|
|
333
|
+
reader.skipField();
|
|
334
|
+
break;
|
|
335
|
+
}
|
|
336
|
+
}
|
|
337
|
+
return msg;
|
|
358
338
|
};
|
|
359
339
|
|
|
360
|
-
|
|
361
340
|
/**
|
|
362
341
|
* Serializes the message to binary data (in protobuf wire format).
|
|
363
342
|
* @return {!Uint8Array}
|
|
364
343
|
*/
|
|
365
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.serializeBinary = function() {
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
344
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.serializeBinary = function () {
|
|
345
|
+
var writer = new jspb.BinaryWriter();
|
|
346
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter(this, writer);
|
|
347
|
+
return writer.getResultBuffer();
|
|
369
348
|
};
|
|
370
349
|
|
|
371
|
-
|
|
372
350
|
/**
|
|
373
351
|
* Serializes the given message to binary data (in protobuf wire
|
|
374
352
|
* format), writing to the given BinaryWriter.
|
|
@@ -376,116 +354,100 @@ proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.serializeBinary = function(
|
|
|
376
354
|
* @param {!jspb.BinaryWriter} writer
|
|
377
355
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
378
356
|
*/
|
|
379
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter = function(message, writer) {
|
|
380
|
-
|
|
381
|
-
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
389
|
-
if (f !== 0.0) {
|
|
390
|
-
writer.writeEnum(
|
|
391
|
-
2,
|
|
392
|
-
f
|
|
393
|
-
);
|
|
394
|
-
}
|
|
357
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.serializeBinaryToWriter = function (message, writer) {
|
|
358
|
+
var f = undefined;
|
|
359
|
+
f = message.getParent();
|
|
360
|
+
if (f.length > 0) {
|
|
361
|
+
writer.writeString(1, f);
|
|
362
|
+
}
|
|
363
|
+
f = message.getFilterByCategory();
|
|
364
|
+
if (f !== 0.0) {
|
|
365
|
+
writer.writeEnum(2, f);
|
|
366
|
+
}
|
|
395
367
|
};
|
|
396
368
|
|
|
397
|
-
|
|
398
369
|
/**
|
|
399
370
|
* optional string parent = 1;
|
|
400
371
|
* @return {string}
|
|
401
372
|
*/
|
|
402
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getParent = function() {
|
|
403
|
-
|
|
373
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getParent = function () {
|
|
374
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
|
|
404
375
|
};
|
|
405
376
|
|
|
406
|
-
|
|
407
377
|
/**
|
|
408
378
|
* @param {string} value
|
|
409
379
|
* @return {!proto.ondewo.nlu.GetEntityTypeCountRequest} returns this
|
|
410
380
|
*/
|
|
411
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setParent = function(value) {
|
|
412
|
-
|
|
381
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setParent = function (value) {
|
|
382
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
413
383
|
};
|
|
414
384
|
|
|
415
|
-
|
|
416
385
|
/**
|
|
417
386
|
* optional EntityTypeCategory filter_by_category = 2;
|
|
418
387
|
* @return {!proto.ondewo.nlu.EntityTypeCategory}
|
|
419
388
|
*/
|
|
420
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getFilterByCategory = function() {
|
|
421
|
-
|
|
389
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.getFilterByCategory = function () {
|
|
390
|
+
return /** @type {!proto.ondewo.nlu.EntityTypeCategory} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
422
391
|
};
|
|
423
392
|
|
|
424
|
-
|
|
425
393
|
/**
|
|
426
394
|
* @param {!proto.ondewo.nlu.EntityTypeCategory} value
|
|
427
395
|
* @return {!proto.ondewo.nlu.GetEntityTypeCountRequest} returns this
|
|
428
396
|
*/
|
|
429
|
-
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setFilterByCategory = function(value) {
|
|
430
|
-
|
|
397
|
+
proto.ondewo.nlu.GetEntityTypeCountRequest.prototype.setFilterByCategory = function (value) {
|
|
398
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
431
399
|
};
|
|
432
400
|
|
|
433
|
-
|
|
434
|
-
|
|
435
|
-
|
|
436
|
-
|
|
437
401
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
438
|
-
/**
|
|
439
|
-
|
|
440
|
-
|
|
441
|
-
|
|
442
|
-
|
|
443
|
-
|
|
444
|
-
|
|
445
|
-
|
|
446
|
-
|
|
447
|
-
|
|
448
|
-
|
|
449
|
-
|
|
450
|
-
proto.ondewo.nlu.GetProjectStatRequest.prototype.toObject = function(opt_includeInstance) {
|
|
451
|
-
|
|
452
|
-
};
|
|
453
|
-
|
|
454
|
-
|
|
455
|
-
|
|
456
|
-
|
|
457
|
-
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
|
|
461
|
-
|
|
462
|
-
|
|
463
|
-
|
|
464
|
-
|
|
465
|
-
|
|
466
|
-
|
|
467
|
-
|
|
468
|
-
|
|
469
|
-
|
|
470
|
-
|
|
471
|
-
|
|
472
|
-
|
|
473
|
-
};
|
|
402
|
+
/**
|
|
403
|
+
* Creates an object representation of this proto.
|
|
404
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
405
|
+
* Optional fields that are not set will be set to undefined.
|
|
406
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
407
|
+
* For the list of reserved names please see:
|
|
408
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
409
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
410
|
+
* JSPB instance for transitional soy proto support:
|
|
411
|
+
* http://goto/soy-param-migration
|
|
412
|
+
* @return {!Object}
|
|
413
|
+
*/
|
|
414
|
+
proto.ondewo.nlu.GetProjectStatRequest.prototype.toObject = function (opt_includeInstance) {
|
|
415
|
+
return proto.ondewo.nlu.GetProjectStatRequest.toObject(opt_includeInstance, this);
|
|
416
|
+
};
|
|
417
|
+
|
|
418
|
+
/**
|
|
419
|
+
* Static version of the {@see toObject} method.
|
|
420
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
421
|
+
* the JSPB instance for transitional soy proto support:
|
|
422
|
+
* http://goto/soy-param-migration
|
|
423
|
+
* @param {!proto.ondewo.nlu.GetProjectStatRequest} msg The msg instance to transform.
|
|
424
|
+
* @return {!Object}
|
|
425
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
426
|
+
*/
|
|
427
|
+
proto.ondewo.nlu.GetProjectStatRequest.toObject = function (includeInstance, msg) {
|
|
428
|
+
var f,
|
|
429
|
+
obj = {
|
|
430
|
+
parent: jspb.Message.getFieldWithDefault(msg, 1, '')
|
|
431
|
+
};
|
|
432
|
+
|
|
433
|
+
if (includeInstance) {
|
|
434
|
+
obj.$jspbMessageInstance = msg;
|
|
435
|
+
}
|
|
436
|
+
return obj;
|
|
437
|
+
};
|
|
474
438
|
}
|
|
475
439
|
|
|
476
|
-
|
|
477
440
|
/**
|
|
478
441
|
* Deserializes binary data (in protobuf wire format).
|
|
479
442
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
480
443
|
* @return {!proto.ondewo.nlu.GetProjectStatRequest}
|
|
481
444
|
*/
|
|
482
|
-
proto.ondewo.nlu.GetProjectStatRequest.deserializeBinary = function(bytes) {
|
|
483
|
-
|
|
484
|
-
|
|
485
|
-
|
|
445
|
+
proto.ondewo.nlu.GetProjectStatRequest.deserializeBinary = function (bytes) {
|
|
446
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
447
|
+
var msg = new proto.ondewo.nlu.GetProjectStatRequest();
|
|
448
|
+
return proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader(msg, reader);
|
|
486
449
|
};
|
|
487
450
|
|
|
488
|
-
|
|
489
451
|
/**
|
|
490
452
|
* Deserializes binary data (in protobuf wire format) from the
|
|
491
453
|
* given reader into the given message object.
|
|
@@ -493,37 +455,35 @@ proto.ondewo.nlu.GetProjectStatRequest.deserializeBinary = function(bytes) {
|
|
|
493
455
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
494
456
|
* @return {!proto.ondewo.nlu.GetProjectStatRequest}
|
|
495
457
|
*/
|
|
496
|
-
proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
497
|
-
|
|
498
|
-
|
|
499
|
-
|
|
500
|
-
|
|
501
|
-
|
|
502
|
-
|
|
503
|
-
|
|
504
|
-
|
|
505
|
-
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
|
-
|
|
510
|
-
|
|
511
|
-
|
|
512
|
-
|
|
458
|
+
proto.ondewo.nlu.GetProjectStatRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
459
|
+
while (reader.nextField()) {
|
|
460
|
+
if (reader.isEndGroup()) {
|
|
461
|
+
break;
|
|
462
|
+
}
|
|
463
|
+
var field = reader.getFieldNumber();
|
|
464
|
+
switch (field) {
|
|
465
|
+
case 1:
|
|
466
|
+
var value = /** @type {string} */ (reader.readString());
|
|
467
|
+
msg.setParent(value);
|
|
468
|
+
break;
|
|
469
|
+
default:
|
|
470
|
+
reader.skipField();
|
|
471
|
+
break;
|
|
472
|
+
}
|
|
473
|
+
}
|
|
474
|
+
return msg;
|
|
513
475
|
};
|
|
514
476
|
|
|
515
|
-
|
|
516
477
|
/**
|
|
517
478
|
* Serializes the message to binary data (in protobuf wire format).
|
|
518
479
|
* @return {!Uint8Array}
|
|
519
480
|
*/
|
|
520
|
-
proto.ondewo.nlu.GetProjectStatRequest.prototype.serializeBinary = function() {
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
|
|
481
|
+
proto.ondewo.nlu.GetProjectStatRequest.prototype.serializeBinary = function () {
|
|
482
|
+
var writer = new jspb.BinaryWriter();
|
|
483
|
+
proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter(this, writer);
|
|
484
|
+
return writer.getResultBuffer();
|
|
524
485
|
};
|
|
525
486
|
|
|
526
|
-
|
|
527
487
|
/**
|
|
528
488
|
* Serializes the given message to binary data (in protobuf wire
|
|
529
489
|
* format), writing to the given BinaryWriter.
|
|
@@ -531,92 +491,81 @@ proto.ondewo.nlu.GetProjectStatRequest.prototype.serializeBinary = function() {
|
|
|
531
491
|
* @param {!jspb.BinaryWriter} writer
|
|
532
492
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
533
493
|
*/
|
|
534
|
-
proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter = function(message, writer) {
|
|
535
|
-
|
|
536
|
-
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
|
-
f
|
|
541
|
-
);
|
|
542
|
-
}
|
|
494
|
+
proto.ondewo.nlu.GetProjectStatRequest.serializeBinaryToWriter = function (message, writer) {
|
|
495
|
+
var f = undefined;
|
|
496
|
+
f = message.getParent();
|
|
497
|
+
if (f.length > 0) {
|
|
498
|
+
writer.writeString(1, f);
|
|
499
|
+
}
|
|
543
500
|
};
|
|
544
501
|
|
|
545
|
-
|
|
546
502
|
/**
|
|
547
503
|
* optional string parent = 1;
|
|
548
504
|
* @return {string}
|
|
549
505
|
*/
|
|
550
|
-
proto.ondewo.nlu.GetProjectStatRequest.prototype.getParent = function() {
|
|
551
|
-
|
|
506
|
+
proto.ondewo.nlu.GetProjectStatRequest.prototype.getParent = function () {
|
|
507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
|
|
552
508
|
};
|
|
553
509
|
|
|
554
|
-
|
|
555
510
|
/**
|
|
556
511
|
* @param {string} value
|
|
557
512
|
* @return {!proto.ondewo.nlu.GetProjectStatRequest} returns this
|
|
558
513
|
*/
|
|
559
|
-
proto.ondewo.nlu.GetProjectStatRequest.prototype.setParent = function(value) {
|
|
560
|
-
|
|
514
|
+
proto.ondewo.nlu.GetProjectStatRequest.prototype.setParent = function (value) {
|
|
515
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
561
516
|
};
|
|
562
517
|
|
|
563
|
-
|
|
564
|
-
|
|
565
|
-
|
|
566
|
-
|
|
567
518
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
568
|
-
/**
|
|
569
|
-
|
|
570
|
-
|
|
571
|
-
|
|
572
|
-
|
|
573
|
-
|
|
574
|
-
|
|
575
|
-
|
|
576
|
-
|
|
577
|
-
|
|
578
|
-
|
|
579
|
-
|
|
580
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.toObject = function(opt_includeInstance) {
|
|
581
|
-
|
|
582
|
-
};
|
|
583
|
-
|
|
584
|
-
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
|
|
589
|
-
|
|
590
|
-
|
|
591
|
-
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
};
|
|
519
|
+
/**
|
|
520
|
+
* Creates an object representation of this proto.
|
|
521
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
522
|
+
* Optional fields that are not set will be set to undefined.
|
|
523
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
524
|
+
* For the list of reserved names please see:
|
|
525
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
526
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
527
|
+
* JSPB instance for transitional soy proto support:
|
|
528
|
+
* http://goto/soy-param-migration
|
|
529
|
+
* @return {!Object}
|
|
530
|
+
*/
|
|
531
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.toObject = function (opt_includeInstance) {
|
|
532
|
+
return proto.ondewo.nlu.GetProjectElementStatRequest.toObject(opt_includeInstance, this);
|
|
533
|
+
};
|
|
534
|
+
|
|
535
|
+
/**
|
|
536
|
+
* Static version of the {@see toObject} method.
|
|
537
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
538
|
+
* the JSPB instance for transitional soy proto support:
|
|
539
|
+
* http://goto/soy-param-migration
|
|
540
|
+
* @param {!proto.ondewo.nlu.GetProjectElementStatRequest} msg The msg instance to transform.
|
|
541
|
+
* @return {!Object}
|
|
542
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
543
|
+
*/
|
|
544
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.toObject = function (includeInstance, msg) {
|
|
545
|
+
var f,
|
|
546
|
+
obj = {
|
|
547
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ''),
|
|
548
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 2, '')
|
|
549
|
+
};
|
|
550
|
+
|
|
551
|
+
if (includeInstance) {
|
|
552
|
+
obj.$jspbMessageInstance = msg;
|
|
553
|
+
}
|
|
554
|
+
return obj;
|
|
555
|
+
};
|
|
605
556
|
}
|
|
606
557
|
|
|
607
|
-
|
|
608
558
|
/**
|
|
609
559
|
* Deserializes binary data (in protobuf wire format).
|
|
610
560
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
611
561
|
* @return {!proto.ondewo.nlu.GetProjectElementStatRequest}
|
|
612
562
|
*/
|
|
613
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinary = function(bytes) {
|
|
614
|
-
|
|
615
|
-
|
|
616
|
-
|
|
563
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinary = function (bytes) {
|
|
564
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
565
|
+
var msg = new proto.ondewo.nlu.GetProjectElementStatRequest();
|
|
566
|
+
return proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader(msg, reader);
|
|
617
567
|
};
|
|
618
568
|
|
|
619
|
-
|
|
620
569
|
/**
|
|
621
570
|
* Deserializes binary data (in protobuf wire format) from the
|
|
622
571
|
* given reader into the given message object.
|
|
@@ -624,41 +573,39 @@ proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinary = function(bytes
|
|
|
624
573
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
625
574
|
* @return {!proto.ondewo.nlu.GetProjectElementStatRequest}
|
|
626
575
|
*/
|
|
627
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
628
|
-
|
|
629
|
-
|
|
630
|
-
|
|
631
|
-
|
|
632
|
-
|
|
633
|
-
|
|
634
|
-
|
|
635
|
-
|
|
636
|
-
|
|
637
|
-
|
|
638
|
-
|
|
639
|
-
|
|
640
|
-
|
|
641
|
-
|
|
642
|
-
|
|
643
|
-
|
|
644
|
-
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
576
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
577
|
+
while (reader.nextField()) {
|
|
578
|
+
if (reader.isEndGroup()) {
|
|
579
|
+
break;
|
|
580
|
+
}
|
|
581
|
+
var field = reader.getFieldNumber();
|
|
582
|
+
switch (field) {
|
|
583
|
+
case 1:
|
|
584
|
+
var value = /** @type {string} */ (reader.readString());
|
|
585
|
+
msg.setName(value);
|
|
586
|
+
break;
|
|
587
|
+
case 2:
|
|
588
|
+
var value = /** @type {string} */ (reader.readString());
|
|
589
|
+
msg.setLanguageCode(value);
|
|
590
|
+
break;
|
|
591
|
+
default:
|
|
592
|
+
reader.skipField();
|
|
593
|
+
break;
|
|
594
|
+
}
|
|
595
|
+
}
|
|
596
|
+
return msg;
|
|
648
597
|
};
|
|
649
598
|
|
|
650
|
-
|
|
651
599
|
/**
|
|
652
600
|
* Serializes the message to binary data (in protobuf wire format).
|
|
653
601
|
* @return {!Uint8Array}
|
|
654
602
|
*/
|
|
655
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.serializeBinary = function() {
|
|
656
|
-
|
|
657
|
-
|
|
658
|
-
|
|
603
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.serializeBinary = function () {
|
|
604
|
+
var writer = new jspb.BinaryWriter();
|
|
605
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter(this, writer);
|
|
606
|
+
return writer.getResultBuffer();
|
|
659
607
|
};
|
|
660
608
|
|
|
661
|
-
|
|
662
609
|
/**
|
|
663
610
|
* Serializes the given message to binary data (in protobuf wire
|
|
664
611
|
* format), writing to the given BinaryWriter.
|
|
@@ -666,59 +613,48 @@ proto.ondewo.nlu.GetProjectElementStatRequest.prototype.serializeBinary = functi
|
|
|
666
613
|
* @param {!jspb.BinaryWriter} writer
|
|
667
614
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
668
615
|
*/
|
|
669
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter = function(message, writer) {
|
|
670
|
-
|
|
671
|
-
|
|
672
|
-
|
|
673
|
-
|
|
674
|
-
|
|
675
|
-
|
|
676
|
-
|
|
677
|
-
|
|
678
|
-
|
|
679
|
-
if (f.length > 0) {
|
|
680
|
-
writer.writeString(
|
|
681
|
-
2,
|
|
682
|
-
f
|
|
683
|
-
);
|
|
684
|
-
}
|
|
616
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.serializeBinaryToWriter = function (message, writer) {
|
|
617
|
+
var f = undefined;
|
|
618
|
+
f = message.getName();
|
|
619
|
+
if (f.length > 0) {
|
|
620
|
+
writer.writeString(1, f);
|
|
621
|
+
}
|
|
622
|
+
f = message.getLanguageCode();
|
|
623
|
+
if (f.length > 0) {
|
|
624
|
+
writer.writeString(2, f);
|
|
625
|
+
}
|
|
685
626
|
};
|
|
686
627
|
|
|
687
|
-
|
|
688
628
|
/**
|
|
689
629
|
* optional string name = 1;
|
|
690
630
|
* @return {string}
|
|
691
631
|
*/
|
|
692
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getName = function() {
|
|
693
|
-
|
|
632
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getName = function () {
|
|
633
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ''));
|
|
694
634
|
};
|
|
695
635
|
|
|
696
|
-
|
|
697
636
|
/**
|
|
698
637
|
* @param {string} value
|
|
699
638
|
* @return {!proto.ondewo.nlu.GetProjectElementStatRequest} returns this
|
|
700
639
|
*/
|
|
701
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setName = function(value) {
|
|
702
|
-
|
|
640
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setName = function (value) {
|
|
641
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
703
642
|
};
|
|
704
643
|
|
|
705
|
-
|
|
706
644
|
/**
|
|
707
645
|
* optional string language_code = 2;
|
|
708
646
|
* @return {string}
|
|
709
647
|
*/
|
|
710
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getLanguageCode = function() {
|
|
711
|
-
|
|
648
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.getLanguageCode = function () {
|
|
649
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ''));
|
|
712
650
|
};
|
|
713
651
|
|
|
714
|
-
|
|
715
652
|
/**
|
|
716
653
|
* @param {string} value
|
|
717
654
|
* @return {!proto.ondewo.nlu.GetProjectElementStatRequest} returns this
|
|
718
655
|
*/
|
|
719
|
-
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setLanguageCode = function(value) {
|
|
720
|
-
|
|
656
|
+
proto.ondewo.nlu.GetProjectElementStatRequest.prototype.setLanguageCode = function (value) {
|
|
657
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
721
658
|
};
|
|
722
659
|
|
|
723
|
-
|
|
724
660
|
goog.object.extend(exports, proto.ondewo.nlu);
|