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