@ondewo/nlu-client-typescript 4.1.0 → 4.3.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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 +1758 -1939
- package/api/ondewo/nlu/agent_pb.js +10491 -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 +98 -86
- package/api/ondewo/nlu/operation_metadata_pb.js +492 -322
- 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 +34 -4
|
@@ -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
|
/**
|
|
@@ -49,73 +47,79 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
49
47
|
* @private {!Array<number>}
|
|
50
48
|
* @const
|
|
51
49
|
*/
|
|
52
|
-
proto.ondewo.nlu.OperationMetadata.repeatedFields_ = [3];
|
|
50
|
+
proto.ondewo.nlu.OperationMetadata.repeatedFields_ = [3,17];
|
|
51
|
+
|
|
52
|
+
|
|
53
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
|
+
logList: (f = jspb.Message.getRepeatedField(msg, 17)) == null ? undefined : f,
|
|
100
|
+
logLimit: jspb.Message.getFieldWithDefault(msg, 18, 0)
|
|
101
|
+
};
|
|
102
|
+
|
|
103
|
+
if (includeInstance) {
|
|
104
|
+
obj.$jspbMessageInstance = msg;
|
|
105
|
+
}
|
|
106
|
+
return obj;
|
|
107
|
+
};
|
|
106
108
|
}
|
|
107
109
|
|
|
110
|
+
|
|
108
111
|
/**
|
|
109
112
|
* Deserializes binary data (in protobuf wire format).
|
|
110
113
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
111
114
|
* @return {!proto.ondewo.nlu.OperationMetadata}
|
|
112
115
|
*/
|
|
113
|
-
proto.ondewo.nlu.OperationMetadata.deserializeBinary = function
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
proto.ondewo.nlu.OperationMetadata.deserializeBinary = function(bytes) {
|
|
117
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
118
|
+
var msg = new proto.ondewo.nlu.OperationMetadata;
|
|
119
|
+
return proto.ondewo.nlu.OperationMetadata.deserializeBinaryFromReader(msg, reader);
|
|
117
120
|
};
|
|
118
121
|
|
|
122
|
+
|
|
119
123
|
/**
|
|
120
124
|
* Deserializes binary data (in protobuf wire format) from the
|
|
121
125
|
* given reader into the given message object.
|
|
@@ -123,98 +127,108 @@ proto.ondewo.nlu.OperationMetadata.deserializeBinary = function (bytes) {
|
|
|
123
127
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
124
128
|
* @return {!proto.ondewo.nlu.OperationMetadata}
|
|
125
129
|
*/
|
|
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
|
-
|
|
130
|
+
proto.ondewo.nlu.OperationMetadata.deserializeBinaryFromReader = function(msg, reader) {
|
|
131
|
+
while (reader.nextField()) {
|
|
132
|
+
if (reader.isEndGroup()) {
|
|
133
|
+
break;
|
|
134
|
+
}
|
|
135
|
+
var field = reader.getFieldNumber();
|
|
136
|
+
switch (field) {
|
|
137
|
+
case 1:
|
|
138
|
+
var value = /** @type {!proto.ondewo.nlu.OperationMetadata.Status} */ (reader.readEnum());
|
|
139
|
+
msg.setStatus(value);
|
|
140
|
+
break;
|
|
141
|
+
case 2:
|
|
142
|
+
var value = /** @type {string} */ (reader.readString());
|
|
143
|
+
msg.setParentOperationName(value);
|
|
144
|
+
break;
|
|
145
|
+
case 3:
|
|
146
|
+
var value = /** @type {string} */ (reader.readString());
|
|
147
|
+
msg.addSubOperationNames(value);
|
|
148
|
+
break;
|
|
149
|
+
case 4:
|
|
150
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
151
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
152
|
+
msg.setCreateTime(value);
|
|
153
|
+
break;
|
|
154
|
+
case 5:
|
|
155
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
156
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
157
|
+
msg.setStartTime(value);
|
|
158
|
+
break;
|
|
159
|
+
case 6:
|
|
160
|
+
var value = new google_protobuf_timestamp_pb.Timestamp;
|
|
161
|
+
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
162
|
+
msg.setEndTime(value);
|
|
163
|
+
break;
|
|
164
|
+
case 7:
|
|
165
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
166
|
+
msg.setIsCancellationRequested(value);
|
|
167
|
+
break;
|
|
168
|
+
case 8:
|
|
169
|
+
var value = /** @type {string} */ (reader.readString());
|
|
170
|
+
msg.setCancelCommand(value);
|
|
171
|
+
break;
|
|
172
|
+
case 9:
|
|
173
|
+
var value = /** @type {string} */ (reader.readString());
|
|
174
|
+
msg.setUserIdCreated(value);
|
|
175
|
+
break;
|
|
176
|
+
case 10:
|
|
177
|
+
var value = /** @type {string} */ (reader.readString());
|
|
178
|
+
msg.setUserIdCancelled(value);
|
|
179
|
+
break;
|
|
180
|
+
case 11:
|
|
181
|
+
var value = /** @type {string} */ (reader.readString());
|
|
182
|
+
msg.setProjectParent(value);
|
|
183
|
+
break;
|
|
184
|
+
case 12:
|
|
185
|
+
var value = /** @type {!proto.ondewo.nlu.OperationMetadata.OperationType} */ (reader.readEnum());
|
|
186
|
+
msg.setOperationType(value);
|
|
187
|
+
break;
|
|
188
|
+
case 13:
|
|
189
|
+
var value = /** @type {string} */ (reader.readString());
|
|
190
|
+
msg.setHostName(value);
|
|
191
|
+
break;
|
|
192
|
+
case 14:
|
|
193
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
194
|
+
msg.setNumReruns(value);
|
|
195
|
+
break;
|
|
196
|
+
case 15:
|
|
197
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
198
|
+
msg.setMaxNumReruns(value);
|
|
199
|
+
break;
|
|
200
|
+
case 16:
|
|
201
|
+
var value = /** @type {string} */ (reader.readString());
|
|
202
|
+
msg.setDescription(value);
|
|
203
|
+
break;
|
|
204
|
+
case 17:
|
|
205
|
+
var value = /** @type {string} */ (reader.readString());
|
|
206
|
+
msg.addLog(value);
|
|
207
|
+
break;
|
|
208
|
+
case 18:
|
|
209
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
210
|
+
msg.setLogLimit(value);
|
|
211
|
+
break;
|
|
212
|
+
default:
|
|
213
|
+
reader.skipField();
|
|
214
|
+
break;
|
|
215
|
+
}
|
|
216
|
+
}
|
|
217
|
+
return msg;
|
|
206
218
|
};
|
|
207
219
|
|
|
220
|
+
|
|
208
221
|
/**
|
|
209
222
|
* Serializes the message to binary data (in protobuf wire format).
|
|
210
223
|
* @return {!Uint8Array}
|
|
211
224
|
*/
|
|
212
|
-
proto.ondewo.nlu.OperationMetadata.prototype.serializeBinary = function
|
|
213
|
-
|
|
214
|
-
|
|
215
|
-
|
|
225
|
+
proto.ondewo.nlu.OperationMetadata.prototype.serializeBinary = function() {
|
|
226
|
+
var writer = new jspb.BinaryWriter();
|
|
227
|
+
proto.ondewo.nlu.OperationMetadata.serializeBinaryToWriter(this, writer);
|
|
228
|
+
return writer.getResultBuffer();
|
|
216
229
|
};
|
|
217
230
|
|
|
231
|
+
|
|
218
232
|
/**
|
|
219
233
|
* Serializes the given message to binary data (in protobuf wire
|
|
220
234
|
* format), writing to the given BinaryWriter.
|
|
@@ -222,428 +236,584 @@ proto.ondewo.nlu.OperationMetadata.prototype.serializeBinary = function () {
|
|
|
222
236
|
* @param {!jspb.BinaryWriter} writer
|
|
223
237
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
224
238
|
*/
|
|
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
|
-
|
|
239
|
+
proto.ondewo.nlu.OperationMetadata.serializeBinaryToWriter = function(message, writer) {
|
|
240
|
+
var f = undefined;
|
|
241
|
+
f = message.getStatus();
|
|
242
|
+
if (f !== 0.0) {
|
|
243
|
+
writer.writeEnum(
|
|
244
|
+
1,
|
|
245
|
+
f
|
|
246
|
+
);
|
|
247
|
+
}
|
|
248
|
+
f = message.getParentOperationName();
|
|
249
|
+
if (f.length > 0) {
|
|
250
|
+
writer.writeString(
|
|
251
|
+
2,
|
|
252
|
+
f
|
|
253
|
+
);
|
|
254
|
+
}
|
|
255
|
+
f = message.getSubOperationNamesList();
|
|
256
|
+
if (f.length > 0) {
|
|
257
|
+
writer.writeRepeatedString(
|
|
258
|
+
3,
|
|
259
|
+
f
|
|
260
|
+
);
|
|
261
|
+
}
|
|
262
|
+
f = message.getCreateTime();
|
|
263
|
+
if (f != null) {
|
|
264
|
+
writer.writeMessage(
|
|
265
|
+
4,
|
|
266
|
+
f,
|
|
267
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
268
|
+
);
|
|
269
|
+
}
|
|
270
|
+
f = message.getStartTime();
|
|
271
|
+
if (f != null) {
|
|
272
|
+
writer.writeMessage(
|
|
273
|
+
5,
|
|
274
|
+
f,
|
|
275
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
276
|
+
);
|
|
277
|
+
}
|
|
278
|
+
f = message.getEndTime();
|
|
279
|
+
if (f != null) {
|
|
280
|
+
writer.writeMessage(
|
|
281
|
+
6,
|
|
282
|
+
f,
|
|
283
|
+
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
284
|
+
);
|
|
285
|
+
}
|
|
286
|
+
f = message.getIsCancellationRequested();
|
|
287
|
+
if (f) {
|
|
288
|
+
writer.writeBool(
|
|
289
|
+
7,
|
|
290
|
+
f
|
|
291
|
+
);
|
|
292
|
+
}
|
|
293
|
+
f = message.getCancelCommand();
|
|
294
|
+
if (f.length > 0) {
|
|
295
|
+
writer.writeString(
|
|
296
|
+
8,
|
|
297
|
+
f
|
|
298
|
+
);
|
|
299
|
+
}
|
|
300
|
+
f = message.getUserIdCreated();
|
|
301
|
+
if (f.length > 0) {
|
|
302
|
+
writer.writeString(
|
|
303
|
+
9,
|
|
304
|
+
f
|
|
305
|
+
);
|
|
306
|
+
}
|
|
307
|
+
f = message.getUserIdCancelled();
|
|
308
|
+
if (f.length > 0) {
|
|
309
|
+
writer.writeString(
|
|
310
|
+
10,
|
|
311
|
+
f
|
|
312
|
+
);
|
|
313
|
+
}
|
|
314
|
+
f = message.getProjectParent();
|
|
315
|
+
if (f.length > 0) {
|
|
316
|
+
writer.writeString(
|
|
317
|
+
11,
|
|
318
|
+
f
|
|
319
|
+
);
|
|
320
|
+
}
|
|
321
|
+
f = message.getOperationType();
|
|
322
|
+
if (f !== 0.0) {
|
|
323
|
+
writer.writeEnum(
|
|
324
|
+
12,
|
|
325
|
+
f
|
|
326
|
+
);
|
|
327
|
+
}
|
|
328
|
+
f = message.getHostName();
|
|
329
|
+
if (f.length > 0) {
|
|
330
|
+
writer.writeString(
|
|
331
|
+
13,
|
|
332
|
+
f
|
|
333
|
+
);
|
|
334
|
+
}
|
|
335
|
+
f = message.getNumReruns();
|
|
336
|
+
if (f !== 0) {
|
|
337
|
+
writer.writeInt32(
|
|
338
|
+
14,
|
|
339
|
+
f
|
|
340
|
+
);
|
|
341
|
+
}
|
|
342
|
+
f = message.getMaxNumReruns();
|
|
343
|
+
if (f !== 0) {
|
|
344
|
+
writer.writeInt32(
|
|
345
|
+
15,
|
|
346
|
+
f
|
|
347
|
+
);
|
|
348
|
+
}
|
|
349
|
+
f = message.getDescription();
|
|
350
|
+
if (f.length > 0) {
|
|
351
|
+
writer.writeString(
|
|
352
|
+
16,
|
|
353
|
+
f
|
|
354
|
+
);
|
|
355
|
+
}
|
|
356
|
+
f = message.getLogList();
|
|
357
|
+
if (f.length > 0) {
|
|
358
|
+
writer.writeRepeatedString(
|
|
359
|
+
17,
|
|
360
|
+
f
|
|
361
|
+
);
|
|
362
|
+
}
|
|
363
|
+
f = message.getLogLimit();
|
|
364
|
+
if (f !== 0) {
|
|
365
|
+
writer.writeInt32(
|
|
366
|
+
18,
|
|
367
|
+
f
|
|
368
|
+
);
|
|
369
|
+
}
|
|
291
370
|
};
|
|
292
371
|
|
|
372
|
+
|
|
293
373
|
/**
|
|
294
374
|
* @enum {number}
|
|
295
375
|
*/
|
|
296
376
|
proto.ondewo.nlu.OperationMetadata.Status = {
|
|
297
|
-
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
|
-
|
|
302
|
-
|
|
377
|
+
STATUS_UNSPECIFIED: 0,
|
|
378
|
+
NOT_STARTED: 1,
|
|
379
|
+
IN_PROGRESS: 2,
|
|
380
|
+
DONE: 3,
|
|
381
|
+
CANCELLED: 4,
|
|
382
|
+
FAILED: 5
|
|
303
383
|
};
|
|
304
384
|
|
|
305
385
|
/**
|
|
306
386
|
* @enum {number}
|
|
307
387
|
*/
|
|
308
388
|
proto.ondewo.nlu.OperationMetadata.OperationType = {
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
313
|
-
|
|
314
|
-
|
|
315
|
-
|
|
316
|
-
|
|
317
|
-
|
|
389
|
+
OPERATION_TYPE_UNSPECIFIED: 0,
|
|
390
|
+
CREATE_AGENT: 1,
|
|
391
|
+
IMPORT_AGENT: 2,
|
|
392
|
+
EXPORT_AGENT: 3,
|
|
393
|
+
DELETE_AGENT: 4,
|
|
394
|
+
RESTORE_AGENT: 5,
|
|
395
|
+
BUILD_AGENT_CACHE: 6,
|
|
396
|
+
TRAIN_AGENT: 7,
|
|
397
|
+
EXPORT_BENCHMARK_AGENT: 8
|
|
318
398
|
};
|
|
319
399
|
|
|
320
400
|
/**
|
|
321
401
|
* optional Status status = 1;
|
|
322
402
|
* @return {!proto.ondewo.nlu.OperationMetadata.Status}
|
|
323
403
|
*/
|
|
324
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getStatus = function
|
|
325
|
-
|
|
404
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getStatus = function() {
|
|
405
|
+
return /** @type {!proto.ondewo.nlu.OperationMetadata.Status} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
326
406
|
};
|
|
327
407
|
|
|
408
|
+
|
|
328
409
|
/**
|
|
329
410
|
* @param {!proto.ondewo.nlu.OperationMetadata.Status} value
|
|
330
411
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
331
412
|
*/
|
|
332
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setStatus = function
|
|
333
|
-
|
|
413
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setStatus = function(value) {
|
|
414
|
+
return jspb.Message.setProto3EnumField(this, 1, value);
|
|
334
415
|
};
|
|
335
416
|
|
|
417
|
+
|
|
336
418
|
/**
|
|
337
419
|
* optional string parent_operation_name = 2;
|
|
338
420
|
* @return {string}
|
|
339
421
|
*/
|
|
340
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getParentOperationName = function
|
|
341
|
-
|
|
422
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getParentOperationName = function() {
|
|
423
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
342
424
|
};
|
|
343
425
|
|
|
426
|
+
|
|
344
427
|
/**
|
|
345
428
|
* @param {string} value
|
|
346
429
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
347
430
|
*/
|
|
348
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setParentOperationName = function
|
|
349
|
-
|
|
431
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setParentOperationName = function(value) {
|
|
432
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
350
433
|
};
|
|
351
434
|
|
|
435
|
+
|
|
352
436
|
/**
|
|
353
437
|
* repeated string sub_operation_names = 3;
|
|
354
438
|
* @return {!Array<string>}
|
|
355
439
|
*/
|
|
356
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getSubOperationNamesList = function
|
|
357
|
-
|
|
440
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getSubOperationNamesList = function() {
|
|
441
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
358
442
|
};
|
|
359
443
|
|
|
444
|
+
|
|
360
445
|
/**
|
|
361
446
|
* @param {!Array<string>} value
|
|
362
447
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
363
448
|
*/
|
|
364
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setSubOperationNamesList = function
|
|
365
|
-
|
|
449
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setSubOperationNamesList = function(value) {
|
|
450
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
366
451
|
};
|
|
367
452
|
|
|
453
|
+
|
|
368
454
|
/**
|
|
369
455
|
* @param {string} value
|
|
370
456
|
* @param {number=} opt_index
|
|
371
457
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
372
458
|
*/
|
|
373
|
-
proto.ondewo.nlu.OperationMetadata.prototype.addSubOperationNames = function
|
|
374
|
-
|
|
459
|
+
proto.ondewo.nlu.OperationMetadata.prototype.addSubOperationNames = function(value, opt_index) {
|
|
460
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
375
461
|
};
|
|
376
462
|
|
|
463
|
+
|
|
377
464
|
/**
|
|
378
465
|
* Clears the list making it empty but non-null.
|
|
379
466
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
380
467
|
*/
|
|
381
|
-
proto.ondewo.nlu.OperationMetadata.prototype.clearSubOperationNamesList = function
|
|
382
|
-
|
|
468
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearSubOperationNamesList = function() {
|
|
469
|
+
return this.setSubOperationNamesList([]);
|
|
383
470
|
};
|
|
384
471
|
|
|
472
|
+
|
|
385
473
|
/**
|
|
386
474
|
* optional google.protobuf.Timestamp create_time = 4;
|
|
387
475
|
* @return {?proto.google.protobuf.Timestamp}
|
|
388
476
|
*/
|
|
389
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getCreateTime = function
|
|
390
|
-
|
|
391
|
-
|
|
392
|
-
);
|
|
477
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getCreateTime = function() {
|
|
478
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
479
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 4));
|
|
393
480
|
};
|
|
394
481
|
|
|
482
|
+
|
|
395
483
|
/**
|
|
396
484
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
397
485
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
398
|
-
|
|
399
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setCreateTime = function
|
|
400
|
-
|
|
486
|
+
*/
|
|
487
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setCreateTime = function(value) {
|
|
488
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
401
489
|
};
|
|
402
490
|
|
|
491
|
+
|
|
403
492
|
/**
|
|
404
493
|
* Clears the message field making it undefined.
|
|
405
494
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
406
495
|
*/
|
|
407
|
-
proto.ondewo.nlu.OperationMetadata.prototype.clearCreateTime = function
|
|
408
|
-
|
|
496
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearCreateTime = function() {
|
|
497
|
+
return this.setCreateTime(undefined);
|
|
409
498
|
};
|
|
410
499
|
|
|
500
|
+
|
|
411
501
|
/**
|
|
412
502
|
* Returns whether this field is set.
|
|
413
503
|
* @return {boolean}
|
|
414
504
|
*/
|
|
415
|
-
proto.ondewo.nlu.OperationMetadata.prototype.hasCreateTime = function
|
|
416
|
-
|
|
505
|
+
proto.ondewo.nlu.OperationMetadata.prototype.hasCreateTime = function() {
|
|
506
|
+
return jspb.Message.getField(this, 4) != null;
|
|
417
507
|
};
|
|
418
508
|
|
|
509
|
+
|
|
419
510
|
/**
|
|
420
511
|
* optional google.protobuf.Timestamp start_time = 5;
|
|
421
512
|
* @return {?proto.google.protobuf.Timestamp}
|
|
422
513
|
*/
|
|
423
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getStartTime = function
|
|
424
|
-
|
|
425
|
-
|
|
426
|
-
);
|
|
514
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getStartTime = function() {
|
|
515
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
516
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 5));
|
|
427
517
|
};
|
|
428
518
|
|
|
519
|
+
|
|
429
520
|
/**
|
|
430
521
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
431
522
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
432
|
-
|
|
433
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setStartTime = function
|
|
434
|
-
|
|
523
|
+
*/
|
|
524
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setStartTime = function(value) {
|
|
525
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
435
526
|
};
|
|
436
527
|
|
|
528
|
+
|
|
437
529
|
/**
|
|
438
530
|
* Clears the message field making it undefined.
|
|
439
531
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
440
532
|
*/
|
|
441
|
-
proto.ondewo.nlu.OperationMetadata.prototype.clearStartTime = function
|
|
442
|
-
|
|
533
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearStartTime = function() {
|
|
534
|
+
return this.setStartTime(undefined);
|
|
443
535
|
};
|
|
444
536
|
|
|
537
|
+
|
|
445
538
|
/**
|
|
446
539
|
* Returns whether this field is set.
|
|
447
540
|
* @return {boolean}
|
|
448
541
|
*/
|
|
449
|
-
proto.ondewo.nlu.OperationMetadata.prototype.hasStartTime = function
|
|
450
|
-
|
|
542
|
+
proto.ondewo.nlu.OperationMetadata.prototype.hasStartTime = function() {
|
|
543
|
+
return jspb.Message.getField(this, 5) != null;
|
|
451
544
|
};
|
|
452
545
|
|
|
546
|
+
|
|
453
547
|
/**
|
|
454
548
|
* optional google.protobuf.Timestamp end_time = 6;
|
|
455
549
|
* @return {?proto.google.protobuf.Timestamp}
|
|
456
550
|
*/
|
|
457
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getEndTime = function
|
|
458
|
-
|
|
459
|
-
|
|
460
|
-
);
|
|
551
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getEndTime = function() {
|
|
552
|
+
return /** @type{?proto.google.protobuf.Timestamp} */ (
|
|
553
|
+
jspb.Message.getWrapperField(this, google_protobuf_timestamp_pb.Timestamp, 6));
|
|
461
554
|
};
|
|
462
555
|
|
|
556
|
+
|
|
463
557
|
/**
|
|
464
558
|
* @param {?proto.google.protobuf.Timestamp|undefined} value
|
|
465
559
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
466
|
-
|
|
467
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setEndTime = function
|
|
468
|
-
|
|
560
|
+
*/
|
|
561
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setEndTime = function(value) {
|
|
562
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
469
563
|
};
|
|
470
564
|
|
|
565
|
+
|
|
471
566
|
/**
|
|
472
567
|
* Clears the message field making it undefined.
|
|
473
568
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
474
569
|
*/
|
|
475
|
-
proto.ondewo.nlu.OperationMetadata.prototype.clearEndTime = function
|
|
476
|
-
|
|
570
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearEndTime = function() {
|
|
571
|
+
return this.setEndTime(undefined);
|
|
477
572
|
};
|
|
478
573
|
|
|
574
|
+
|
|
479
575
|
/**
|
|
480
576
|
* Returns whether this field is set.
|
|
481
577
|
* @return {boolean}
|
|
482
578
|
*/
|
|
483
|
-
proto.ondewo.nlu.OperationMetadata.prototype.hasEndTime = function
|
|
484
|
-
|
|
579
|
+
proto.ondewo.nlu.OperationMetadata.prototype.hasEndTime = function() {
|
|
580
|
+
return jspb.Message.getField(this, 6) != null;
|
|
485
581
|
};
|
|
486
582
|
|
|
583
|
+
|
|
487
584
|
/**
|
|
488
585
|
* optional bool is_cancellation_requested = 7;
|
|
489
586
|
* @return {boolean}
|
|
490
587
|
*/
|
|
491
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getIsCancellationRequested = function
|
|
492
|
-
|
|
588
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getIsCancellationRequested = function() {
|
|
589
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 7, false));
|
|
493
590
|
};
|
|
494
591
|
|
|
592
|
+
|
|
495
593
|
/**
|
|
496
594
|
* @param {boolean} value
|
|
497
595
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
498
596
|
*/
|
|
499
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setIsCancellationRequested = function
|
|
500
|
-
|
|
597
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setIsCancellationRequested = function(value) {
|
|
598
|
+
return jspb.Message.setProto3BooleanField(this, 7, value);
|
|
501
599
|
};
|
|
502
600
|
|
|
601
|
+
|
|
503
602
|
/**
|
|
504
603
|
* optional string cancel_command = 8;
|
|
505
604
|
* @return {string}
|
|
506
605
|
*/
|
|
507
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getCancelCommand = function
|
|
508
|
-
|
|
606
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getCancelCommand = function() {
|
|
607
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
509
608
|
};
|
|
510
609
|
|
|
610
|
+
|
|
511
611
|
/**
|
|
512
612
|
* @param {string} value
|
|
513
613
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
514
614
|
*/
|
|
515
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setCancelCommand = function
|
|
516
|
-
|
|
615
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setCancelCommand = function(value) {
|
|
616
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
517
617
|
};
|
|
518
618
|
|
|
619
|
+
|
|
519
620
|
/**
|
|
520
621
|
* optional string user_id_created = 9;
|
|
521
622
|
* @return {string}
|
|
522
623
|
*/
|
|
523
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getUserIdCreated = function
|
|
524
|
-
|
|
624
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getUserIdCreated = function() {
|
|
625
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
525
626
|
};
|
|
526
627
|
|
|
628
|
+
|
|
527
629
|
/**
|
|
528
630
|
* @param {string} value
|
|
529
631
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
530
632
|
*/
|
|
531
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setUserIdCreated = function
|
|
532
|
-
|
|
633
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setUserIdCreated = function(value) {
|
|
634
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
533
635
|
};
|
|
534
636
|
|
|
637
|
+
|
|
535
638
|
/**
|
|
536
639
|
* optional string user_id_cancelled = 10;
|
|
537
640
|
* @return {string}
|
|
538
641
|
*/
|
|
539
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getUserIdCancelled = function
|
|
540
|
-
|
|
642
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getUserIdCancelled = function() {
|
|
643
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
541
644
|
};
|
|
542
645
|
|
|
646
|
+
|
|
543
647
|
/**
|
|
544
648
|
* @param {string} value
|
|
545
649
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
546
650
|
*/
|
|
547
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setUserIdCancelled = function
|
|
548
|
-
|
|
651
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setUserIdCancelled = function(value) {
|
|
652
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
549
653
|
};
|
|
550
654
|
|
|
655
|
+
|
|
551
656
|
/**
|
|
552
657
|
* optional string project_parent = 11;
|
|
553
658
|
* @return {string}
|
|
554
659
|
*/
|
|
555
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getProjectParent = function
|
|
556
|
-
|
|
660
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getProjectParent = function() {
|
|
661
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 11, ""));
|
|
557
662
|
};
|
|
558
663
|
|
|
664
|
+
|
|
559
665
|
/**
|
|
560
666
|
* @param {string} value
|
|
561
667
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
562
668
|
*/
|
|
563
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setProjectParent = function
|
|
564
|
-
|
|
669
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setProjectParent = function(value) {
|
|
670
|
+
return jspb.Message.setProto3StringField(this, 11, value);
|
|
565
671
|
};
|
|
566
672
|
|
|
673
|
+
|
|
567
674
|
/**
|
|
568
675
|
* optional OperationType operation_type = 12;
|
|
569
676
|
* @return {!proto.ondewo.nlu.OperationMetadata.OperationType}
|
|
570
677
|
*/
|
|
571
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getOperationType = function
|
|
572
|
-
|
|
573
|
-
jspb.Message.getFieldWithDefault(this, 12, 0)
|
|
574
|
-
);
|
|
678
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getOperationType = function() {
|
|
679
|
+
return /** @type {!proto.ondewo.nlu.OperationMetadata.OperationType} */ (jspb.Message.getFieldWithDefault(this, 12, 0));
|
|
575
680
|
};
|
|
576
681
|
|
|
682
|
+
|
|
577
683
|
/**
|
|
578
684
|
* @param {!proto.ondewo.nlu.OperationMetadata.OperationType} value
|
|
579
685
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
580
686
|
*/
|
|
581
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setOperationType = function
|
|
582
|
-
|
|
687
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setOperationType = function(value) {
|
|
688
|
+
return jspb.Message.setProto3EnumField(this, 12, value);
|
|
583
689
|
};
|
|
584
690
|
|
|
691
|
+
|
|
585
692
|
/**
|
|
586
693
|
* optional string host_name = 13;
|
|
587
694
|
* @return {string}
|
|
588
695
|
*/
|
|
589
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getHostName = function
|
|
590
|
-
|
|
696
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getHostName = function() {
|
|
697
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
591
698
|
};
|
|
592
699
|
|
|
700
|
+
|
|
593
701
|
/**
|
|
594
702
|
* @param {string} value
|
|
595
703
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
596
704
|
*/
|
|
597
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setHostName = function
|
|
598
|
-
|
|
705
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setHostName = function(value) {
|
|
706
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
599
707
|
};
|
|
600
708
|
|
|
709
|
+
|
|
601
710
|
/**
|
|
602
711
|
* optional int32 num_reruns = 14;
|
|
603
712
|
* @return {number}
|
|
604
713
|
*/
|
|
605
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getNumReruns = function
|
|
606
|
-
|
|
714
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getNumReruns = function() {
|
|
715
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 14, 0));
|
|
607
716
|
};
|
|
608
717
|
|
|
718
|
+
|
|
609
719
|
/**
|
|
610
720
|
* @param {number} value
|
|
611
721
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
612
722
|
*/
|
|
613
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setNumReruns = function
|
|
614
|
-
|
|
723
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setNumReruns = function(value) {
|
|
724
|
+
return jspb.Message.setProto3IntField(this, 14, value);
|
|
615
725
|
};
|
|
616
726
|
|
|
727
|
+
|
|
617
728
|
/**
|
|
618
729
|
* optional int32 max_num_reruns = 15;
|
|
619
730
|
* @return {number}
|
|
620
731
|
*/
|
|
621
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getMaxNumReruns = function
|
|
622
|
-
|
|
732
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getMaxNumReruns = function() {
|
|
733
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 15, 0));
|
|
623
734
|
};
|
|
624
735
|
|
|
736
|
+
|
|
625
737
|
/**
|
|
626
738
|
* @param {number} value
|
|
627
739
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
628
740
|
*/
|
|
629
|
-
proto.ondewo.nlu.OperationMetadata.prototype.setMaxNumReruns = function
|
|
630
|
-
|
|
741
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setMaxNumReruns = function(value) {
|
|
742
|
+
return jspb.Message.setProto3IntField(this, 15, value);
|
|
631
743
|
};
|
|
632
744
|
|
|
745
|
+
|
|
633
746
|
/**
|
|
634
747
|
* optional string description = 16;
|
|
635
748
|
* @return {string}
|
|
636
749
|
*/
|
|
637
|
-
proto.ondewo.nlu.OperationMetadata.prototype.getDescription = function
|
|
638
|
-
|
|
750
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getDescription = function() {
|
|
751
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 16, ""));
|
|
752
|
+
};
|
|
753
|
+
|
|
754
|
+
|
|
755
|
+
/**
|
|
756
|
+
* @param {string} value
|
|
757
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
758
|
+
*/
|
|
759
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setDescription = function(value) {
|
|
760
|
+
return jspb.Message.setProto3StringField(this, 16, value);
|
|
761
|
+
};
|
|
762
|
+
|
|
763
|
+
|
|
764
|
+
/**
|
|
765
|
+
* repeated string log = 17;
|
|
766
|
+
* @return {!Array<string>}
|
|
767
|
+
*/
|
|
768
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getLogList = function() {
|
|
769
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 17));
|
|
770
|
+
};
|
|
771
|
+
|
|
772
|
+
|
|
773
|
+
/**
|
|
774
|
+
* @param {!Array<string>} value
|
|
775
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
776
|
+
*/
|
|
777
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setLogList = function(value) {
|
|
778
|
+
return jspb.Message.setField(this, 17, value || []);
|
|
639
779
|
};
|
|
640
780
|
|
|
781
|
+
|
|
641
782
|
/**
|
|
642
783
|
* @param {string} value
|
|
784
|
+
* @param {number=} opt_index
|
|
643
785
|
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
644
786
|
*/
|
|
645
|
-
proto.ondewo.nlu.OperationMetadata.prototype.
|
|
646
|
-
|
|
787
|
+
proto.ondewo.nlu.OperationMetadata.prototype.addLog = function(value, opt_index) {
|
|
788
|
+
return jspb.Message.addToRepeatedField(this, 17, value, opt_index);
|
|
647
789
|
};
|
|
648
790
|
|
|
791
|
+
|
|
792
|
+
/**
|
|
793
|
+
* Clears the list making it empty but non-null.
|
|
794
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
795
|
+
*/
|
|
796
|
+
proto.ondewo.nlu.OperationMetadata.prototype.clearLogList = function() {
|
|
797
|
+
return this.setLogList([]);
|
|
798
|
+
};
|
|
799
|
+
|
|
800
|
+
|
|
801
|
+
/**
|
|
802
|
+
* optional int32 log_limit = 18;
|
|
803
|
+
* @return {number}
|
|
804
|
+
*/
|
|
805
|
+
proto.ondewo.nlu.OperationMetadata.prototype.getLogLimit = function() {
|
|
806
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 18, 0));
|
|
807
|
+
};
|
|
808
|
+
|
|
809
|
+
|
|
810
|
+
/**
|
|
811
|
+
* @param {number} value
|
|
812
|
+
* @return {!proto.ondewo.nlu.OperationMetadata} returns this
|
|
813
|
+
*/
|
|
814
|
+
proto.ondewo.nlu.OperationMetadata.prototype.setLogLimit = function(value) {
|
|
815
|
+
return jspb.Message.setProto3IntField(this, 18, value);
|
|
816
|
+
};
|
|
817
|
+
|
|
818
|
+
|
|
649
819
|
goog.object.extend(exports, proto.ondewo.nlu);
|