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