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