@ondewo/nlu-client-typescript 6.0.0 → 6.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/google/protobuf/any_pb.js +2 -2
- package/api/google/protobuf/field_mask_pb.js +1 -1
- package/api/google/protobuf/struct_pb.js +8 -8
- package/api/google/protobuf/timestamp_pb.js +2 -2
- package/api/google/rpc/status_pb.js +3 -3
- package/api/google/type/latlng_pb.js +2 -2
- package/api/ondewo/nlu/agent_grpc_web_pb.d.ts +12 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +61 -0
- package/api/ondewo/nlu/agent_pb.d.ts +59 -0
- package/api/ondewo/nlu/agent_pb.js +702 -322
- package/api/ondewo/nlu/aiservices_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/aiservices_pb.d.ts +111 -0
- package/api/ondewo/nlu/aiservices_pb.js +637 -125
- package/api/ondewo/nlu/ccai_project_pb.d.ts +56 -0
- package/api/ondewo/nlu/ccai_project_pb.js +292 -71
- package/api/ondewo/nlu/common_pb.js +53 -53
- package/api/ondewo/nlu/context_pb.js +27 -27
- package/api/ondewo/nlu/entity_type_pb.js +81 -81
- package/api/ondewo/nlu/intent_pb.js +244 -244
- package/api/ondewo/nlu/operation_metadata_pb.js +22 -22
- package/api/ondewo/nlu/operations_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/operations_pb.d.ts +23 -0
- package/api/ondewo/nlu/operations_pb.js +125 -21
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -0
- package/api/ondewo/nlu/project_role_pb.js +127 -25
- package/api/ondewo/nlu/project_statistics_pb.js +7 -7
- package/api/ondewo/nlu/server_statistics_pb.js +1 -1
- package/api/ondewo/nlu/session_pb.d.ts +198 -0
- package/api/ondewo/nlu/session_pb.js +1312 -394
- package/api/ondewo/nlu/user_pb.d.ts +83 -0
- package/api/ondewo/nlu/user_pb.js +479 -71
- package/api/ondewo/nlu/utility_pb.js +79 -79
- package/api/ondewo/nlu/webhook_pb.js +31 -31
- package/api/ondewo/qa/qa_pb.js +24 -24
- package/package.json +3 -3
|
@@ -706,15 +706,15 @@ proto.ondewo.nlu.User.prototype.toObject = function(opt_includeInstance) {
|
|
|
706
706
|
*/
|
|
707
707
|
proto.ondewo.nlu.User.toObject = function(includeInstance, msg) {
|
|
708
708
|
var f, obj = {
|
|
709
|
-
|
|
710
|
-
|
|
711
|
-
|
|
712
|
-
|
|
713
|
-
|
|
714
|
-
|
|
715
|
-
|
|
716
|
-
|
|
717
|
-
|
|
709
|
+
userId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
710
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
711
|
+
serverRoleId: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
712
|
+
userEmail: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
713
|
+
userProfilePicture: msg.getUserProfilePicture_asB64(),
|
|
714
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
715
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
716
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
717
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 12, "")
|
|
718
718
|
};
|
|
719
719
|
|
|
720
720
|
if (includeInstance) {
|
|
@@ -1142,8 +1142,8 @@ proto.ondewo.nlu.UserInfo.prototype.toObject = function(opt_includeInstance) {
|
|
|
1142
1142
|
*/
|
|
1143
1143
|
proto.ondewo.nlu.UserInfo.toObject = function(includeInstance, msg) {
|
|
1144
1144
|
var f, obj = {
|
|
1145
|
-
|
|
1146
|
-
|
|
1145
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1146
|
+
projectRolesMap: (f = msg.getProjectRolesMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.ProjectRole.toObject) : []
|
|
1147
1147
|
};
|
|
1148
1148
|
|
|
1149
1149
|
if (includeInstance) {
|
|
@@ -1327,8 +1327,8 @@ proto.ondewo.nlu.CreateUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1327
1327
|
*/
|
|
1328
1328
|
proto.ondewo.nlu.CreateUserRequest.toObject = function(includeInstance, msg) {
|
|
1329
1329
|
var f, obj = {
|
|
1330
|
-
|
|
1331
|
-
|
|
1330
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1331
|
+
password: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
1332
1332
|
};
|
|
1333
1333
|
|
|
1334
1334
|
if (includeInstance) {
|
|
@@ -1508,9 +1508,9 @@ proto.ondewo.nlu.UpdateUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1508
1508
|
*/
|
|
1509
1509
|
proto.ondewo.nlu.UpdateUserRequest.toObject = function(includeInstance, msg) {
|
|
1510
1510
|
var f, obj = {
|
|
1511
|
-
|
|
1512
|
-
|
|
1513
|
-
|
|
1511
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
1512
|
+
password: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
1513
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1514
1514
|
};
|
|
1515
1515
|
|
|
1516
1516
|
if (includeInstance) {
|
|
@@ -1766,8 +1766,9 @@ proto.ondewo.nlu.GetUserRequest.prototype.toObject = function(opt_includeInstanc
|
|
|
1766
1766
|
*/
|
|
1767
1767
|
proto.ondewo.nlu.GetUserRequest.toObject = function(includeInstance, msg) {
|
|
1768
1768
|
var f, obj = {
|
|
1769
|
-
|
|
1770
|
-
|
|
1769
|
+
userId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
1770
|
+
userEmail: (f = jspb.Message.getField(msg, 3)) == null ? undefined : f,
|
|
1771
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
1771
1772
|
};
|
|
1772
1773
|
|
|
1773
1774
|
if (includeInstance) {
|
|
@@ -1812,6 +1813,11 @@ proto.ondewo.nlu.GetUserRequest.deserializeBinaryFromReader = function(msg, read
|
|
|
1812
1813
|
var value = /** @type {string} */ (reader.readString());
|
|
1813
1814
|
msg.setUserEmail(value);
|
|
1814
1815
|
break;
|
|
1816
|
+
case 4:
|
|
1817
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
1818
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
1819
|
+
msg.setFieldMask(value);
|
|
1820
|
+
break;
|
|
1815
1821
|
default:
|
|
1816
1822
|
reader.skipField();
|
|
1817
1823
|
break;
|
|
@@ -1855,6 +1861,14 @@ proto.ondewo.nlu.GetUserRequest.serializeBinaryToWriter = function(message, writ
|
|
|
1855
1861
|
f
|
|
1856
1862
|
);
|
|
1857
1863
|
}
|
|
1864
|
+
f = message.getFieldMask();
|
|
1865
|
+
if (f != null) {
|
|
1866
|
+
writer.writeMessage(
|
|
1867
|
+
4,
|
|
1868
|
+
f,
|
|
1869
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
1870
|
+
);
|
|
1871
|
+
}
|
|
1858
1872
|
};
|
|
1859
1873
|
|
|
1860
1874
|
|
|
@@ -1930,6 +1944,43 @@ proto.ondewo.nlu.GetUserRequest.prototype.hasUserEmail = function() {
|
|
|
1930
1944
|
};
|
|
1931
1945
|
|
|
1932
1946
|
|
|
1947
|
+
/**
|
|
1948
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
1949
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
1950
|
+
*/
|
|
1951
|
+
proto.ondewo.nlu.GetUserRequest.prototype.getFieldMask = function() {
|
|
1952
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
1953
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
1954
|
+
};
|
|
1955
|
+
|
|
1956
|
+
|
|
1957
|
+
/**
|
|
1958
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
1959
|
+
* @return {!proto.ondewo.nlu.GetUserRequest} returns this
|
|
1960
|
+
*/
|
|
1961
|
+
proto.ondewo.nlu.GetUserRequest.prototype.setFieldMask = function(value) {
|
|
1962
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
1963
|
+
};
|
|
1964
|
+
|
|
1965
|
+
|
|
1966
|
+
/**
|
|
1967
|
+
* Clears the message field making it undefined.
|
|
1968
|
+
* @return {!proto.ondewo.nlu.GetUserRequest} returns this
|
|
1969
|
+
*/
|
|
1970
|
+
proto.ondewo.nlu.GetUserRequest.prototype.clearFieldMask = function() {
|
|
1971
|
+
return this.setFieldMask(undefined);
|
|
1972
|
+
};
|
|
1973
|
+
|
|
1974
|
+
|
|
1975
|
+
/**
|
|
1976
|
+
* Returns whether this field is set.
|
|
1977
|
+
* @return {boolean}
|
|
1978
|
+
*/
|
|
1979
|
+
proto.ondewo.nlu.GetUserRequest.prototype.hasFieldMask = function() {
|
|
1980
|
+
return jspb.Message.getField(this, 4) != null;
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1983
|
+
|
|
1933
1984
|
|
|
1934
1985
|
|
|
1935
1986
|
|
|
@@ -1962,7 +2013,7 @@ proto.ondewo.nlu.DeleteUserRequest.prototype.toObject = function(opt_includeInst
|
|
|
1962
2013
|
*/
|
|
1963
2014
|
proto.ondewo.nlu.DeleteUserRequest.toObject = function(includeInstance, msg) {
|
|
1964
2015
|
var f, obj = {
|
|
1965
|
-
|
|
2016
|
+
userId: jspb.Message.getFieldWithDefault(msg, 1, "")
|
|
1966
2017
|
};
|
|
1967
2018
|
|
|
1968
2019
|
if (includeInstance) {
|
|
@@ -2092,7 +2143,8 @@ proto.ondewo.nlu.ListUsersRequest.prototype.toObject = function(opt_includeInsta
|
|
|
2092
2143
|
*/
|
|
2093
2144
|
proto.ondewo.nlu.ListUsersRequest.toObject = function(includeInstance, msg) {
|
|
2094
2145
|
var f, obj = {
|
|
2095
|
-
|
|
2146
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2147
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
2096
2148
|
};
|
|
2097
2149
|
|
|
2098
2150
|
if (includeInstance) {
|
|
@@ -2133,6 +2185,11 @@ proto.ondewo.nlu.ListUsersRequest.deserializeBinaryFromReader = function(msg, re
|
|
|
2133
2185
|
var value = /** @type {string} */ (reader.readString());
|
|
2134
2186
|
msg.setPageToken(value);
|
|
2135
2187
|
break;
|
|
2188
|
+
case 2:
|
|
2189
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
2190
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
2191
|
+
msg.setFieldMask(value);
|
|
2192
|
+
break;
|
|
2136
2193
|
default:
|
|
2137
2194
|
reader.skipField();
|
|
2138
2195
|
break;
|
|
@@ -2169,6 +2226,14 @@ proto.ondewo.nlu.ListUsersRequest.serializeBinaryToWriter = function(message, wr
|
|
|
2169
2226
|
f
|
|
2170
2227
|
);
|
|
2171
2228
|
}
|
|
2229
|
+
f = message.getFieldMask();
|
|
2230
|
+
if (f != null) {
|
|
2231
|
+
writer.writeMessage(
|
|
2232
|
+
2,
|
|
2233
|
+
f,
|
|
2234
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
2235
|
+
);
|
|
2236
|
+
}
|
|
2172
2237
|
};
|
|
2173
2238
|
|
|
2174
2239
|
|
|
@@ -2190,6 +2255,43 @@ proto.ondewo.nlu.ListUsersRequest.prototype.setPageToken = function(value) {
|
|
|
2190
2255
|
};
|
|
2191
2256
|
|
|
2192
2257
|
|
|
2258
|
+
/**
|
|
2259
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
2260
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
2261
|
+
*/
|
|
2262
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.getFieldMask = function() {
|
|
2263
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
2264
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
2265
|
+
};
|
|
2266
|
+
|
|
2267
|
+
|
|
2268
|
+
/**
|
|
2269
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
2270
|
+
* @return {!proto.ondewo.nlu.ListUsersRequest} returns this
|
|
2271
|
+
*/
|
|
2272
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.setFieldMask = function(value) {
|
|
2273
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2274
|
+
};
|
|
2275
|
+
|
|
2276
|
+
|
|
2277
|
+
/**
|
|
2278
|
+
* Clears the message field making it undefined.
|
|
2279
|
+
* @return {!proto.ondewo.nlu.ListUsersRequest} returns this
|
|
2280
|
+
*/
|
|
2281
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.clearFieldMask = function() {
|
|
2282
|
+
return this.setFieldMask(undefined);
|
|
2283
|
+
};
|
|
2284
|
+
|
|
2285
|
+
|
|
2286
|
+
/**
|
|
2287
|
+
* Returns whether this field is set.
|
|
2288
|
+
* @return {boolean}
|
|
2289
|
+
*/
|
|
2290
|
+
proto.ondewo.nlu.ListUsersRequest.prototype.hasFieldMask = function() {
|
|
2291
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2292
|
+
};
|
|
2293
|
+
|
|
2294
|
+
|
|
2193
2295
|
|
|
2194
2296
|
/**
|
|
2195
2297
|
* List of repeated fields within this message type.
|
|
@@ -2229,9 +2331,9 @@ proto.ondewo.nlu.ListUsersResponse.prototype.toObject = function(opt_includeInst
|
|
|
2229
2331
|
*/
|
|
2230
2332
|
proto.ondewo.nlu.ListUsersResponse.toObject = function(includeInstance, msg) {
|
|
2231
2333
|
var f, obj = {
|
|
2232
|
-
|
|
2334
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
2233
2335
|
proto.ondewo.nlu.User.toObject, includeInstance),
|
|
2234
|
-
|
|
2336
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2235
2337
|
};
|
|
2236
2338
|
|
|
2237
2339
|
if (includeInstance) {
|
|
@@ -2419,9 +2521,9 @@ proto.ondewo.nlu.ListUserInfosResponse.prototype.toObject = function(opt_include
|
|
|
2419
2521
|
*/
|
|
2420
2522
|
proto.ondewo.nlu.ListUserInfosResponse.toObject = function(includeInstance, msg) {
|
|
2421
2523
|
var f, obj = {
|
|
2422
|
-
|
|
2524
|
+
usersList: jspb.Message.toObjectList(msg.getUsersList(),
|
|
2423
2525
|
proto.ondewo.nlu.UserInfo.toObject, includeInstance),
|
|
2424
|
-
|
|
2526
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2425
2527
|
};
|
|
2426
2528
|
|
|
2427
2529
|
if (includeInstance) {
|
|
@@ -2609,13 +2711,13 @@ proto.ondewo.nlu.ServerRole.prototype.toObject = function(opt_includeInstance) {
|
|
|
2609
2711
|
*/
|
|
2610
2712
|
proto.ondewo.nlu.ServerRole.toObject = function(includeInstance, msg) {
|
|
2611
2713
|
var f, obj = {
|
|
2612
|
-
|
|
2613
|
-
|
|
2614
|
-
|
|
2615
|
-
|
|
2616
|
-
|
|
2617
|
-
|
|
2618
|
-
|
|
2714
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2715
|
+
name: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
2716
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
2717
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2718
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
2719
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
2720
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
2619
2721
|
};
|
|
2620
2722
|
|
|
2621
2723
|
if (includeInstance) {
|
|
@@ -2980,7 +3082,7 @@ proto.ondewo.nlu.CreateServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
2980
3082
|
*/
|
|
2981
3083
|
proto.ondewo.nlu.CreateServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
2982
3084
|
var f, obj = {
|
|
2983
|
-
|
|
3085
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ServerRole.toObject(includeInstance, f)
|
|
2984
3086
|
};
|
|
2985
3087
|
|
|
2986
3088
|
if (includeInstance) {
|
|
@@ -3131,8 +3233,8 @@ proto.ondewo.nlu.UpdateServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
3131
3233
|
*/
|
|
3132
3234
|
proto.ondewo.nlu.UpdateServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3133
3235
|
var f, obj = {
|
|
3134
|
-
|
|
3135
|
-
|
|
3236
|
+
role: (f = msg.getRole()) && proto.ondewo.nlu.ServerRole.toObject(includeInstance, f),
|
|
3237
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3136
3238
|
};
|
|
3137
3239
|
|
|
3138
3240
|
if (includeInstance) {
|
|
@@ -3333,7 +3435,7 @@ proto.ondewo.nlu.DeleteServerRoleRequest.prototype.toObject = function(opt_inclu
|
|
|
3333
3435
|
*/
|
|
3334
3436
|
proto.ondewo.nlu.DeleteServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3335
3437
|
var f, obj = {
|
|
3336
|
-
|
|
3438
|
+
roleId: jspb.Message.getFieldWithDefault(msg, 1, 0)
|
|
3337
3439
|
};
|
|
3338
3440
|
|
|
3339
3441
|
if (includeInstance) {
|
|
@@ -3489,8 +3591,9 @@ proto.ondewo.nlu.GetServerRoleRequest.prototype.toObject = function(opt_includeI
|
|
|
3489
3591
|
*/
|
|
3490
3592
|
proto.ondewo.nlu.GetServerRoleRequest.toObject = function(includeInstance, msg) {
|
|
3491
3593
|
var f, obj = {
|
|
3492
|
-
|
|
3493
|
-
|
|
3594
|
+
roleId: (f = jspb.Message.getField(msg, 1)) == null ? undefined : f,
|
|
3595
|
+
roleName: (f = jspb.Message.getField(msg, 2)) == null ? undefined : f,
|
|
3596
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3494
3597
|
};
|
|
3495
3598
|
|
|
3496
3599
|
if (includeInstance) {
|
|
@@ -3535,6 +3638,11 @@ proto.ondewo.nlu.GetServerRoleRequest.deserializeBinaryFromReader = function(msg
|
|
|
3535
3638
|
var value = /** @type {string} */ (reader.readString());
|
|
3536
3639
|
msg.setRoleName(value);
|
|
3537
3640
|
break;
|
|
3641
|
+
case 3:
|
|
3642
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3643
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3644
|
+
msg.setFieldMask(value);
|
|
3645
|
+
break;
|
|
3538
3646
|
default:
|
|
3539
3647
|
reader.skipField();
|
|
3540
3648
|
break;
|
|
@@ -3578,6 +3686,14 @@ proto.ondewo.nlu.GetServerRoleRequest.serializeBinaryToWriter = function(message
|
|
|
3578
3686
|
f
|
|
3579
3687
|
);
|
|
3580
3688
|
}
|
|
3689
|
+
f = message.getFieldMask();
|
|
3690
|
+
if (f != null) {
|
|
3691
|
+
writer.writeMessage(
|
|
3692
|
+
3,
|
|
3693
|
+
f,
|
|
3694
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3695
|
+
);
|
|
3696
|
+
}
|
|
3581
3697
|
};
|
|
3582
3698
|
|
|
3583
3699
|
|
|
@@ -3653,6 +3769,43 @@ proto.ondewo.nlu.GetServerRoleRequest.prototype.hasRoleName = function() {
|
|
|
3653
3769
|
};
|
|
3654
3770
|
|
|
3655
3771
|
|
|
3772
|
+
/**
|
|
3773
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
3774
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3775
|
+
*/
|
|
3776
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.getFieldMask = function() {
|
|
3777
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3778
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
3779
|
+
};
|
|
3780
|
+
|
|
3781
|
+
|
|
3782
|
+
/**
|
|
3783
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3784
|
+
* @return {!proto.ondewo.nlu.GetServerRoleRequest} returns this
|
|
3785
|
+
*/
|
|
3786
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.setFieldMask = function(value) {
|
|
3787
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3788
|
+
};
|
|
3789
|
+
|
|
3790
|
+
|
|
3791
|
+
/**
|
|
3792
|
+
* Clears the message field making it undefined.
|
|
3793
|
+
* @return {!proto.ondewo.nlu.GetServerRoleRequest} returns this
|
|
3794
|
+
*/
|
|
3795
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.clearFieldMask = function() {
|
|
3796
|
+
return this.setFieldMask(undefined);
|
|
3797
|
+
};
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Returns whether this field is set.
|
|
3802
|
+
* @return {boolean}
|
|
3803
|
+
*/
|
|
3804
|
+
proto.ondewo.nlu.GetServerRoleRequest.prototype.hasFieldMask = function() {
|
|
3805
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3806
|
+
};
|
|
3807
|
+
|
|
3808
|
+
|
|
3656
3809
|
|
|
3657
3810
|
|
|
3658
3811
|
|
|
@@ -3685,7 +3838,8 @@ proto.ondewo.nlu.ListServerRolesRequest.prototype.toObject = function(opt_includ
|
|
|
3685
3838
|
*/
|
|
3686
3839
|
proto.ondewo.nlu.ListServerRolesRequest.toObject = function(includeInstance, msg) {
|
|
3687
3840
|
var f, obj = {
|
|
3688
|
-
|
|
3841
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3842
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
3689
3843
|
};
|
|
3690
3844
|
|
|
3691
3845
|
if (includeInstance) {
|
|
@@ -3726,6 +3880,11 @@ proto.ondewo.nlu.ListServerRolesRequest.deserializeBinaryFromReader = function(m
|
|
|
3726
3880
|
var value = /** @type {string} */ (reader.readString());
|
|
3727
3881
|
msg.setPageToken(value);
|
|
3728
3882
|
break;
|
|
3883
|
+
case 2:
|
|
3884
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3885
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3886
|
+
msg.setFieldMask(value);
|
|
3887
|
+
break;
|
|
3729
3888
|
default:
|
|
3730
3889
|
reader.skipField();
|
|
3731
3890
|
break;
|
|
@@ -3762,6 +3921,14 @@ proto.ondewo.nlu.ListServerRolesRequest.serializeBinaryToWriter = function(messa
|
|
|
3762
3921
|
f
|
|
3763
3922
|
);
|
|
3764
3923
|
}
|
|
3924
|
+
f = message.getFieldMask();
|
|
3925
|
+
if (f != null) {
|
|
3926
|
+
writer.writeMessage(
|
|
3927
|
+
2,
|
|
3928
|
+
f,
|
|
3929
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3930
|
+
);
|
|
3931
|
+
}
|
|
3765
3932
|
};
|
|
3766
3933
|
|
|
3767
3934
|
|
|
@@ -3783,6 +3950,43 @@ proto.ondewo.nlu.ListServerRolesRequest.prototype.setPageToken = function(value)
|
|
|
3783
3950
|
};
|
|
3784
3951
|
|
|
3785
3952
|
|
|
3953
|
+
/**
|
|
3954
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
3955
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3956
|
+
*/
|
|
3957
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.getFieldMask = function() {
|
|
3958
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3959
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
3960
|
+
};
|
|
3961
|
+
|
|
3962
|
+
|
|
3963
|
+
/**
|
|
3964
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3965
|
+
* @return {!proto.ondewo.nlu.ListServerRolesRequest} returns this
|
|
3966
|
+
*/
|
|
3967
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.setFieldMask = function(value) {
|
|
3968
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3969
|
+
};
|
|
3970
|
+
|
|
3971
|
+
|
|
3972
|
+
/**
|
|
3973
|
+
* Clears the message field making it undefined.
|
|
3974
|
+
* @return {!proto.ondewo.nlu.ListServerRolesRequest} returns this
|
|
3975
|
+
*/
|
|
3976
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.clearFieldMask = function() {
|
|
3977
|
+
return this.setFieldMask(undefined);
|
|
3978
|
+
};
|
|
3979
|
+
|
|
3980
|
+
|
|
3981
|
+
/**
|
|
3982
|
+
* Returns whether this field is set.
|
|
3983
|
+
* @return {boolean}
|
|
3984
|
+
*/
|
|
3985
|
+
proto.ondewo.nlu.ListServerRolesRequest.prototype.hasFieldMask = function() {
|
|
3986
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3987
|
+
};
|
|
3988
|
+
|
|
3989
|
+
|
|
3786
3990
|
|
|
3787
3991
|
/**
|
|
3788
3992
|
* List of repeated fields within this message type.
|
|
@@ -3822,9 +4026,9 @@ proto.ondewo.nlu.ListServerRolesResponse.prototype.toObject = function(opt_inclu
|
|
|
3822
4026
|
*/
|
|
3823
4027
|
proto.ondewo.nlu.ListServerRolesResponse.toObject = function(includeInstance, msg) {
|
|
3824
4028
|
var f, obj = {
|
|
3825
|
-
|
|
4029
|
+
serverRolesList: jspb.Message.toObjectList(msg.getServerRolesList(),
|
|
3826
4030
|
proto.ondewo.nlu.ServerRole.toObject, includeInstance),
|
|
3827
|
-
|
|
4031
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3828
4032
|
};
|
|
3829
4033
|
|
|
3830
4034
|
if (includeInstance) {
|
|
@@ -4005,7 +4209,8 @@ proto.ondewo.nlu.ListServerPermissionsRequest.prototype.toObject = function(opt_
|
|
|
4005
4209
|
*/
|
|
4006
4210
|
proto.ondewo.nlu.ListServerPermissionsRequest.toObject = function(includeInstance, msg) {
|
|
4007
4211
|
var f, obj = {
|
|
4008
|
-
|
|
4212
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4213
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4009
4214
|
};
|
|
4010
4215
|
|
|
4011
4216
|
if (includeInstance) {
|
|
@@ -4046,6 +4251,11 @@ proto.ondewo.nlu.ListServerPermissionsRequest.deserializeBinaryFromReader = func
|
|
|
4046
4251
|
var value = /** @type {string} */ (reader.readString());
|
|
4047
4252
|
msg.setPageToken(value);
|
|
4048
4253
|
break;
|
|
4254
|
+
case 2:
|
|
4255
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4256
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4257
|
+
msg.setFieldMask(value);
|
|
4258
|
+
break;
|
|
4049
4259
|
default:
|
|
4050
4260
|
reader.skipField();
|
|
4051
4261
|
break;
|
|
@@ -4082,6 +4292,14 @@ proto.ondewo.nlu.ListServerPermissionsRequest.serializeBinaryToWriter = function
|
|
|
4082
4292
|
f
|
|
4083
4293
|
);
|
|
4084
4294
|
}
|
|
4295
|
+
f = message.getFieldMask();
|
|
4296
|
+
if (f != null) {
|
|
4297
|
+
writer.writeMessage(
|
|
4298
|
+
2,
|
|
4299
|
+
f,
|
|
4300
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
4301
|
+
);
|
|
4302
|
+
}
|
|
4085
4303
|
};
|
|
4086
4304
|
|
|
4087
4305
|
|
|
@@ -4103,6 +4321,43 @@ proto.ondewo.nlu.ListServerPermissionsRequest.prototype.setPageToken = function(
|
|
|
4103
4321
|
};
|
|
4104
4322
|
|
|
4105
4323
|
|
|
4324
|
+
/**
|
|
4325
|
+
* optional google.protobuf.FieldMask field_mask = 2;
|
|
4326
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4327
|
+
*/
|
|
4328
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.getFieldMask = function() {
|
|
4329
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4330
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 2));
|
|
4331
|
+
};
|
|
4332
|
+
|
|
4333
|
+
|
|
4334
|
+
/**
|
|
4335
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4336
|
+
* @return {!proto.ondewo.nlu.ListServerPermissionsRequest} returns this
|
|
4337
|
+
*/
|
|
4338
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.setFieldMask = function(value) {
|
|
4339
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
4340
|
+
};
|
|
4341
|
+
|
|
4342
|
+
|
|
4343
|
+
/**
|
|
4344
|
+
* Clears the message field making it undefined.
|
|
4345
|
+
* @return {!proto.ondewo.nlu.ListServerPermissionsRequest} returns this
|
|
4346
|
+
*/
|
|
4347
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.clearFieldMask = function() {
|
|
4348
|
+
return this.setFieldMask(undefined);
|
|
4349
|
+
};
|
|
4350
|
+
|
|
4351
|
+
|
|
4352
|
+
/**
|
|
4353
|
+
* Returns whether this field is set.
|
|
4354
|
+
* @return {boolean}
|
|
4355
|
+
*/
|
|
4356
|
+
proto.ondewo.nlu.ListServerPermissionsRequest.prototype.hasFieldMask = function() {
|
|
4357
|
+
return jspb.Message.getField(this, 2) != null;
|
|
4358
|
+
};
|
|
4359
|
+
|
|
4360
|
+
|
|
4106
4361
|
|
|
4107
4362
|
/**
|
|
4108
4363
|
* List of repeated fields within this message type.
|
|
@@ -4142,8 +4397,8 @@ proto.ondewo.nlu.ListServerPermissionsResponse.prototype.toObject = function(opt
|
|
|
4142
4397
|
*/
|
|
4143
4398
|
proto.ondewo.nlu.ListServerPermissionsResponse.toObject = function(includeInstance, msg) {
|
|
4144
4399
|
var f, obj = {
|
|
4145
|
-
|
|
4146
|
-
|
|
4400
|
+
permissionsList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
4401
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4147
4402
|
};
|
|
4148
4403
|
|
|
4149
4404
|
if (includeInstance) {
|
|
@@ -4321,8 +4576,9 @@ proto.ondewo.nlu.LoginRequest.prototype.toObject = function(opt_includeInstance)
|
|
|
4321
4576
|
*/
|
|
4322
4577
|
proto.ondewo.nlu.LoginRequest.toObject = function(includeInstance, msg) {
|
|
4323
4578
|
var f, obj = {
|
|
4324
|
-
|
|
4325
|
-
|
|
4579
|
+
userEmail: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4580
|
+
password: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
4581
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4326
4582
|
};
|
|
4327
4583
|
|
|
4328
4584
|
if (includeInstance) {
|
|
@@ -4367,6 +4623,11 @@ proto.ondewo.nlu.LoginRequest.deserializeBinaryFromReader = function(msg, reader
|
|
|
4367
4623
|
var value = /** @type {string} */ (reader.readString());
|
|
4368
4624
|
msg.setPassword(value);
|
|
4369
4625
|
break;
|
|
4626
|
+
case 3:
|
|
4627
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
4628
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
4629
|
+
msg.setFieldMask(value);
|
|
4630
|
+
break;
|
|
4370
4631
|
default:
|
|
4371
4632
|
reader.skipField();
|
|
4372
4633
|
break;
|
|
@@ -4410,6 +4671,14 @@ proto.ondewo.nlu.LoginRequest.serializeBinaryToWriter = function(message, writer
|
|
|
4410
4671
|
f
|
|
4411
4672
|
);
|
|
4412
4673
|
}
|
|
4674
|
+
f = message.getFieldMask();
|
|
4675
|
+
if (f != null) {
|
|
4676
|
+
writer.writeMessage(
|
|
4677
|
+
3,
|
|
4678
|
+
f,
|
|
4679
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
4680
|
+
);
|
|
4681
|
+
}
|
|
4413
4682
|
};
|
|
4414
4683
|
|
|
4415
4684
|
|
|
@@ -4449,6 +4718,43 @@ proto.ondewo.nlu.LoginRequest.prototype.setPassword = function(value) {
|
|
|
4449
4718
|
};
|
|
4450
4719
|
|
|
4451
4720
|
|
|
4721
|
+
/**
|
|
4722
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
4723
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
4724
|
+
*/
|
|
4725
|
+
proto.ondewo.nlu.LoginRequest.prototype.getFieldMask = function() {
|
|
4726
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
4727
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
4728
|
+
};
|
|
4729
|
+
|
|
4730
|
+
|
|
4731
|
+
/**
|
|
4732
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
4733
|
+
* @return {!proto.ondewo.nlu.LoginRequest} returns this
|
|
4734
|
+
*/
|
|
4735
|
+
proto.ondewo.nlu.LoginRequest.prototype.setFieldMask = function(value) {
|
|
4736
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
4737
|
+
};
|
|
4738
|
+
|
|
4739
|
+
|
|
4740
|
+
/**
|
|
4741
|
+
* Clears the message field making it undefined.
|
|
4742
|
+
* @return {!proto.ondewo.nlu.LoginRequest} returns this
|
|
4743
|
+
*/
|
|
4744
|
+
proto.ondewo.nlu.LoginRequest.prototype.clearFieldMask = function() {
|
|
4745
|
+
return this.setFieldMask(undefined);
|
|
4746
|
+
};
|
|
4747
|
+
|
|
4748
|
+
|
|
4749
|
+
/**
|
|
4750
|
+
* Returns whether this field is set.
|
|
4751
|
+
* @return {boolean}
|
|
4752
|
+
*/
|
|
4753
|
+
proto.ondewo.nlu.LoginRequest.prototype.hasFieldMask = function() {
|
|
4754
|
+
return jspb.Message.getField(this, 3) != null;
|
|
4755
|
+
};
|
|
4756
|
+
|
|
4757
|
+
|
|
4452
4758
|
|
|
4453
4759
|
|
|
4454
4760
|
|
|
@@ -4481,8 +4787,8 @@ proto.ondewo.nlu.LoginResponse.prototype.toObject = function(opt_includeInstance
|
|
|
4481
4787
|
*/
|
|
4482
4788
|
proto.ondewo.nlu.LoginResponse.toObject = function(includeInstance, msg) {
|
|
4483
4789
|
var f, obj = {
|
|
4484
|
-
|
|
4485
|
-
|
|
4790
|
+
user: (f = msg.getUser()) && proto.ondewo.nlu.User.toObject(includeInstance, f),
|
|
4791
|
+
authToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
4486
4792
|
};
|
|
4487
4793
|
|
|
4488
4794
|
if (includeInstance) {
|
|
@@ -4669,9 +4975,10 @@ proto.ondewo.nlu.GetUserPreferencesRequest.prototype.toObject = function(opt_inc
|
|
|
4669
4975
|
*/
|
|
4670
4976
|
proto.ondewo.nlu.GetUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
4671
4977
|
var f, obj = {
|
|
4672
|
-
|
|
4673
|
-
|
|
4674
|
-
|
|
4978
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
4979
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
4980
|
+
regexInclude: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
4981
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
4675
4982
|
};
|
|
4676
4983
|
|
|
4677
4984
|
if (includeInstance) {
|
|
@@ -4720,6 +5027,11 @@ proto.ondewo.nlu.GetUserPreferencesRequest.deserializeBinaryFromReader = functio
|
|
|
4720
5027
|
var value = /** @type {string} */ (reader.readString());
|
|
4721
5028
|
msg.setRegexInclude(value);
|
|
4722
5029
|
break;
|
|
5030
|
+
case 4:
|
|
5031
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
5032
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
5033
|
+
msg.setFieldMask(value);
|
|
5034
|
+
break;
|
|
4723
5035
|
default:
|
|
4724
5036
|
reader.skipField();
|
|
4725
5037
|
break;
|
|
@@ -4770,6 +5082,14 @@ proto.ondewo.nlu.GetUserPreferencesRequest.serializeBinaryToWriter = function(me
|
|
|
4770
5082
|
f
|
|
4771
5083
|
);
|
|
4772
5084
|
}
|
|
5085
|
+
f = message.getFieldMask();
|
|
5086
|
+
if (f != null) {
|
|
5087
|
+
writer.writeMessage(
|
|
5088
|
+
4,
|
|
5089
|
+
f,
|
|
5090
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
5091
|
+
);
|
|
5092
|
+
}
|
|
4773
5093
|
};
|
|
4774
5094
|
|
|
4775
5095
|
|
|
@@ -4846,6 +5166,43 @@ proto.ondewo.nlu.GetUserPreferencesRequest.prototype.setRegexInclude = function(
|
|
|
4846
5166
|
};
|
|
4847
5167
|
|
|
4848
5168
|
|
|
5169
|
+
/**
|
|
5170
|
+
* optional google.protobuf.FieldMask field_mask = 4;
|
|
5171
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
5172
|
+
*/
|
|
5173
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.getFieldMask = function() {
|
|
5174
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
5175
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 4));
|
|
5176
|
+
};
|
|
5177
|
+
|
|
5178
|
+
|
|
5179
|
+
/**
|
|
5180
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
5181
|
+
* @return {!proto.ondewo.nlu.GetUserPreferencesRequest} returns this
|
|
5182
|
+
*/
|
|
5183
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.setFieldMask = function(value) {
|
|
5184
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
5185
|
+
};
|
|
5186
|
+
|
|
5187
|
+
|
|
5188
|
+
/**
|
|
5189
|
+
* Clears the message field making it undefined.
|
|
5190
|
+
* @return {!proto.ondewo.nlu.GetUserPreferencesRequest} returns this
|
|
5191
|
+
*/
|
|
5192
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.clearFieldMask = function() {
|
|
5193
|
+
return this.setFieldMask(undefined);
|
|
5194
|
+
};
|
|
5195
|
+
|
|
5196
|
+
|
|
5197
|
+
/**
|
|
5198
|
+
* Returns whether this field is set.
|
|
5199
|
+
* @return {boolean}
|
|
5200
|
+
*/
|
|
5201
|
+
proto.ondewo.nlu.GetUserPreferencesRequest.prototype.hasFieldMask = function() {
|
|
5202
|
+
return jspb.Message.getField(this, 4) != null;
|
|
5203
|
+
};
|
|
5204
|
+
|
|
5205
|
+
|
|
4849
5206
|
|
|
4850
5207
|
/**
|
|
4851
5208
|
* List of repeated fields within this message type.
|
|
@@ -4885,10 +5242,10 @@ proto.ondewo.nlu.GetUserPreferencesResponse.prototype.toObject = function(opt_in
|
|
|
4885
5242
|
*/
|
|
4886
5243
|
proto.ondewo.nlu.GetUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
4887
5244
|
var f, obj = {
|
|
4888
|
-
|
|
4889
|
-
|
|
5245
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5246
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
4890
5247
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance),
|
|
4891
|
-
|
|
5248
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
4892
5249
|
};
|
|
4893
5250
|
|
|
4894
5251
|
if (includeInstance) {
|
|
@@ -5105,8 +5462,8 @@ proto.ondewo.nlu.SetUserPreferencesRequest.prototype.toObject = function(opt_inc
|
|
|
5105
5462
|
*/
|
|
5106
5463
|
proto.ondewo.nlu.SetUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5107
5464
|
var f, obj = {
|
|
5108
|
-
|
|
5109
|
-
|
|
5465
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5466
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
5110
5467
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance)
|
|
5111
5468
|
};
|
|
5112
5469
|
|
|
@@ -5295,9 +5652,9 @@ proto.ondewo.nlu.SetUserPreferencesResponse.prototype.toObject = function(opt_in
|
|
|
5295
5652
|
*/
|
|
5296
5653
|
proto.ondewo.nlu.SetUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
5297
5654
|
var f, obj = {
|
|
5298
|
-
|
|
5299
|
-
|
|
5300
|
-
|
|
5655
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5656
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5657
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5301
5658
|
};
|
|
5302
5659
|
|
|
5303
5660
|
if (includeInstance) {
|
|
@@ -5511,9 +5868,9 @@ proto.ondewo.nlu.DeleteUserPreferencesRequest.prototype.toObject = function(opt_
|
|
|
5511
5868
|
*/
|
|
5512
5869
|
proto.ondewo.nlu.DeleteUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5513
5870
|
var f, obj = {
|
|
5514
|
-
|
|
5515
|
-
|
|
5516
|
-
|
|
5871
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
5872
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
5873
|
+
regexInclude: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5517
5874
|
};
|
|
5518
5875
|
|
|
5519
5876
|
if (includeInstance) {
|
|
@@ -5727,9 +6084,9 @@ proto.ondewo.nlu.DeleteUserPreferencesResponse.prototype.toObject = function(opt
|
|
|
5727
6084
|
*/
|
|
5728
6085
|
proto.ondewo.nlu.DeleteUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
5729
6086
|
var f, obj = {
|
|
5730
|
-
|
|
5731
|
-
|
|
5732
|
-
|
|
6087
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6088
|
+
keysList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
6089
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
5733
6090
|
};
|
|
5734
6091
|
|
|
5735
6092
|
if (includeInstance) {
|
|
@@ -5936,8 +6293,8 @@ proto.ondewo.nlu.DeleteAllUserPreferencesRequest.prototype.toObject = function(o
|
|
|
5936
6293
|
*/
|
|
5937
6294
|
proto.ondewo.nlu.DeleteAllUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
5938
6295
|
var f, obj = {
|
|
5939
|
-
|
|
5940
|
-
|
|
6296
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6297
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
5941
6298
|
};
|
|
5942
6299
|
|
|
5943
6300
|
if (includeInstance) {
|
|
@@ -6096,8 +6453,9 @@ proto.ondewo.nlu.ListUserPreferencesRequest.prototype.toObject = function(opt_in
|
|
|
6096
6453
|
*/
|
|
6097
6454
|
proto.ondewo.nlu.ListUserPreferencesRequest.toObject = function(includeInstance, msg) {
|
|
6098
6455
|
var f, obj = {
|
|
6099
|
-
|
|
6100
|
-
|
|
6456
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6457
|
+
regexFilter: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
6458
|
+
fieldMask: (f = msg.getFieldMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f)
|
|
6101
6459
|
};
|
|
6102
6460
|
|
|
6103
6461
|
if (includeInstance) {
|
|
@@ -6142,6 +6500,11 @@ proto.ondewo.nlu.ListUserPreferencesRequest.deserializeBinaryFromReader = functi
|
|
|
6142
6500
|
var value = /** @type {string} */ (reader.readString());
|
|
6143
6501
|
msg.setRegexFilter(value);
|
|
6144
6502
|
break;
|
|
6503
|
+
case 3:
|
|
6504
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
6505
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
6506
|
+
msg.setFieldMask(value);
|
|
6507
|
+
break;
|
|
6145
6508
|
default:
|
|
6146
6509
|
reader.skipField();
|
|
6147
6510
|
break;
|
|
@@ -6185,6 +6548,14 @@ proto.ondewo.nlu.ListUserPreferencesRequest.serializeBinaryToWriter = function(m
|
|
|
6185
6548
|
f
|
|
6186
6549
|
);
|
|
6187
6550
|
}
|
|
6551
|
+
f = message.getFieldMask();
|
|
6552
|
+
if (f != null) {
|
|
6553
|
+
writer.writeMessage(
|
|
6554
|
+
3,
|
|
6555
|
+
f,
|
|
6556
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
6557
|
+
);
|
|
6558
|
+
}
|
|
6188
6559
|
};
|
|
6189
6560
|
|
|
6190
6561
|
|
|
@@ -6224,6 +6595,43 @@ proto.ondewo.nlu.ListUserPreferencesRequest.prototype.setRegexFilter = function(
|
|
|
6224
6595
|
};
|
|
6225
6596
|
|
|
6226
6597
|
|
|
6598
|
+
/**
|
|
6599
|
+
* optional google.protobuf.FieldMask field_mask = 3;
|
|
6600
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
6601
|
+
*/
|
|
6602
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.getFieldMask = function() {
|
|
6603
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
6604
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
6605
|
+
};
|
|
6606
|
+
|
|
6607
|
+
|
|
6608
|
+
/**
|
|
6609
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
6610
|
+
* @return {!proto.ondewo.nlu.ListUserPreferencesRequest} returns this
|
|
6611
|
+
*/
|
|
6612
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.setFieldMask = function(value) {
|
|
6613
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
6614
|
+
};
|
|
6615
|
+
|
|
6616
|
+
|
|
6617
|
+
/**
|
|
6618
|
+
* Clears the message field making it undefined.
|
|
6619
|
+
* @return {!proto.ondewo.nlu.ListUserPreferencesRequest} returns this
|
|
6620
|
+
*/
|
|
6621
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.clearFieldMask = function() {
|
|
6622
|
+
return this.setFieldMask(undefined);
|
|
6623
|
+
};
|
|
6624
|
+
|
|
6625
|
+
|
|
6626
|
+
/**
|
|
6627
|
+
* Returns whether this field is set.
|
|
6628
|
+
* @return {boolean}
|
|
6629
|
+
*/
|
|
6630
|
+
proto.ondewo.nlu.ListUserPreferencesRequest.prototype.hasFieldMask = function() {
|
|
6631
|
+
return jspb.Message.getField(this, 3) != null;
|
|
6632
|
+
};
|
|
6633
|
+
|
|
6634
|
+
|
|
6227
6635
|
|
|
6228
6636
|
/**
|
|
6229
6637
|
* List of repeated fields within this message type.
|
|
@@ -6263,10 +6671,10 @@ proto.ondewo.nlu.ListUserPreferencesResponse.prototype.toObject = function(opt_i
|
|
|
6263
6671
|
*/
|
|
6264
6672
|
proto.ondewo.nlu.ListUserPreferencesResponse.toObject = function(includeInstance, msg) {
|
|
6265
6673
|
var f, obj = {
|
|
6266
|
-
|
|
6267
|
-
|
|
6674
|
+
userName: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
6675
|
+
keyValuePairsList: jspb.Message.toObjectList(msg.getKeyValuePairsList(),
|
|
6268
6676
|
ondewo_nlu_common_pb.KeyValuePair.toObject, includeInstance),
|
|
6269
|
-
|
|
6677
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
6270
6678
|
};
|
|
6271
6679
|
|
|
6272
6680
|
if (includeInstance) {
|