@ondewo/nlu-client-typescript 4.6.0 → 4.8.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 +61 -0
- package/api/ondewo/nlu/agent_grpc_web_pb.js +308 -1
- package/api/ondewo/nlu/agent_pb.d.ts +222 -1
- package/api/ondewo/nlu/agent_pb.js +1814 -30
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.d.ts +79 -0
- package/api/ondewo/nlu/ccai_project_grpc_web_pb.js +388 -0
- package/api/ondewo/nlu/ccai_project_pb.d.ts +582 -0
- package/api/ondewo/nlu/ccai_project_pb.js +4137 -0
- package/api/ondewo/nlu/common_pb.d.ts +456 -0
- package/api/ondewo/nlu/common_pb.js +3523 -4
- package/api/ondewo/nlu/context_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/context_pb.d.ts +41 -0
- package/api/ondewo/nlu/context_pb.js +328 -2
- package/api/ondewo/nlu/entity_type_grpc_web_pb.js +2 -0
- package/api/ondewo/nlu/entity_type_pb.d.ts +41 -0
- package/api/ondewo/nlu/entity_type_pb.js +328 -2
- package/api/ondewo/nlu/intent_pb.d.ts +120 -0
- package/api/ondewo/nlu/intent_pb.js +1058 -86
- package/api/ondewo/nlu/operation_metadata_pb.d.ts +21 -0
- package/api/ondewo/nlu/operation_metadata_pb.js +165 -2
- package/api/ondewo/nlu/project_role_grpc_web_pb.js +3 -1
- package/api/ondewo/nlu/project_role_pb.d.ts +22 -1
- package/api/ondewo/nlu/project_role_pb.js +167 -3
- package/api/ondewo/nlu/session_grpc_web_pb.d.ts +109 -0
- package/api/ondewo/nlu/session_grpc_web_pb.js +553 -0
- package/api/ondewo/nlu/session_pb.d.ts +637 -0
- package/api/ondewo/nlu/session_pb.js +10508 -5294
- package/api/ondewo/nlu/user_grpc_web_pb.d.ts +85 -0
- package/api/ondewo/nlu/user_grpc_web_pb.js +431 -0
- package/api/ondewo/nlu/user_pb.d.ts +284 -0
- package/api/ondewo/nlu/user_pb.js +3418 -1024
- package/api/ondewo/nlu/webhook_grpc_web_pb.d.ts +37 -0
- package/api/ondewo/nlu/webhook_grpc_web_pb.js +191 -2
- package/api/ondewo/nlu/webhook_pb.d.ts +188 -5
- package/api/ondewo/nlu/webhook_pb.js +1530 -34
- package/package.json +1 -1
- package/public-api.d.ts +27 -25
|
@@ -0,0 +1,4137 @@
|
|
|
1
|
+
// source: ondewo/nlu/ccai_project.proto
|
|
2
|
+
/**
|
|
3
|
+
* @fileoverview
|
|
4
|
+
* @enhanceable
|
|
5
|
+
* @suppress {missingRequire} reports error on implicit type usages.
|
|
6
|
+
* @suppress {messageConventions} JS Compiler reports an error if a variable or
|
|
7
|
+
* field starts with 'MSG_' and isn't a translatable message.
|
|
8
|
+
* @public
|
|
9
|
+
*/
|
|
10
|
+
// GENERATED CODE -- DO NOT EDIT!
|
|
11
|
+
/* eslint-disable */
|
|
12
|
+
// @ts-nocheck
|
|
13
|
+
|
|
14
|
+
var jspb = require('google-protobuf');
|
|
15
|
+
var goog = jspb;
|
|
16
|
+
var global = (function() { return this || window || global || self || Function('return this')(); }).call(null);
|
|
17
|
+
|
|
18
|
+
var google_protobuf_field_mask_pb = require('google-protobuf/google/protobuf/field_mask_pb.js');
|
|
19
|
+
goog.object.extend(proto, google_protobuf_field_mask_pb);
|
|
20
|
+
var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_pb.js');
|
|
21
|
+
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
22
|
+
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
23
|
+
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
24
|
+
var ondewo_nlu_common_pb = require('../../ondewo/nlu/common_pb.js');
|
|
25
|
+
goog.object.extend(proto, ondewo_nlu_common_pb);
|
|
26
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiProject', null, global);
|
|
27
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectSorting', null, global);
|
|
28
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField', null, global);
|
|
29
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectStatus', null, global);
|
|
30
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiProjectView', null, global);
|
|
31
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiService', null, global);
|
|
32
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceFilter', null, global);
|
|
33
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceList', null, global);
|
|
34
|
+
goog.exportSymbol('proto.ondewo.nlu.CcaiServiceType', null, global);
|
|
35
|
+
goog.exportSymbol('proto.ondewo.nlu.CreateCcaiProjectRequest', null, global);
|
|
36
|
+
goog.exportSymbol('proto.ondewo.nlu.CreateCcaiProjectResponse', null, global);
|
|
37
|
+
goog.exportSymbol('proto.ondewo.nlu.DeleteCcaiProjectRequest', null, global);
|
|
38
|
+
goog.exportSymbol('proto.ondewo.nlu.DeleteCcaiProjectResponse', null, global);
|
|
39
|
+
goog.exportSymbol('proto.ondewo.nlu.GetCcaiProjectRequest', null, global);
|
|
40
|
+
goog.exportSymbol('proto.ondewo.nlu.ListCcaiProjectsRequest', null, global);
|
|
41
|
+
goog.exportSymbol('proto.ondewo.nlu.ListCcaiProjectsResponse', null, global);
|
|
42
|
+
goog.exportSymbol('proto.ondewo.nlu.UpdateCcaiProjectRequest', null, global);
|
|
43
|
+
goog.exportSymbol('proto.ondewo.nlu.UpdateCcaiProjectResponse', null, global);
|
|
44
|
+
/**
|
|
45
|
+
* Generated by JsPbCodeGenerator.
|
|
46
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
47
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
48
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
49
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
50
|
+
* valid.
|
|
51
|
+
* @extends {jspb.Message}
|
|
52
|
+
* @constructor
|
|
53
|
+
*/
|
|
54
|
+
proto.ondewo.nlu.CcaiProject = function(opt_data) {
|
|
55
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
56
|
+
};
|
|
57
|
+
goog.inherits(proto.ondewo.nlu.CcaiProject, jspb.Message);
|
|
58
|
+
if (goog.DEBUG && !COMPILED) {
|
|
59
|
+
/**
|
|
60
|
+
* @public
|
|
61
|
+
* @override
|
|
62
|
+
*/
|
|
63
|
+
proto.ondewo.nlu.CcaiProject.displayName = 'proto.ondewo.nlu.CcaiProject';
|
|
64
|
+
}
|
|
65
|
+
/**
|
|
66
|
+
* Generated by JsPbCodeGenerator.
|
|
67
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
68
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
69
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
70
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
71
|
+
* valid.
|
|
72
|
+
* @extends {jspb.Message}
|
|
73
|
+
* @constructor
|
|
74
|
+
*/
|
|
75
|
+
proto.ondewo.nlu.CcaiServiceList = function(opt_data) {
|
|
76
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.CcaiServiceList.repeatedFields_, null);
|
|
77
|
+
};
|
|
78
|
+
goog.inherits(proto.ondewo.nlu.CcaiServiceList, jspb.Message);
|
|
79
|
+
if (goog.DEBUG && !COMPILED) {
|
|
80
|
+
/**
|
|
81
|
+
* @public
|
|
82
|
+
* @override
|
|
83
|
+
*/
|
|
84
|
+
proto.ondewo.nlu.CcaiServiceList.displayName = 'proto.ondewo.nlu.CcaiServiceList';
|
|
85
|
+
}
|
|
86
|
+
/**
|
|
87
|
+
* Generated by JsPbCodeGenerator.
|
|
88
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
89
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
90
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
91
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
92
|
+
* valid.
|
|
93
|
+
* @extends {jspb.Message}
|
|
94
|
+
* @constructor
|
|
95
|
+
*/
|
|
96
|
+
proto.ondewo.nlu.CcaiService = function(opt_data) {
|
|
97
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
98
|
+
};
|
|
99
|
+
goog.inherits(proto.ondewo.nlu.CcaiService, jspb.Message);
|
|
100
|
+
if (goog.DEBUG && !COMPILED) {
|
|
101
|
+
/**
|
|
102
|
+
* @public
|
|
103
|
+
* @override
|
|
104
|
+
*/
|
|
105
|
+
proto.ondewo.nlu.CcaiService.displayName = 'proto.ondewo.nlu.CcaiService';
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* Generated by JsPbCodeGenerator.
|
|
109
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
110
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
111
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
112
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
113
|
+
* valid.
|
|
114
|
+
* @extends {jspb.Message}
|
|
115
|
+
* @constructor
|
|
116
|
+
*/
|
|
117
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest = function(opt_data) {
|
|
118
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
119
|
+
};
|
|
120
|
+
goog.inherits(proto.ondewo.nlu.CreateCcaiProjectRequest, jspb.Message);
|
|
121
|
+
if (goog.DEBUG && !COMPILED) {
|
|
122
|
+
/**
|
|
123
|
+
* @public
|
|
124
|
+
* @override
|
|
125
|
+
*/
|
|
126
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.displayName = 'proto.ondewo.nlu.CreateCcaiProjectRequest';
|
|
127
|
+
}
|
|
128
|
+
/**
|
|
129
|
+
* Generated by JsPbCodeGenerator.
|
|
130
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
131
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
132
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
133
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
134
|
+
* valid.
|
|
135
|
+
* @extends {jspb.Message}
|
|
136
|
+
* @constructor
|
|
137
|
+
*/
|
|
138
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse = function(opt_data) {
|
|
139
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
140
|
+
};
|
|
141
|
+
goog.inherits(proto.ondewo.nlu.CreateCcaiProjectResponse, jspb.Message);
|
|
142
|
+
if (goog.DEBUG && !COMPILED) {
|
|
143
|
+
/**
|
|
144
|
+
* @public
|
|
145
|
+
* @override
|
|
146
|
+
*/
|
|
147
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.displayName = 'proto.ondewo.nlu.CreateCcaiProjectResponse';
|
|
148
|
+
}
|
|
149
|
+
/**
|
|
150
|
+
* Generated by JsPbCodeGenerator.
|
|
151
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
152
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
153
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
154
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
155
|
+
* valid.
|
|
156
|
+
* @extends {jspb.Message}
|
|
157
|
+
* @constructor
|
|
158
|
+
*/
|
|
159
|
+
proto.ondewo.nlu.GetCcaiProjectRequest = function(opt_data) {
|
|
160
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
161
|
+
};
|
|
162
|
+
goog.inherits(proto.ondewo.nlu.GetCcaiProjectRequest, jspb.Message);
|
|
163
|
+
if (goog.DEBUG && !COMPILED) {
|
|
164
|
+
/**
|
|
165
|
+
* @public
|
|
166
|
+
* @override
|
|
167
|
+
*/
|
|
168
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.displayName = 'proto.ondewo.nlu.GetCcaiProjectRequest';
|
|
169
|
+
}
|
|
170
|
+
/**
|
|
171
|
+
* Generated by JsPbCodeGenerator.
|
|
172
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
173
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
174
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
175
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
176
|
+
* valid.
|
|
177
|
+
* @extends {jspb.Message}
|
|
178
|
+
* @constructor
|
|
179
|
+
*/
|
|
180
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest = function(opt_data) {
|
|
181
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
182
|
+
};
|
|
183
|
+
goog.inherits(proto.ondewo.nlu.ListCcaiProjectsRequest, jspb.Message);
|
|
184
|
+
if (goog.DEBUG && !COMPILED) {
|
|
185
|
+
/**
|
|
186
|
+
* @public
|
|
187
|
+
* @override
|
|
188
|
+
*/
|
|
189
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.displayName = 'proto.ondewo.nlu.ListCcaiProjectsRequest';
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* Generated by JsPbCodeGenerator.
|
|
193
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
194
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
195
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
196
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
197
|
+
* valid.
|
|
198
|
+
* @extends {jspb.Message}
|
|
199
|
+
* @constructor
|
|
200
|
+
*/
|
|
201
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse = function(opt_data) {
|
|
202
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.ListCcaiProjectsResponse.repeatedFields_, null);
|
|
203
|
+
};
|
|
204
|
+
goog.inherits(proto.ondewo.nlu.ListCcaiProjectsResponse, jspb.Message);
|
|
205
|
+
if (goog.DEBUG && !COMPILED) {
|
|
206
|
+
/**
|
|
207
|
+
* @public
|
|
208
|
+
* @override
|
|
209
|
+
*/
|
|
210
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.displayName = 'proto.ondewo.nlu.ListCcaiProjectsResponse';
|
|
211
|
+
}
|
|
212
|
+
/**
|
|
213
|
+
* Generated by JsPbCodeGenerator.
|
|
214
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
215
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
216
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
217
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
218
|
+
* valid.
|
|
219
|
+
* @extends {jspb.Message}
|
|
220
|
+
* @constructor
|
|
221
|
+
*/
|
|
222
|
+
proto.ondewo.nlu.CcaiProjectSorting = function(opt_data) {
|
|
223
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
224
|
+
};
|
|
225
|
+
goog.inherits(proto.ondewo.nlu.CcaiProjectSorting, jspb.Message);
|
|
226
|
+
if (goog.DEBUG && !COMPILED) {
|
|
227
|
+
/**
|
|
228
|
+
* @public
|
|
229
|
+
* @override
|
|
230
|
+
*/
|
|
231
|
+
proto.ondewo.nlu.CcaiProjectSorting.displayName = 'proto.ondewo.nlu.CcaiProjectSorting';
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* Generated by JsPbCodeGenerator.
|
|
235
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
236
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
237
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
238
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
239
|
+
* valid.
|
|
240
|
+
* @extends {jspb.Message}
|
|
241
|
+
* @constructor
|
|
242
|
+
*/
|
|
243
|
+
proto.ondewo.nlu.CcaiServiceFilter = function(opt_data) {
|
|
244
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.ondewo.nlu.CcaiServiceFilter.repeatedFields_, null);
|
|
245
|
+
};
|
|
246
|
+
goog.inherits(proto.ondewo.nlu.CcaiServiceFilter, jspb.Message);
|
|
247
|
+
if (goog.DEBUG && !COMPILED) {
|
|
248
|
+
/**
|
|
249
|
+
* @public
|
|
250
|
+
* @override
|
|
251
|
+
*/
|
|
252
|
+
proto.ondewo.nlu.CcaiServiceFilter.displayName = 'proto.ondewo.nlu.CcaiServiceFilter';
|
|
253
|
+
}
|
|
254
|
+
/**
|
|
255
|
+
* Generated by JsPbCodeGenerator.
|
|
256
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
257
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
258
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
259
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
260
|
+
* valid.
|
|
261
|
+
* @extends {jspb.Message}
|
|
262
|
+
* @constructor
|
|
263
|
+
*/
|
|
264
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest = function(opt_data) {
|
|
265
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
266
|
+
};
|
|
267
|
+
goog.inherits(proto.ondewo.nlu.UpdateCcaiProjectRequest, jspb.Message);
|
|
268
|
+
if (goog.DEBUG && !COMPILED) {
|
|
269
|
+
/**
|
|
270
|
+
* @public
|
|
271
|
+
* @override
|
|
272
|
+
*/
|
|
273
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.displayName = 'proto.ondewo.nlu.UpdateCcaiProjectRequest';
|
|
274
|
+
}
|
|
275
|
+
/**
|
|
276
|
+
* Generated by JsPbCodeGenerator.
|
|
277
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
278
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
279
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
280
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
281
|
+
* valid.
|
|
282
|
+
* @extends {jspb.Message}
|
|
283
|
+
* @constructor
|
|
284
|
+
*/
|
|
285
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse = function(opt_data) {
|
|
286
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
287
|
+
};
|
|
288
|
+
goog.inherits(proto.ondewo.nlu.UpdateCcaiProjectResponse, jspb.Message);
|
|
289
|
+
if (goog.DEBUG && !COMPILED) {
|
|
290
|
+
/**
|
|
291
|
+
* @public
|
|
292
|
+
* @override
|
|
293
|
+
*/
|
|
294
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.displayName = 'proto.ondewo.nlu.UpdateCcaiProjectResponse';
|
|
295
|
+
}
|
|
296
|
+
/**
|
|
297
|
+
* Generated by JsPbCodeGenerator.
|
|
298
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
299
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
300
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
301
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
302
|
+
* valid.
|
|
303
|
+
* @extends {jspb.Message}
|
|
304
|
+
* @constructor
|
|
305
|
+
*/
|
|
306
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest = function(opt_data) {
|
|
307
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
308
|
+
};
|
|
309
|
+
goog.inherits(proto.ondewo.nlu.DeleteCcaiProjectRequest, jspb.Message);
|
|
310
|
+
if (goog.DEBUG && !COMPILED) {
|
|
311
|
+
/**
|
|
312
|
+
* @public
|
|
313
|
+
* @override
|
|
314
|
+
*/
|
|
315
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.displayName = 'proto.ondewo.nlu.DeleteCcaiProjectRequest';
|
|
316
|
+
}
|
|
317
|
+
/**
|
|
318
|
+
* Generated by JsPbCodeGenerator.
|
|
319
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
320
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
321
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
322
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
323
|
+
* valid.
|
|
324
|
+
* @extends {jspb.Message}
|
|
325
|
+
* @constructor
|
|
326
|
+
*/
|
|
327
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse = function(opt_data) {
|
|
328
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
329
|
+
};
|
|
330
|
+
goog.inherits(proto.ondewo.nlu.DeleteCcaiProjectResponse, jspb.Message);
|
|
331
|
+
if (goog.DEBUG && !COMPILED) {
|
|
332
|
+
/**
|
|
333
|
+
* @public
|
|
334
|
+
* @override
|
|
335
|
+
*/
|
|
336
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.displayName = 'proto.ondewo.nlu.DeleteCcaiProjectResponse';
|
|
337
|
+
}
|
|
338
|
+
|
|
339
|
+
|
|
340
|
+
|
|
341
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
342
|
+
/**
|
|
343
|
+
* Creates an object representation of this proto.
|
|
344
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
345
|
+
* Optional fields that are not set will be set to undefined.
|
|
346
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
347
|
+
* For the list of reserved names please see:
|
|
348
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
349
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
350
|
+
* JSPB instance for transitional soy proto support:
|
|
351
|
+
* http://goto/soy-param-migration
|
|
352
|
+
* @return {!Object}
|
|
353
|
+
*/
|
|
354
|
+
proto.ondewo.nlu.CcaiProject.prototype.toObject = function(opt_includeInstance) {
|
|
355
|
+
return proto.ondewo.nlu.CcaiProject.toObject(opt_includeInstance, this);
|
|
356
|
+
};
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
/**
|
|
360
|
+
* Static version of the {@see toObject} method.
|
|
361
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
362
|
+
* the JSPB instance for transitional soy proto support:
|
|
363
|
+
* http://goto/soy-param-migration
|
|
364
|
+
* @param {!proto.ondewo.nlu.CcaiProject} msg The msg instance to transform.
|
|
365
|
+
* @return {!Object}
|
|
366
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
367
|
+
*/
|
|
368
|
+
proto.ondewo.nlu.CcaiProject.toObject = function(includeInstance, msg) {
|
|
369
|
+
var f, obj = {
|
|
370
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
371
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
372
|
+
ownerName: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
373
|
+
ccaiServicesMapMap: (f = msg.getCcaiServicesMapMap()) ? f.toObject(includeInstance, proto.ondewo.nlu.CcaiServiceList.toObject) : [],
|
|
374
|
+
ccaiProjectStatus: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
375
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
376
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
377
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
378
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
379
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
380
|
+
};
|
|
381
|
+
|
|
382
|
+
if (includeInstance) {
|
|
383
|
+
obj.$jspbMessageInstance = msg;
|
|
384
|
+
}
|
|
385
|
+
return obj;
|
|
386
|
+
};
|
|
387
|
+
}
|
|
388
|
+
|
|
389
|
+
|
|
390
|
+
/**
|
|
391
|
+
* Deserializes binary data (in protobuf wire format).
|
|
392
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
393
|
+
* @return {!proto.ondewo.nlu.CcaiProject}
|
|
394
|
+
*/
|
|
395
|
+
proto.ondewo.nlu.CcaiProject.deserializeBinary = function(bytes) {
|
|
396
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
397
|
+
var msg = new proto.ondewo.nlu.CcaiProject;
|
|
398
|
+
return proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader(msg, reader);
|
|
399
|
+
};
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
/**
|
|
403
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
404
|
+
* given reader into the given message object.
|
|
405
|
+
* @param {!proto.ondewo.nlu.CcaiProject} msg The message object to deserialize into.
|
|
406
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
407
|
+
* @return {!proto.ondewo.nlu.CcaiProject}
|
|
408
|
+
*/
|
|
409
|
+
proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader = function(msg, reader) {
|
|
410
|
+
while (reader.nextField()) {
|
|
411
|
+
if (reader.isEndGroup()) {
|
|
412
|
+
break;
|
|
413
|
+
}
|
|
414
|
+
var field = reader.getFieldNumber();
|
|
415
|
+
switch (field) {
|
|
416
|
+
case 1:
|
|
417
|
+
var value = /** @type {string} */ (reader.readString());
|
|
418
|
+
msg.setName(value);
|
|
419
|
+
break;
|
|
420
|
+
case 2:
|
|
421
|
+
var value = /** @type {string} */ (reader.readString());
|
|
422
|
+
msg.setDisplayName(value);
|
|
423
|
+
break;
|
|
424
|
+
case 3:
|
|
425
|
+
var value = /** @type {string} */ (reader.readString());
|
|
426
|
+
msg.setOwnerName(value);
|
|
427
|
+
break;
|
|
428
|
+
case 4:
|
|
429
|
+
var value = msg.getCcaiServicesMapMap();
|
|
430
|
+
reader.readMessage(value, function(message, reader) {
|
|
431
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.ondewo.nlu.CcaiServiceList.deserializeBinaryFromReader, "", new proto.ondewo.nlu.CcaiServiceList());
|
|
432
|
+
});
|
|
433
|
+
break;
|
|
434
|
+
case 5:
|
|
435
|
+
var value = /** @type {!proto.ondewo.nlu.CcaiProjectStatus} */ (reader.readEnum());
|
|
436
|
+
msg.setCcaiProjectStatus(value);
|
|
437
|
+
break;
|
|
438
|
+
case 6:
|
|
439
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
440
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
441
|
+
msg.setCreatedAt(value);
|
|
442
|
+
break;
|
|
443
|
+
case 7:
|
|
444
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
445
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
446
|
+
msg.setModifiedAt(value);
|
|
447
|
+
break;
|
|
448
|
+
case 8:
|
|
449
|
+
var value = /** @type {string} */ (reader.readString());
|
|
450
|
+
msg.setCreatedBy(value);
|
|
451
|
+
break;
|
|
452
|
+
case 9:
|
|
453
|
+
var value = /** @type {string} */ (reader.readString());
|
|
454
|
+
msg.setModifiedBy(value);
|
|
455
|
+
break;
|
|
456
|
+
case 10:
|
|
457
|
+
var value = /** @type {string} */ (reader.readString());
|
|
458
|
+
msg.setNluProjectName(value);
|
|
459
|
+
break;
|
|
460
|
+
default:
|
|
461
|
+
reader.skipField();
|
|
462
|
+
break;
|
|
463
|
+
}
|
|
464
|
+
}
|
|
465
|
+
return msg;
|
|
466
|
+
};
|
|
467
|
+
|
|
468
|
+
|
|
469
|
+
/**
|
|
470
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
471
|
+
* @return {!Uint8Array}
|
|
472
|
+
*/
|
|
473
|
+
proto.ondewo.nlu.CcaiProject.prototype.serializeBinary = function() {
|
|
474
|
+
var writer = new jspb.BinaryWriter();
|
|
475
|
+
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter(this, writer);
|
|
476
|
+
return writer.getResultBuffer();
|
|
477
|
+
};
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
/**
|
|
481
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
482
|
+
* format), writing to the given BinaryWriter.
|
|
483
|
+
* @param {!proto.ondewo.nlu.CcaiProject} message
|
|
484
|
+
* @param {!jspb.BinaryWriter} writer
|
|
485
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
486
|
+
*/
|
|
487
|
+
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter = function(message, writer) {
|
|
488
|
+
var f = undefined;
|
|
489
|
+
f = message.getName();
|
|
490
|
+
if (f.length > 0) {
|
|
491
|
+
writer.writeString(
|
|
492
|
+
1,
|
|
493
|
+
f
|
|
494
|
+
);
|
|
495
|
+
}
|
|
496
|
+
f = message.getDisplayName();
|
|
497
|
+
if (f.length > 0) {
|
|
498
|
+
writer.writeString(
|
|
499
|
+
2,
|
|
500
|
+
f
|
|
501
|
+
);
|
|
502
|
+
}
|
|
503
|
+
f = message.getOwnerName();
|
|
504
|
+
if (f.length > 0) {
|
|
505
|
+
writer.writeString(
|
|
506
|
+
3,
|
|
507
|
+
f
|
|
508
|
+
);
|
|
509
|
+
}
|
|
510
|
+
f = message.getCcaiServicesMapMap(true);
|
|
511
|
+
if (f && f.getLength() > 0) {
|
|
512
|
+
f.serializeBinary(4, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.ondewo.nlu.CcaiServiceList.serializeBinaryToWriter);
|
|
513
|
+
}
|
|
514
|
+
f = message.getCcaiProjectStatus();
|
|
515
|
+
if (f !== 0.0) {
|
|
516
|
+
writer.writeEnum(
|
|
517
|
+
5,
|
|
518
|
+
f
|
|
519
|
+
);
|
|
520
|
+
}
|
|
521
|
+
f = message.getCreatedAt();
|
|
522
|
+
if (f != null) {
|
|
523
|
+
writer.writeMessage(
|
|
524
|
+
6,
|
|
525
|
+
f,
|
|
526
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
527
|
+
);
|
|
528
|
+
}
|
|
529
|
+
f = message.getModifiedAt();
|
|
530
|
+
if (f != null) {
|
|
531
|
+
writer.writeMessage(
|
|
532
|
+
7,
|
|
533
|
+
f,
|
|
534
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
535
|
+
);
|
|
536
|
+
}
|
|
537
|
+
f = message.getCreatedBy();
|
|
538
|
+
if (f.length > 0) {
|
|
539
|
+
writer.writeString(
|
|
540
|
+
8,
|
|
541
|
+
f
|
|
542
|
+
);
|
|
543
|
+
}
|
|
544
|
+
f = message.getModifiedBy();
|
|
545
|
+
if (f.length > 0) {
|
|
546
|
+
writer.writeString(
|
|
547
|
+
9,
|
|
548
|
+
f
|
|
549
|
+
);
|
|
550
|
+
}
|
|
551
|
+
f = message.getNluProjectName();
|
|
552
|
+
if (f.length > 0) {
|
|
553
|
+
writer.writeString(
|
|
554
|
+
10,
|
|
555
|
+
f
|
|
556
|
+
);
|
|
557
|
+
}
|
|
558
|
+
};
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
/**
|
|
562
|
+
* optional string name = 1;
|
|
563
|
+
* @return {string}
|
|
564
|
+
*/
|
|
565
|
+
proto.ondewo.nlu.CcaiProject.prototype.getName = function() {
|
|
566
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
567
|
+
};
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
/**
|
|
571
|
+
* @param {string} value
|
|
572
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
573
|
+
*/
|
|
574
|
+
proto.ondewo.nlu.CcaiProject.prototype.setName = function(value) {
|
|
575
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
576
|
+
};
|
|
577
|
+
|
|
578
|
+
|
|
579
|
+
/**
|
|
580
|
+
* optional string display_name = 2;
|
|
581
|
+
* @return {string}
|
|
582
|
+
*/
|
|
583
|
+
proto.ondewo.nlu.CcaiProject.prototype.getDisplayName = function() {
|
|
584
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
585
|
+
};
|
|
586
|
+
|
|
587
|
+
|
|
588
|
+
/**
|
|
589
|
+
* @param {string} value
|
|
590
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
591
|
+
*/
|
|
592
|
+
proto.ondewo.nlu.CcaiProject.prototype.setDisplayName = function(value) {
|
|
593
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
594
|
+
};
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
/**
|
|
598
|
+
* optional string owner_name = 3;
|
|
599
|
+
* @return {string}
|
|
600
|
+
*/
|
|
601
|
+
proto.ondewo.nlu.CcaiProject.prototype.getOwnerName = function() {
|
|
602
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
603
|
+
};
|
|
604
|
+
|
|
605
|
+
|
|
606
|
+
/**
|
|
607
|
+
* @param {string} value
|
|
608
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
609
|
+
*/
|
|
610
|
+
proto.ondewo.nlu.CcaiProject.prototype.setOwnerName = function(value) {
|
|
611
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
612
|
+
};
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
/**
|
|
616
|
+
* map<string, CcaiServiceList> ccai_services_map = 4;
|
|
617
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
618
|
+
* empty, instead returning `undefined`
|
|
619
|
+
* @return {!jspb.Map<string,!proto.ondewo.nlu.CcaiServiceList>}
|
|
620
|
+
*/
|
|
621
|
+
proto.ondewo.nlu.CcaiProject.prototype.getCcaiServicesMapMap = function(opt_noLazyCreate) {
|
|
622
|
+
return /** @type {!jspb.Map<string,!proto.ondewo.nlu.CcaiServiceList>} */ (
|
|
623
|
+
jspb.Message.getMapField(this, 4, opt_noLazyCreate,
|
|
624
|
+
proto.ondewo.nlu.CcaiServiceList));
|
|
625
|
+
};
|
|
626
|
+
|
|
627
|
+
|
|
628
|
+
/**
|
|
629
|
+
* Clears values from the map. The map will be non-null.
|
|
630
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
631
|
+
*/
|
|
632
|
+
proto.ondewo.nlu.CcaiProject.prototype.clearCcaiServicesMapMap = function() {
|
|
633
|
+
this.getCcaiServicesMapMap().clear();
|
|
634
|
+
return this;};
|
|
635
|
+
|
|
636
|
+
|
|
637
|
+
/**
|
|
638
|
+
* optional CcaiProjectStatus ccai_project_status = 5;
|
|
639
|
+
* @return {!proto.ondewo.nlu.CcaiProjectStatus}
|
|
640
|
+
*/
|
|
641
|
+
proto.ondewo.nlu.CcaiProject.prototype.getCcaiProjectStatus = function() {
|
|
642
|
+
return /** @type {!proto.ondewo.nlu.CcaiProjectStatus} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
643
|
+
};
|
|
644
|
+
|
|
645
|
+
|
|
646
|
+
/**
|
|
647
|
+
* @param {!proto.ondewo.nlu.CcaiProjectStatus} value
|
|
648
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
649
|
+
*/
|
|
650
|
+
proto.ondewo.nlu.CcaiProject.prototype.setCcaiProjectStatus = function(value) {
|
|
651
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
652
|
+
};
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
/**
|
|
656
|
+
* optional google.protobuf.Timestamp created_at = 6;
|
|
657
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
658
|
+
*/
|
|
659
|
+
proto.ondewo.nlu.CcaiProject.prototype.getCreatedAt = function() {
|
|
660
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
661
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
662
|
+
};
|
|
663
|
+
|
|
664
|
+
|
|
665
|
+
/**
|
|
666
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
667
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
668
|
+
*/
|
|
669
|
+
proto.ondewo.nlu.CcaiProject.prototype.setCreatedAt = function(value) {
|
|
670
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
671
|
+
};
|
|
672
|
+
|
|
673
|
+
|
|
674
|
+
/**
|
|
675
|
+
* Clears the message field making it undefined.
|
|
676
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
677
|
+
*/
|
|
678
|
+
proto.ondewo.nlu.CcaiProject.prototype.clearCreatedAt = function() {
|
|
679
|
+
return this.setCreatedAt(undefined);
|
|
680
|
+
};
|
|
681
|
+
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Returns whether this field is set.
|
|
685
|
+
* @return {boolean}
|
|
686
|
+
*/
|
|
687
|
+
proto.ondewo.nlu.CcaiProject.prototype.hasCreatedAt = function() {
|
|
688
|
+
return jspb.Message.getField(this, 6) != null;
|
|
689
|
+
};
|
|
690
|
+
|
|
691
|
+
|
|
692
|
+
/**
|
|
693
|
+
* optional google.protobuf.Timestamp modified_at = 7;
|
|
694
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
695
|
+
*/
|
|
696
|
+
proto.ondewo.nlu.CcaiProject.prototype.getModifiedAt = function() {
|
|
697
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
698
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 7));
|
|
699
|
+
};
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
/**
|
|
703
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
704
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
705
|
+
*/
|
|
706
|
+
proto.ondewo.nlu.CcaiProject.prototype.setModifiedAt = function(value) {
|
|
707
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
708
|
+
};
|
|
709
|
+
|
|
710
|
+
|
|
711
|
+
/**
|
|
712
|
+
* Clears the message field making it undefined.
|
|
713
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
714
|
+
*/
|
|
715
|
+
proto.ondewo.nlu.CcaiProject.prototype.clearModifiedAt = function() {
|
|
716
|
+
return this.setModifiedAt(undefined);
|
|
717
|
+
};
|
|
718
|
+
|
|
719
|
+
|
|
720
|
+
/**
|
|
721
|
+
* Returns whether this field is set.
|
|
722
|
+
* @return {boolean}
|
|
723
|
+
*/
|
|
724
|
+
proto.ondewo.nlu.CcaiProject.prototype.hasModifiedAt = function() {
|
|
725
|
+
return jspb.Message.getField(this, 7) != null;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
/**
|
|
730
|
+
* optional string created_by = 8;
|
|
731
|
+
* @return {string}
|
|
732
|
+
*/
|
|
733
|
+
proto.ondewo.nlu.CcaiProject.prototype.getCreatedBy = function() {
|
|
734
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
735
|
+
};
|
|
736
|
+
|
|
737
|
+
|
|
738
|
+
/**
|
|
739
|
+
* @param {string} value
|
|
740
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
741
|
+
*/
|
|
742
|
+
proto.ondewo.nlu.CcaiProject.prototype.setCreatedBy = function(value) {
|
|
743
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
744
|
+
};
|
|
745
|
+
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* optional string modified_by = 9;
|
|
749
|
+
* @return {string}
|
|
750
|
+
*/
|
|
751
|
+
proto.ondewo.nlu.CcaiProject.prototype.getModifiedBy = function() {
|
|
752
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
753
|
+
};
|
|
754
|
+
|
|
755
|
+
|
|
756
|
+
/**
|
|
757
|
+
* @param {string} value
|
|
758
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
759
|
+
*/
|
|
760
|
+
proto.ondewo.nlu.CcaiProject.prototype.setModifiedBy = function(value) {
|
|
761
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
762
|
+
};
|
|
763
|
+
|
|
764
|
+
|
|
765
|
+
/**
|
|
766
|
+
* optional string nlu_project_name = 10;
|
|
767
|
+
* @return {string}
|
|
768
|
+
*/
|
|
769
|
+
proto.ondewo.nlu.CcaiProject.prototype.getNluProjectName = function() {
|
|
770
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
771
|
+
};
|
|
772
|
+
|
|
773
|
+
|
|
774
|
+
/**
|
|
775
|
+
* @param {string} value
|
|
776
|
+
* @return {!proto.ondewo.nlu.CcaiProject} returns this
|
|
777
|
+
*/
|
|
778
|
+
proto.ondewo.nlu.CcaiProject.prototype.setNluProjectName = function(value) {
|
|
779
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
780
|
+
};
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
/**
|
|
785
|
+
* List of repeated fields within this message type.
|
|
786
|
+
* @private {!Array<number>}
|
|
787
|
+
* @const
|
|
788
|
+
*/
|
|
789
|
+
proto.ondewo.nlu.CcaiServiceList.repeatedFields_ = [1];
|
|
790
|
+
|
|
791
|
+
|
|
792
|
+
|
|
793
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
794
|
+
/**
|
|
795
|
+
* Creates an object representation of this proto.
|
|
796
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
797
|
+
* Optional fields that are not set will be set to undefined.
|
|
798
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
799
|
+
* For the list of reserved names please see:
|
|
800
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
801
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
802
|
+
* JSPB instance for transitional soy proto support:
|
|
803
|
+
* http://goto/soy-param-migration
|
|
804
|
+
* @return {!Object}
|
|
805
|
+
*/
|
|
806
|
+
proto.ondewo.nlu.CcaiServiceList.prototype.toObject = function(opt_includeInstance) {
|
|
807
|
+
return proto.ondewo.nlu.CcaiServiceList.toObject(opt_includeInstance, this);
|
|
808
|
+
};
|
|
809
|
+
|
|
810
|
+
|
|
811
|
+
/**
|
|
812
|
+
* Static version of the {@see toObject} method.
|
|
813
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
814
|
+
* the JSPB instance for transitional soy proto support:
|
|
815
|
+
* http://goto/soy-param-migration
|
|
816
|
+
* @param {!proto.ondewo.nlu.CcaiServiceList} msg The msg instance to transform.
|
|
817
|
+
* @return {!Object}
|
|
818
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
819
|
+
*/
|
|
820
|
+
proto.ondewo.nlu.CcaiServiceList.toObject = function(includeInstance, msg) {
|
|
821
|
+
var f, obj = {
|
|
822
|
+
ccaiServicesList: jspb.Message.toObjectList(msg.getCcaiServicesList(),
|
|
823
|
+
proto.ondewo.nlu.CcaiService.toObject, includeInstance)
|
|
824
|
+
};
|
|
825
|
+
|
|
826
|
+
if (includeInstance) {
|
|
827
|
+
obj.$jspbMessageInstance = msg;
|
|
828
|
+
}
|
|
829
|
+
return obj;
|
|
830
|
+
};
|
|
831
|
+
}
|
|
832
|
+
|
|
833
|
+
|
|
834
|
+
/**
|
|
835
|
+
* Deserializes binary data (in protobuf wire format).
|
|
836
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
837
|
+
* @return {!proto.ondewo.nlu.CcaiServiceList}
|
|
838
|
+
*/
|
|
839
|
+
proto.ondewo.nlu.CcaiServiceList.deserializeBinary = function(bytes) {
|
|
840
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
841
|
+
var msg = new proto.ondewo.nlu.CcaiServiceList;
|
|
842
|
+
return proto.ondewo.nlu.CcaiServiceList.deserializeBinaryFromReader(msg, reader);
|
|
843
|
+
};
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
/**
|
|
847
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
848
|
+
* given reader into the given message object.
|
|
849
|
+
* @param {!proto.ondewo.nlu.CcaiServiceList} msg The message object to deserialize into.
|
|
850
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
851
|
+
* @return {!proto.ondewo.nlu.CcaiServiceList}
|
|
852
|
+
*/
|
|
853
|
+
proto.ondewo.nlu.CcaiServiceList.deserializeBinaryFromReader = function(msg, reader) {
|
|
854
|
+
while (reader.nextField()) {
|
|
855
|
+
if (reader.isEndGroup()) {
|
|
856
|
+
break;
|
|
857
|
+
}
|
|
858
|
+
var field = reader.getFieldNumber();
|
|
859
|
+
switch (field) {
|
|
860
|
+
case 1:
|
|
861
|
+
var value = new proto.ondewo.nlu.CcaiService;
|
|
862
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiService.deserializeBinaryFromReader);
|
|
863
|
+
msg.addCcaiServices(value);
|
|
864
|
+
break;
|
|
865
|
+
default:
|
|
866
|
+
reader.skipField();
|
|
867
|
+
break;
|
|
868
|
+
}
|
|
869
|
+
}
|
|
870
|
+
return msg;
|
|
871
|
+
};
|
|
872
|
+
|
|
873
|
+
|
|
874
|
+
/**
|
|
875
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
876
|
+
* @return {!Uint8Array}
|
|
877
|
+
*/
|
|
878
|
+
proto.ondewo.nlu.CcaiServiceList.prototype.serializeBinary = function() {
|
|
879
|
+
var writer = new jspb.BinaryWriter();
|
|
880
|
+
proto.ondewo.nlu.CcaiServiceList.serializeBinaryToWriter(this, writer);
|
|
881
|
+
return writer.getResultBuffer();
|
|
882
|
+
};
|
|
883
|
+
|
|
884
|
+
|
|
885
|
+
/**
|
|
886
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
887
|
+
* format), writing to the given BinaryWriter.
|
|
888
|
+
* @param {!proto.ondewo.nlu.CcaiServiceList} message
|
|
889
|
+
* @param {!jspb.BinaryWriter} writer
|
|
890
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
891
|
+
*/
|
|
892
|
+
proto.ondewo.nlu.CcaiServiceList.serializeBinaryToWriter = function(message, writer) {
|
|
893
|
+
var f = undefined;
|
|
894
|
+
f = message.getCcaiServicesList();
|
|
895
|
+
if (f.length > 0) {
|
|
896
|
+
writer.writeRepeatedMessage(
|
|
897
|
+
1,
|
|
898
|
+
f,
|
|
899
|
+
proto.ondewo.nlu.CcaiService.serializeBinaryToWriter
|
|
900
|
+
);
|
|
901
|
+
}
|
|
902
|
+
};
|
|
903
|
+
|
|
904
|
+
|
|
905
|
+
/**
|
|
906
|
+
* repeated CcaiService ccai_services = 1;
|
|
907
|
+
* @return {!Array<!proto.ondewo.nlu.CcaiService>}
|
|
908
|
+
*/
|
|
909
|
+
proto.ondewo.nlu.CcaiServiceList.prototype.getCcaiServicesList = function() {
|
|
910
|
+
return /** @type{!Array<!proto.ondewo.nlu.CcaiService>} */ (
|
|
911
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.CcaiService, 1));
|
|
912
|
+
};
|
|
913
|
+
|
|
914
|
+
|
|
915
|
+
/**
|
|
916
|
+
* @param {!Array<!proto.ondewo.nlu.CcaiService>} value
|
|
917
|
+
* @return {!proto.ondewo.nlu.CcaiServiceList} returns this
|
|
918
|
+
*/
|
|
919
|
+
proto.ondewo.nlu.CcaiServiceList.prototype.setCcaiServicesList = function(value) {
|
|
920
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
921
|
+
};
|
|
922
|
+
|
|
923
|
+
|
|
924
|
+
/**
|
|
925
|
+
* @param {!proto.ondewo.nlu.CcaiService=} opt_value
|
|
926
|
+
* @param {number=} opt_index
|
|
927
|
+
* @return {!proto.ondewo.nlu.CcaiService}
|
|
928
|
+
*/
|
|
929
|
+
proto.ondewo.nlu.CcaiServiceList.prototype.addCcaiServices = function(opt_value, opt_index) {
|
|
930
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.CcaiService, opt_index);
|
|
931
|
+
};
|
|
932
|
+
|
|
933
|
+
|
|
934
|
+
/**
|
|
935
|
+
* Clears the list making it empty but non-null.
|
|
936
|
+
* @return {!proto.ondewo.nlu.CcaiServiceList} returns this
|
|
937
|
+
*/
|
|
938
|
+
proto.ondewo.nlu.CcaiServiceList.prototype.clearCcaiServicesList = function() {
|
|
939
|
+
return this.setCcaiServicesList([]);
|
|
940
|
+
};
|
|
941
|
+
|
|
942
|
+
|
|
943
|
+
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
947
|
+
/**
|
|
948
|
+
* Creates an object representation of this proto.
|
|
949
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
950
|
+
* Optional fields that are not set will be set to undefined.
|
|
951
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
952
|
+
* For the list of reserved names please see:
|
|
953
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
954
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
955
|
+
* JSPB instance for transitional soy proto support:
|
|
956
|
+
* http://goto/soy-param-migration
|
|
957
|
+
* @return {!Object}
|
|
958
|
+
*/
|
|
959
|
+
proto.ondewo.nlu.CcaiService.prototype.toObject = function(opt_includeInstance) {
|
|
960
|
+
return proto.ondewo.nlu.CcaiService.toObject(opt_includeInstance, this);
|
|
961
|
+
};
|
|
962
|
+
|
|
963
|
+
|
|
964
|
+
/**
|
|
965
|
+
* Static version of the {@see toObject} method.
|
|
966
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
967
|
+
* the JSPB instance for transitional soy proto support:
|
|
968
|
+
* http://goto/soy-param-migration
|
|
969
|
+
* @param {!proto.ondewo.nlu.CcaiService} msg The msg instance to transform.
|
|
970
|
+
* @return {!Object}
|
|
971
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
972
|
+
*/
|
|
973
|
+
proto.ondewo.nlu.CcaiService.toObject = function(includeInstance, msg) {
|
|
974
|
+
var f, obj = {
|
|
975
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
976
|
+
displayName: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
977
|
+
languageCode: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
978
|
+
grpcHost: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
979
|
+
grpcPort: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
980
|
+
webgrpcHost: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
981
|
+
webgrpcPort: jspb.Message.getFieldWithDefault(msg, 7, 0),
|
|
982
|
+
grpcCert: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
983
|
+
host: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
984
|
+
port: jspb.Message.getFieldWithDefault(msg, 10, 0),
|
|
985
|
+
port2: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
986
|
+
httpBasicAuthToken: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
987
|
+
accountName: jspb.Message.getFieldWithDefault(msg, 13, ""),
|
|
988
|
+
accountPassword: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
989
|
+
apiKey: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
990
|
+
ccaiServiceType: jspb.Message.getFieldWithDefault(msg, 16, 0),
|
|
991
|
+
ccaiProjectName: jspb.Message.getFieldWithDefault(msg, 17, ""),
|
|
992
|
+
ccaiServiceConfig: (f = msg.getCcaiServiceConfig()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
993
|
+
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
994
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
995
|
+
createdBy: jspb.Message.getFieldWithDefault(msg, 21, ""),
|
|
996
|
+
modifiedBy: jspb.Message.getFieldWithDefault(msg, 22, "")
|
|
997
|
+
};
|
|
998
|
+
|
|
999
|
+
if (includeInstance) {
|
|
1000
|
+
obj.$jspbMessageInstance = msg;
|
|
1001
|
+
}
|
|
1002
|
+
return obj;
|
|
1003
|
+
};
|
|
1004
|
+
}
|
|
1005
|
+
|
|
1006
|
+
|
|
1007
|
+
/**
|
|
1008
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1009
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1010
|
+
* @return {!proto.ondewo.nlu.CcaiService}
|
|
1011
|
+
*/
|
|
1012
|
+
proto.ondewo.nlu.CcaiService.deserializeBinary = function(bytes) {
|
|
1013
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1014
|
+
var msg = new proto.ondewo.nlu.CcaiService;
|
|
1015
|
+
return proto.ondewo.nlu.CcaiService.deserializeBinaryFromReader(msg, reader);
|
|
1016
|
+
};
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
/**
|
|
1020
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1021
|
+
* given reader into the given message object.
|
|
1022
|
+
* @param {!proto.ondewo.nlu.CcaiService} msg The message object to deserialize into.
|
|
1023
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1024
|
+
* @return {!proto.ondewo.nlu.CcaiService}
|
|
1025
|
+
*/
|
|
1026
|
+
proto.ondewo.nlu.CcaiService.deserializeBinaryFromReader = function(msg, reader) {
|
|
1027
|
+
while (reader.nextField()) {
|
|
1028
|
+
if (reader.isEndGroup()) {
|
|
1029
|
+
break;
|
|
1030
|
+
}
|
|
1031
|
+
var field = reader.getFieldNumber();
|
|
1032
|
+
switch (field) {
|
|
1033
|
+
case 1:
|
|
1034
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1035
|
+
msg.setName(value);
|
|
1036
|
+
break;
|
|
1037
|
+
case 2:
|
|
1038
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1039
|
+
msg.setDisplayName(value);
|
|
1040
|
+
break;
|
|
1041
|
+
case 3:
|
|
1042
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1043
|
+
msg.setLanguageCode(value);
|
|
1044
|
+
break;
|
|
1045
|
+
case 4:
|
|
1046
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1047
|
+
msg.setGrpcHost(value);
|
|
1048
|
+
break;
|
|
1049
|
+
case 5:
|
|
1050
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1051
|
+
msg.setGrpcPort(value);
|
|
1052
|
+
break;
|
|
1053
|
+
case 6:
|
|
1054
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1055
|
+
msg.setWebgrpcHost(value);
|
|
1056
|
+
break;
|
|
1057
|
+
case 7:
|
|
1058
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1059
|
+
msg.setWebgrpcPort(value);
|
|
1060
|
+
break;
|
|
1061
|
+
case 8:
|
|
1062
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1063
|
+
msg.setGrpcCert(value);
|
|
1064
|
+
break;
|
|
1065
|
+
case 9:
|
|
1066
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1067
|
+
msg.setHost(value);
|
|
1068
|
+
break;
|
|
1069
|
+
case 10:
|
|
1070
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1071
|
+
msg.setPort(value);
|
|
1072
|
+
break;
|
|
1073
|
+
case 11:
|
|
1074
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
1075
|
+
msg.setPort2(value);
|
|
1076
|
+
break;
|
|
1077
|
+
case 12:
|
|
1078
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1079
|
+
msg.setHttpBasicAuthToken(value);
|
|
1080
|
+
break;
|
|
1081
|
+
case 13:
|
|
1082
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1083
|
+
msg.setAccountName(value);
|
|
1084
|
+
break;
|
|
1085
|
+
case 14:
|
|
1086
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1087
|
+
msg.setAccountPassword(value);
|
|
1088
|
+
break;
|
|
1089
|
+
case 15:
|
|
1090
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1091
|
+
msg.setApiKey(value);
|
|
1092
|
+
break;
|
|
1093
|
+
case 16:
|
|
1094
|
+
var value = /** @type {!proto.ondewo.nlu.CcaiServiceType} */ (reader.readEnum());
|
|
1095
|
+
msg.setCcaiServiceType(value);
|
|
1096
|
+
break;
|
|
1097
|
+
case 17:
|
|
1098
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1099
|
+
msg.setCcaiProjectName(value);
|
|
1100
|
+
break;
|
|
1101
|
+
case 18:
|
|
1102
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
1103
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
1104
|
+
msg.setCcaiServiceConfig(value);
|
|
1105
|
+
break;
|
|
1106
|
+
case 19:
|
|
1107
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1108
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1109
|
+
msg.setCreatedAt(value);
|
|
1110
|
+
break;
|
|
1111
|
+
case 20:
|
|
1112
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
1113
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
1114
|
+
msg.setModifiedAt(value);
|
|
1115
|
+
break;
|
|
1116
|
+
case 21:
|
|
1117
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1118
|
+
msg.setCreatedBy(value);
|
|
1119
|
+
break;
|
|
1120
|
+
case 22:
|
|
1121
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1122
|
+
msg.setModifiedBy(value);
|
|
1123
|
+
break;
|
|
1124
|
+
default:
|
|
1125
|
+
reader.skipField();
|
|
1126
|
+
break;
|
|
1127
|
+
}
|
|
1128
|
+
}
|
|
1129
|
+
return msg;
|
|
1130
|
+
};
|
|
1131
|
+
|
|
1132
|
+
|
|
1133
|
+
/**
|
|
1134
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1135
|
+
* @return {!Uint8Array}
|
|
1136
|
+
*/
|
|
1137
|
+
proto.ondewo.nlu.CcaiService.prototype.serializeBinary = function() {
|
|
1138
|
+
var writer = new jspb.BinaryWriter();
|
|
1139
|
+
proto.ondewo.nlu.CcaiService.serializeBinaryToWriter(this, writer);
|
|
1140
|
+
return writer.getResultBuffer();
|
|
1141
|
+
};
|
|
1142
|
+
|
|
1143
|
+
|
|
1144
|
+
/**
|
|
1145
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1146
|
+
* format), writing to the given BinaryWriter.
|
|
1147
|
+
* @param {!proto.ondewo.nlu.CcaiService} message
|
|
1148
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1149
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1150
|
+
*/
|
|
1151
|
+
proto.ondewo.nlu.CcaiService.serializeBinaryToWriter = function(message, writer) {
|
|
1152
|
+
var f = undefined;
|
|
1153
|
+
f = message.getName();
|
|
1154
|
+
if (f.length > 0) {
|
|
1155
|
+
writer.writeString(
|
|
1156
|
+
1,
|
|
1157
|
+
f
|
|
1158
|
+
);
|
|
1159
|
+
}
|
|
1160
|
+
f = message.getDisplayName();
|
|
1161
|
+
if (f.length > 0) {
|
|
1162
|
+
writer.writeString(
|
|
1163
|
+
2,
|
|
1164
|
+
f
|
|
1165
|
+
);
|
|
1166
|
+
}
|
|
1167
|
+
f = message.getLanguageCode();
|
|
1168
|
+
if (f.length > 0) {
|
|
1169
|
+
writer.writeString(
|
|
1170
|
+
3,
|
|
1171
|
+
f
|
|
1172
|
+
);
|
|
1173
|
+
}
|
|
1174
|
+
f = message.getGrpcHost();
|
|
1175
|
+
if (f.length > 0) {
|
|
1176
|
+
writer.writeString(
|
|
1177
|
+
4,
|
|
1178
|
+
f
|
|
1179
|
+
);
|
|
1180
|
+
}
|
|
1181
|
+
f = message.getGrpcPort();
|
|
1182
|
+
if (f !== 0) {
|
|
1183
|
+
writer.writeInt32(
|
|
1184
|
+
5,
|
|
1185
|
+
f
|
|
1186
|
+
);
|
|
1187
|
+
}
|
|
1188
|
+
f = message.getWebgrpcHost();
|
|
1189
|
+
if (f.length > 0) {
|
|
1190
|
+
writer.writeString(
|
|
1191
|
+
6,
|
|
1192
|
+
f
|
|
1193
|
+
);
|
|
1194
|
+
}
|
|
1195
|
+
f = message.getWebgrpcPort();
|
|
1196
|
+
if (f !== 0) {
|
|
1197
|
+
writer.writeInt32(
|
|
1198
|
+
7,
|
|
1199
|
+
f
|
|
1200
|
+
);
|
|
1201
|
+
}
|
|
1202
|
+
f = message.getGrpcCert();
|
|
1203
|
+
if (f.length > 0) {
|
|
1204
|
+
writer.writeString(
|
|
1205
|
+
8,
|
|
1206
|
+
f
|
|
1207
|
+
);
|
|
1208
|
+
}
|
|
1209
|
+
f = message.getHost();
|
|
1210
|
+
if (f.length > 0) {
|
|
1211
|
+
writer.writeString(
|
|
1212
|
+
9,
|
|
1213
|
+
f
|
|
1214
|
+
);
|
|
1215
|
+
}
|
|
1216
|
+
f = message.getPort();
|
|
1217
|
+
if (f !== 0) {
|
|
1218
|
+
writer.writeInt32(
|
|
1219
|
+
10,
|
|
1220
|
+
f
|
|
1221
|
+
);
|
|
1222
|
+
}
|
|
1223
|
+
f = message.getPort2();
|
|
1224
|
+
if (f !== 0) {
|
|
1225
|
+
writer.writeInt32(
|
|
1226
|
+
11,
|
|
1227
|
+
f
|
|
1228
|
+
);
|
|
1229
|
+
}
|
|
1230
|
+
f = message.getHttpBasicAuthToken();
|
|
1231
|
+
if (f.length > 0) {
|
|
1232
|
+
writer.writeString(
|
|
1233
|
+
12,
|
|
1234
|
+
f
|
|
1235
|
+
);
|
|
1236
|
+
}
|
|
1237
|
+
f = message.getAccountName();
|
|
1238
|
+
if (f.length > 0) {
|
|
1239
|
+
writer.writeString(
|
|
1240
|
+
13,
|
|
1241
|
+
f
|
|
1242
|
+
);
|
|
1243
|
+
}
|
|
1244
|
+
f = message.getAccountPassword();
|
|
1245
|
+
if (f.length > 0) {
|
|
1246
|
+
writer.writeString(
|
|
1247
|
+
14,
|
|
1248
|
+
f
|
|
1249
|
+
);
|
|
1250
|
+
}
|
|
1251
|
+
f = message.getApiKey();
|
|
1252
|
+
if (f.length > 0) {
|
|
1253
|
+
writer.writeString(
|
|
1254
|
+
15,
|
|
1255
|
+
f
|
|
1256
|
+
);
|
|
1257
|
+
}
|
|
1258
|
+
f = message.getCcaiServiceType();
|
|
1259
|
+
if (f !== 0.0) {
|
|
1260
|
+
writer.writeEnum(
|
|
1261
|
+
16,
|
|
1262
|
+
f
|
|
1263
|
+
);
|
|
1264
|
+
}
|
|
1265
|
+
f = message.getCcaiProjectName();
|
|
1266
|
+
if (f.length > 0) {
|
|
1267
|
+
writer.writeString(
|
|
1268
|
+
17,
|
|
1269
|
+
f
|
|
1270
|
+
);
|
|
1271
|
+
}
|
|
1272
|
+
f = message.getCcaiServiceConfig();
|
|
1273
|
+
if (f != null) {
|
|
1274
|
+
writer.writeMessage(
|
|
1275
|
+
18,
|
|
1276
|
+
f,
|
|
1277
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
1278
|
+
);
|
|
1279
|
+
}
|
|
1280
|
+
f = message.getCreatedAt();
|
|
1281
|
+
if (f != null) {
|
|
1282
|
+
writer.writeMessage(
|
|
1283
|
+
19,
|
|
1284
|
+
f,
|
|
1285
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1286
|
+
);
|
|
1287
|
+
}
|
|
1288
|
+
f = message.getModifiedAt();
|
|
1289
|
+
if (f != null) {
|
|
1290
|
+
writer.writeMessage(
|
|
1291
|
+
20,
|
|
1292
|
+
f,
|
|
1293
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
1294
|
+
);
|
|
1295
|
+
}
|
|
1296
|
+
f = message.getCreatedBy();
|
|
1297
|
+
if (f.length > 0) {
|
|
1298
|
+
writer.writeString(
|
|
1299
|
+
21,
|
|
1300
|
+
f
|
|
1301
|
+
);
|
|
1302
|
+
}
|
|
1303
|
+
f = message.getModifiedBy();
|
|
1304
|
+
if (f.length > 0) {
|
|
1305
|
+
writer.writeString(
|
|
1306
|
+
22,
|
|
1307
|
+
f
|
|
1308
|
+
);
|
|
1309
|
+
}
|
|
1310
|
+
};
|
|
1311
|
+
|
|
1312
|
+
|
|
1313
|
+
/**
|
|
1314
|
+
* optional string name = 1;
|
|
1315
|
+
* @return {string}
|
|
1316
|
+
*/
|
|
1317
|
+
proto.ondewo.nlu.CcaiService.prototype.getName = function() {
|
|
1318
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
1319
|
+
};
|
|
1320
|
+
|
|
1321
|
+
|
|
1322
|
+
/**
|
|
1323
|
+
* @param {string} value
|
|
1324
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1325
|
+
*/
|
|
1326
|
+
proto.ondewo.nlu.CcaiService.prototype.setName = function(value) {
|
|
1327
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
1328
|
+
};
|
|
1329
|
+
|
|
1330
|
+
|
|
1331
|
+
/**
|
|
1332
|
+
* optional string display_name = 2;
|
|
1333
|
+
* @return {string}
|
|
1334
|
+
*/
|
|
1335
|
+
proto.ondewo.nlu.CcaiService.prototype.getDisplayName = function() {
|
|
1336
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
1337
|
+
};
|
|
1338
|
+
|
|
1339
|
+
|
|
1340
|
+
/**
|
|
1341
|
+
* @param {string} value
|
|
1342
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1343
|
+
*/
|
|
1344
|
+
proto.ondewo.nlu.CcaiService.prototype.setDisplayName = function(value) {
|
|
1345
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
1346
|
+
};
|
|
1347
|
+
|
|
1348
|
+
|
|
1349
|
+
/**
|
|
1350
|
+
* optional string language_code = 3;
|
|
1351
|
+
* @return {string}
|
|
1352
|
+
*/
|
|
1353
|
+
proto.ondewo.nlu.CcaiService.prototype.getLanguageCode = function() {
|
|
1354
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
1355
|
+
};
|
|
1356
|
+
|
|
1357
|
+
|
|
1358
|
+
/**
|
|
1359
|
+
* @param {string} value
|
|
1360
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1361
|
+
*/
|
|
1362
|
+
proto.ondewo.nlu.CcaiService.prototype.setLanguageCode = function(value) {
|
|
1363
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
1364
|
+
};
|
|
1365
|
+
|
|
1366
|
+
|
|
1367
|
+
/**
|
|
1368
|
+
* optional string grpc_host = 4;
|
|
1369
|
+
* @return {string}
|
|
1370
|
+
*/
|
|
1371
|
+
proto.ondewo.nlu.CcaiService.prototype.getGrpcHost = function() {
|
|
1372
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1373
|
+
};
|
|
1374
|
+
|
|
1375
|
+
|
|
1376
|
+
/**
|
|
1377
|
+
* @param {string} value
|
|
1378
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1379
|
+
*/
|
|
1380
|
+
proto.ondewo.nlu.CcaiService.prototype.setGrpcHost = function(value) {
|
|
1381
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1382
|
+
};
|
|
1383
|
+
|
|
1384
|
+
|
|
1385
|
+
/**
|
|
1386
|
+
* optional int32 grpc_port = 5;
|
|
1387
|
+
* @return {number}
|
|
1388
|
+
*/
|
|
1389
|
+
proto.ondewo.nlu.CcaiService.prototype.getGrpcPort = function() {
|
|
1390
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
1391
|
+
};
|
|
1392
|
+
|
|
1393
|
+
|
|
1394
|
+
/**
|
|
1395
|
+
* @param {number} value
|
|
1396
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1397
|
+
*/
|
|
1398
|
+
proto.ondewo.nlu.CcaiService.prototype.setGrpcPort = function(value) {
|
|
1399
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
1400
|
+
};
|
|
1401
|
+
|
|
1402
|
+
|
|
1403
|
+
/**
|
|
1404
|
+
* optional string webgrpc_host = 6;
|
|
1405
|
+
* @return {string}
|
|
1406
|
+
*/
|
|
1407
|
+
proto.ondewo.nlu.CcaiService.prototype.getWebgrpcHost = function() {
|
|
1408
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
1409
|
+
};
|
|
1410
|
+
|
|
1411
|
+
|
|
1412
|
+
/**
|
|
1413
|
+
* @param {string} value
|
|
1414
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1415
|
+
*/
|
|
1416
|
+
proto.ondewo.nlu.CcaiService.prototype.setWebgrpcHost = function(value) {
|
|
1417
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
1418
|
+
};
|
|
1419
|
+
|
|
1420
|
+
|
|
1421
|
+
/**
|
|
1422
|
+
* optional int32 webgrpc_port = 7;
|
|
1423
|
+
* @return {number}
|
|
1424
|
+
*/
|
|
1425
|
+
proto.ondewo.nlu.CcaiService.prototype.getWebgrpcPort = function() {
|
|
1426
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
1427
|
+
};
|
|
1428
|
+
|
|
1429
|
+
|
|
1430
|
+
/**
|
|
1431
|
+
* @param {number} value
|
|
1432
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1433
|
+
*/
|
|
1434
|
+
proto.ondewo.nlu.CcaiService.prototype.setWebgrpcPort = function(value) {
|
|
1435
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
1436
|
+
};
|
|
1437
|
+
|
|
1438
|
+
|
|
1439
|
+
/**
|
|
1440
|
+
* optional string grpc_cert = 8;
|
|
1441
|
+
* @return {string}
|
|
1442
|
+
*/
|
|
1443
|
+
proto.ondewo.nlu.CcaiService.prototype.getGrpcCert = function() {
|
|
1444
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
1445
|
+
};
|
|
1446
|
+
|
|
1447
|
+
|
|
1448
|
+
/**
|
|
1449
|
+
* @param {string} value
|
|
1450
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1451
|
+
*/
|
|
1452
|
+
proto.ondewo.nlu.CcaiService.prototype.setGrpcCert = function(value) {
|
|
1453
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
1454
|
+
};
|
|
1455
|
+
|
|
1456
|
+
|
|
1457
|
+
/**
|
|
1458
|
+
* optional string host = 9;
|
|
1459
|
+
* @return {string}
|
|
1460
|
+
*/
|
|
1461
|
+
proto.ondewo.nlu.CcaiService.prototype.getHost = function() {
|
|
1462
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
1463
|
+
};
|
|
1464
|
+
|
|
1465
|
+
|
|
1466
|
+
/**
|
|
1467
|
+
* @param {string} value
|
|
1468
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1469
|
+
*/
|
|
1470
|
+
proto.ondewo.nlu.CcaiService.prototype.setHost = function(value) {
|
|
1471
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
1472
|
+
};
|
|
1473
|
+
|
|
1474
|
+
|
|
1475
|
+
/**
|
|
1476
|
+
* optional int32 port = 10;
|
|
1477
|
+
* @return {number}
|
|
1478
|
+
*/
|
|
1479
|
+
proto.ondewo.nlu.CcaiService.prototype.getPort = function() {
|
|
1480
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 10, 0));
|
|
1481
|
+
};
|
|
1482
|
+
|
|
1483
|
+
|
|
1484
|
+
/**
|
|
1485
|
+
* @param {number} value
|
|
1486
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1487
|
+
*/
|
|
1488
|
+
proto.ondewo.nlu.CcaiService.prototype.setPort = function(value) {
|
|
1489
|
+
return jspb.Message.setProto3IntField(this, 10, value);
|
|
1490
|
+
};
|
|
1491
|
+
|
|
1492
|
+
|
|
1493
|
+
/**
|
|
1494
|
+
* optional int32 port2 = 11;
|
|
1495
|
+
* @return {number}
|
|
1496
|
+
*/
|
|
1497
|
+
proto.ondewo.nlu.CcaiService.prototype.getPort2 = function() {
|
|
1498
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 11, 0));
|
|
1499
|
+
};
|
|
1500
|
+
|
|
1501
|
+
|
|
1502
|
+
/**
|
|
1503
|
+
* @param {number} value
|
|
1504
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1505
|
+
*/
|
|
1506
|
+
proto.ondewo.nlu.CcaiService.prototype.setPort2 = function(value) {
|
|
1507
|
+
return jspb.Message.setProto3IntField(this, 11, value);
|
|
1508
|
+
};
|
|
1509
|
+
|
|
1510
|
+
|
|
1511
|
+
/**
|
|
1512
|
+
* optional string http_basic_auth_token = 12;
|
|
1513
|
+
* @return {string}
|
|
1514
|
+
*/
|
|
1515
|
+
proto.ondewo.nlu.CcaiService.prototype.getHttpBasicAuthToken = function() {
|
|
1516
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
1517
|
+
};
|
|
1518
|
+
|
|
1519
|
+
|
|
1520
|
+
/**
|
|
1521
|
+
* @param {string} value
|
|
1522
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1523
|
+
*/
|
|
1524
|
+
proto.ondewo.nlu.CcaiService.prototype.setHttpBasicAuthToken = function(value) {
|
|
1525
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
1526
|
+
};
|
|
1527
|
+
|
|
1528
|
+
|
|
1529
|
+
/**
|
|
1530
|
+
* optional string account_name = 13;
|
|
1531
|
+
* @return {string}
|
|
1532
|
+
*/
|
|
1533
|
+
proto.ondewo.nlu.CcaiService.prototype.getAccountName = function() {
|
|
1534
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
1535
|
+
};
|
|
1536
|
+
|
|
1537
|
+
|
|
1538
|
+
/**
|
|
1539
|
+
* @param {string} value
|
|
1540
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1541
|
+
*/
|
|
1542
|
+
proto.ondewo.nlu.CcaiService.prototype.setAccountName = function(value) {
|
|
1543
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
1544
|
+
};
|
|
1545
|
+
|
|
1546
|
+
|
|
1547
|
+
/**
|
|
1548
|
+
* optional string account_password = 14;
|
|
1549
|
+
* @return {string}
|
|
1550
|
+
*/
|
|
1551
|
+
proto.ondewo.nlu.CcaiService.prototype.getAccountPassword = function() {
|
|
1552
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
|
|
1553
|
+
};
|
|
1554
|
+
|
|
1555
|
+
|
|
1556
|
+
/**
|
|
1557
|
+
* @param {string} value
|
|
1558
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1559
|
+
*/
|
|
1560
|
+
proto.ondewo.nlu.CcaiService.prototype.setAccountPassword = function(value) {
|
|
1561
|
+
return jspb.Message.setProto3StringField(this, 14, value);
|
|
1562
|
+
};
|
|
1563
|
+
|
|
1564
|
+
|
|
1565
|
+
/**
|
|
1566
|
+
* optional string api_key = 15;
|
|
1567
|
+
* @return {string}
|
|
1568
|
+
*/
|
|
1569
|
+
proto.ondewo.nlu.CcaiService.prototype.getApiKey = function() {
|
|
1570
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 15, ""));
|
|
1571
|
+
};
|
|
1572
|
+
|
|
1573
|
+
|
|
1574
|
+
/**
|
|
1575
|
+
* @param {string} value
|
|
1576
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1577
|
+
*/
|
|
1578
|
+
proto.ondewo.nlu.CcaiService.prototype.setApiKey = function(value) {
|
|
1579
|
+
return jspb.Message.setProto3StringField(this, 15, value);
|
|
1580
|
+
};
|
|
1581
|
+
|
|
1582
|
+
|
|
1583
|
+
/**
|
|
1584
|
+
* optional CcaiServiceType ccai_service_type = 16;
|
|
1585
|
+
* @return {!proto.ondewo.nlu.CcaiServiceType}
|
|
1586
|
+
*/
|
|
1587
|
+
proto.ondewo.nlu.CcaiService.prototype.getCcaiServiceType = function() {
|
|
1588
|
+
return /** @type {!proto.ondewo.nlu.CcaiServiceType} */ (jspb.Message.getFieldWithDefault(this, 16, 0));
|
|
1589
|
+
};
|
|
1590
|
+
|
|
1591
|
+
|
|
1592
|
+
/**
|
|
1593
|
+
* @param {!proto.ondewo.nlu.CcaiServiceType} value
|
|
1594
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1595
|
+
*/
|
|
1596
|
+
proto.ondewo.nlu.CcaiService.prototype.setCcaiServiceType = function(value) {
|
|
1597
|
+
return jspb.Message.setProto3EnumField(this, 16, value);
|
|
1598
|
+
};
|
|
1599
|
+
|
|
1600
|
+
|
|
1601
|
+
/**
|
|
1602
|
+
* optional string ccai_project_name = 17;
|
|
1603
|
+
* @return {string}
|
|
1604
|
+
*/
|
|
1605
|
+
proto.ondewo.nlu.CcaiService.prototype.getCcaiProjectName = function() {
|
|
1606
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 17, ""));
|
|
1607
|
+
};
|
|
1608
|
+
|
|
1609
|
+
|
|
1610
|
+
/**
|
|
1611
|
+
* @param {string} value
|
|
1612
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1613
|
+
*/
|
|
1614
|
+
proto.ondewo.nlu.CcaiService.prototype.setCcaiProjectName = function(value) {
|
|
1615
|
+
return jspb.Message.setProto3StringField(this, 17, value);
|
|
1616
|
+
};
|
|
1617
|
+
|
|
1618
|
+
|
|
1619
|
+
/**
|
|
1620
|
+
* optional google.protobuf.Struct ccai_service_config = 18;
|
|
1621
|
+
* @return {?proto.google.protobuf.Struct}
|
|
1622
|
+
*/
|
|
1623
|
+
proto.ondewo.nlu.CcaiService.prototype.getCcaiServiceConfig = function() {
|
|
1624
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
1625
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 18));
|
|
1626
|
+
};
|
|
1627
|
+
|
|
1628
|
+
|
|
1629
|
+
/**
|
|
1630
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
1631
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1632
|
+
*/
|
|
1633
|
+
proto.ondewo.nlu.CcaiService.prototype.setCcaiServiceConfig = function(value) {
|
|
1634
|
+
return jspb.Message.setWrapperField(this, 18, value);
|
|
1635
|
+
};
|
|
1636
|
+
|
|
1637
|
+
|
|
1638
|
+
/**
|
|
1639
|
+
* Clears the message field making it undefined.
|
|
1640
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1641
|
+
*/
|
|
1642
|
+
proto.ondewo.nlu.CcaiService.prototype.clearCcaiServiceConfig = function() {
|
|
1643
|
+
return this.setCcaiServiceConfig(undefined);
|
|
1644
|
+
};
|
|
1645
|
+
|
|
1646
|
+
|
|
1647
|
+
/**
|
|
1648
|
+
* Returns whether this field is set.
|
|
1649
|
+
* @return {boolean}
|
|
1650
|
+
*/
|
|
1651
|
+
proto.ondewo.nlu.CcaiService.prototype.hasCcaiServiceConfig = function() {
|
|
1652
|
+
return jspb.Message.getField(this, 18) != null;
|
|
1653
|
+
};
|
|
1654
|
+
|
|
1655
|
+
|
|
1656
|
+
/**
|
|
1657
|
+
* optional google.protobuf.Timestamp created_at = 19;
|
|
1658
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1659
|
+
*/
|
|
1660
|
+
proto.ondewo.nlu.CcaiService.prototype.getCreatedAt = function() {
|
|
1661
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1662
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 19));
|
|
1663
|
+
};
|
|
1664
|
+
|
|
1665
|
+
|
|
1666
|
+
/**
|
|
1667
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1668
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1669
|
+
*/
|
|
1670
|
+
proto.ondewo.nlu.CcaiService.prototype.setCreatedAt = function(value) {
|
|
1671
|
+
return jspb.Message.setWrapperField(this, 19, value);
|
|
1672
|
+
};
|
|
1673
|
+
|
|
1674
|
+
|
|
1675
|
+
/**
|
|
1676
|
+
* Clears the message field making it undefined.
|
|
1677
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1678
|
+
*/
|
|
1679
|
+
proto.ondewo.nlu.CcaiService.prototype.clearCreatedAt = function() {
|
|
1680
|
+
return this.setCreatedAt(undefined);
|
|
1681
|
+
};
|
|
1682
|
+
|
|
1683
|
+
|
|
1684
|
+
/**
|
|
1685
|
+
* Returns whether this field is set.
|
|
1686
|
+
* @return {boolean}
|
|
1687
|
+
*/
|
|
1688
|
+
proto.ondewo.nlu.CcaiService.prototype.hasCreatedAt = function() {
|
|
1689
|
+
return jspb.Message.getField(this, 19) != null;
|
|
1690
|
+
};
|
|
1691
|
+
|
|
1692
|
+
|
|
1693
|
+
/**
|
|
1694
|
+
* optional google.protobuf.Timestamp modified_at = 20;
|
|
1695
|
+
* @return {?proto.google.protobuf.Timestamp}
|
|
1696
|
+
*/
|
|
1697
|
+
proto.ondewo.nlu.CcaiService.prototype.getModifiedAt = function() {
|
|
1698
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
1699
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 20));
|
|
1700
|
+
};
|
|
1701
|
+
|
|
1702
|
+
|
|
1703
|
+
/**
|
|
1704
|
+
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
1705
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1706
|
+
*/
|
|
1707
|
+
proto.ondewo.nlu.CcaiService.prototype.setModifiedAt = function(value) {
|
|
1708
|
+
return jspb.Message.setWrapperField(this, 20, value);
|
|
1709
|
+
};
|
|
1710
|
+
|
|
1711
|
+
|
|
1712
|
+
/**
|
|
1713
|
+
* Clears the message field making it undefined.
|
|
1714
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1715
|
+
*/
|
|
1716
|
+
proto.ondewo.nlu.CcaiService.prototype.clearModifiedAt = function() {
|
|
1717
|
+
return this.setModifiedAt(undefined);
|
|
1718
|
+
};
|
|
1719
|
+
|
|
1720
|
+
|
|
1721
|
+
/**
|
|
1722
|
+
* Returns whether this field is set.
|
|
1723
|
+
* @return {boolean}
|
|
1724
|
+
*/
|
|
1725
|
+
proto.ondewo.nlu.CcaiService.prototype.hasModifiedAt = function() {
|
|
1726
|
+
return jspb.Message.getField(this, 20) != null;
|
|
1727
|
+
};
|
|
1728
|
+
|
|
1729
|
+
|
|
1730
|
+
/**
|
|
1731
|
+
* optional string created_by = 21;
|
|
1732
|
+
* @return {string}
|
|
1733
|
+
*/
|
|
1734
|
+
proto.ondewo.nlu.CcaiService.prototype.getCreatedBy = function() {
|
|
1735
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 21, ""));
|
|
1736
|
+
};
|
|
1737
|
+
|
|
1738
|
+
|
|
1739
|
+
/**
|
|
1740
|
+
* @param {string} value
|
|
1741
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1742
|
+
*/
|
|
1743
|
+
proto.ondewo.nlu.CcaiService.prototype.setCreatedBy = function(value) {
|
|
1744
|
+
return jspb.Message.setProto3StringField(this, 21, value);
|
|
1745
|
+
};
|
|
1746
|
+
|
|
1747
|
+
|
|
1748
|
+
/**
|
|
1749
|
+
* optional string modified_by = 22;
|
|
1750
|
+
* @return {string}
|
|
1751
|
+
*/
|
|
1752
|
+
proto.ondewo.nlu.CcaiService.prototype.getModifiedBy = function() {
|
|
1753
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 22, ""));
|
|
1754
|
+
};
|
|
1755
|
+
|
|
1756
|
+
|
|
1757
|
+
/**
|
|
1758
|
+
* @param {string} value
|
|
1759
|
+
* @return {!proto.ondewo.nlu.CcaiService} returns this
|
|
1760
|
+
*/
|
|
1761
|
+
proto.ondewo.nlu.CcaiService.prototype.setModifiedBy = function(value) {
|
|
1762
|
+
return jspb.Message.setProto3StringField(this, 22, value);
|
|
1763
|
+
};
|
|
1764
|
+
|
|
1765
|
+
|
|
1766
|
+
|
|
1767
|
+
|
|
1768
|
+
|
|
1769
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1770
|
+
/**
|
|
1771
|
+
* Creates an object representation of this proto.
|
|
1772
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1773
|
+
* Optional fields that are not set will be set to undefined.
|
|
1774
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1775
|
+
* For the list of reserved names please see:
|
|
1776
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1777
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1778
|
+
* JSPB instance for transitional soy proto support:
|
|
1779
|
+
* http://goto/soy-param-migration
|
|
1780
|
+
* @return {!Object}
|
|
1781
|
+
*/
|
|
1782
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
1783
|
+
return proto.ondewo.nlu.CreateCcaiProjectRequest.toObject(opt_includeInstance, this);
|
|
1784
|
+
};
|
|
1785
|
+
|
|
1786
|
+
|
|
1787
|
+
/**
|
|
1788
|
+
* Static version of the {@see toObject} method.
|
|
1789
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1790
|
+
* the JSPB instance for transitional soy proto support:
|
|
1791
|
+
* http://goto/soy-param-migration
|
|
1792
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectRequest} msg The msg instance to transform.
|
|
1793
|
+
* @return {!Object}
|
|
1794
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1795
|
+
*/
|
|
1796
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
1797
|
+
var f, obj = {
|
|
1798
|
+
ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
|
|
1799
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
1800
|
+
};
|
|
1801
|
+
|
|
1802
|
+
if (includeInstance) {
|
|
1803
|
+
obj.$jspbMessageInstance = msg;
|
|
1804
|
+
}
|
|
1805
|
+
return obj;
|
|
1806
|
+
};
|
|
1807
|
+
}
|
|
1808
|
+
|
|
1809
|
+
|
|
1810
|
+
/**
|
|
1811
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1812
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1813
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectRequest}
|
|
1814
|
+
*/
|
|
1815
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.deserializeBinary = function(bytes) {
|
|
1816
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1817
|
+
var msg = new proto.ondewo.nlu.CreateCcaiProjectRequest;
|
|
1818
|
+
return proto.ondewo.nlu.CreateCcaiProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
1819
|
+
};
|
|
1820
|
+
|
|
1821
|
+
|
|
1822
|
+
/**
|
|
1823
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
1824
|
+
* given reader into the given message object.
|
|
1825
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectRequest} msg The message object to deserialize into.
|
|
1826
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
1827
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectRequest}
|
|
1828
|
+
*/
|
|
1829
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
1830
|
+
while (reader.nextField()) {
|
|
1831
|
+
if (reader.isEndGroup()) {
|
|
1832
|
+
break;
|
|
1833
|
+
}
|
|
1834
|
+
var field = reader.getFieldNumber();
|
|
1835
|
+
switch (field) {
|
|
1836
|
+
case 1:
|
|
1837
|
+
var value = new proto.ondewo.nlu.CcaiProject;
|
|
1838
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader);
|
|
1839
|
+
msg.setCcaiProject(value);
|
|
1840
|
+
break;
|
|
1841
|
+
case 4:
|
|
1842
|
+
var value = /** @type {string} */ (reader.readString());
|
|
1843
|
+
msg.setNluProjectName(value);
|
|
1844
|
+
break;
|
|
1845
|
+
default:
|
|
1846
|
+
reader.skipField();
|
|
1847
|
+
break;
|
|
1848
|
+
}
|
|
1849
|
+
}
|
|
1850
|
+
return msg;
|
|
1851
|
+
};
|
|
1852
|
+
|
|
1853
|
+
|
|
1854
|
+
/**
|
|
1855
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
1856
|
+
* @return {!Uint8Array}
|
|
1857
|
+
*/
|
|
1858
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.serializeBinary = function() {
|
|
1859
|
+
var writer = new jspb.BinaryWriter();
|
|
1860
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.serializeBinaryToWriter(this, writer);
|
|
1861
|
+
return writer.getResultBuffer();
|
|
1862
|
+
};
|
|
1863
|
+
|
|
1864
|
+
|
|
1865
|
+
/**
|
|
1866
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
1867
|
+
* format), writing to the given BinaryWriter.
|
|
1868
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectRequest} message
|
|
1869
|
+
* @param {!jspb.BinaryWriter} writer
|
|
1870
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1871
|
+
*/
|
|
1872
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
1873
|
+
var f = undefined;
|
|
1874
|
+
f = message.getCcaiProject();
|
|
1875
|
+
if (f != null) {
|
|
1876
|
+
writer.writeMessage(
|
|
1877
|
+
1,
|
|
1878
|
+
f,
|
|
1879
|
+
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter
|
|
1880
|
+
);
|
|
1881
|
+
}
|
|
1882
|
+
f = message.getNluProjectName();
|
|
1883
|
+
if (f.length > 0) {
|
|
1884
|
+
writer.writeString(
|
|
1885
|
+
4,
|
|
1886
|
+
f
|
|
1887
|
+
);
|
|
1888
|
+
}
|
|
1889
|
+
};
|
|
1890
|
+
|
|
1891
|
+
|
|
1892
|
+
/**
|
|
1893
|
+
* optional CcaiProject ccai_project = 1;
|
|
1894
|
+
* @return {?proto.ondewo.nlu.CcaiProject}
|
|
1895
|
+
*/
|
|
1896
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.getCcaiProject = function() {
|
|
1897
|
+
return /** @type{?proto.ondewo.nlu.CcaiProject} */ (
|
|
1898
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiProject, 1));
|
|
1899
|
+
};
|
|
1900
|
+
|
|
1901
|
+
|
|
1902
|
+
/**
|
|
1903
|
+
* @param {?proto.ondewo.nlu.CcaiProject|undefined} value
|
|
1904
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectRequest} returns this
|
|
1905
|
+
*/
|
|
1906
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.setCcaiProject = function(value) {
|
|
1907
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
1908
|
+
};
|
|
1909
|
+
|
|
1910
|
+
|
|
1911
|
+
/**
|
|
1912
|
+
* Clears the message field making it undefined.
|
|
1913
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectRequest} returns this
|
|
1914
|
+
*/
|
|
1915
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.clearCcaiProject = function() {
|
|
1916
|
+
return this.setCcaiProject(undefined);
|
|
1917
|
+
};
|
|
1918
|
+
|
|
1919
|
+
|
|
1920
|
+
/**
|
|
1921
|
+
* Returns whether this field is set.
|
|
1922
|
+
* @return {boolean}
|
|
1923
|
+
*/
|
|
1924
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.hasCcaiProject = function() {
|
|
1925
|
+
return jspb.Message.getField(this, 1) != null;
|
|
1926
|
+
};
|
|
1927
|
+
|
|
1928
|
+
|
|
1929
|
+
/**
|
|
1930
|
+
* optional string nlu_project_name = 4;
|
|
1931
|
+
* @return {string}
|
|
1932
|
+
*/
|
|
1933
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.getNluProjectName = function() {
|
|
1934
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
1935
|
+
};
|
|
1936
|
+
|
|
1937
|
+
|
|
1938
|
+
/**
|
|
1939
|
+
* @param {string} value
|
|
1940
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectRequest} returns this
|
|
1941
|
+
*/
|
|
1942
|
+
proto.ondewo.nlu.CreateCcaiProjectRequest.prototype.setNluProjectName = function(value) {
|
|
1943
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
1944
|
+
};
|
|
1945
|
+
|
|
1946
|
+
|
|
1947
|
+
|
|
1948
|
+
|
|
1949
|
+
|
|
1950
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
1951
|
+
/**
|
|
1952
|
+
* Creates an object representation of this proto.
|
|
1953
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
1954
|
+
* Optional fields that are not set will be set to undefined.
|
|
1955
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
1956
|
+
* For the list of reserved names please see:
|
|
1957
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
1958
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
1959
|
+
* JSPB instance for transitional soy proto support:
|
|
1960
|
+
* http://goto/soy-param-migration
|
|
1961
|
+
* @return {!Object}
|
|
1962
|
+
*/
|
|
1963
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
1964
|
+
return proto.ondewo.nlu.CreateCcaiProjectResponse.toObject(opt_includeInstance, this);
|
|
1965
|
+
};
|
|
1966
|
+
|
|
1967
|
+
|
|
1968
|
+
/**
|
|
1969
|
+
* Static version of the {@see toObject} method.
|
|
1970
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
1971
|
+
* the JSPB instance for transitional soy proto support:
|
|
1972
|
+
* http://goto/soy-param-migration
|
|
1973
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectResponse} msg The msg instance to transform.
|
|
1974
|
+
* @return {!Object}
|
|
1975
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
1976
|
+
*/
|
|
1977
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.toObject = function(includeInstance, msg) {
|
|
1978
|
+
var f, obj = {
|
|
1979
|
+
ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
|
|
1980
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
1981
|
+
};
|
|
1982
|
+
|
|
1983
|
+
if (includeInstance) {
|
|
1984
|
+
obj.$jspbMessageInstance = msg;
|
|
1985
|
+
}
|
|
1986
|
+
return obj;
|
|
1987
|
+
};
|
|
1988
|
+
}
|
|
1989
|
+
|
|
1990
|
+
|
|
1991
|
+
/**
|
|
1992
|
+
* Deserializes binary data (in protobuf wire format).
|
|
1993
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
1994
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectResponse}
|
|
1995
|
+
*/
|
|
1996
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.deserializeBinary = function(bytes) {
|
|
1997
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
1998
|
+
var msg = new proto.ondewo.nlu.CreateCcaiProjectResponse;
|
|
1999
|
+
return proto.ondewo.nlu.CreateCcaiProjectResponse.deserializeBinaryFromReader(msg, reader);
|
|
2000
|
+
};
|
|
2001
|
+
|
|
2002
|
+
|
|
2003
|
+
/**
|
|
2004
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2005
|
+
* given reader into the given message object.
|
|
2006
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectResponse} msg The message object to deserialize into.
|
|
2007
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2008
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectResponse}
|
|
2009
|
+
*/
|
|
2010
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2011
|
+
while (reader.nextField()) {
|
|
2012
|
+
if (reader.isEndGroup()) {
|
|
2013
|
+
break;
|
|
2014
|
+
}
|
|
2015
|
+
var field = reader.getFieldNumber();
|
|
2016
|
+
switch (field) {
|
|
2017
|
+
case 1:
|
|
2018
|
+
var value = new proto.ondewo.nlu.CcaiProject;
|
|
2019
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader);
|
|
2020
|
+
msg.setCcaiProject(value);
|
|
2021
|
+
break;
|
|
2022
|
+
case 2:
|
|
2023
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2024
|
+
msg.setErrorMessage(value);
|
|
2025
|
+
break;
|
|
2026
|
+
default:
|
|
2027
|
+
reader.skipField();
|
|
2028
|
+
break;
|
|
2029
|
+
}
|
|
2030
|
+
}
|
|
2031
|
+
return msg;
|
|
2032
|
+
};
|
|
2033
|
+
|
|
2034
|
+
|
|
2035
|
+
/**
|
|
2036
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2037
|
+
* @return {!Uint8Array}
|
|
2038
|
+
*/
|
|
2039
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.serializeBinary = function() {
|
|
2040
|
+
var writer = new jspb.BinaryWriter();
|
|
2041
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.serializeBinaryToWriter(this, writer);
|
|
2042
|
+
return writer.getResultBuffer();
|
|
2043
|
+
};
|
|
2044
|
+
|
|
2045
|
+
|
|
2046
|
+
/**
|
|
2047
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2048
|
+
* format), writing to the given BinaryWriter.
|
|
2049
|
+
* @param {!proto.ondewo.nlu.CreateCcaiProjectResponse} message
|
|
2050
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2051
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2052
|
+
*/
|
|
2053
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2054
|
+
var f = undefined;
|
|
2055
|
+
f = message.getCcaiProject();
|
|
2056
|
+
if (f != null) {
|
|
2057
|
+
writer.writeMessage(
|
|
2058
|
+
1,
|
|
2059
|
+
f,
|
|
2060
|
+
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter
|
|
2061
|
+
);
|
|
2062
|
+
}
|
|
2063
|
+
f = message.getErrorMessage();
|
|
2064
|
+
if (f.length > 0) {
|
|
2065
|
+
writer.writeString(
|
|
2066
|
+
2,
|
|
2067
|
+
f
|
|
2068
|
+
);
|
|
2069
|
+
}
|
|
2070
|
+
};
|
|
2071
|
+
|
|
2072
|
+
|
|
2073
|
+
/**
|
|
2074
|
+
* optional CcaiProject ccai_project = 1;
|
|
2075
|
+
* @return {?proto.ondewo.nlu.CcaiProject}
|
|
2076
|
+
*/
|
|
2077
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.getCcaiProject = function() {
|
|
2078
|
+
return /** @type{?proto.ondewo.nlu.CcaiProject} */ (
|
|
2079
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiProject, 1));
|
|
2080
|
+
};
|
|
2081
|
+
|
|
2082
|
+
|
|
2083
|
+
/**
|
|
2084
|
+
* @param {?proto.ondewo.nlu.CcaiProject|undefined} value
|
|
2085
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectResponse} returns this
|
|
2086
|
+
*/
|
|
2087
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.setCcaiProject = function(value) {
|
|
2088
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
2089
|
+
};
|
|
2090
|
+
|
|
2091
|
+
|
|
2092
|
+
/**
|
|
2093
|
+
* Clears the message field making it undefined.
|
|
2094
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectResponse} returns this
|
|
2095
|
+
*/
|
|
2096
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.clearCcaiProject = function() {
|
|
2097
|
+
return this.setCcaiProject(undefined);
|
|
2098
|
+
};
|
|
2099
|
+
|
|
2100
|
+
|
|
2101
|
+
/**
|
|
2102
|
+
* Returns whether this field is set.
|
|
2103
|
+
* @return {boolean}
|
|
2104
|
+
*/
|
|
2105
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.hasCcaiProject = function() {
|
|
2106
|
+
return jspb.Message.getField(this, 1) != null;
|
|
2107
|
+
};
|
|
2108
|
+
|
|
2109
|
+
|
|
2110
|
+
/**
|
|
2111
|
+
* optional string error_message = 2;
|
|
2112
|
+
* @return {string}
|
|
2113
|
+
*/
|
|
2114
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.getErrorMessage = function() {
|
|
2115
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2116
|
+
};
|
|
2117
|
+
|
|
2118
|
+
|
|
2119
|
+
/**
|
|
2120
|
+
* @param {string} value
|
|
2121
|
+
* @return {!proto.ondewo.nlu.CreateCcaiProjectResponse} returns this
|
|
2122
|
+
*/
|
|
2123
|
+
proto.ondewo.nlu.CreateCcaiProjectResponse.prototype.setErrorMessage = function(value) {
|
|
2124
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2125
|
+
};
|
|
2126
|
+
|
|
2127
|
+
|
|
2128
|
+
|
|
2129
|
+
|
|
2130
|
+
|
|
2131
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2132
|
+
/**
|
|
2133
|
+
* Creates an object representation of this proto.
|
|
2134
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2135
|
+
* Optional fields that are not set will be set to undefined.
|
|
2136
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2137
|
+
* For the list of reserved names please see:
|
|
2138
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2139
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2140
|
+
* JSPB instance for transitional soy proto support:
|
|
2141
|
+
* http://goto/soy-param-migration
|
|
2142
|
+
* @return {!Object}
|
|
2143
|
+
*/
|
|
2144
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2145
|
+
return proto.ondewo.nlu.GetCcaiProjectRequest.toObject(opt_includeInstance, this);
|
|
2146
|
+
};
|
|
2147
|
+
|
|
2148
|
+
|
|
2149
|
+
/**
|
|
2150
|
+
* Static version of the {@see toObject} method.
|
|
2151
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2152
|
+
* the JSPB instance for transitional soy proto support:
|
|
2153
|
+
* http://goto/soy-param-migration
|
|
2154
|
+
* @param {!proto.ondewo.nlu.GetCcaiProjectRequest} msg The msg instance to transform.
|
|
2155
|
+
* @return {!Object}
|
|
2156
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2157
|
+
*/
|
|
2158
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
2159
|
+
var f, obj = {
|
|
2160
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
2161
|
+
ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
2162
|
+
ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
|
|
2163
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
2164
|
+
};
|
|
2165
|
+
|
|
2166
|
+
if (includeInstance) {
|
|
2167
|
+
obj.$jspbMessageInstance = msg;
|
|
2168
|
+
}
|
|
2169
|
+
return obj;
|
|
2170
|
+
};
|
|
2171
|
+
}
|
|
2172
|
+
|
|
2173
|
+
|
|
2174
|
+
/**
|
|
2175
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2176
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2177
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest}
|
|
2178
|
+
*/
|
|
2179
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.deserializeBinary = function(bytes) {
|
|
2180
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2181
|
+
var msg = new proto.ondewo.nlu.GetCcaiProjectRequest;
|
|
2182
|
+
return proto.ondewo.nlu.GetCcaiProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
2183
|
+
};
|
|
2184
|
+
|
|
2185
|
+
|
|
2186
|
+
/**
|
|
2187
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2188
|
+
* given reader into the given message object.
|
|
2189
|
+
* @param {!proto.ondewo.nlu.GetCcaiProjectRequest} msg The message object to deserialize into.
|
|
2190
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2191
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest}
|
|
2192
|
+
*/
|
|
2193
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2194
|
+
while (reader.nextField()) {
|
|
2195
|
+
if (reader.isEndGroup()) {
|
|
2196
|
+
break;
|
|
2197
|
+
}
|
|
2198
|
+
var field = reader.getFieldNumber();
|
|
2199
|
+
switch (field) {
|
|
2200
|
+
case 1:
|
|
2201
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2202
|
+
msg.setName(value);
|
|
2203
|
+
break;
|
|
2204
|
+
case 2:
|
|
2205
|
+
var value = /** @type {!proto.ondewo.nlu.CcaiProjectView} */ (reader.readEnum());
|
|
2206
|
+
msg.setCcaiProjectView(value);
|
|
2207
|
+
break;
|
|
2208
|
+
case 3:
|
|
2209
|
+
var value = new proto.ondewo.nlu.CcaiServiceFilter;
|
|
2210
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiServiceFilter.deserializeBinaryFromReader);
|
|
2211
|
+
msg.setCcaiServiceFilter(value);
|
|
2212
|
+
break;
|
|
2213
|
+
case 4:
|
|
2214
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2215
|
+
msg.setNluProjectName(value);
|
|
2216
|
+
break;
|
|
2217
|
+
default:
|
|
2218
|
+
reader.skipField();
|
|
2219
|
+
break;
|
|
2220
|
+
}
|
|
2221
|
+
}
|
|
2222
|
+
return msg;
|
|
2223
|
+
};
|
|
2224
|
+
|
|
2225
|
+
|
|
2226
|
+
/**
|
|
2227
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2228
|
+
* @return {!Uint8Array}
|
|
2229
|
+
*/
|
|
2230
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.serializeBinary = function() {
|
|
2231
|
+
var writer = new jspb.BinaryWriter();
|
|
2232
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.serializeBinaryToWriter(this, writer);
|
|
2233
|
+
return writer.getResultBuffer();
|
|
2234
|
+
};
|
|
2235
|
+
|
|
2236
|
+
|
|
2237
|
+
/**
|
|
2238
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2239
|
+
* format), writing to the given BinaryWriter.
|
|
2240
|
+
* @param {!proto.ondewo.nlu.GetCcaiProjectRequest} message
|
|
2241
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2242
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2243
|
+
*/
|
|
2244
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2245
|
+
var f = undefined;
|
|
2246
|
+
f = message.getName();
|
|
2247
|
+
if (f.length > 0) {
|
|
2248
|
+
writer.writeString(
|
|
2249
|
+
1,
|
|
2250
|
+
f
|
|
2251
|
+
);
|
|
2252
|
+
}
|
|
2253
|
+
f = /** @type {!proto.ondewo.nlu.CcaiProjectView} */ (jspb.Message.getField(message, 2));
|
|
2254
|
+
if (f != null) {
|
|
2255
|
+
writer.writeEnum(
|
|
2256
|
+
2,
|
|
2257
|
+
f
|
|
2258
|
+
);
|
|
2259
|
+
}
|
|
2260
|
+
f = message.getCcaiServiceFilter();
|
|
2261
|
+
if (f != null) {
|
|
2262
|
+
writer.writeMessage(
|
|
2263
|
+
3,
|
|
2264
|
+
f,
|
|
2265
|
+
proto.ondewo.nlu.CcaiServiceFilter.serializeBinaryToWriter
|
|
2266
|
+
);
|
|
2267
|
+
}
|
|
2268
|
+
f = message.getNluProjectName();
|
|
2269
|
+
if (f.length > 0) {
|
|
2270
|
+
writer.writeString(
|
|
2271
|
+
4,
|
|
2272
|
+
f
|
|
2273
|
+
);
|
|
2274
|
+
}
|
|
2275
|
+
};
|
|
2276
|
+
|
|
2277
|
+
|
|
2278
|
+
/**
|
|
2279
|
+
* optional string name = 1;
|
|
2280
|
+
* @return {string}
|
|
2281
|
+
*/
|
|
2282
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.getName = function() {
|
|
2283
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
2284
|
+
};
|
|
2285
|
+
|
|
2286
|
+
|
|
2287
|
+
/**
|
|
2288
|
+
* @param {string} value
|
|
2289
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2290
|
+
*/
|
|
2291
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setName = function(value) {
|
|
2292
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
2293
|
+
};
|
|
2294
|
+
|
|
2295
|
+
|
|
2296
|
+
/**
|
|
2297
|
+
* optional CcaiProjectView ccai_project_view = 2;
|
|
2298
|
+
* @return {!proto.ondewo.nlu.CcaiProjectView}
|
|
2299
|
+
*/
|
|
2300
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.getCcaiProjectView = function() {
|
|
2301
|
+
return /** @type {!proto.ondewo.nlu.CcaiProjectView} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
2302
|
+
};
|
|
2303
|
+
|
|
2304
|
+
|
|
2305
|
+
/**
|
|
2306
|
+
* @param {!proto.ondewo.nlu.CcaiProjectView} value
|
|
2307
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2308
|
+
*/
|
|
2309
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setCcaiProjectView = function(value) {
|
|
2310
|
+
return jspb.Message.setField(this, 2, value);
|
|
2311
|
+
};
|
|
2312
|
+
|
|
2313
|
+
|
|
2314
|
+
/**
|
|
2315
|
+
* Clears the field making it undefined.
|
|
2316
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2317
|
+
*/
|
|
2318
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.clearCcaiProjectView = function() {
|
|
2319
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
2320
|
+
};
|
|
2321
|
+
|
|
2322
|
+
|
|
2323
|
+
/**
|
|
2324
|
+
* Returns whether this field is set.
|
|
2325
|
+
* @return {boolean}
|
|
2326
|
+
*/
|
|
2327
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.hasCcaiProjectView = function() {
|
|
2328
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2329
|
+
};
|
|
2330
|
+
|
|
2331
|
+
|
|
2332
|
+
/**
|
|
2333
|
+
* optional CcaiServiceFilter ccai_service_filter = 3;
|
|
2334
|
+
* @return {?proto.ondewo.nlu.CcaiServiceFilter}
|
|
2335
|
+
*/
|
|
2336
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.getCcaiServiceFilter = function() {
|
|
2337
|
+
return /** @type{?proto.ondewo.nlu.CcaiServiceFilter} */ (
|
|
2338
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiServiceFilter, 3));
|
|
2339
|
+
};
|
|
2340
|
+
|
|
2341
|
+
|
|
2342
|
+
/**
|
|
2343
|
+
* @param {?proto.ondewo.nlu.CcaiServiceFilter|undefined} value
|
|
2344
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2345
|
+
*/
|
|
2346
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setCcaiServiceFilter = function(value) {
|
|
2347
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
2348
|
+
};
|
|
2349
|
+
|
|
2350
|
+
|
|
2351
|
+
/**
|
|
2352
|
+
* Clears the message field making it undefined.
|
|
2353
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2354
|
+
*/
|
|
2355
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.clearCcaiServiceFilter = function() {
|
|
2356
|
+
return this.setCcaiServiceFilter(undefined);
|
|
2357
|
+
};
|
|
2358
|
+
|
|
2359
|
+
|
|
2360
|
+
/**
|
|
2361
|
+
* Returns whether this field is set.
|
|
2362
|
+
* @return {boolean}
|
|
2363
|
+
*/
|
|
2364
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.hasCcaiServiceFilter = function() {
|
|
2365
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2366
|
+
};
|
|
2367
|
+
|
|
2368
|
+
|
|
2369
|
+
/**
|
|
2370
|
+
* optional string nlu_project_name = 4;
|
|
2371
|
+
* @return {string}
|
|
2372
|
+
*/
|
|
2373
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.getNluProjectName = function() {
|
|
2374
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2375
|
+
};
|
|
2376
|
+
|
|
2377
|
+
|
|
2378
|
+
/**
|
|
2379
|
+
* @param {string} value
|
|
2380
|
+
* @return {!proto.ondewo.nlu.GetCcaiProjectRequest} returns this
|
|
2381
|
+
*/
|
|
2382
|
+
proto.ondewo.nlu.GetCcaiProjectRequest.prototype.setNluProjectName = function(value) {
|
|
2383
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
2384
|
+
};
|
|
2385
|
+
|
|
2386
|
+
|
|
2387
|
+
|
|
2388
|
+
|
|
2389
|
+
|
|
2390
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2391
|
+
/**
|
|
2392
|
+
* Creates an object representation of this proto.
|
|
2393
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2394
|
+
* Optional fields that are not set will be set to undefined.
|
|
2395
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2396
|
+
* For the list of reserved names please see:
|
|
2397
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2398
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2399
|
+
* JSPB instance for transitional soy proto support:
|
|
2400
|
+
* http://goto/soy-param-migration
|
|
2401
|
+
* @return {!Object}
|
|
2402
|
+
*/
|
|
2403
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
2404
|
+
return proto.ondewo.nlu.ListCcaiProjectsRequest.toObject(opt_includeInstance, this);
|
|
2405
|
+
};
|
|
2406
|
+
|
|
2407
|
+
|
|
2408
|
+
/**
|
|
2409
|
+
* Static version of the {@see toObject} method.
|
|
2410
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2411
|
+
* the JSPB instance for transitional soy proto support:
|
|
2412
|
+
* http://goto/soy-param-migration
|
|
2413
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsRequest} msg The msg instance to transform.
|
|
2414
|
+
* @return {!Object}
|
|
2415
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2416
|
+
*/
|
|
2417
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.toObject = function(includeInstance, msg) {
|
|
2418
|
+
var f, obj = {
|
|
2419
|
+
ccaiProjectView: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2420
|
+
ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
|
|
2421
|
+
ccaiProjectSorting: (f = msg.getCcaiProjectSorting()) && proto.ondewo.nlu.CcaiProjectSorting.toObject(includeInstance, f),
|
|
2422
|
+
pageToken: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
2423
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
2424
|
+
};
|
|
2425
|
+
|
|
2426
|
+
if (includeInstance) {
|
|
2427
|
+
obj.$jspbMessageInstance = msg;
|
|
2428
|
+
}
|
|
2429
|
+
return obj;
|
|
2430
|
+
};
|
|
2431
|
+
}
|
|
2432
|
+
|
|
2433
|
+
|
|
2434
|
+
/**
|
|
2435
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2436
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2437
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest}
|
|
2438
|
+
*/
|
|
2439
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.deserializeBinary = function(bytes) {
|
|
2440
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2441
|
+
var msg = new proto.ondewo.nlu.ListCcaiProjectsRequest;
|
|
2442
|
+
return proto.ondewo.nlu.ListCcaiProjectsRequest.deserializeBinaryFromReader(msg, reader);
|
|
2443
|
+
};
|
|
2444
|
+
|
|
2445
|
+
|
|
2446
|
+
/**
|
|
2447
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2448
|
+
* given reader into the given message object.
|
|
2449
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsRequest} msg The message object to deserialize into.
|
|
2450
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2451
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest}
|
|
2452
|
+
*/
|
|
2453
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
2454
|
+
while (reader.nextField()) {
|
|
2455
|
+
if (reader.isEndGroup()) {
|
|
2456
|
+
break;
|
|
2457
|
+
}
|
|
2458
|
+
var field = reader.getFieldNumber();
|
|
2459
|
+
switch (field) {
|
|
2460
|
+
case 1:
|
|
2461
|
+
var value = /** @type {!proto.ondewo.nlu.CcaiProjectView} */ (reader.readEnum());
|
|
2462
|
+
msg.setCcaiProjectView(value);
|
|
2463
|
+
break;
|
|
2464
|
+
case 2:
|
|
2465
|
+
var value = new proto.ondewo.nlu.CcaiServiceFilter;
|
|
2466
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiServiceFilter.deserializeBinaryFromReader);
|
|
2467
|
+
msg.setCcaiServiceFilter(value);
|
|
2468
|
+
break;
|
|
2469
|
+
case 3:
|
|
2470
|
+
var value = new proto.ondewo.nlu.CcaiProjectSorting;
|
|
2471
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiProjectSorting.deserializeBinaryFromReader);
|
|
2472
|
+
msg.setCcaiProjectSorting(value);
|
|
2473
|
+
break;
|
|
2474
|
+
case 4:
|
|
2475
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2476
|
+
msg.setPageToken(value);
|
|
2477
|
+
break;
|
|
2478
|
+
case 5:
|
|
2479
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2480
|
+
msg.setNluProjectName(value);
|
|
2481
|
+
break;
|
|
2482
|
+
default:
|
|
2483
|
+
reader.skipField();
|
|
2484
|
+
break;
|
|
2485
|
+
}
|
|
2486
|
+
}
|
|
2487
|
+
return msg;
|
|
2488
|
+
};
|
|
2489
|
+
|
|
2490
|
+
|
|
2491
|
+
/**
|
|
2492
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2493
|
+
* @return {!Uint8Array}
|
|
2494
|
+
*/
|
|
2495
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.serializeBinary = function() {
|
|
2496
|
+
var writer = new jspb.BinaryWriter();
|
|
2497
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.serializeBinaryToWriter(this, writer);
|
|
2498
|
+
return writer.getResultBuffer();
|
|
2499
|
+
};
|
|
2500
|
+
|
|
2501
|
+
|
|
2502
|
+
/**
|
|
2503
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2504
|
+
* format), writing to the given BinaryWriter.
|
|
2505
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsRequest} message
|
|
2506
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2507
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2508
|
+
*/
|
|
2509
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
2510
|
+
var f = undefined;
|
|
2511
|
+
f = message.getCcaiProjectView();
|
|
2512
|
+
if (f !== 0.0) {
|
|
2513
|
+
writer.writeEnum(
|
|
2514
|
+
1,
|
|
2515
|
+
f
|
|
2516
|
+
);
|
|
2517
|
+
}
|
|
2518
|
+
f = message.getCcaiServiceFilter();
|
|
2519
|
+
if (f != null) {
|
|
2520
|
+
writer.writeMessage(
|
|
2521
|
+
2,
|
|
2522
|
+
f,
|
|
2523
|
+
proto.ondewo.nlu.CcaiServiceFilter.serializeBinaryToWriter
|
|
2524
|
+
);
|
|
2525
|
+
}
|
|
2526
|
+
f = message.getCcaiProjectSorting();
|
|
2527
|
+
if (f != null) {
|
|
2528
|
+
writer.writeMessage(
|
|
2529
|
+
3,
|
|
2530
|
+
f,
|
|
2531
|
+
proto.ondewo.nlu.CcaiProjectSorting.serializeBinaryToWriter
|
|
2532
|
+
);
|
|
2533
|
+
}
|
|
2534
|
+
f = /** @type {string} */ (jspb.Message.getField(message, 4));
|
|
2535
|
+
if (f != null) {
|
|
2536
|
+
writer.writeString(
|
|
2537
|
+
4,
|
|
2538
|
+
f
|
|
2539
|
+
);
|
|
2540
|
+
}
|
|
2541
|
+
f = message.getNluProjectName();
|
|
2542
|
+
if (f.length > 0) {
|
|
2543
|
+
writer.writeString(
|
|
2544
|
+
5,
|
|
2545
|
+
f
|
|
2546
|
+
);
|
|
2547
|
+
}
|
|
2548
|
+
};
|
|
2549
|
+
|
|
2550
|
+
|
|
2551
|
+
/**
|
|
2552
|
+
* optional CcaiProjectView ccai_project_view = 1;
|
|
2553
|
+
* @return {!proto.ondewo.nlu.CcaiProjectView}
|
|
2554
|
+
*/
|
|
2555
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.getCcaiProjectView = function() {
|
|
2556
|
+
return /** @type {!proto.ondewo.nlu.CcaiProjectView} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
2557
|
+
};
|
|
2558
|
+
|
|
2559
|
+
|
|
2560
|
+
/**
|
|
2561
|
+
* @param {!proto.ondewo.nlu.CcaiProjectView} value
|
|
2562
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2563
|
+
*/
|
|
2564
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setCcaiProjectView = function(value) {
|
|
2565
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
2566
|
+
};
|
|
2567
|
+
|
|
2568
|
+
|
|
2569
|
+
/**
|
|
2570
|
+
* optional CcaiServiceFilter ccai_service_filter = 2;
|
|
2571
|
+
* @return {?proto.ondewo.nlu.CcaiServiceFilter}
|
|
2572
|
+
*/
|
|
2573
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.getCcaiServiceFilter = function() {
|
|
2574
|
+
return /** @type{?proto.ondewo.nlu.CcaiServiceFilter} */ (
|
|
2575
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiServiceFilter, 2));
|
|
2576
|
+
};
|
|
2577
|
+
|
|
2578
|
+
|
|
2579
|
+
/**
|
|
2580
|
+
* @param {?proto.ondewo.nlu.CcaiServiceFilter|undefined} value
|
|
2581
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2582
|
+
*/
|
|
2583
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setCcaiServiceFilter = function(value) {
|
|
2584
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
2585
|
+
};
|
|
2586
|
+
|
|
2587
|
+
|
|
2588
|
+
/**
|
|
2589
|
+
* Clears the message field making it undefined.
|
|
2590
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2591
|
+
*/
|
|
2592
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.clearCcaiServiceFilter = function() {
|
|
2593
|
+
return this.setCcaiServiceFilter(undefined);
|
|
2594
|
+
};
|
|
2595
|
+
|
|
2596
|
+
|
|
2597
|
+
/**
|
|
2598
|
+
* Returns whether this field is set.
|
|
2599
|
+
* @return {boolean}
|
|
2600
|
+
*/
|
|
2601
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.hasCcaiServiceFilter = function() {
|
|
2602
|
+
return jspb.Message.getField(this, 2) != null;
|
|
2603
|
+
};
|
|
2604
|
+
|
|
2605
|
+
|
|
2606
|
+
/**
|
|
2607
|
+
* optional CcaiProjectSorting ccai_project_sorting = 3;
|
|
2608
|
+
* @return {?proto.ondewo.nlu.CcaiProjectSorting}
|
|
2609
|
+
*/
|
|
2610
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.getCcaiProjectSorting = function() {
|
|
2611
|
+
return /** @type{?proto.ondewo.nlu.CcaiProjectSorting} */ (
|
|
2612
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiProjectSorting, 3));
|
|
2613
|
+
};
|
|
2614
|
+
|
|
2615
|
+
|
|
2616
|
+
/**
|
|
2617
|
+
* @param {?proto.ondewo.nlu.CcaiProjectSorting|undefined} value
|
|
2618
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2619
|
+
*/
|
|
2620
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setCcaiProjectSorting = function(value) {
|
|
2621
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
2622
|
+
};
|
|
2623
|
+
|
|
2624
|
+
|
|
2625
|
+
/**
|
|
2626
|
+
* Clears the message field making it undefined.
|
|
2627
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2628
|
+
*/
|
|
2629
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.clearCcaiProjectSorting = function() {
|
|
2630
|
+
return this.setCcaiProjectSorting(undefined);
|
|
2631
|
+
};
|
|
2632
|
+
|
|
2633
|
+
|
|
2634
|
+
/**
|
|
2635
|
+
* Returns whether this field is set.
|
|
2636
|
+
* @return {boolean}
|
|
2637
|
+
*/
|
|
2638
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.hasCcaiProjectSorting = function() {
|
|
2639
|
+
return jspb.Message.getField(this, 3) != null;
|
|
2640
|
+
};
|
|
2641
|
+
|
|
2642
|
+
|
|
2643
|
+
/**
|
|
2644
|
+
* optional string page_token = 4;
|
|
2645
|
+
* @return {string}
|
|
2646
|
+
*/
|
|
2647
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.getPageToken = function() {
|
|
2648
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
2649
|
+
};
|
|
2650
|
+
|
|
2651
|
+
|
|
2652
|
+
/**
|
|
2653
|
+
* @param {string} value
|
|
2654
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2655
|
+
*/
|
|
2656
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setPageToken = function(value) {
|
|
2657
|
+
return jspb.Message.setField(this, 4, value);
|
|
2658
|
+
};
|
|
2659
|
+
|
|
2660
|
+
|
|
2661
|
+
/**
|
|
2662
|
+
* Clears the field making it undefined.
|
|
2663
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2664
|
+
*/
|
|
2665
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.clearPageToken = function() {
|
|
2666
|
+
return jspb.Message.setField(this, 4, undefined);
|
|
2667
|
+
};
|
|
2668
|
+
|
|
2669
|
+
|
|
2670
|
+
/**
|
|
2671
|
+
* Returns whether this field is set.
|
|
2672
|
+
* @return {boolean}
|
|
2673
|
+
*/
|
|
2674
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.hasPageToken = function() {
|
|
2675
|
+
return jspb.Message.getField(this, 4) != null;
|
|
2676
|
+
};
|
|
2677
|
+
|
|
2678
|
+
|
|
2679
|
+
/**
|
|
2680
|
+
* optional string nlu_project_name = 5;
|
|
2681
|
+
* @return {string}
|
|
2682
|
+
*/
|
|
2683
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.getNluProjectName = function() {
|
|
2684
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
2685
|
+
};
|
|
2686
|
+
|
|
2687
|
+
|
|
2688
|
+
/**
|
|
2689
|
+
* @param {string} value
|
|
2690
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsRequest} returns this
|
|
2691
|
+
*/
|
|
2692
|
+
proto.ondewo.nlu.ListCcaiProjectsRequest.prototype.setNluProjectName = function(value) {
|
|
2693
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
2694
|
+
};
|
|
2695
|
+
|
|
2696
|
+
|
|
2697
|
+
|
|
2698
|
+
/**
|
|
2699
|
+
* List of repeated fields within this message type.
|
|
2700
|
+
* @private {!Array<number>}
|
|
2701
|
+
* @const
|
|
2702
|
+
*/
|
|
2703
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.repeatedFields_ = [1];
|
|
2704
|
+
|
|
2705
|
+
|
|
2706
|
+
|
|
2707
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2708
|
+
/**
|
|
2709
|
+
* Creates an object representation of this proto.
|
|
2710
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2711
|
+
* Optional fields that are not set will be set to undefined.
|
|
2712
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2713
|
+
* For the list of reserved names please see:
|
|
2714
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2715
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2716
|
+
* JSPB instance for transitional soy proto support:
|
|
2717
|
+
* http://goto/soy-param-migration
|
|
2718
|
+
* @return {!Object}
|
|
2719
|
+
*/
|
|
2720
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
2721
|
+
return proto.ondewo.nlu.ListCcaiProjectsResponse.toObject(opt_includeInstance, this);
|
|
2722
|
+
};
|
|
2723
|
+
|
|
2724
|
+
|
|
2725
|
+
/**
|
|
2726
|
+
* Static version of the {@see toObject} method.
|
|
2727
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2728
|
+
* the JSPB instance for transitional soy proto support:
|
|
2729
|
+
* http://goto/soy-param-migration
|
|
2730
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsResponse} msg The msg instance to transform.
|
|
2731
|
+
* @return {!Object}
|
|
2732
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2733
|
+
*/
|
|
2734
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.toObject = function(includeInstance, msg) {
|
|
2735
|
+
var f, obj = {
|
|
2736
|
+
ccaiProjectsList: jspb.Message.toObjectList(msg.getCcaiProjectsList(),
|
|
2737
|
+
proto.ondewo.nlu.CcaiProject.toObject, includeInstance),
|
|
2738
|
+
nextPageToken: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
2739
|
+
};
|
|
2740
|
+
|
|
2741
|
+
if (includeInstance) {
|
|
2742
|
+
obj.$jspbMessageInstance = msg;
|
|
2743
|
+
}
|
|
2744
|
+
return obj;
|
|
2745
|
+
};
|
|
2746
|
+
}
|
|
2747
|
+
|
|
2748
|
+
|
|
2749
|
+
/**
|
|
2750
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2751
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2752
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsResponse}
|
|
2753
|
+
*/
|
|
2754
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.deserializeBinary = function(bytes) {
|
|
2755
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2756
|
+
var msg = new proto.ondewo.nlu.ListCcaiProjectsResponse;
|
|
2757
|
+
return proto.ondewo.nlu.ListCcaiProjectsResponse.deserializeBinaryFromReader(msg, reader);
|
|
2758
|
+
};
|
|
2759
|
+
|
|
2760
|
+
|
|
2761
|
+
/**
|
|
2762
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2763
|
+
* given reader into the given message object.
|
|
2764
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsResponse} msg The message object to deserialize into.
|
|
2765
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2766
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsResponse}
|
|
2767
|
+
*/
|
|
2768
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
2769
|
+
while (reader.nextField()) {
|
|
2770
|
+
if (reader.isEndGroup()) {
|
|
2771
|
+
break;
|
|
2772
|
+
}
|
|
2773
|
+
var field = reader.getFieldNumber();
|
|
2774
|
+
switch (field) {
|
|
2775
|
+
case 1:
|
|
2776
|
+
var value = new proto.ondewo.nlu.CcaiProject;
|
|
2777
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader);
|
|
2778
|
+
msg.addCcaiProjects(value);
|
|
2779
|
+
break;
|
|
2780
|
+
case 2:
|
|
2781
|
+
var value = /** @type {string} */ (reader.readString());
|
|
2782
|
+
msg.setNextPageToken(value);
|
|
2783
|
+
break;
|
|
2784
|
+
default:
|
|
2785
|
+
reader.skipField();
|
|
2786
|
+
break;
|
|
2787
|
+
}
|
|
2788
|
+
}
|
|
2789
|
+
return msg;
|
|
2790
|
+
};
|
|
2791
|
+
|
|
2792
|
+
|
|
2793
|
+
/**
|
|
2794
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2795
|
+
* @return {!Uint8Array}
|
|
2796
|
+
*/
|
|
2797
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.serializeBinary = function() {
|
|
2798
|
+
var writer = new jspb.BinaryWriter();
|
|
2799
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.serializeBinaryToWriter(this, writer);
|
|
2800
|
+
return writer.getResultBuffer();
|
|
2801
|
+
};
|
|
2802
|
+
|
|
2803
|
+
|
|
2804
|
+
/**
|
|
2805
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2806
|
+
* format), writing to the given BinaryWriter.
|
|
2807
|
+
* @param {!proto.ondewo.nlu.ListCcaiProjectsResponse} message
|
|
2808
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2809
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2810
|
+
*/
|
|
2811
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
2812
|
+
var f = undefined;
|
|
2813
|
+
f = message.getCcaiProjectsList();
|
|
2814
|
+
if (f.length > 0) {
|
|
2815
|
+
writer.writeRepeatedMessage(
|
|
2816
|
+
1,
|
|
2817
|
+
f,
|
|
2818
|
+
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter
|
|
2819
|
+
);
|
|
2820
|
+
}
|
|
2821
|
+
f = message.getNextPageToken();
|
|
2822
|
+
if (f.length > 0) {
|
|
2823
|
+
writer.writeString(
|
|
2824
|
+
2,
|
|
2825
|
+
f
|
|
2826
|
+
);
|
|
2827
|
+
}
|
|
2828
|
+
};
|
|
2829
|
+
|
|
2830
|
+
|
|
2831
|
+
/**
|
|
2832
|
+
* repeated CcaiProject ccai_projects = 1;
|
|
2833
|
+
* @return {!Array<!proto.ondewo.nlu.CcaiProject>}
|
|
2834
|
+
*/
|
|
2835
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.getCcaiProjectsList = function() {
|
|
2836
|
+
return /** @type{!Array<!proto.ondewo.nlu.CcaiProject>} */ (
|
|
2837
|
+
jspb.Message.getRepeatedWrapperField(this, proto.ondewo.nlu.CcaiProject, 1));
|
|
2838
|
+
};
|
|
2839
|
+
|
|
2840
|
+
|
|
2841
|
+
/**
|
|
2842
|
+
* @param {!Array<!proto.ondewo.nlu.CcaiProject>} value
|
|
2843
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsResponse} returns this
|
|
2844
|
+
*/
|
|
2845
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.setCcaiProjectsList = function(value) {
|
|
2846
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
2847
|
+
};
|
|
2848
|
+
|
|
2849
|
+
|
|
2850
|
+
/**
|
|
2851
|
+
* @param {!proto.ondewo.nlu.CcaiProject=} opt_value
|
|
2852
|
+
* @param {number=} opt_index
|
|
2853
|
+
* @return {!proto.ondewo.nlu.CcaiProject}
|
|
2854
|
+
*/
|
|
2855
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.addCcaiProjects = function(opt_value, opt_index) {
|
|
2856
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.ondewo.nlu.CcaiProject, opt_index);
|
|
2857
|
+
};
|
|
2858
|
+
|
|
2859
|
+
|
|
2860
|
+
/**
|
|
2861
|
+
* Clears the list making it empty but non-null.
|
|
2862
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsResponse} returns this
|
|
2863
|
+
*/
|
|
2864
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.clearCcaiProjectsList = function() {
|
|
2865
|
+
return this.setCcaiProjectsList([]);
|
|
2866
|
+
};
|
|
2867
|
+
|
|
2868
|
+
|
|
2869
|
+
/**
|
|
2870
|
+
* optional string next_page_token = 2;
|
|
2871
|
+
* @return {string}
|
|
2872
|
+
*/
|
|
2873
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.getNextPageToken = function() {
|
|
2874
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
2875
|
+
};
|
|
2876
|
+
|
|
2877
|
+
|
|
2878
|
+
/**
|
|
2879
|
+
* @param {string} value
|
|
2880
|
+
* @return {!proto.ondewo.nlu.ListCcaiProjectsResponse} returns this
|
|
2881
|
+
*/
|
|
2882
|
+
proto.ondewo.nlu.ListCcaiProjectsResponse.prototype.setNextPageToken = function(value) {
|
|
2883
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
2884
|
+
};
|
|
2885
|
+
|
|
2886
|
+
|
|
2887
|
+
|
|
2888
|
+
|
|
2889
|
+
|
|
2890
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
2891
|
+
/**
|
|
2892
|
+
* Creates an object representation of this proto.
|
|
2893
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
2894
|
+
* Optional fields that are not set will be set to undefined.
|
|
2895
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
2896
|
+
* For the list of reserved names please see:
|
|
2897
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
2898
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
2899
|
+
* JSPB instance for transitional soy proto support:
|
|
2900
|
+
* http://goto/soy-param-migration
|
|
2901
|
+
* @return {!Object}
|
|
2902
|
+
*/
|
|
2903
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.toObject = function(opt_includeInstance) {
|
|
2904
|
+
return proto.ondewo.nlu.CcaiProjectSorting.toObject(opt_includeInstance, this);
|
|
2905
|
+
};
|
|
2906
|
+
|
|
2907
|
+
|
|
2908
|
+
/**
|
|
2909
|
+
* Static version of the {@see toObject} method.
|
|
2910
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
2911
|
+
* the JSPB instance for transitional soy proto support:
|
|
2912
|
+
* http://goto/soy-param-migration
|
|
2913
|
+
* @param {!proto.ondewo.nlu.CcaiProjectSorting} msg The msg instance to transform.
|
|
2914
|
+
* @return {!Object}
|
|
2915
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2916
|
+
*/
|
|
2917
|
+
proto.ondewo.nlu.CcaiProjectSorting.toObject = function(includeInstance, msg) {
|
|
2918
|
+
var f, obj = {
|
|
2919
|
+
sortingField: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
2920
|
+
sortingMode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
2921
|
+
};
|
|
2922
|
+
|
|
2923
|
+
if (includeInstance) {
|
|
2924
|
+
obj.$jspbMessageInstance = msg;
|
|
2925
|
+
}
|
|
2926
|
+
return obj;
|
|
2927
|
+
};
|
|
2928
|
+
}
|
|
2929
|
+
|
|
2930
|
+
|
|
2931
|
+
/**
|
|
2932
|
+
* Deserializes binary data (in protobuf wire format).
|
|
2933
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
2934
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting}
|
|
2935
|
+
*/
|
|
2936
|
+
proto.ondewo.nlu.CcaiProjectSorting.deserializeBinary = function(bytes) {
|
|
2937
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
2938
|
+
var msg = new proto.ondewo.nlu.CcaiProjectSorting;
|
|
2939
|
+
return proto.ondewo.nlu.CcaiProjectSorting.deserializeBinaryFromReader(msg, reader);
|
|
2940
|
+
};
|
|
2941
|
+
|
|
2942
|
+
|
|
2943
|
+
/**
|
|
2944
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
2945
|
+
* given reader into the given message object.
|
|
2946
|
+
* @param {!proto.ondewo.nlu.CcaiProjectSorting} msg The message object to deserialize into.
|
|
2947
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
2948
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting}
|
|
2949
|
+
*/
|
|
2950
|
+
proto.ondewo.nlu.CcaiProjectSorting.deserializeBinaryFromReader = function(msg, reader) {
|
|
2951
|
+
while (reader.nextField()) {
|
|
2952
|
+
if (reader.isEndGroup()) {
|
|
2953
|
+
break;
|
|
2954
|
+
}
|
|
2955
|
+
var field = reader.getFieldNumber();
|
|
2956
|
+
switch (field) {
|
|
2957
|
+
case 1:
|
|
2958
|
+
var value = /** @type {!proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField} */ (reader.readEnum());
|
|
2959
|
+
msg.setSortingField(value);
|
|
2960
|
+
break;
|
|
2961
|
+
case 2:
|
|
2962
|
+
var value = /** @type {!proto.ondewo.nlu.SortingMode} */ (reader.readEnum());
|
|
2963
|
+
msg.setSortingMode(value);
|
|
2964
|
+
break;
|
|
2965
|
+
default:
|
|
2966
|
+
reader.skipField();
|
|
2967
|
+
break;
|
|
2968
|
+
}
|
|
2969
|
+
}
|
|
2970
|
+
return msg;
|
|
2971
|
+
};
|
|
2972
|
+
|
|
2973
|
+
|
|
2974
|
+
/**
|
|
2975
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
2976
|
+
* @return {!Uint8Array}
|
|
2977
|
+
*/
|
|
2978
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.serializeBinary = function() {
|
|
2979
|
+
var writer = new jspb.BinaryWriter();
|
|
2980
|
+
proto.ondewo.nlu.CcaiProjectSorting.serializeBinaryToWriter(this, writer);
|
|
2981
|
+
return writer.getResultBuffer();
|
|
2982
|
+
};
|
|
2983
|
+
|
|
2984
|
+
|
|
2985
|
+
/**
|
|
2986
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
2987
|
+
* format), writing to the given BinaryWriter.
|
|
2988
|
+
* @param {!proto.ondewo.nlu.CcaiProjectSorting} message
|
|
2989
|
+
* @param {!jspb.BinaryWriter} writer
|
|
2990
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
2991
|
+
*/
|
|
2992
|
+
proto.ondewo.nlu.CcaiProjectSorting.serializeBinaryToWriter = function(message, writer) {
|
|
2993
|
+
var f = undefined;
|
|
2994
|
+
f = /** @type {!proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField} */ (jspb.Message.getField(message, 1));
|
|
2995
|
+
if (f != null) {
|
|
2996
|
+
writer.writeEnum(
|
|
2997
|
+
1,
|
|
2998
|
+
f
|
|
2999
|
+
);
|
|
3000
|
+
}
|
|
3001
|
+
f = /** @type {!proto.ondewo.nlu.SortingMode} */ (jspb.Message.getField(message, 2));
|
|
3002
|
+
if (f != null) {
|
|
3003
|
+
writer.writeEnum(
|
|
3004
|
+
2,
|
|
3005
|
+
f
|
|
3006
|
+
);
|
|
3007
|
+
}
|
|
3008
|
+
};
|
|
3009
|
+
|
|
3010
|
+
|
|
3011
|
+
/**
|
|
3012
|
+
* @enum {number}
|
|
3013
|
+
*/
|
|
3014
|
+
proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField = {
|
|
3015
|
+
NO_CCAI_PROJECT_SORTING: 0,
|
|
3016
|
+
SORT_CCAI_PROJECT_BY_NAME: 1,
|
|
3017
|
+
SORT_CCAI_PROJECT_BY_DISPLAY_NAME: 2,
|
|
3018
|
+
SORT_CCAI_PROJECT_BY_CREATION_DATE: 3,
|
|
3019
|
+
SORT_CCAI_PROJECT_BY_LAST_MODIFIED: 4
|
|
3020
|
+
};
|
|
3021
|
+
|
|
3022
|
+
/**
|
|
3023
|
+
* optional CcaiProjectSortingField sorting_field = 1;
|
|
3024
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField}
|
|
3025
|
+
*/
|
|
3026
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.getSortingField = function() {
|
|
3027
|
+
return /** @type {!proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
3028
|
+
};
|
|
3029
|
+
|
|
3030
|
+
|
|
3031
|
+
/**
|
|
3032
|
+
* @param {!proto.ondewo.nlu.CcaiProjectSorting.CcaiProjectSortingField} value
|
|
3033
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting} returns this
|
|
3034
|
+
*/
|
|
3035
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.setSortingField = function(value) {
|
|
3036
|
+
return jspb.Message.setField(this, 1, value);
|
|
3037
|
+
};
|
|
3038
|
+
|
|
3039
|
+
|
|
3040
|
+
/**
|
|
3041
|
+
* Clears the field making it undefined.
|
|
3042
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting} returns this
|
|
3043
|
+
*/
|
|
3044
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.clearSortingField = function() {
|
|
3045
|
+
return jspb.Message.setField(this, 1, undefined);
|
|
3046
|
+
};
|
|
3047
|
+
|
|
3048
|
+
|
|
3049
|
+
/**
|
|
3050
|
+
* Returns whether this field is set.
|
|
3051
|
+
* @return {boolean}
|
|
3052
|
+
*/
|
|
3053
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.hasSortingField = function() {
|
|
3054
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3055
|
+
};
|
|
3056
|
+
|
|
3057
|
+
|
|
3058
|
+
/**
|
|
3059
|
+
* optional SortingMode sorting_mode = 2;
|
|
3060
|
+
* @return {!proto.ondewo.nlu.SortingMode}
|
|
3061
|
+
*/
|
|
3062
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.getSortingMode = function() {
|
|
3063
|
+
return /** @type {!proto.ondewo.nlu.SortingMode} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
3064
|
+
};
|
|
3065
|
+
|
|
3066
|
+
|
|
3067
|
+
/**
|
|
3068
|
+
* @param {!proto.ondewo.nlu.SortingMode} value
|
|
3069
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting} returns this
|
|
3070
|
+
*/
|
|
3071
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.setSortingMode = function(value) {
|
|
3072
|
+
return jspb.Message.setField(this, 2, value);
|
|
3073
|
+
};
|
|
3074
|
+
|
|
3075
|
+
|
|
3076
|
+
/**
|
|
3077
|
+
* Clears the field making it undefined.
|
|
3078
|
+
* @return {!proto.ondewo.nlu.CcaiProjectSorting} returns this
|
|
3079
|
+
*/
|
|
3080
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.clearSortingMode = function() {
|
|
3081
|
+
return jspb.Message.setField(this, 2, undefined);
|
|
3082
|
+
};
|
|
3083
|
+
|
|
3084
|
+
|
|
3085
|
+
/**
|
|
3086
|
+
* Returns whether this field is set.
|
|
3087
|
+
* @return {boolean}
|
|
3088
|
+
*/
|
|
3089
|
+
proto.ondewo.nlu.CcaiProjectSorting.prototype.hasSortingMode = function() {
|
|
3090
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3091
|
+
};
|
|
3092
|
+
|
|
3093
|
+
|
|
3094
|
+
|
|
3095
|
+
/**
|
|
3096
|
+
* List of repeated fields within this message type.
|
|
3097
|
+
* @private {!Array<number>}
|
|
3098
|
+
* @const
|
|
3099
|
+
*/
|
|
3100
|
+
proto.ondewo.nlu.CcaiServiceFilter.repeatedFields_ = [1,2];
|
|
3101
|
+
|
|
3102
|
+
|
|
3103
|
+
|
|
3104
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3105
|
+
/**
|
|
3106
|
+
* Creates an object representation of this proto.
|
|
3107
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3108
|
+
* Optional fields that are not set will be set to undefined.
|
|
3109
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3110
|
+
* For the list of reserved names please see:
|
|
3111
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3112
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3113
|
+
* JSPB instance for transitional soy proto support:
|
|
3114
|
+
* http://goto/soy-param-migration
|
|
3115
|
+
* @return {!Object}
|
|
3116
|
+
*/
|
|
3117
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.toObject = function(opt_includeInstance) {
|
|
3118
|
+
return proto.ondewo.nlu.CcaiServiceFilter.toObject(opt_includeInstance, this);
|
|
3119
|
+
};
|
|
3120
|
+
|
|
3121
|
+
|
|
3122
|
+
/**
|
|
3123
|
+
* Static version of the {@see toObject} method.
|
|
3124
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3125
|
+
* the JSPB instance for transitional soy proto support:
|
|
3126
|
+
* http://goto/soy-param-migration
|
|
3127
|
+
* @param {!proto.ondewo.nlu.CcaiServiceFilter} msg The msg instance to transform.
|
|
3128
|
+
* @return {!Object}
|
|
3129
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3130
|
+
*/
|
|
3131
|
+
proto.ondewo.nlu.CcaiServiceFilter.toObject = function(includeInstance, msg) {
|
|
3132
|
+
var f, obj = {
|
|
3133
|
+
languageCodesList: (f = jspb.Message.getRepeatedField(msg, 1)) == null ? undefined : f,
|
|
3134
|
+
ccaiServiceTypesList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
3135
|
+
};
|
|
3136
|
+
|
|
3137
|
+
if (includeInstance) {
|
|
3138
|
+
obj.$jspbMessageInstance = msg;
|
|
3139
|
+
}
|
|
3140
|
+
return obj;
|
|
3141
|
+
};
|
|
3142
|
+
}
|
|
3143
|
+
|
|
3144
|
+
|
|
3145
|
+
/**
|
|
3146
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3147
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3148
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter}
|
|
3149
|
+
*/
|
|
3150
|
+
proto.ondewo.nlu.CcaiServiceFilter.deserializeBinary = function(bytes) {
|
|
3151
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3152
|
+
var msg = new proto.ondewo.nlu.CcaiServiceFilter;
|
|
3153
|
+
return proto.ondewo.nlu.CcaiServiceFilter.deserializeBinaryFromReader(msg, reader);
|
|
3154
|
+
};
|
|
3155
|
+
|
|
3156
|
+
|
|
3157
|
+
/**
|
|
3158
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3159
|
+
* given reader into the given message object.
|
|
3160
|
+
* @param {!proto.ondewo.nlu.CcaiServiceFilter} msg The message object to deserialize into.
|
|
3161
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3162
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter}
|
|
3163
|
+
*/
|
|
3164
|
+
proto.ondewo.nlu.CcaiServiceFilter.deserializeBinaryFromReader = function(msg, reader) {
|
|
3165
|
+
while (reader.nextField()) {
|
|
3166
|
+
if (reader.isEndGroup()) {
|
|
3167
|
+
break;
|
|
3168
|
+
}
|
|
3169
|
+
var field = reader.getFieldNumber();
|
|
3170
|
+
switch (field) {
|
|
3171
|
+
case 1:
|
|
3172
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3173
|
+
msg.addLanguageCodes(value);
|
|
3174
|
+
break;
|
|
3175
|
+
case 2:
|
|
3176
|
+
var values = /** @type {!Array<!proto.ondewo.nlu.CcaiServiceType>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
3177
|
+
for (var i = 0; i < values.length; i++) {
|
|
3178
|
+
msg.addCcaiServiceTypes(values[i]);
|
|
3179
|
+
}
|
|
3180
|
+
break;
|
|
3181
|
+
default:
|
|
3182
|
+
reader.skipField();
|
|
3183
|
+
break;
|
|
3184
|
+
}
|
|
3185
|
+
}
|
|
3186
|
+
return msg;
|
|
3187
|
+
};
|
|
3188
|
+
|
|
3189
|
+
|
|
3190
|
+
/**
|
|
3191
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3192
|
+
* @return {!Uint8Array}
|
|
3193
|
+
*/
|
|
3194
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.serializeBinary = function() {
|
|
3195
|
+
var writer = new jspb.BinaryWriter();
|
|
3196
|
+
proto.ondewo.nlu.CcaiServiceFilter.serializeBinaryToWriter(this, writer);
|
|
3197
|
+
return writer.getResultBuffer();
|
|
3198
|
+
};
|
|
3199
|
+
|
|
3200
|
+
|
|
3201
|
+
/**
|
|
3202
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3203
|
+
* format), writing to the given BinaryWriter.
|
|
3204
|
+
* @param {!proto.ondewo.nlu.CcaiServiceFilter} message
|
|
3205
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3206
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3207
|
+
*/
|
|
3208
|
+
proto.ondewo.nlu.CcaiServiceFilter.serializeBinaryToWriter = function(message, writer) {
|
|
3209
|
+
var f = undefined;
|
|
3210
|
+
f = message.getLanguageCodesList();
|
|
3211
|
+
if (f.length > 0) {
|
|
3212
|
+
writer.writeRepeatedString(
|
|
3213
|
+
1,
|
|
3214
|
+
f
|
|
3215
|
+
);
|
|
3216
|
+
}
|
|
3217
|
+
f = message.getCcaiServiceTypesList();
|
|
3218
|
+
if (f.length > 0) {
|
|
3219
|
+
writer.writePackedEnum(
|
|
3220
|
+
2,
|
|
3221
|
+
f
|
|
3222
|
+
);
|
|
3223
|
+
}
|
|
3224
|
+
};
|
|
3225
|
+
|
|
3226
|
+
|
|
3227
|
+
/**
|
|
3228
|
+
* repeated string language_codes = 1;
|
|
3229
|
+
* @return {!Array<string>}
|
|
3230
|
+
*/
|
|
3231
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.getLanguageCodesList = function() {
|
|
3232
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 1));
|
|
3233
|
+
};
|
|
3234
|
+
|
|
3235
|
+
|
|
3236
|
+
/**
|
|
3237
|
+
* @param {!Array<string>} value
|
|
3238
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3239
|
+
*/
|
|
3240
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.setLanguageCodesList = function(value) {
|
|
3241
|
+
return jspb.Message.setField(this, 1, value || []);
|
|
3242
|
+
};
|
|
3243
|
+
|
|
3244
|
+
|
|
3245
|
+
/**
|
|
3246
|
+
* @param {string} value
|
|
3247
|
+
* @param {number=} opt_index
|
|
3248
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3249
|
+
*/
|
|
3250
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.addLanguageCodes = function(value, opt_index) {
|
|
3251
|
+
return jspb.Message.addToRepeatedField(this, 1, value, opt_index);
|
|
3252
|
+
};
|
|
3253
|
+
|
|
3254
|
+
|
|
3255
|
+
/**
|
|
3256
|
+
* Clears the list making it empty but non-null.
|
|
3257
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3258
|
+
*/
|
|
3259
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.clearLanguageCodesList = function() {
|
|
3260
|
+
return this.setLanguageCodesList([]);
|
|
3261
|
+
};
|
|
3262
|
+
|
|
3263
|
+
|
|
3264
|
+
/**
|
|
3265
|
+
* repeated CcaiServiceType ccai_service_types = 2;
|
|
3266
|
+
* @return {!Array<!proto.ondewo.nlu.CcaiServiceType>}
|
|
3267
|
+
*/
|
|
3268
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.getCcaiServiceTypesList = function() {
|
|
3269
|
+
return /** @type {!Array<!proto.ondewo.nlu.CcaiServiceType>} */ (jspb.Message.getRepeatedField(this, 2));
|
|
3270
|
+
};
|
|
3271
|
+
|
|
3272
|
+
|
|
3273
|
+
/**
|
|
3274
|
+
* @param {!Array<!proto.ondewo.nlu.CcaiServiceType>} value
|
|
3275
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3276
|
+
*/
|
|
3277
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.setCcaiServiceTypesList = function(value) {
|
|
3278
|
+
return jspb.Message.setField(this, 2, value || []);
|
|
3279
|
+
};
|
|
3280
|
+
|
|
3281
|
+
|
|
3282
|
+
/**
|
|
3283
|
+
* @param {!proto.ondewo.nlu.CcaiServiceType} value
|
|
3284
|
+
* @param {number=} opt_index
|
|
3285
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3286
|
+
*/
|
|
3287
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.addCcaiServiceTypes = function(value, opt_index) {
|
|
3288
|
+
return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
|
|
3289
|
+
};
|
|
3290
|
+
|
|
3291
|
+
|
|
3292
|
+
/**
|
|
3293
|
+
* Clears the list making it empty but non-null.
|
|
3294
|
+
* @return {!proto.ondewo.nlu.CcaiServiceFilter} returns this
|
|
3295
|
+
*/
|
|
3296
|
+
proto.ondewo.nlu.CcaiServiceFilter.prototype.clearCcaiServiceTypesList = function() {
|
|
3297
|
+
return this.setCcaiServiceTypesList([]);
|
|
3298
|
+
};
|
|
3299
|
+
|
|
3300
|
+
|
|
3301
|
+
|
|
3302
|
+
|
|
3303
|
+
|
|
3304
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3305
|
+
/**
|
|
3306
|
+
* Creates an object representation of this proto.
|
|
3307
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3308
|
+
* Optional fields that are not set will be set to undefined.
|
|
3309
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3310
|
+
* For the list of reserved names please see:
|
|
3311
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3312
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3313
|
+
* JSPB instance for transitional soy proto support:
|
|
3314
|
+
* http://goto/soy-param-migration
|
|
3315
|
+
* @return {!Object}
|
|
3316
|
+
*/
|
|
3317
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3318
|
+
return proto.ondewo.nlu.UpdateCcaiProjectRequest.toObject(opt_includeInstance, this);
|
|
3319
|
+
};
|
|
3320
|
+
|
|
3321
|
+
|
|
3322
|
+
/**
|
|
3323
|
+
* Static version of the {@see toObject} method.
|
|
3324
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3325
|
+
* the JSPB instance for transitional soy proto support:
|
|
3326
|
+
* http://goto/soy-param-migration
|
|
3327
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectRequest} msg The msg instance to transform.
|
|
3328
|
+
* @return {!Object}
|
|
3329
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3330
|
+
*/
|
|
3331
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
3332
|
+
var f, obj = {
|
|
3333
|
+
ccaiProject: (f = msg.getCcaiProject()) && proto.ondewo.nlu.CcaiProject.toObject(includeInstance, f),
|
|
3334
|
+
ccaiServiceFilter: (f = msg.getCcaiServiceFilter()) && proto.ondewo.nlu.CcaiServiceFilter.toObject(includeInstance, f),
|
|
3335
|
+
updateMask: (f = msg.getUpdateMask()) && google_protobuf_field_mask_pb.FieldMask.toObject(includeInstance, f),
|
|
3336
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3337
|
+
};
|
|
3338
|
+
|
|
3339
|
+
if (includeInstance) {
|
|
3340
|
+
obj.$jspbMessageInstance = msg;
|
|
3341
|
+
}
|
|
3342
|
+
return obj;
|
|
3343
|
+
};
|
|
3344
|
+
}
|
|
3345
|
+
|
|
3346
|
+
|
|
3347
|
+
/**
|
|
3348
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3349
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3350
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest}
|
|
3351
|
+
*/
|
|
3352
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.deserializeBinary = function(bytes) {
|
|
3353
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3354
|
+
var msg = new proto.ondewo.nlu.UpdateCcaiProjectRequest;
|
|
3355
|
+
return proto.ondewo.nlu.UpdateCcaiProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
3356
|
+
};
|
|
3357
|
+
|
|
3358
|
+
|
|
3359
|
+
/**
|
|
3360
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3361
|
+
* given reader into the given message object.
|
|
3362
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectRequest} msg The message object to deserialize into.
|
|
3363
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3364
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest}
|
|
3365
|
+
*/
|
|
3366
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3367
|
+
while (reader.nextField()) {
|
|
3368
|
+
if (reader.isEndGroup()) {
|
|
3369
|
+
break;
|
|
3370
|
+
}
|
|
3371
|
+
var field = reader.getFieldNumber();
|
|
3372
|
+
switch (field) {
|
|
3373
|
+
case 1:
|
|
3374
|
+
var value = new proto.ondewo.nlu.CcaiProject;
|
|
3375
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiProject.deserializeBinaryFromReader);
|
|
3376
|
+
msg.setCcaiProject(value);
|
|
3377
|
+
break;
|
|
3378
|
+
case 2:
|
|
3379
|
+
var value = new proto.ondewo.nlu.CcaiServiceFilter;
|
|
3380
|
+
reader.readMessage(value,proto.ondewo.nlu.CcaiServiceFilter.deserializeBinaryFromReader);
|
|
3381
|
+
msg.setCcaiServiceFilter(value);
|
|
3382
|
+
break;
|
|
3383
|
+
case 3:
|
|
3384
|
+
var value = new google_protobuf_field_mask_pb.FieldMask;
|
|
3385
|
+
reader.readMessage(value,google_protobuf_field_mask_pb.FieldMask.deserializeBinaryFromReader);
|
|
3386
|
+
msg.setUpdateMask(value);
|
|
3387
|
+
break;
|
|
3388
|
+
case 4:
|
|
3389
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3390
|
+
msg.setNluProjectName(value);
|
|
3391
|
+
break;
|
|
3392
|
+
default:
|
|
3393
|
+
reader.skipField();
|
|
3394
|
+
break;
|
|
3395
|
+
}
|
|
3396
|
+
}
|
|
3397
|
+
return msg;
|
|
3398
|
+
};
|
|
3399
|
+
|
|
3400
|
+
|
|
3401
|
+
/**
|
|
3402
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3403
|
+
* @return {!Uint8Array}
|
|
3404
|
+
*/
|
|
3405
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.serializeBinary = function() {
|
|
3406
|
+
var writer = new jspb.BinaryWriter();
|
|
3407
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.serializeBinaryToWriter(this, writer);
|
|
3408
|
+
return writer.getResultBuffer();
|
|
3409
|
+
};
|
|
3410
|
+
|
|
3411
|
+
|
|
3412
|
+
/**
|
|
3413
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3414
|
+
* format), writing to the given BinaryWriter.
|
|
3415
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectRequest} message
|
|
3416
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3417
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3418
|
+
*/
|
|
3419
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3420
|
+
var f = undefined;
|
|
3421
|
+
f = message.getCcaiProject();
|
|
3422
|
+
if (f != null) {
|
|
3423
|
+
writer.writeMessage(
|
|
3424
|
+
1,
|
|
3425
|
+
f,
|
|
3426
|
+
proto.ondewo.nlu.CcaiProject.serializeBinaryToWriter
|
|
3427
|
+
);
|
|
3428
|
+
}
|
|
3429
|
+
f = message.getCcaiServiceFilter();
|
|
3430
|
+
if (f != null) {
|
|
3431
|
+
writer.writeMessage(
|
|
3432
|
+
2,
|
|
3433
|
+
f,
|
|
3434
|
+
proto.ondewo.nlu.CcaiServiceFilter.serializeBinaryToWriter
|
|
3435
|
+
);
|
|
3436
|
+
}
|
|
3437
|
+
f = message.getUpdateMask();
|
|
3438
|
+
if (f != null) {
|
|
3439
|
+
writer.writeMessage(
|
|
3440
|
+
3,
|
|
3441
|
+
f,
|
|
3442
|
+
google_protobuf_field_mask_pb.FieldMask.serializeBinaryToWriter
|
|
3443
|
+
);
|
|
3444
|
+
}
|
|
3445
|
+
f = message.getNluProjectName();
|
|
3446
|
+
if (f.length > 0) {
|
|
3447
|
+
writer.writeString(
|
|
3448
|
+
4,
|
|
3449
|
+
f
|
|
3450
|
+
);
|
|
3451
|
+
}
|
|
3452
|
+
};
|
|
3453
|
+
|
|
3454
|
+
|
|
3455
|
+
/**
|
|
3456
|
+
* optional CcaiProject ccai_project = 1;
|
|
3457
|
+
* @return {?proto.ondewo.nlu.CcaiProject}
|
|
3458
|
+
*/
|
|
3459
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.getCcaiProject = function() {
|
|
3460
|
+
return /** @type{?proto.ondewo.nlu.CcaiProject} */ (
|
|
3461
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiProject, 1));
|
|
3462
|
+
};
|
|
3463
|
+
|
|
3464
|
+
|
|
3465
|
+
/**
|
|
3466
|
+
* @param {?proto.ondewo.nlu.CcaiProject|undefined} value
|
|
3467
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3468
|
+
*/
|
|
3469
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.setCcaiProject = function(value) {
|
|
3470
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
3471
|
+
};
|
|
3472
|
+
|
|
3473
|
+
|
|
3474
|
+
/**
|
|
3475
|
+
* Clears the message field making it undefined.
|
|
3476
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3477
|
+
*/
|
|
3478
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.clearCcaiProject = function() {
|
|
3479
|
+
return this.setCcaiProject(undefined);
|
|
3480
|
+
};
|
|
3481
|
+
|
|
3482
|
+
|
|
3483
|
+
/**
|
|
3484
|
+
* Returns whether this field is set.
|
|
3485
|
+
* @return {boolean}
|
|
3486
|
+
*/
|
|
3487
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.hasCcaiProject = function() {
|
|
3488
|
+
return jspb.Message.getField(this, 1) != null;
|
|
3489
|
+
};
|
|
3490
|
+
|
|
3491
|
+
|
|
3492
|
+
/**
|
|
3493
|
+
* optional CcaiServiceFilter ccai_service_filter = 2;
|
|
3494
|
+
* @return {?proto.ondewo.nlu.CcaiServiceFilter}
|
|
3495
|
+
*/
|
|
3496
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.getCcaiServiceFilter = function() {
|
|
3497
|
+
return /** @type{?proto.ondewo.nlu.CcaiServiceFilter} */ (
|
|
3498
|
+
jspb.Message.getWrapperField(this, proto.ondewo.nlu.CcaiServiceFilter, 2));
|
|
3499
|
+
};
|
|
3500
|
+
|
|
3501
|
+
|
|
3502
|
+
/**
|
|
3503
|
+
* @param {?proto.ondewo.nlu.CcaiServiceFilter|undefined} value
|
|
3504
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3505
|
+
*/
|
|
3506
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.setCcaiServiceFilter = function(value) {
|
|
3507
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
3508
|
+
};
|
|
3509
|
+
|
|
3510
|
+
|
|
3511
|
+
/**
|
|
3512
|
+
* Clears the message field making it undefined.
|
|
3513
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3514
|
+
*/
|
|
3515
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.clearCcaiServiceFilter = function() {
|
|
3516
|
+
return this.setCcaiServiceFilter(undefined);
|
|
3517
|
+
};
|
|
3518
|
+
|
|
3519
|
+
|
|
3520
|
+
/**
|
|
3521
|
+
* Returns whether this field is set.
|
|
3522
|
+
* @return {boolean}
|
|
3523
|
+
*/
|
|
3524
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.hasCcaiServiceFilter = function() {
|
|
3525
|
+
return jspb.Message.getField(this, 2) != null;
|
|
3526
|
+
};
|
|
3527
|
+
|
|
3528
|
+
|
|
3529
|
+
/**
|
|
3530
|
+
* optional google.protobuf.FieldMask update_mask = 3;
|
|
3531
|
+
* @return {?proto.google.protobuf.FieldMask}
|
|
3532
|
+
*/
|
|
3533
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.getUpdateMask = function() {
|
|
3534
|
+
return /** @type{?proto.google.protobuf.FieldMask} */ (
|
|
3535
|
+
jspb.Message.getWrapperField(this, google_protobuf_field_mask_pb.FieldMask, 3));
|
|
3536
|
+
};
|
|
3537
|
+
|
|
3538
|
+
|
|
3539
|
+
/**
|
|
3540
|
+
* @param {?proto.google.protobuf.FieldMask|undefined} value
|
|
3541
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3542
|
+
*/
|
|
3543
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.setUpdateMask = function(value) {
|
|
3544
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
3545
|
+
};
|
|
3546
|
+
|
|
3547
|
+
|
|
3548
|
+
/**
|
|
3549
|
+
* Clears the message field making it undefined.
|
|
3550
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3551
|
+
*/
|
|
3552
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.clearUpdateMask = function() {
|
|
3553
|
+
return this.setUpdateMask(undefined);
|
|
3554
|
+
};
|
|
3555
|
+
|
|
3556
|
+
|
|
3557
|
+
/**
|
|
3558
|
+
* Returns whether this field is set.
|
|
3559
|
+
* @return {boolean}
|
|
3560
|
+
*/
|
|
3561
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.hasUpdateMask = function() {
|
|
3562
|
+
return jspb.Message.getField(this, 3) != null;
|
|
3563
|
+
};
|
|
3564
|
+
|
|
3565
|
+
|
|
3566
|
+
/**
|
|
3567
|
+
* optional string nlu_project_name = 4;
|
|
3568
|
+
* @return {string}
|
|
3569
|
+
*/
|
|
3570
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.getNluProjectName = function() {
|
|
3571
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3572
|
+
};
|
|
3573
|
+
|
|
3574
|
+
|
|
3575
|
+
/**
|
|
3576
|
+
* @param {string} value
|
|
3577
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectRequest} returns this
|
|
3578
|
+
*/
|
|
3579
|
+
proto.ondewo.nlu.UpdateCcaiProjectRequest.prototype.setNluProjectName = function(value) {
|
|
3580
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3581
|
+
};
|
|
3582
|
+
|
|
3583
|
+
|
|
3584
|
+
|
|
3585
|
+
|
|
3586
|
+
|
|
3587
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3588
|
+
/**
|
|
3589
|
+
* Creates an object representation of this proto.
|
|
3590
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3591
|
+
* Optional fields that are not set will be set to undefined.
|
|
3592
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3593
|
+
* For the list of reserved names please see:
|
|
3594
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3595
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3596
|
+
* JSPB instance for transitional soy proto support:
|
|
3597
|
+
* http://goto/soy-param-migration
|
|
3598
|
+
* @return {!Object}
|
|
3599
|
+
*/
|
|
3600
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3601
|
+
return proto.ondewo.nlu.UpdateCcaiProjectResponse.toObject(opt_includeInstance, this);
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
|
|
3605
|
+
/**
|
|
3606
|
+
* Static version of the {@see toObject} method.
|
|
3607
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3608
|
+
* the JSPB instance for transitional soy proto support:
|
|
3609
|
+
* http://goto/soy-param-migration
|
|
3610
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectResponse} msg The msg instance to transform.
|
|
3611
|
+
* @return {!Object}
|
|
3612
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3613
|
+
*/
|
|
3614
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.toObject = function(includeInstance, msg) {
|
|
3615
|
+
var f, obj = {
|
|
3616
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3617
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
3618
|
+
};
|
|
3619
|
+
|
|
3620
|
+
if (includeInstance) {
|
|
3621
|
+
obj.$jspbMessageInstance = msg;
|
|
3622
|
+
}
|
|
3623
|
+
return obj;
|
|
3624
|
+
};
|
|
3625
|
+
}
|
|
3626
|
+
|
|
3627
|
+
|
|
3628
|
+
/**
|
|
3629
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3630
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3631
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectResponse}
|
|
3632
|
+
*/
|
|
3633
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.deserializeBinary = function(bytes) {
|
|
3634
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3635
|
+
var msg = new proto.ondewo.nlu.UpdateCcaiProjectResponse;
|
|
3636
|
+
return proto.ondewo.nlu.UpdateCcaiProjectResponse.deserializeBinaryFromReader(msg, reader);
|
|
3637
|
+
};
|
|
3638
|
+
|
|
3639
|
+
|
|
3640
|
+
/**
|
|
3641
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3642
|
+
* given reader into the given message object.
|
|
3643
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectResponse} msg The message object to deserialize into.
|
|
3644
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3645
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectResponse}
|
|
3646
|
+
*/
|
|
3647
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3648
|
+
while (reader.nextField()) {
|
|
3649
|
+
if (reader.isEndGroup()) {
|
|
3650
|
+
break;
|
|
3651
|
+
}
|
|
3652
|
+
var field = reader.getFieldNumber();
|
|
3653
|
+
switch (field) {
|
|
3654
|
+
case 1:
|
|
3655
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3656
|
+
msg.setName(value);
|
|
3657
|
+
break;
|
|
3658
|
+
case 2:
|
|
3659
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3660
|
+
msg.setErrorMessage(value);
|
|
3661
|
+
break;
|
|
3662
|
+
default:
|
|
3663
|
+
reader.skipField();
|
|
3664
|
+
break;
|
|
3665
|
+
}
|
|
3666
|
+
}
|
|
3667
|
+
return msg;
|
|
3668
|
+
};
|
|
3669
|
+
|
|
3670
|
+
|
|
3671
|
+
/**
|
|
3672
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3673
|
+
* @return {!Uint8Array}
|
|
3674
|
+
*/
|
|
3675
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.serializeBinary = function() {
|
|
3676
|
+
var writer = new jspb.BinaryWriter();
|
|
3677
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.serializeBinaryToWriter(this, writer);
|
|
3678
|
+
return writer.getResultBuffer();
|
|
3679
|
+
};
|
|
3680
|
+
|
|
3681
|
+
|
|
3682
|
+
/**
|
|
3683
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3684
|
+
* format), writing to the given BinaryWriter.
|
|
3685
|
+
* @param {!proto.ondewo.nlu.UpdateCcaiProjectResponse} message
|
|
3686
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3687
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3688
|
+
*/
|
|
3689
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
3690
|
+
var f = undefined;
|
|
3691
|
+
f = message.getName();
|
|
3692
|
+
if (f.length > 0) {
|
|
3693
|
+
writer.writeString(
|
|
3694
|
+
1,
|
|
3695
|
+
f
|
|
3696
|
+
);
|
|
3697
|
+
}
|
|
3698
|
+
f = message.getErrorMessage();
|
|
3699
|
+
if (f.length > 0) {
|
|
3700
|
+
writer.writeString(
|
|
3701
|
+
2,
|
|
3702
|
+
f
|
|
3703
|
+
);
|
|
3704
|
+
}
|
|
3705
|
+
};
|
|
3706
|
+
|
|
3707
|
+
|
|
3708
|
+
/**
|
|
3709
|
+
* optional string name = 1;
|
|
3710
|
+
* @return {string}
|
|
3711
|
+
*/
|
|
3712
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.getName = function() {
|
|
3713
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3714
|
+
};
|
|
3715
|
+
|
|
3716
|
+
|
|
3717
|
+
/**
|
|
3718
|
+
* @param {string} value
|
|
3719
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectResponse} returns this
|
|
3720
|
+
*/
|
|
3721
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.setName = function(value) {
|
|
3722
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3723
|
+
};
|
|
3724
|
+
|
|
3725
|
+
|
|
3726
|
+
/**
|
|
3727
|
+
* optional string error_message = 2;
|
|
3728
|
+
* @return {string}
|
|
3729
|
+
*/
|
|
3730
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.getErrorMessage = function() {
|
|
3731
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
3732
|
+
};
|
|
3733
|
+
|
|
3734
|
+
|
|
3735
|
+
/**
|
|
3736
|
+
* @param {string} value
|
|
3737
|
+
* @return {!proto.ondewo.nlu.UpdateCcaiProjectResponse} returns this
|
|
3738
|
+
*/
|
|
3739
|
+
proto.ondewo.nlu.UpdateCcaiProjectResponse.prototype.setErrorMessage = function(value) {
|
|
3740
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
3741
|
+
};
|
|
3742
|
+
|
|
3743
|
+
|
|
3744
|
+
|
|
3745
|
+
|
|
3746
|
+
|
|
3747
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3748
|
+
/**
|
|
3749
|
+
* Creates an object representation of this proto.
|
|
3750
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3751
|
+
* Optional fields that are not set will be set to undefined.
|
|
3752
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3753
|
+
* For the list of reserved names please see:
|
|
3754
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3755
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3756
|
+
* JSPB instance for transitional soy proto support:
|
|
3757
|
+
* http://goto/soy-param-migration
|
|
3758
|
+
* @return {!Object}
|
|
3759
|
+
*/
|
|
3760
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.toObject = function(opt_includeInstance) {
|
|
3761
|
+
return proto.ondewo.nlu.DeleteCcaiProjectRequest.toObject(opt_includeInstance, this);
|
|
3762
|
+
};
|
|
3763
|
+
|
|
3764
|
+
|
|
3765
|
+
/**
|
|
3766
|
+
* Static version of the {@see toObject} method.
|
|
3767
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3768
|
+
* the JSPB instance for transitional soy proto support:
|
|
3769
|
+
* http://goto/soy-param-migration
|
|
3770
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectRequest} msg The msg instance to transform.
|
|
3771
|
+
* @return {!Object}
|
|
3772
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3773
|
+
*/
|
|
3774
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.toObject = function(includeInstance, msg) {
|
|
3775
|
+
var f, obj = {
|
|
3776
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3777
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3778
|
+
};
|
|
3779
|
+
|
|
3780
|
+
if (includeInstance) {
|
|
3781
|
+
obj.$jspbMessageInstance = msg;
|
|
3782
|
+
}
|
|
3783
|
+
return obj;
|
|
3784
|
+
};
|
|
3785
|
+
}
|
|
3786
|
+
|
|
3787
|
+
|
|
3788
|
+
/**
|
|
3789
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3790
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3791
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectRequest}
|
|
3792
|
+
*/
|
|
3793
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.deserializeBinary = function(bytes) {
|
|
3794
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3795
|
+
var msg = new proto.ondewo.nlu.DeleteCcaiProjectRequest;
|
|
3796
|
+
return proto.ondewo.nlu.DeleteCcaiProjectRequest.deserializeBinaryFromReader(msg, reader);
|
|
3797
|
+
};
|
|
3798
|
+
|
|
3799
|
+
|
|
3800
|
+
/**
|
|
3801
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3802
|
+
* given reader into the given message object.
|
|
3803
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectRequest} msg The message object to deserialize into.
|
|
3804
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3805
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectRequest}
|
|
3806
|
+
*/
|
|
3807
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
3808
|
+
while (reader.nextField()) {
|
|
3809
|
+
if (reader.isEndGroup()) {
|
|
3810
|
+
break;
|
|
3811
|
+
}
|
|
3812
|
+
var field = reader.getFieldNumber();
|
|
3813
|
+
switch (field) {
|
|
3814
|
+
case 1:
|
|
3815
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3816
|
+
msg.setName(value);
|
|
3817
|
+
break;
|
|
3818
|
+
case 4:
|
|
3819
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3820
|
+
msg.setNluProjectName(value);
|
|
3821
|
+
break;
|
|
3822
|
+
default:
|
|
3823
|
+
reader.skipField();
|
|
3824
|
+
break;
|
|
3825
|
+
}
|
|
3826
|
+
}
|
|
3827
|
+
return msg;
|
|
3828
|
+
};
|
|
3829
|
+
|
|
3830
|
+
|
|
3831
|
+
/**
|
|
3832
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3833
|
+
* @return {!Uint8Array}
|
|
3834
|
+
*/
|
|
3835
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.serializeBinary = function() {
|
|
3836
|
+
var writer = new jspb.BinaryWriter();
|
|
3837
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.serializeBinaryToWriter(this, writer);
|
|
3838
|
+
return writer.getResultBuffer();
|
|
3839
|
+
};
|
|
3840
|
+
|
|
3841
|
+
|
|
3842
|
+
/**
|
|
3843
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
3844
|
+
* format), writing to the given BinaryWriter.
|
|
3845
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectRequest} message
|
|
3846
|
+
* @param {!jspb.BinaryWriter} writer
|
|
3847
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3848
|
+
*/
|
|
3849
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.serializeBinaryToWriter = function(message, writer) {
|
|
3850
|
+
var f = undefined;
|
|
3851
|
+
f = message.getName();
|
|
3852
|
+
if (f.length > 0) {
|
|
3853
|
+
writer.writeString(
|
|
3854
|
+
1,
|
|
3855
|
+
f
|
|
3856
|
+
);
|
|
3857
|
+
}
|
|
3858
|
+
f = message.getNluProjectName();
|
|
3859
|
+
if (f.length > 0) {
|
|
3860
|
+
writer.writeString(
|
|
3861
|
+
4,
|
|
3862
|
+
f
|
|
3863
|
+
);
|
|
3864
|
+
}
|
|
3865
|
+
};
|
|
3866
|
+
|
|
3867
|
+
|
|
3868
|
+
/**
|
|
3869
|
+
* optional string name = 1;
|
|
3870
|
+
* @return {string}
|
|
3871
|
+
*/
|
|
3872
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.getName = function() {
|
|
3873
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
3874
|
+
};
|
|
3875
|
+
|
|
3876
|
+
|
|
3877
|
+
/**
|
|
3878
|
+
* @param {string} value
|
|
3879
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectRequest} returns this
|
|
3880
|
+
*/
|
|
3881
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.setName = function(value) {
|
|
3882
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
3883
|
+
};
|
|
3884
|
+
|
|
3885
|
+
|
|
3886
|
+
/**
|
|
3887
|
+
* optional string nlu_project_name = 4;
|
|
3888
|
+
* @return {string}
|
|
3889
|
+
*/
|
|
3890
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.getNluProjectName = function() {
|
|
3891
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
3892
|
+
};
|
|
3893
|
+
|
|
3894
|
+
|
|
3895
|
+
/**
|
|
3896
|
+
* @param {string} value
|
|
3897
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectRequest} returns this
|
|
3898
|
+
*/
|
|
3899
|
+
proto.ondewo.nlu.DeleteCcaiProjectRequest.prototype.setNluProjectName = function(value) {
|
|
3900
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
3901
|
+
};
|
|
3902
|
+
|
|
3903
|
+
|
|
3904
|
+
|
|
3905
|
+
|
|
3906
|
+
|
|
3907
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
3908
|
+
/**
|
|
3909
|
+
* Creates an object representation of this proto.
|
|
3910
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
3911
|
+
* Optional fields that are not set will be set to undefined.
|
|
3912
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
3913
|
+
* For the list of reserved names please see:
|
|
3914
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
3915
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
3916
|
+
* JSPB instance for transitional soy proto support:
|
|
3917
|
+
* http://goto/soy-param-migration
|
|
3918
|
+
* @return {!Object}
|
|
3919
|
+
*/
|
|
3920
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.toObject = function(opt_includeInstance) {
|
|
3921
|
+
return proto.ondewo.nlu.DeleteCcaiProjectResponse.toObject(opt_includeInstance, this);
|
|
3922
|
+
};
|
|
3923
|
+
|
|
3924
|
+
|
|
3925
|
+
/**
|
|
3926
|
+
* Static version of the {@see toObject} method.
|
|
3927
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
3928
|
+
* the JSPB instance for transitional soy proto support:
|
|
3929
|
+
* http://goto/soy-param-migration
|
|
3930
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectResponse} msg The msg instance to transform.
|
|
3931
|
+
* @return {!Object}
|
|
3932
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
3933
|
+
*/
|
|
3934
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.toObject = function(includeInstance, msg) {
|
|
3935
|
+
var f, obj = {
|
|
3936
|
+
name: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
3937
|
+
errorMessage: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
3938
|
+
nluProjectName: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
3939
|
+
};
|
|
3940
|
+
|
|
3941
|
+
if (includeInstance) {
|
|
3942
|
+
obj.$jspbMessageInstance = msg;
|
|
3943
|
+
}
|
|
3944
|
+
return obj;
|
|
3945
|
+
};
|
|
3946
|
+
}
|
|
3947
|
+
|
|
3948
|
+
|
|
3949
|
+
/**
|
|
3950
|
+
* Deserializes binary data (in protobuf wire format).
|
|
3951
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
3952
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectResponse}
|
|
3953
|
+
*/
|
|
3954
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.deserializeBinary = function(bytes) {
|
|
3955
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
3956
|
+
var msg = new proto.ondewo.nlu.DeleteCcaiProjectResponse;
|
|
3957
|
+
return proto.ondewo.nlu.DeleteCcaiProjectResponse.deserializeBinaryFromReader(msg, reader);
|
|
3958
|
+
};
|
|
3959
|
+
|
|
3960
|
+
|
|
3961
|
+
/**
|
|
3962
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
3963
|
+
* given reader into the given message object.
|
|
3964
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectResponse} msg The message object to deserialize into.
|
|
3965
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
3966
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectResponse}
|
|
3967
|
+
*/
|
|
3968
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
3969
|
+
while (reader.nextField()) {
|
|
3970
|
+
if (reader.isEndGroup()) {
|
|
3971
|
+
break;
|
|
3972
|
+
}
|
|
3973
|
+
var field = reader.getFieldNumber();
|
|
3974
|
+
switch (field) {
|
|
3975
|
+
case 1:
|
|
3976
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3977
|
+
msg.setName(value);
|
|
3978
|
+
break;
|
|
3979
|
+
case 2:
|
|
3980
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3981
|
+
msg.setErrorMessage(value);
|
|
3982
|
+
break;
|
|
3983
|
+
case 4:
|
|
3984
|
+
var value = /** @type {string} */ (reader.readString());
|
|
3985
|
+
msg.setNluProjectName(value);
|
|
3986
|
+
break;
|
|
3987
|
+
default:
|
|
3988
|
+
reader.skipField();
|
|
3989
|
+
break;
|
|
3990
|
+
}
|
|
3991
|
+
}
|
|
3992
|
+
return msg;
|
|
3993
|
+
};
|
|
3994
|
+
|
|
3995
|
+
|
|
3996
|
+
/**
|
|
3997
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
3998
|
+
* @return {!Uint8Array}
|
|
3999
|
+
*/
|
|
4000
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.serializeBinary = function() {
|
|
4001
|
+
var writer = new jspb.BinaryWriter();
|
|
4002
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.serializeBinaryToWriter(this, writer);
|
|
4003
|
+
return writer.getResultBuffer();
|
|
4004
|
+
};
|
|
4005
|
+
|
|
4006
|
+
|
|
4007
|
+
/**
|
|
4008
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
4009
|
+
* format), writing to the given BinaryWriter.
|
|
4010
|
+
* @param {!proto.ondewo.nlu.DeleteCcaiProjectResponse} message
|
|
4011
|
+
* @param {!jspb.BinaryWriter} writer
|
|
4012
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
4013
|
+
*/
|
|
4014
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.serializeBinaryToWriter = function(message, writer) {
|
|
4015
|
+
var f = undefined;
|
|
4016
|
+
f = message.getName();
|
|
4017
|
+
if (f.length > 0) {
|
|
4018
|
+
writer.writeString(
|
|
4019
|
+
1,
|
|
4020
|
+
f
|
|
4021
|
+
);
|
|
4022
|
+
}
|
|
4023
|
+
f = message.getErrorMessage();
|
|
4024
|
+
if (f.length > 0) {
|
|
4025
|
+
writer.writeString(
|
|
4026
|
+
2,
|
|
4027
|
+
f
|
|
4028
|
+
);
|
|
4029
|
+
}
|
|
4030
|
+
f = message.getNluProjectName();
|
|
4031
|
+
if (f.length > 0) {
|
|
4032
|
+
writer.writeString(
|
|
4033
|
+
4,
|
|
4034
|
+
f
|
|
4035
|
+
);
|
|
4036
|
+
}
|
|
4037
|
+
};
|
|
4038
|
+
|
|
4039
|
+
|
|
4040
|
+
/**
|
|
4041
|
+
* optional string name = 1;
|
|
4042
|
+
* @return {string}
|
|
4043
|
+
*/
|
|
4044
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.getName = function() {
|
|
4045
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
4046
|
+
};
|
|
4047
|
+
|
|
4048
|
+
|
|
4049
|
+
/**
|
|
4050
|
+
* @param {string} value
|
|
4051
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectResponse} returns this
|
|
4052
|
+
*/
|
|
4053
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.setName = function(value) {
|
|
4054
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
4055
|
+
};
|
|
4056
|
+
|
|
4057
|
+
|
|
4058
|
+
/**
|
|
4059
|
+
* optional string error_message = 2;
|
|
4060
|
+
* @return {string}
|
|
4061
|
+
*/
|
|
4062
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.getErrorMessage = function() {
|
|
4063
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
4064
|
+
};
|
|
4065
|
+
|
|
4066
|
+
|
|
4067
|
+
/**
|
|
4068
|
+
* @param {string} value
|
|
4069
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectResponse} returns this
|
|
4070
|
+
*/
|
|
4071
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.setErrorMessage = function(value) {
|
|
4072
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
4073
|
+
};
|
|
4074
|
+
|
|
4075
|
+
|
|
4076
|
+
/**
|
|
4077
|
+
* optional string nlu_project_name = 4;
|
|
4078
|
+
* @return {string}
|
|
4079
|
+
*/
|
|
4080
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.getNluProjectName = function() {
|
|
4081
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
4082
|
+
};
|
|
4083
|
+
|
|
4084
|
+
|
|
4085
|
+
/**
|
|
4086
|
+
* @param {string} value
|
|
4087
|
+
* @return {!proto.ondewo.nlu.DeleteCcaiProjectResponse} returns this
|
|
4088
|
+
*/
|
|
4089
|
+
proto.ondewo.nlu.DeleteCcaiProjectResponse.prototype.setNluProjectName = function(value) {
|
|
4090
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
4091
|
+
};
|
|
4092
|
+
|
|
4093
|
+
|
|
4094
|
+
/**
|
|
4095
|
+
* @enum {number}
|
|
4096
|
+
*/
|
|
4097
|
+
proto.ondewo.nlu.CcaiProjectStatus = {
|
|
4098
|
+
CCAI_PROJECT_STATUS_UNSPECIFIED: 0,
|
|
4099
|
+
CCAI_PROJECT_STATUS_UNDEPLOYED: 1,
|
|
4100
|
+
CCAI_PROJECT_STATUS_UPDATING: 2,
|
|
4101
|
+
CCAI_PROJECT_STATUS_DEPLOYING: 3,
|
|
4102
|
+
CCAI_PROJECT_STATUS_DEPLOYED: 4,
|
|
4103
|
+
CCAI_PROJECT_STATUS_UNDEPLOYING: 5,
|
|
4104
|
+
CCAI_PROJECT_STATUS_DELETING: 6,
|
|
4105
|
+
CCAI_PROJECT_STATUS_DELETED: 7
|
|
4106
|
+
};
|
|
4107
|
+
|
|
4108
|
+
/**
|
|
4109
|
+
* @enum {number}
|
|
4110
|
+
*/
|
|
4111
|
+
proto.ondewo.nlu.CcaiServiceType = {
|
|
4112
|
+
CCAI_SERVICE_TYPE_UNSPECIFIED: 0,
|
|
4113
|
+
CCAI_SERVICE_TYPE_ONDEWO_AIM: 1,
|
|
4114
|
+
CCAI_SERVICE_TYPE_ONDEWO_BPI: 2,
|
|
4115
|
+
CCAI_SERVICE_TYPE_ONDEWO_CSI: 3,
|
|
4116
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU: 4,
|
|
4117
|
+
CCAI_SERVICE_TYPE_ONDEWO_S2T: 5,
|
|
4118
|
+
CCAI_SERVICE_TYPE_ONDEWO_SIP: 6,
|
|
4119
|
+
CCAI_SERVICE_TYPE_ONDEWO_T2S: 7,
|
|
4120
|
+
CCAI_SERVICE_TYPE_ONDEWO_VTSI: 8,
|
|
4121
|
+
CCAI_SERVICE_TYPE_VTSI_RABBITMQ: 9,
|
|
4122
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU_QA: 10,
|
|
4123
|
+
CCAI_SERVICE_TYPE_ONDEWO_NLU_WEBHOOK: 11,
|
|
4124
|
+
CCAI_SERVICE_TYPE_ONDEWO_SURVEY: 12
|
|
4125
|
+
};
|
|
4126
|
+
|
|
4127
|
+
/**
|
|
4128
|
+
* @enum {number}
|
|
4129
|
+
*/
|
|
4130
|
+
proto.ondewo.nlu.CcaiProjectView = {
|
|
4131
|
+
CCAI_PROJECT_VIEW_UNSPECIFIED: 0,
|
|
4132
|
+
CCAI_PROJECT_VIEW_FULL: 1,
|
|
4133
|
+
CCAI_PROJECT_VIEW_SHALLOW: 2,
|
|
4134
|
+
CCAI_PROJECT_VIEW_MINIMUM: 3
|
|
4135
|
+
};
|
|
4136
|
+
|
|
4137
|
+
goog.object.extend(exports, proto.ondewo.nlu);
|