@ondewo/nlu-client-typescript 3.2.0 → 3.3.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.
|
@@ -1874,6 +1874,11 @@ export namespace FullTextSearchResponseIntentTags {
|
|
|
1874
1874
|
getIntentDisplayName(): string;
|
|
1875
1875
|
setIntentDisplayName(value: string): IntentTagsSearchResult;
|
|
1876
1876
|
|
|
1877
|
+
getTagsList(): Array<string>;
|
|
1878
|
+
setTagsList(value: Array<string>): IntentTagsSearchResult;
|
|
1879
|
+
clearTagsList(): IntentTagsSearchResult;
|
|
1880
|
+
addTags(value: string, index?: number): IntentTagsSearchResult;
|
|
1881
|
+
|
|
1877
1882
|
getLanguage(): string;
|
|
1878
1883
|
setLanguage(value: string): IntentTagsSearchResult;
|
|
1879
1884
|
|
|
@@ -1891,6 +1896,7 @@ export namespace FullTextSearchResponseIntentTags {
|
|
|
1891
1896
|
text: string,
|
|
1892
1897
|
intentName: string,
|
|
1893
1898
|
intentDisplayName: string,
|
|
1899
|
+
tagsList: Array<string>,
|
|
1894
1900
|
language: string,
|
|
1895
1901
|
}
|
|
1896
1902
|
}
|
|
@@ -1363,7 +1363,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1363
1363
|
* @constructor
|
|
1364
1364
|
*/
|
|
1365
1365
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult = function(opt_data) {
|
|
1366
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
1366
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.repeatedFields_, null);
|
|
1367
1367
|
};
|
|
1368
1368
|
goog.inherits(proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult, jspb.Message);
|
|
1369
1369
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -15046,6 +15046,13 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.serializeBinaryToWriter = func
|
|
|
15046
15046
|
|
|
15047
15047
|
|
|
15048
15048
|
|
|
15049
|
+
/**
|
|
15050
|
+
* List of repeated fields within this message type.
|
|
15051
|
+
* @private {!Array<number>}
|
|
15052
|
+
* @const
|
|
15053
|
+
*/
|
|
15054
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.repeatedFields_ = [5];
|
|
15055
|
+
|
|
15049
15056
|
|
|
15050
15057
|
|
|
15051
15058
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -15081,7 +15088,8 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.toObjec
|
|
|
15081
15088
|
text: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
15082
15089
|
intentName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
15083
15090
|
intentDisplayName: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
15084
|
-
|
|
15091
|
+
tagsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
15092
|
+
language: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
15085
15093
|
};
|
|
15086
15094
|
|
|
15087
15095
|
if (includeInstance) {
|
|
@@ -15135,6 +15143,10 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.deseria
|
|
|
15135
15143
|
msg.setIntentDisplayName(value);
|
|
15136
15144
|
break;
|
|
15137
15145
|
case 5:
|
|
15146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
15147
|
+
msg.addTags(value);
|
|
15148
|
+
break;
|
|
15149
|
+
case 6:
|
|
15138
15150
|
var value = /** @type {string} */ (reader.readString());
|
|
15139
15151
|
msg.setLanguage(value);
|
|
15140
15152
|
break;
|
|
@@ -15195,10 +15207,17 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.seriali
|
|
|
15195
15207
|
f
|
|
15196
15208
|
);
|
|
15197
15209
|
}
|
|
15210
|
+
f = message.getTagsList();
|
|
15211
|
+
if (f.length > 0) {
|
|
15212
|
+
writer.writeRepeatedString(
|
|
15213
|
+
5,
|
|
15214
|
+
f
|
|
15215
|
+
);
|
|
15216
|
+
}
|
|
15198
15217
|
f = message.getLanguage();
|
|
15199
15218
|
if (f.length > 0) {
|
|
15200
15219
|
writer.writeString(
|
|
15201
|
-
|
|
15220
|
+
6,
|
|
15202
15221
|
f
|
|
15203
15222
|
);
|
|
15204
15223
|
}
|
|
@@ -15278,11 +15297,48 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototy
|
|
|
15278
15297
|
|
|
15279
15298
|
|
|
15280
15299
|
/**
|
|
15281
|
-
*
|
|
15300
|
+
* repeated string tags = 5;
|
|
15301
|
+
* @return {!Array<string>}
|
|
15302
|
+
*/
|
|
15303
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototype.getTagsList = function() {
|
|
15304
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
15305
|
+
};
|
|
15306
|
+
|
|
15307
|
+
|
|
15308
|
+
/**
|
|
15309
|
+
* @param {!Array<string>} value
|
|
15310
|
+
* @return {!proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult} returns this
|
|
15311
|
+
*/
|
|
15312
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototype.setTagsList = function(value) {
|
|
15313
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
15314
|
+
};
|
|
15315
|
+
|
|
15316
|
+
|
|
15317
|
+
/**
|
|
15318
|
+
* @param {string} value
|
|
15319
|
+
* @param {number=} opt_index
|
|
15320
|
+
* @return {!proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult} returns this
|
|
15321
|
+
*/
|
|
15322
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototype.addTags = function(value, opt_index) {
|
|
15323
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
15324
|
+
};
|
|
15325
|
+
|
|
15326
|
+
|
|
15327
|
+
/**
|
|
15328
|
+
* Clears the list making it empty but non-null.
|
|
15329
|
+
* @return {!proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult} returns this
|
|
15330
|
+
*/
|
|
15331
|
+
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototype.clearTagsList = function() {
|
|
15332
|
+
return this.setTagsList([]);
|
|
15333
|
+
};
|
|
15334
|
+
|
|
15335
|
+
|
|
15336
|
+
/**
|
|
15337
|
+
* optional string language = 6;
|
|
15282
15338
|
* @return {string}
|
|
15283
15339
|
*/
|
|
15284
15340
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototype.getLanguage = function() {
|
|
15285
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this,
|
|
15341
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
15286
15342
|
};
|
|
15287
15343
|
|
|
15288
15344
|
|
|
@@ -15291,7 +15347,7 @@ proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototy
|
|
|
15291
15347
|
* @return {!proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult} returns this
|
|
15292
15348
|
*/
|
|
15293
15349
|
proto.ondewo.nlu.FullTextSearchResponseIntentTags.IntentTagsSearchResult.prototype.setLanguage = function(value) {
|
|
15294
|
-
return jspb.Message.setProto3StringField(this,
|
|
15350
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
15295
15351
|
};
|
|
15296
15352
|
|
|
15297
15353
|
|
package/package.json
CHANGED