clarifai-web-grpc 11.1.3 → 11.2.1

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.
@@ -122,6 +122,7 @@ goog.exportSymbol('proto.clarifai.api.GetUserRequest', null, global);
122
122
  goog.exportSymbol('proto.clarifai.api.GetVideoManifestRequest', null, global);
123
123
  goog.exportSymbol('proto.clarifai.api.GetVideoManifestResponse', null, global);
124
124
  goog.exportSymbol('proto.clarifai.api.GetWorkflowRequest', null, global);
125
+ goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionEvaluationRequest', null, global);
125
126
  goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionRequest', null, global);
126
127
  goog.exportSymbol('proto.clarifai.api.IdUpdateSource', null, global);
127
128
  goog.exportSymbol('proto.clarifai.api.LabelSubmitConfig', null, global);
@@ -185,6 +186,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
185
186
  goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
186
187
  goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
187
188
  goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
189
+ goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionEvaluationsRequest', null, global);
188
190
  goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
189
191
  goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
190
192
  goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
@@ -255,6 +257,7 @@ goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
255
257
  goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
256
258
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
257
259
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
260
+ goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionEvaluationResponse', null, global);
258
261
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
259
262
  goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
260
263
  goog.exportSymbol('proto.clarifai.api.MyScopesRootRequest', null, global);
@@ -291,9 +294,11 @@ goog.exportSymbol('proto.clarifai.api.PatchModelsRequest', null, global);
291
294
  goog.exportSymbol('proto.clarifai.api.PatchModuleVersionsRequest', null, global);
292
295
  goog.exportSymbol('proto.clarifai.api.PatchModulesRequest', null, global);
293
296
  goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
297
+ goog.exportSymbol('proto.clarifai.api.PatchRunnersRequest', null, global);
294
298
  goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
295
299
  goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
296
300
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
301
+ goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest', null, global);
297
302
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionsRequest', null, global);
298
303
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowsRequest', null, global);
299
304
  goog.exportSymbol('proto.clarifai.api.PostAnnotationFiltersRequest', null, global);
@@ -328,6 +333,7 @@ goog.exportSymbol('proto.clarifai.api.PostKeysRequest', null, global);
328
333
  goog.exportSymbol('proto.clarifai.api.PostKnowledgeGraphsRequest', null, global);
329
334
  goog.exportSymbol('proto.clarifai.api.PostLabelOrdersRequest', null, global);
330
335
  goog.exportSymbol('proto.clarifai.api.PostLogEntriesRequest', null, global);
336
+ goog.exportSymbol('proto.clarifai.api.PostModelMigrationRequest', null, global);
331
337
  goog.exportSymbol('proto.clarifai.api.PostModelOutputsRequest', null, global);
332
338
  goog.exportSymbol('proto.clarifai.api.PostModelVersionEvaluationsRequest', null, global);
333
339
  goog.exportSymbol('proto.clarifai.api.PostModelVersionMetricsRequest', null, global);
@@ -355,6 +361,7 @@ goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
355
361
  goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
356
362
  goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
357
363
  goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsResponse', null, global);
364
+ goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionEvaluationsRequest', null, global);
358
365
  goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsPublishRequest', null, global);
359
366
  goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsUnPublishRequest', null, global);
360
367
  goog.exportSymbol('proto.clarifai.api.PostWorkflowsRequest', null, global);
@@ -411,9 +418,11 @@ goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
411
418
  goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
412
419
  goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
413
420
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
421
+ goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
414
422
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
415
423
  goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
416
424
  goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
425
+ goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
417
426
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
418
427
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
419
428
  /**
@@ -7199,6 +7208,27 @@ if (goog.DEBUG && !COMPILED) {
7199
7208
  */
7200
7209
  proto.clarifai.api.PostRunnersRequest.displayName = 'proto.clarifai.api.PostRunnersRequest';
7201
7210
  }
7211
+ /**
7212
+ * Generated by JsPbCodeGenerator.
7213
+ * @param {Array=} opt_data Optional initial data array, typically from a
7214
+ * server response, or constructed directly in Javascript. The array is used
7215
+ * in place and becomes part of the constructed object. It is not cloned.
7216
+ * If no data is provided, the constructed object will be empty, but still
7217
+ * valid.
7218
+ * @extends {jspb.Message}
7219
+ * @constructor
7220
+ */
7221
+ proto.clarifai.api.PatchRunnersRequest = function (opt_data) {
7222
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchRunnersRequest.repeatedFields_, null);
7223
+ };
7224
+ goog.inherits(proto.clarifai.api.PatchRunnersRequest, jspb.Message);
7225
+ if (goog.DEBUG && !COMPILED) {
7226
+ /**
7227
+ * @public
7228
+ * @override
7229
+ */
7230
+ proto.clarifai.api.PatchRunnersRequest.displayName = 'proto.clarifai.api.PatchRunnersRequest';
7231
+ }
7202
7232
  /**
7203
7233
  * Generated by JsPbCodeGenerator.
7204
7234
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7304,6 +7334,27 @@ if (goog.DEBUG && !COMPILED) {
7304
7334
  */
7305
7335
  proto.clarifai.api.PostRunnerItemOutputsRequest.displayName = 'proto.clarifai.api.PostRunnerItemOutputsRequest';
7306
7336
  }
7337
+ /**
7338
+ * Generated by JsPbCodeGenerator.
7339
+ * @param {Array=} opt_data Optional initial data array, typically from a
7340
+ * server response, or constructed directly in Javascript. The array is used
7341
+ * in place and becomes part of the constructed object. It is not cloned.
7342
+ * If no data is provided, the constructed object will be empty, but still
7343
+ * valid.
7344
+ * @extends {jspb.Message}
7345
+ * @constructor
7346
+ */
7347
+ proto.clarifai.api.SyncStateRequest = function (opt_data) {
7348
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.SyncStateRequest.repeatedFields_, null);
7349
+ };
7350
+ goog.inherits(proto.clarifai.api.SyncStateRequest, jspb.Message);
7351
+ if (goog.DEBUG && !COMPILED) {
7352
+ /**
7353
+ * @public
7354
+ * @override
7355
+ */
7356
+ proto.clarifai.api.SyncStateRequest.displayName = 'proto.clarifai.api.SyncStateRequest';
7357
+ }
7307
7358
  /**
7308
7359
  * Generated by JsPbCodeGenerator.
7309
7360
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8060,6 +8111,153 @@ if (goog.DEBUG && !COMPILED) {
8060
8111
  */
8061
8112
  proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
8062
8113
  }
8114
+ /**
8115
+ * Generated by JsPbCodeGenerator.
8116
+ * @param {Array=} opt_data Optional initial data array, typically from a
8117
+ * server response, or constructed directly in Javascript. The array is used
8118
+ * in place and becomes part of the constructed object. It is not cloned.
8119
+ * If no data is provided, the constructed object will be empty, but still
8120
+ * valid.
8121
+ * @extends {jspb.Message}
8122
+ * @constructor
8123
+ */
8124
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest = function (opt_data) {
8125
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_, null);
8126
+ };
8127
+ goog.inherits(proto.clarifai.api.PostWorkflowVersionEvaluationsRequest, jspb.Message);
8128
+ if (goog.DEBUG && !COMPILED) {
8129
+ /**
8130
+ * @public
8131
+ * @override
8132
+ */
8133
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PostWorkflowVersionEvaluationsRequest';
8134
+ }
8135
+ /**
8136
+ * Generated by JsPbCodeGenerator.
8137
+ * @param {Array=} opt_data Optional initial data array, typically from a
8138
+ * server response, or constructed directly in Javascript. The array is used
8139
+ * in place and becomes part of the constructed object. It is not cloned.
8140
+ * If no data is provided, the constructed object will be empty, but still
8141
+ * valid.
8142
+ * @extends {jspb.Message}
8143
+ * @constructor
8144
+ */
8145
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest = function (opt_data) {
8146
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_, null);
8147
+ };
8148
+ goog.inherits(proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest, jspb.Message);
8149
+ if (goog.DEBUG && !COMPILED) {
8150
+ /**
8151
+ * @public
8152
+ * @override
8153
+ */
8154
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest';
8155
+ }
8156
+ /**
8157
+ * Generated by JsPbCodeGenerator.
8158
+ * @param {Array=} opt_data Optional initial data array, typically from a
8159
+ * server response, or constructed directly in Javascript. The array is used
8160
+ * in place and becomes part of the constructed object. It is not cloned.
8161
+ * If no data is provided, the constructed object will be empty, but still
8162
+ * valid.
8163
+ * @extends {jspb.Message}
8164
+ * @constructor
8165
+ */
8166
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse = function (opt_data) {
8167
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_, null);
8168
+ };
8169
+ goog.inherits(proto.clarifai.api.MultiWorkflowVersionEvaluationResponse, jspb.Message);
8170
+ if (goog.DEBUG && !COMPILED) {
8171
+ /**
8172
+ * @public
8173
+ * @override
8174
+ */
8175
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.MultiWorkflowVersionEvaluationResponse';
8176
+ }
8177
+ /**
8178
+ * Generated by JsPbCodeGenerator.
8179
+ * @param {Array=} opt_data Optional initial data array, typically from a
8180
+ * server response, or constructed directly in Javascript. The array is used
8181
+ * in place and becomes part of the constructed object. It is not cloned.
8182
+ * If no data is provided, the constructed object will be empty, but still
8183
+ * valid.
8184
+ * @extends {jspb.Message}
8185
+ * @constructor
8186
+ */
8187
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse = function (opt_data) {
8188
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8189
+ };
8190
+ goog.inherits(proto.clarifai.api.SingleWorkflowVersionEvaluationResponse, jspb.Message);
8191
+ if (goog.DEBUG && !COMPILED) {
8192
+ /**
8193
+ * @public
8194
+ * @override
8195
+ */
8196
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.SingleWorkflowVersionEvaluationResponse';
8197
+ }
8198
+ /**
8199
+ * Generated by JsPbCodeGenerator.
8200
+ * @param {Array=} opt_data Optional initial data array, typically from a
8201
+ * server response, or constructed directly in Javascript. The array is used
8202
+ * in place and becomes part of the constructed object. It is not cloned.
8203
+ * If no data is provided, the constructed object will be empty, but still
8204
+ * valid.
8205
+ * @extends {jspb.Message}
8206
+ * @constructor
8207
+ */
8208
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest = function (opt_data) {
8209
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8210
+ };
8211
+ goog.inherits(proto.clarifai.api.GetWorkflowVersionEvaluationRequest, jspb.Message);
8212
+ if (goog.DEBUG && !COMPILED) {
8213
+ /**
8214
+ * @public
8215
+ * @override
8216
+ */
8217
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.displayName = 'proto.clarifai.api.GetWorkflowVersionEvaluationRequest';
8218
+ }
8219
+ /**
8220
+ * Generated by JsPbCodeGenerator.
8221
+ * @param {Array=} opt_data Optional initial data array, typically from a
8222
+ * server response, or constructed directly in Javascript. The array is used
8223
+ * in place and becomes part of the constructed object. It is not cloned.
8224
+ * If no data is provided, the constructed object will be empty, but still
8225
+ * valid.
8226
+ * @extends {jspb.Message}
8227
+ * @constructor
8228
+ */
8229
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest = function (opt_data) {
8230
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8231
+ };
8232
+ goog.inherits(proto.clarifai.api.ListWorkflowVersionEvaluationsRequest, jspb.Message);
8233
+ if (goog.DEBUG && !COMPILED) {
8234
+ /**
8235
+ * @public
8236
+ * @override
8237
+ */
8238
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.ListWorkflowVersionEvaluationsRequest';
8239
+ }
8240
+ /**
8241
+ * Generated by JsPbCodeGenerator.
8242
+ * @param {Array=} opt_data Optional initial data array, typically from a
8243
+ * server response, or constructed directly in Javascript. The array is used
8244
+ * in place and becomes part of the constructed object. It is not cloned.
8245
+ * If no data is provided, the constructed object will be empty, but still
8246
+ * valid.
8247
+ * @extends {jspb.Message}
8248
+ * @constructor
8249
+ */
8250
+ proto.clarifai.api.PostModelMigrationRequest = function (opt_data) {
8251
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8252
+ };
8253
+ goog.inherits(proto.clarifai.api.PostModelMigrationRequest, jspb.Message);
8254
+ if (goog.DEBUG && !COMPILED) {
8255
+ /**
8256
+ * @public
8257
+ * @override
8258
+ */
8259
+ proto.clarifai.api.PostModelMigrationRequest.displayName = 'proto.clarifai.api.PostModelMigrationRequest';
8260
+ }
8063
8261
  if (jspb.Message.GENERATE_TO_OBJECT) {
8064
8262
  /**
8065
8263
  * Creates an object representation of this proto.
@@ -27633,7 +27831,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27633
27831
  workflowId: jspb.Message.getFieldWithDefault(msg, 7, ""),
27634
27832
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 9, ""),
27635
27833
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 10, ""),
27636
- runnerId: jspb.Message.getFieldWithDefault(msg, 11, "")
27834
+ runnerId: jspb.Message.getFieldWithDefault(msg, 11, ""),
27835
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 12, ""),
27836
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 13, ""),
27837
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 14, "")
27637
27838
  };
27638
27839
  if (includeInstance) {
27639
27840
  obj.$jspbMessageInstance = msg;
@@ -27706,6 +27907,18 @@ proto.clarifai.api.ListLogEntriesRequest.deserializeBinaryFromReader = function
27706
27907
  var value = /** @type {string} */ (reader.readString());
27707
27908
  msg.setRunnerId(value);
27708
27909
  break;
27910
+ case 12:
27911
+ var value = /** @type {string} */ (reader.readString());
27912
+ msg.setPipelineId(value);
27913
+ break;
27914
+ case 13:
27915
+ var value = /** @type {string} */ (reader.readString());
27916
+ msg.setPipelineVersionId(value);
27917
+ break;
27918
+ case 14:
27919
+ var value = /** @type {string} */ (reader.readString());
27920
+ msg.setPipelineVersionRunId(value);
27921
+ break;
27709
27922
  default:
27710
27923
  reader.skipField();
27711
27924
  break;
@@ -27771,6 +27984,18 @@ proto.clarifai.api.ListLogEntriesRequest.serializeBinaryToWriter = function (mes
27771
27984
  if (f.length > 0) {
27772
27985
  writer.writeString(11, f);
27773
27986
  }
27987
+ f = message.getPipelineId();
27988
+ if (f.length > 0) {
27989
+ writer.writeString(12, f);
27990
+ }
27991
+ f = message.getPipelineVersionId();
27992
+ if (f.length > 0) {
27993
+ writer.writeString(13, f);
27994
+ }
27995
+ f = message.getPipelineVersionRunId();
27996
+ if (f.length > 0) {
27997
+ writer.writeString(14, f);
27998
+ }
27774
27999
  };
27775
28000
  /**
27776
28001
  * optional uint32 page = 1;
@@ -27926,6 +28151,48 @@ proto.clarifai.api.ListLogEntriesRequest.prototype.getRunnerId = function () {
27926
28151
  proto.clarifai.api.ListLogEntriesRequest.prototype.setRunnerId = function (value) {
27927
28152
  return jspb.Message.setProto3StringField(this, 11, value);
27928
28153
  };
28154
+ /**
28155
+ * optional string pipeline_id = 12;
28156
+ * @return {string}
28157
+ */
28158
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineId = function () {
28159
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
28160
+ };
28161
+ /**
28162
+ * @param {string} value
28163
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
28164
+ */
28165
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineId = function (value) {
28166
+ return jspb.Message.setProto3StringField(this, 12, value);
28167
+ };
28168
+ /**
28169
+ * optional string pipeline_version_id = 13;
28170
+ * @return {string}
28171
+ */
28172
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineVersionId = function () {
28173
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
28174
+ };
28175
+ /**
28176
+ * @param {string} value
28177
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
28178
+ */
28179
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineVersionId = function (value) {
28180
+ return jspb.Message.setProto3StringField(this, 13, value);
28181
+ };
28182
+ /**
28183
+ * optional string pipeline_version_run_id = 14;
28184
+ * @return {string}
28185
+ */
28186
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineVersionRunId = function () {
28187
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
28188
+ };
28189
+ /**
28190
+ * @param {string} value
28191
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
28192
+ */
28193
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineVersionRunId = function (value) {
28194
+ return jspb.Message.setProto3StringField(this, 14, value);
28195
+ };
27929
28196
  if (jspb.Message.GENERATE_TO_OBJECT) {
27930
28197
  /**
27931
28198
  * Creates an object representation of this proto.
@@ -27960,7 +28227,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
27960
28227
  workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
27961
28228
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 6, ""),
27962
28229
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 7, ""),
27963
- runnerId: jspb.Message.getFieldWithDefault(msg, 8, "")
28230
+ runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
28231
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 12, ""),
28232
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 13, ""),
28233
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 14, "")
27964
28234
  };
27965
28235
  if (includeInstance) {
27966
28236
  obj.$jspbMessageInstance = msg;
@@ -28025,6 +28295,18 @@ proto.clarifai.api.StreamLogEntriesRequest.deserializeBinaryFromReader = functio
28025
28295
  var value = /** @type {string} */ (reader.readString());
28026
28296
  msg.setRunnerId(value);
28027
28297
  break;
28298
+ case 12:
28299
+ var value = /** @type {string} */ (reader.readString());
28300
+ msg.setPipelineId(value);
28301
+ break;
28302
+ case 13:
28303
+ var value = /** @type {string} */ (reader.readString());
28304
+ msg.setPipelineVersionId(value);
28305
+ break;
28306
+ case 14:
28307
+ var value = /** @type {string} */ (reader.readString());
28308
+ msg.setPipelineVersionRunId(value);
28309
+ break;
28028
28310
  default:
28029
28311
  reader.skipField();
28030
28312
  break;
@@ -28082,6 +28364,18 @@ proto.clarifai.api.StreamLogEntriesRequest.serializeBinaryToWriter = function (m
28082
28364
  if (f.length > 0) {
28083
28365
  writer.writeString(8, f);
28084
28366
  }
28367
+ f = message.getPipelineId();
28368
+ if (f.length > 0) {
28369
+ writer.writeString(12, f);
28370
+ }
28371
+ f = message.getPipelineVersionId();
28372
+ if (f.length > 0) {
28373
+ writer.writeString(13, f);
28374
+ }
28375
+ f = message.getPipelineVersionRunId();
28376
+ if (f.length > 0) {
28377
+ writer.writeString(14, f);
28378
+ }
28085
28379
  };
28086
28380
  /**
28087
28381
  * optional string log_type = 1;
@@ -28209,6 +28503,48 @@ proto.clarifai.api.StreamLogEntriesRequest.prototype.getRunnerId = function () {
28209
28503
  proto.clarifai.api.StreamLogEntriesRequest.prototype.setRunnerId = function (value) {
28210
28504
  return jspb.Message.setProto3StringField(this, 8, value);
28211
28505
  };
28506
+ /**
28507
+ * optional string pipeline_id = 12;
28508
+ * @return {string}
28509
+ */
28510
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineId = function () {
28511
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
28512
+ };
28513
+ /**
28514
+ * @param {string} value
28515
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
28516
+ */
28517
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineId = function (value) {
28518
+ return jspb.Message.setProto3StringField(this, 12, value);
28519
+ };
28520
+ /**
28521
+ * optional string pipeline_version_id = 13;
28522
+ * @return {string}
28523
+ */
28524
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineVersionId = function () {
28525
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
28526
+ };
28527
+ /**
28528
+ * @param {string} value
28529
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
28530
+ */
28531
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineVersionId = function (value) {
28532
+ return jspb.Message.setProto3StringField(this, 13, value);
28533
+ };
28534
+ /**
28535
+ * optional string pipeline_version_run_id = 14;
28536
+ * @return {string}
28537
+ */
28538
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineVersionRunId = function () {
28539
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
28540
+ };
28541
+ /**
28542
+ * @param {string} value
28543
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
28544
+ */
28545
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineVersionRunId = function (value) {
28546
+ return jspb.Message.setProto3StringField(this, 14, value);
28547
+ };
28212
28548
  if (jspb.Message.GENERATE_TO_OBJECT) {
28213
28549
  /**
28214
28550
  * Creates an object representation of this proto.
@@ -35690,7 +36026,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
35690
36026
  modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
35691
36027
  modelVersionsList: jspb.Message.toObjectList(msg.getModelVersionsList(), proto_clarifai_api_resources_pb.ModelVersion.toObject, includeInstance),
35692
36028
  description: jspb.Message.getFieldWithDefault(msg, 8, ""),
35693
- evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f)
36029
+ evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f),
36030
+ doMigration: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
35694
36031
  };
35695
36032
  if (includeInstance) {
35696
36033
  obj.$jspbMessageInstance = msg;
@@ -35745,6 +36082,10 @@ proto.clarifai.api.PostModelVersionsRequest.deserializeBinaryFromReader = functi
35745
36082
  reader.readMessage(value, proto_clarifai_api_resources_pb.EvalInfo.deserializeBinaryFromReader);
35746
36083
  msg.setEvalInfo(value);
35747
36084
  break;
36085
+ case 11:
36086
+ var value = /** @type {boolean} */ (reader.readBool());
36087
+ msg.setDoMigration(value);
36088
+ break;
35748
36089
  default:
35749
36090
  reader.skipField();
35750
36091
  break;
@@ -35790,6 +36131,10 @@ proto.clarifai.api.PostModelVersionsRequest.serializeBinaryToWriter = function (
35790
36131
  if (f != null) {
35791
36132
  writer.writeMessage(10, f, proto_clarifai_api_resources_pb.EvalInfo.serializeBinaryToWriter);
35792
36133
  }
36134
+ f = message.getDoMigration();
36135
+ if (f) {
36136
+ writer.writeBool(11, f);
36137
+ }
35793
36138
  };
35794
36139
  /**
35795
36140
  * optional UserAppIDSet user_app_id = 1;
@@ -35904,6 +36249,20 @@ proto.clarifai.api.PostModelVersionsRequest.prototype.clearEvalInfo = function (
35904
36249
  proto.clarifai.api.PostModelVersionsRequest.prototype.hasEvalInfo = function () {
35905
36250
  return jspb.Message.getField(this, 10) != null;
35906
36251
  };
36252
+ /**
36253
+ * optional bool do_migration = 11;
36254
+ * @return {boolean}
36255
+ */
36256
+ proto.clarifai.api.PostModelVersionsRequest.prototype.getDoMigration = function () {
36257
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
36258
+ };
36259
+ /**
36260
+ * @param {boolean} value
36261
+ * @return {!proto.clarifai.api.PostModelVersionsRequest} returns this
36262
+ */
36263
+ proto.clarifai.api.PostModelVersionsRequest.prototype.setDoMigration = function (value) {
36264
+ return jspb.Message.setProto3BooleanField(this, 11, value);
36265
+ };
35907
36266
  /**
35908
36267
  * Oneof group definitions for this message. Each group defines the field
35909
36268
  * numbers belonging to that group. When of these fields' value is set, all
@@ -69726,6 +70085,242 @@ proto.clarifai.api.PostRunnersRequest.prototype.getComputeClusterId = function (
69726
70085
  proto.clarifai.api.PostRunnersRequest.prototype.setComputeClusterId = function (value) {
69727
70086
  return jspb.Message.setProto3StringField(this, 4, value);
69728
70087
  };
70088
+ /**
70089
+ * List of repeated fields within this message type.
70090
+ * @private {!Array<number>}
70091
+ * @const
70092
+ */
70093
+ proto.clarifai.api.PatchRunnersRequest.repeatedFields_ = [3];
70094
+ if (jspb.Message.GENERATE_TO_OBJECT) {
70095
+ /**
70096
+ * Creates an object representation of this proto.
70097
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
70098
+ * Optional fields that are not set will be set to undefined.
70099
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
70100
+ * For the list of reserved names please see:
70101
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
70102
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
70103
+ * JSPB instance for transitional soy proto support:
70104
+ * http://goto/soy-param-migration
70105
+ * @return {!Object}
70106
+ */
70107
+ proto.clarifai.api.PatchRunnersRequest.prototype.toObject = function (opt_includeInstance) {
70108
+ return proto.clarifai.api.PatchRunnersRequest.toObject(opt_includeInstance, this);
70109
+ };
70110
+ /**
70111
+ * Static version of the {@see toObject} method.
70112
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70113
+ * the JSPB instance for transitional soy proto support:
70114
+ * http://goto/soy-param-migration
70115
+ * @param {!proto.clarifai.api.PatchRunnersRequest} msg The msg instance to transform.
70116
+ * @return {!Object}
70117
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70118
+ */
70119
+ proto.clarifai.api.PatchRunnersRequest.toObject = function (includeInstance, msg) {
70120
+ var f, obj = {
70121
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
70122
+ nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
70123
+ runnersList: jspb.Message.toObjectList(msg.getRunnersList(), proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
70124
+ computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, ""),
70125
+ action: jspb.Message.getFieldWithDefault(msg, 5, "")
70126
+ };
70127
+ if (includeInstance) {
70128
+ obj.$jspbMessageInstance = msg;
70129
+ }
70130
+ return obj;
70131
+ };
70132
+ }
70133
+ /**
70134
+ * Deserializes binary data (in protobuf wire format).
70135
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
70136
+ * @return {!proto.clarifai.api.PatchRunnersRequest}
70137
+ */
70138
+ proto.clarifai.api.PatchRunnersRequest.deserializeBinary = function (bytes) {
70139
+ var reader = new jspb.BinaryReader(bytes);
70140
+ var msg = new proto.clarifai.api.PatchRunnersRequest;
70141
+ return proto.clarifai.api.PatchRunnersRequest.deserializeBinaryFromReader(msg, reader);
70142
+ };
70143
+ /**
70144
+ * Deserializes binary data (in protobuf wire format) from the
70145
+ * given reader into the given message object.
70146
+ * @param {!proto.clarifai.api.PatchRunnersRequest} msg The message object to deserialize into.
70147
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
70148
+ * @return {!proto.clarifai.api.PatchRunnersRequest}
70149
+ */
70150
+ proto.clarifai.api.PatchRunnersRequest.deserializeBinaryFromReader = function (msg, reader) {
70151
+ while (reader.nextField()) {
70152
+ if (reader.isEndGroup()) {
70153
+ break;
70154
+ }
70155
+ var field = reader.getFieldNumber();
70156
+ switch (field) {
70157
+ case 1:
70158
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
70159
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
70160
+ msg.setUserAppId(value);
70161
+ break;
70162
+ case 2:
70163
+ var value = /** @type {string} */ (reader.readString());
70164
+ msg.setNodepoolId(value);
70165
+ break;
70166
+ case 3:
70167
+ var value = new proto_clarifai_api_resources_pb.Runner;
70168
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
70169
+ msg.addRunners(value);
70170
+ break;
70171
+ case 4:
70172
+ var value = /** @type {string} */ (reader.readString());
70173
+ msg.setComputeClusterId(value);
70174
+ break;
70175
+ case 5:
70176
+ var value = /** @type {string} */ (reader.readString());
70177
+ msg.setAction(value);
70178
+ break;
70179
+ default:
70180
+ reader.skipField();
70181
+ break;
70182
+ }
70183
+ }
70184
+ return msg;
70185
+ };
70186
+ /**
70187
+ * Serializes the message to binary data (in protobuf wire format).
70188
+ * @return {!Uint8Array}
70189
+ */
70190
+ proto.clarifai.api.PatchRunnersRequest.prototype.serializeBinary = function () {
70191
+ var writer = new jspb.BinaryWriter();
70192
+ proto.clarifai.api.PatchRunnersRequest.serializeBinaryToWriter(this, writer);
70193
+ return writer.getResultBuffer();
70194
+ };
70195
+ /**
70196
+ * Serializes the given message to binary data (in protobuf wire
70197
+ * format), writing to the given BinaryWriter.
70198
+ * @param {!proto.clarifai.api.PatchRunnersRequest} message
70199
+ * @param {!jspb.BinaryWriter} writer
70200
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70201
+ */
70202
+ proto.clarifai.api.PatchRunnersRequest.serializeBinaryToWriter = function (message, writer) {
70203
+ var f = undefined;
70204
+ f = message.getUserAppId();
70205
+ if (f != null) {
70206
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
70207
+ }
70208
+ f = message.getNodepoolId();
70209
+ if (f.length > 0) {
70210
+ writer.writeString(2, f);
70211
+ }
70212
+ f = message.getRunnersList();
70213
+ if (f.length > 0) {
70214
+ writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter);
70215
+ }
70216
+ f = message.getComputeClusterId();
70217
+ if (f.length > 0) {
70218
+ writer.writeString(4, f);
70219
+ }
70220
+ f = message.getAction();
70221
+ if (f.length > 0) {
70222
+ writer.writeString(5, f);
70223
+ }
70224
+ };
70225
+ /**
70226
+ * optional UserAppIDSet user_app_id = 1;
70227
+ * @return {?proto.clarifai.api.UserAppIDSet}
70228
+ */
70229
+ proto.clarifai.api.PatchRunnersRequest.prototype.getUserAppId = function () {
70230
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
70231
+ };
70232
+ /**
70233
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
70234
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70235
+ */
70236
+ proto.clarifai.api.PatchRunnersRequest.prototype.setUserAppId = function (value) {
70237
+ return jspb.Message.setWrapperField(this, 1, value);
70238
+ };
70239
+ /**
70240
+ * Clears the message field making it undefined.
70241
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70242
+ */
70243
+ proto.clarifai.api.PatchRunnersRequest.prototype.clearUserAppId = function () {
70244
+ return this.setUserAppId(undefined);
70245
+ };
70246
+ /**
70247
+ * Returns whether this field is set.
70248
+ * @return {boolean}
70249
+ */
70250
+ proto.clarifai.api.PatchRunnersRequest.prototype.hasUserAppId = function () {
70251
+ return jspb.Message.getField(this, 1) != null;
70252
+ };
70253
+ /**
70254
+ * optional string nodepool_id = 2;
70255
+ * @return {string}
70256
+ */
70257
+ proto.clarifai.api.PatchRunnersRequest.prototype.getNodepoolId = function () {
70258
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
70259
+ };
70260
+ /**
70261
+ * @param {string} value
70262
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70263
+ */
70264
+ proto.clarifai.api.PatchRunnersRequest.prototype.setNodepoolId = function (value) {
70265
+ return jspb.Message.setProto3StringField(this, 2, value);
70266
+ };
70267
+ /**
70268
+ * repeated Runner runners = 3;
70269
+ * @return {!Array<!proto.clarifai.api.Runner>}
70270
+ */
70271
+ proto.clarifai.api.PatchRunnersRequest.prototype.getRunnersList = function () {
70272
+ return /** @type{!Array<!proto.clarifai.api.Runner>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 3));
70273
+ };
70274
+ /**
70275
+ * @param {!Array<!proto.clarifai.api.Runner>} value
70276
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70277
+ */
70278
+ proto.clarifai.api.PatchRunnersRequest.prototype.setRunnersList = function (value) {
70279
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
70280
+ };
70281
+ /**
70282
+ * @param {!proto.clarifai.api.Runner=} opt_value
70283
+ * @param {number=} opt_index
70284
+ * @return {!proto.clarifai.api.Runner}
70285
+ */
70286
+ proto.clarifai.api.PatchRunnersRequest.prototype.addRunners = function (opt_value, opt_index) {
70287
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Runner, opt_index);
70288
+ };
70289
+ /**
70290
+ * Clears the list making it empty but non-null.
70291
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70292
+ */
70293
+ proto.clarifai.api.PatchRunnersRequest.prototype.clearRunnersList = function () {
70294
+ return this.setRunnersList([]);
70295
+ };
70296
+ /**
70297
+ * optional string compute_cluster_id = 4;
70298
+ * @return {string}
70299
+ */
70300
+ proto.clarifai.api.PatchRunnersRequest.prototype.getComputeClusterId = function () {
70301
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
70302
+ };
70303
+ /**
70304
+ * @param {string} value
70305
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70306
+ */
70307
+ proto.clarifai.api.PatchRunnersRequest.prototype.setComputeClusterId = function (value) {
70308
+ return jspb.Message.setProto3StringField(this, 4, value);
70309
+ };
70310
+ /**
70311
+ * optional string action = 5;
70312
+ * @return {string}
70313
+ */
70314
+ proto.clarifai.api.PatchRunnersRequest.prototype.getAction = function () {
70315
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
70316
+ };
70317
+ /**
70318
+ * @param {string} value
70319
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
70320
+ */
70321
+ proto.clarifai.api.PatchRunnersRequest.prototype.setAction = function (value) {
70322
+ return jspb.Message.setProto3StringField(this, 5, value);
70323
+ };
69729
70324
  /**
69730
70325
  * List of repeated fields within this message type.
69731
70326
  * @private {!Array<number>}
@@ -70496,7 +71091,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
70496
71091
  runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
70497
71092
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
70498
71093
  runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, ""),
70499
- computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, "")
71094
+ computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, ""),
71095
+ cloudProviderId: jspb.Message.getFieldWithDefault(msg, 9, ""),
71096
+ region: jspb.Message.getFieldWithDefault(msg, 10, "")
70500
71097
  };
70501
71098
  if (includeInstance) {
70502
71099
  obj.$jspbMessageInstance = msg;
@@ -70563,6 +71160,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
70563
71160
  var value = /** @type {string} */ (reader.readString());
70564
71161
  msg.setComputeClusterId(value);
70565
71162
  break;
71163
+ case 9:
71164
+ var value = /** @type {string} */ (reader.readString());
71165
+ msg.setCloudProviderId(value);
71166
+ break;
71167
+ case 10:
71168
+ var value = /** @type {string} */ (reader.readString());
71169
+ msg.setRegion(value);
71170
+ break;
70566
71171
  default:
70567
71172
  reader.skipField();
70568
71173
  break;
@@ -70620,6 +71225,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
70620
71225
  if (f.length > 0) {
70621
71226
  writer.writeString(8, f);
70622
71227
  }
71228
+ f = message.getCloudProviderId();
71229
+ if (f.length > 0) {
71230
+ writer.writeString(9, f);
71231
+ }
71232
+ f = message.getRegion();
71233
+ if (f.length > 0) {
71234
+ writer.writeString(10, f);
71235
+ }
70623
71236
  };
70624
71237
  /**
70625
71238
  * optional UserAppIDSet user_app_id = 1;
@@ -70776,6 +71389,303 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getComputeClusterId =
70776
71389
  proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setComputeClusterId = function (value) {
70777
71390
  return jspb.Message.setProto3StringField(this, 8, value);
70778
71391
  };
71392
+ /**
71393
+ * optional string cloud_provider_id = 9;
71394
+ * @return {string}
71395
+ */
71396
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getCloudProviderId = function () {
71397
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
71398
+ };
71399
+ /**
71400
+ * @param {string} value
71401
+ * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
71402
+ */
71403
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setCloudProviderId = function (value) {
71404
+ return jspb.Message.setProto3StringField(this, 9, value);
71405
+ };
71406
+ /**
71407
+ * optional string region = 10;
71408
+ * @return {string}
71409
+ */
71410
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRegion = function () {
71411
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
71412
+ };
71413
+ /**
71414
+ * @param {string} value
71415
+ * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
71416
+ */
71417
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRegion = function (value) {
71418
+ return jspb.Message.setProto3StringField(this, 10, value);
71419
+ };
71420
+ /**
71421
+ * List of repeated fields within this message type.
71422
+ * @private {!Array<number>}
71423
+ * @const
71424
+ */
71425
+ proto.clarifai.api.SyncStateRequest.repeatedFields_ = [2, 3, 4, 5];
71426
+ if (jspb.Message.GENERATE_TO_OBJECT) {
71427
+ /**
71428
+ * Creates an object representation of this proto.
71429
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
71430
+ * Optional fields that are not set will be set to undefined.
71431
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
71432
+ * For the list of reserved names please see:
71433
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
71434
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
71435
+ * JSPB instance for transitional soy proto support:
71436
+ * http://goto/soy-param-migration
71437
+ * @return {!Object}
71438
+ */
71439
+ proto.clarifai.api.SyncStateRequest.prototype.toObject = function (opt_includeInstance) {
71440
+ return proto.clarifai.api.SyncStateRequest.toObject(opt_includeInstance, this);
71441
+ };
71442
+ /**
71443
+ * Static version of the {@see toObject} method.
71444
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
71445
+ * the JSPB instance for transitional soy proto support:
71446
+ * http://goto/soy-param-migration
71447
+ * @param {!proto.clarifai.api.SyncStateRequest} msg The msg instance to transform.
71448
+ * @return {!Object}
71449
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71450
+ */
71451
+ proto.clarifai.api.SyncStateRequest.toObject = function (includeInstance, msg) {
71452
+ var f, obj = {
71453
+ operationType: jspb.Message.getFieldWithDefault(msg, 1, ""),
71454
+ computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(), proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance),
71455
+ nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
71456
+ runnersList: jspb.Message.toObjectList(msg.getRunnersList(), proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
71457
+ pipelineVersionRunsList: jspb.Message.toObjectList(msg.getPipelineVersionRunsList(), proto_clarifai_api_resources_pb.PipelineVersionRun.toObject, includeInstance)
71458
+ };
71459
+ if (includeInstance) {
71460
+ obj.$jspbMessageInstance = msg;
71461
+ }
71462
+ return obj;
71463
+ };
71464
+ }
71465
+ /**
71466
+ * Deserializes binary data (in protobuf wire format).
71467
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
71468
+ * @return {!proto.clarifai.api.SyncStateRequest}
71469
+ */
71470
+ proto.clarifai.api.SyncStateRequest.deserializeBinary = function (bytes) {
71471
+ var reader = new jspb.BinaryReader(bytes);
71472
+ var msg = new proto.clarifai.api.SyncStateRequest;
71473
+ return proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader(msg, reader);
71474
+ };
71475
+ /**
71476
+ * Deserializes binary data (in protobuf wire format) from the
71477
+ * given reader into the given message object.
71478
+ * @param {!proto.clarifai.api.SyncStateRequest} msg The message object to deserialize into.
71479
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71480
+ * @return {!proto.clarifai.api.SyncStateRequest}
71481
+ */
71482
+ proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader = function (msg, reader) {
71483
+ while (reader.nextField()) {
71484
+ if (reader.isEndGroup()) {
71485
+ break;
71486
+ }
71487
+ var field = reader.getFieldNumber();
71488
+ switch (field) {
71489
+ case 1:
71490
+ var value = /** @type {string} */ (reader.readString());
71491
+ msg.setOperationType(value);
71492
+ break;
71493
+ case 2:
71494
+ var value = new proto_clarifai_api_resources_pb.ComputeCluster;
71495
+ reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
71496
+ msg.addComputeClusters(value);
71497
+ break;
71498
+ case 3:
71499
+ var value = new proto_clarifai_api_resources_pb.Nodepool;
71500
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
71501
+ msg.addNodepools(value);
71502
+ break;
71503
+ case 4:
71504
+ var value = new proto_clarifai_api_resources_pb.Runner;
71505
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
71506
+ msg.addRunners(value);
71507
+ break;
71508
+ case 5:
71509
+ var value = new proto_clarifai_api_resources_pb.PipelineVersionRun;
71510
+ reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineVersionRun.deserializeBinaryFromReader);
71511
+ msg.addPipelineVersionRuns(value);
71512
+ break;
71513
+ default:
71514
+ reader.skipField();
71515
+ break;
71516
+ }
71517
+ }
71518
+ return msg;
71519
+ };
71520
+ /**
71521
+ * Serializes the message to binary data (in protobuf wire format).
71522
+ * @return {!Uint8Array}
71523
+ */
71524
+ proto.clarifai.api.SyncStateRequest.prototype.serializeBinary = function () {
71525
+ var writer = new jspb.BinaryWriter();
71526
+ proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter(this, writer);
71527
+ return writer.getResultBuffer();
71528
+ };
71529
+ /**
71530
+ * Serializes the given message to binary data (in protobuf wire
71531
+ * format), writing to the given BinaryWriter.
71532
+ * @param {!proto.clarifai.api.SyncStateRequest} message
71533
+ * @param {!jspb.BinaryWriter} writer
71534
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71535
+ */
71536
+ proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter = function (message, writer) {
71537
+ var f = undefined;
71538
+ f = message.getOperationType();
71539
+ if (f.length > 0) {
71540
+ writer.writeString(1, f);
71541
+ }
71542
+ f = message.getComputeClustersList();
71543
+ if (f.length > 0) {
71544
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
71545
+ }
71546
+ f = message.getNodepoolsList();
71547
+ if (f.length > 0) {
71548
+ writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
71549
+ }
71550
+ f = message.getRunnersList();
71551
+ if (f.length > 0) {
71552
+ writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter);
71553
+ }
71554
+ f = message.getPipelineVersionRunsList();
71555
+ if (f.length > 0) {
71556
+ writer.writeRepeatedMessage(5, f, proto_clarifai_api_resources_pb.PipelineVersionRun.serializeBinaryToWriter);
71557
+ }
71558
+ };
71559
+ /**
71560
+ * optional string operation_type = 1;
71561
+ * @return {string}
71562
+ */
71563
+ proto.clarifai.api.SyncStateRequest.prototype.getOperationType = function () {
71564
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
71565
+ };
71566
+ /**
71567
+ * @param {string} value
71568
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71569
+ */
71570
+ proto.clarifai.api.SyncStateRequest.prototype.setOperationType = function (value) {
71571
+ return jspb.Message.setProto3StringField(this, 1, value);
71572
+ };
71573
+ /**
71574
+ * repeated ComputeCluster compute_clusters = 2;
71575
+ * @return {!Array<!proto.clarifai.api.ComputeCluster>}
71576
+ */
71577
+ proto.clarifai.api.SyncStateRequest.prototype.getComputeClustersList = function () {
71578
+ return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
71579
+ };
71580
+ /**
71581
+ * @param {!Array<!proto.clarifai.api.ComputeCluster>} value
71582
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71583
+ */
71584
+ proto.clarifai.api.SyncStateRequest.prototype.setComputeClustersList = function (value) {
71585
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
71586
+ };
71587
+ /**
71588
+ * @param {!proto.clarifai.api.ComputeCluster=} opt_value
71589
+ * @param {number=} opt_index
71590
+ * @return {!proto.clarifai.api.ComputeCluster}
71591
+ */
71592
+ proto.clarifai.api.SyncStateRequest.prototype.addComputeClusters = function (opt_value, opt_index) {
71593
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
71594
+ };
71595
+ /**
71596
+ * Clears the list making it empty but non-null.
71597
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71598
+ */
71599
+ proto.clarifai.api.SyncStateRequest.prototype.clearComputeClustersList = function () {
71600
+ return this.setComputeClustersList([]);
71601
+ };
71602
+ /**
71603
+ * repeated Nodepool nodepools = 3;
71604
+ * @return {!Array<!proto.clarifai.api.Nodepool>}
71605
+ */
71606
+ proto.clarifai.api.SyncStateRequest.prototype.getNodepoolsList = function () {
71607
+ return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
71608
+ };
71609
+ /**
71610
+ * @param {!Array<!proto.clarifai.api.Nodepool>} value
71611
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71612
+ */
71613
+ proto.clarifai.api.SyncStateRequest.prototype.setNodepoolsList = function (value) {
71614
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
71615
+ };
71616
+ /**
71617
+ * @param {!proto.clarifai.api.Nodepool=} opt_value
71618
+ * @param {number=} opt_index
71619
+ * @return {!proto.clarifai.api.Nodepool}
71620
+ */
71621
+ proto.clarifai.api.SyncStateRequest.prototype.addNodepools = function (opt_value, opt_index) {
71622
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
71623
+ };
71624
+ /**
71625
+ * Clears the list making it empty but non-null.
71626
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71627
+ */
71628
+ proto.clarifai.api.SyncStateRequest.prototype.clearNodepoolsList = function () {
71629
+ return this.setNodepoolsList([]);
71630
+ };
71631
+ /**
71632
+ * repeated Runner runners = 4;
71633
+ * @return {!Array<!proto.clarifai.api.Runner>}
71634
+ */
71635
+ proto.clarifai.api.SyncStateRequest.prototype.getRunnersList = function () {
71636
+ return /** @type{!Array<!proto.clarifai.api.Runner>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 4));
71637
+ };
71638
+ /**
71639
+ * @param {!Array<!proto.clarifai.api.Runner>} value
71640
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71641
+ */
71642
+ proto.clarifai.api.SyncStateRequest.prototype.setRunnersList = function (value) {
71643
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
71644
+ };
71645
+ /**
71646
+ * @param {!proto.clarifai.api.Runner=} opt_value
71647
+ * @param {number=} opt_index
71648
+ * @return {!proto.clarifai.api.Runner}
71649
+ */
71650
+ proto.clarifai.api.SyncStateRequest.prototype.addRunners = function (opt_value, opt_index) {
71651
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Runner, opt_index);
71652
+ };
71653
+ /**
71654
+ * Clears the list making it empty but non-null.
71655
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71656
+ */
71657
+ proto.clarifai.api.SyncStateRequest.prototype.clearRunnersList = function () {
71658
+ return this.setRunnersList([]);
71659
+ };
71660
+ /**
71661
+ * repeated PipelineVersionRun pipeline_version_runs = 5;
71662
+ * @return {!Array<!proto.clarifai.api.PipelineVersionRun>}
71663
+ */
71664
+ proto.clarifai.api.SyncStateRequest.prototype.getPipelineVersionRunsList = function () {
71665
+ return /** @type{!Array<!proto.clarifai.api.PipelineVersionRun>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRun, 5));
71666
+ };
71667
+ /**
71668
+ * @param {!Array<!proto.clarifai.api.PipelineVersionRun>} value
71669
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71670
+ */
71671
+ proto.clarifai.api.SyncStateRequest.prototype.setPipelineVersionRunsList = function (value) {
71672
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
71673
+ };
71674
+ /**
71675
+ * @param {!proto.clarifai.api.PipelineVersionRun=} opt_value
71676
+ * @param {number=} opt_index
71677
+ * @return {!proto.clarifai.api.PipelineVersionRun}
71678
+ */
71679
+ proto.clarifai.api.SyncStateRequest.prototype.addPipelineVersionRuns = function (opt_value, opt_index) {
71680
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.PipelineVersionRun, opt_index);
71681
+ };
71682
+ /**
71683
+ * Clears the list making it empty but non-null.
71684
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
71685
+ */
71686
+ proto.clarifai.api.SyncStateRequest.prototype.clearPipelineVersionRunsList = function () {
71687
+ return this.setPipelineVersionRunsList([]);
71688
+ };
70779
71689
  /**
70780
71690
  * List of repeated fields within this message type.
70781
71691
  * @private {!Array<number>}
@@ -70951,13 +71861,14 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
70951
71861
  * @private {!Array<!Array<number>>}
70952
71862
  * @const
70953
71863
  */
70954
- proto.clarifai.api.RunnerItem.oneofGroups_ = [[4]];
71864
+ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4, 5]];
70955
71865
  /**
70956
71866
  * @enum {number}
70957
71867
  */
70958
71868
  proto.clarifai.api.RunnerItem.RequestCase = {
70959
71869
  REQUEST_NOT_SET: 0,
70960
- POST_MODEL_OUTPUTS_REQUEST: 4
71870
+ POST_MODEL_OUTPUTS_REQUEST: 4,
71871
+ SYNC_STATE_REQUEST: 5
70961
71872
  };
70962
71873
  /**
70963
71874
  * @return {proto.clarifai.api.RunnerItem.RequestCase}
@@ -70995,7 +71906,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
70995
71906
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
70996
71907
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
70997
71908
  processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
70998
- postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f)
71909
+ postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
71910
+ syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
70999
71911
  };
71000
71912
  if (includeInstance) {
71001
71913
  obj.$jspbMessageInstance = msg;
@@ -71045,6 +71957,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function (msg, reade
71045
71957
  reader.readMessage(value, proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
71046
71958
  msg.setPostModelOutputsRequest(value);
71047
71959
  break;
71960
+ case 5:
71961
+ var value = new proto.clarifai.api.SyncStateRequest;
71962
+ reader.readMessage(value, proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
71963
+ msg.setSyncStateRequest(value);
71964
+ break;
71048
71965
  default:
71049
71966
  reader.skipField();
71050
71967
  break;
@@ -71086,6 +72003,10 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function (message, write
71086
72003
  if (f != null) {
71087
72004
  writer.writeMessage(4, f, proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter);
71088
72005
  }
72006
+ f = message.getSyncStateRequest();
72007
+ if (f != null) {
72008
+ writer.writeMessage(5, f, proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter);
72009
+ }
71089
72010
  };
71090
72011
  /**
71091
72012
  * optional string id = 1;
@@ -71171,6 +72092,34 @@ proto.clarifai.api.RunnerItem.prototype.clearPostModelOutputsRequest = function
71171
72092
  proto.clarifai.api.RunnerItem.prototype.hasPostModelOutputsRequest = function () {
71172
72093
  return jspb.Message.getField(this, 4) != null;
71173
72094
  };
72095
+ /**
72096
+ * optional SyncStateRequest sync_state_request = 5;
72097
+ * @return {?proto.clarifai.api.SyncStateRequest}
72098
+ */
72099
+ proto.clarifai.api.RunnerItem.prototype.getSyncStateRequest = function () {
72100
+ return /** @type{?proto.clarifai.api.SyncStateRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.SyncStateRequest, 5));
72101
+ };
72102
+ /**
72103
+ * @param {?proto.clarifai.api.SyncStateRequest|undefined} value
72104
+ * @return {!proto.clarifai.api.RunnerItem} returns this
72105
+ */
72106
+ proto.clarifai.api.RunnerItem.prototype.setSyncStateRequest = function (value) {
72107
+ return jspb.Message.setOneofWrapperField(this, 5, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
72108
+ };
72109
+ /**
72110
+ * Clears the message field making it undefined.
72111
+ * @return {!proto.clarifai.api.RunnerItem} returns this
72112
+ */
72113
+ proto.clarifai.api.RunnerItem.prototype.clearSyncStateRequest = function () {
72114
+ return this.setSyncStateRequest(undefined);
72115
+ };
72116
+ /**
72117
+ * Returns whether this field is set.
72118
+ * @return {boolean}
72119
+ */
72120
+ proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function () {
72121
+ return jspb.Message.getField(this, 5) != null;
72122
+ };
71174
72123
  /**
71175
72124
  * Oneof group definitions for this message. Each group defines the field
71176
72125
  * numbers belonging to that group. When of these fields' value is set, all
@@ -76869,6 +77818,1332 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.addWorkflow
76869
77818
  proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkflowVersionEvaluationTemplatesList = function () {
76870
77819
  return this.setWorkflowVersionEvaluationTemplatesList([]);
76871
77820
  };
77821
+ /**
77822
+ * List of repeated fields within this message type.
77823
+ * @private {!Array<number>}
77824
+ * @const
77825
+ */
77826
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
77827
+ if (jspb.Message.GENERATE_TO_OBJECT) {
77828
+ /**
77829
+ * Creates an object representation of this proto.
77830
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
77831
+ * Optional fields that are not set will be set to undefined.
77832
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
77833
+ * For the list of reserved names please see:
77834
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
77835
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
77836
+ * JSPB instance for transitional soy proto support:
77837
+ * http://goto/soy-param-migration
77838
+ * @return {!Object}
77839
+ */
77840
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.toObject = function (opt_includeInstance) {
77841
+ return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
77842
+ };
77843
+ /**
77844
+ * Static version of the {@see toObject} method.
77845
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
77846
+ * the JSPB instance for transitional soy proto support:
77847
+ * http://goto/soy-param-migration
77848
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
77849
+ * @return {!Object}
77850
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77851
+ */
77852
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject = function (includeInstance, msg) {
77853
+ var f, obj = {
77854
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
77855
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
77856
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
77857
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
77858
+ };
77859
+ if (includeInstance) {
77860
+ obj.$jspbMessageInstance = msg;
77861
+ }
77862
+ return obj;
77863
+ };
77864
+ }
77865
+ /**
77866
+ * Deserializes binary data (in protobuf wire format).
77867
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
77868
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
77869
+ */
77870
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinary = function (bytes) {
77871
+ var reader = new jspb.BinaryReader(bytes);
77872
+ var msg = new proto.clarifai.api.PostWorkflowVersionEvaluationsRequest;
77873
+ return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
77874
+ };
77875
+ /**
77876
+ * Deserializes binary data (in protobuf wire format) from the
77877
+ * given reader into the given message object.
77878
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
77879
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
77880
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
77881
+ */
77882
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function (msg, reader) {
77883
+ while (reader.nextField()) {
77884
+ if (reader.isEndGroup()) {
77885
+ break;
77886
+ }
77887
+ var field = reader.getFieldNumber();
77888
+ switch (field) {
77889
+ case 1:
77890
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
77891
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
77892
+ msg.setUserAppId(value);
77893
+ break;
77894
+ case 2:
77895
+ var value = /** @type {string} */ (reader.readString());
77896
+ msg.setWorkflowId(value);
77897
+ break;
77898
+ case 3:
77899
+ var value = /** @type {string} */ (reader.readString());
77900
+ msg.setWorkflowVersionId(value);
77901
+ break;
77902
+ case 4:
77903
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
77904
+ reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
77905
+ msg.addWorkflowVersionEvaluations(value);
77906
+ break;
77907
+ default:
77908
+ reader.skipField();
77909
+ break;
77910
+ }
77911
+ }
77912
+ return msg;
77913
+ };
77914
+ /**
77915
+ * Serializes the message to binary data (in protobuf wire format).
77916
+ * @return {!Uint8Array}
77917
+ */
77918
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function () {
77919
+ var writer = new jspb.BinaryWriter();
77920
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
77921
+ return writer.getResultBuffer();
77922
+ };
77923
+ /**
77924
+ * Serializes the given message to binary data (in protobuf wire
77925
+ * format), writing to the given BinaryWriter.
77926
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} message
77927
+ * @param {!jspb.BinaryWriter} writer
77928
+ * @suppress {unusedLocalVariables} f is only used for nested messages
77929
+ */
77930
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function (message, writer) {
77931
+ var f = undefined;
77932
+ f = message.getUserAppId();
77933
+ if (f != null) {
77934
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
77935
+ }
77936
+ f = message.getWorkflowId();
77937
+ if (f.length > 0) {
77938
+ writer.writeString(2, f);
77939
+ }
77940
+ f = message.getWorkflowVersionId();
77941
+ if (f.length > 0) {
77942
+ writer.writeString(3, f);
77943
+ }
77944
+ f = message.getWorkflowVersionEvaluationsList();
77945
+ if (f.length > 0) {
77946
+ writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
77947
+ }
77948
+ };
77949
+ /**
77950
+ * optional UserAppIDSet user_app_id = 1;
77951
+ * @return {?proto.clarifai.api.UserAppIDSet}
77952
+ */
77953
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function () {
77954
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
77955
+ };
77956
+ /**
77957
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
77958
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
77959
+ */
77960
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function (value) {
77961
+ return jspb.Message.setWrapperField(this, 1, value);
77962
+ };
77963
+ /**
77964
+ * Clears the message field making it undefined.
77965
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
77966
+ */
77967
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function () {
77968
+ return this.setUserAppId(undefined);
77969
+ };
77970
+ /**
77971
+ * Returns whether this field is set.
77972
+ * @return {boolean}
77973
+ */
77974
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function () {
77975
+ return jspb.Message.getField(this, 1) != null;
77976
+ };
77977
+ /**
77978
+ * optional string workflow_id = 2;
77979
+ * @return {string}
77980
+ */
77981
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function () {
77982
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
77983
+ };
77984
+ /**
77985
+ * @param {string} value
77986
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
77987
+ */
77988
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function (value) {
77989
+ return jspb.Message.setProto3StringField(this, 2, value);
77990
+ };
77991
+ /**
77992
+ * optional string workflow_version_id = 3;
77993
+ * @return {string}
77994
+ */
77995
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function () {
77996
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
77997
+ };
77998
+ /**
77999
+ * @param {string} value
78000
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78001
+ */
78002
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function (value) {
78003
+ return jspb.Message.setProto3StringField(this, 3, value);
78004
+ };
78005
+ /**
78006
+ * repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
78007
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
78008
+ */
78009
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function () {
78010
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
78011
+ };
78012
+ /**
78013
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
78014
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78015
+ */
78016
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function (value) {
78017
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
78018
+ };
78019
+ /**
78020
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
78021
+ * @param {number=} opt_index
78022
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation}
78023
+ */
78024
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function (opt_value, opt_index) {
78025
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
78026
+ };
78027
+ /**
78028
+ * Clears the list making it empty but non-null.
78029
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
78030
+ */
78031
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
78032
+ return this.setWorkflowVersionEvaluationsList([]);
78033
+ };
78034
+ /**
78035
+ * List of repeated fields within this message type.
78036
+ * @private {!Array<number>}
78037
+ * @const
78038
+ */
78039
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
78040
+ if (jspb.Message.GENERATE_TO_OBJECT) {
78041
+ /**
78042
+ * Creates an object representation of this proto.
78043
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
78044
+ * Optional fields that are not set will be set to undefined.
78045
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78046
+ * For the list of reserved names please see:
78047
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
78048
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
78049
+ * JSPB instance for transitional soy proto support:
78050
+ * http://goto/soy-param-migration
78051
+ * @return {!Object}
78052
+ */
78053
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.toObject = function (opt_includeInstance) {
78054
+ return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
78055
+ };
78056
+ /**
78057
+ * Static version of the {@see toObject} method.
78058
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
78059
+ * the JSPB instance for transitional soy proto support:
78060
+ * http://goto/soy-param-migration
78061
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
78062
+ * @return {!Object}
78063
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78064
+ */
78065
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject = function (includeInstance, msg) {
78066
+ var f, obj = {
78067
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
78068
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
78069
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
78070
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
78071
+ action: jspb.Message.getFieldWithDefault(msg, 5, "")
78072
+ };
78073
+ if (includeInstance) {
78074
+ obj.$jspbMessageInstance = msg;
78075
+ }
78076
+ return obj;
78077
+ };
78078
+ }
78079
+ /**
78080
+ * Deserializes binary data (in protobuf wire format).
78081
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
78082
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
78083
+ */
78084
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinary = function (bytes) {
78085
+ var reader = new jspb.BinaryReader(bytes);
78086
+ var msg = new proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest;
78087
+ return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
78088
+ };
78089
+ /**
78090
+ * Deserializes binary data (in protobuf wire format) from the
78091
+ * given reader into the given message object.
78092
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
78093
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
78094
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
78095
+ */
78096
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function (msg, reader) {
78097
+ while (reader.nextField()) {
78098
+ if (reader.isEndGroup()) {
78099
+ break;
78100
+ }
78101
+ var field = reader.getFieldNumber();
78102
+ switch (field) {
78103
+ case 1:
78104
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
78105
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
78106
+ msg.setUserAppId(value);
78107
+ break;
78108
+ case 2:
78109
+ var value = /** @type {string} */ (reader.readString());
78110
+ msg.setWorkflowId(value);
78111
+ break;
78112
+ case 3:
78113
+ var value = /** @type {string} */ (reader.readString());
78114
+ msg.setWorkflowVersionId(value);
78115
+ break;
78116
+ case 4:
78117
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
78118
+ reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
78119
+ msg.addWorkflowVersionEvaluations(value);
78120
+ break;
78121
+ case 5:
78122
+ var value = /** @type {string} */ (reader.readString());
78123
+ msg.setAction(value);
78124
+ break;
78125
+ default:
78126
+ reader.skipField();
78127
+ break;
78128
+ }
78129
+ }
78130
+ return msg;
78131
+ };
78132
+ /**
78133
+ * Serializes the message to binary data (in protobuf wire format).
78134
+ * @return {!Uint8Array}
78135
+ */
78136
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function () {
78137
+ var writer = new jspb.BinaryWriter();
78138
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
78139
+ return writer.getResultBuffer();
78140
+ };
78141
+ /**
78142
+ * Serializes the given message to binary data (in protobuf wire
78143
+ * format), writing to the given BinaryWriter.
78144
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} message
78145
+ * @param {!jspb.BinaryWriter} writer
78146
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78147
+ */
78148
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function (message, writer) {
78149
+ var f = undefined;
78150
+ f = message.getUserAppId();
78151
+ if (f != null) {
78152
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
78153
+ }
78154
+ f = message.getWorkflowId();
78155
+ if (f.length > 0) {
78156
+ writer.writeString(2, f);
78157
+ }
78158
+ f = message.getWorkflowVersionId();
78159
+ if (f.length > 0) {
78160
+ writer.writeString(3, f);
78161
+ }
78162
+ f = message.getWorkflowVersionEvaluationsList();
78163
+ if (f.length > 0) {
78164
+ writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
78165
+ }
78166
+ f = message.getAction();
78167
+ if (f.length > 0) {
78168
+ writer.writeString(5, f);
78169
+ }
78170
+ };
78171
+ /**
78172
+ * optional UserAppIDSet user_app_id = 1;
78173
+ * @return {?proto.clarifai.api.UserAppIDSet}
78174
+ */
78175
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function () {
78176
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
78177
+ };
78178
+ /**
78179
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
78180
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78181
+ */
78182
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function (value) {
78183
+ return jspb.Message.setWrapperField(this, 1, value);
78184
+ };
78185
+ /**
78186
+ * Clears the message field making it undefined.
78187
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78188
+ */
78189
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function () {
78190
+ return this.setUserAppId(undefined);
78191
+ };
78192
+ /**
78193
+ * Returns whether this field is set.
78194
+ * @return {boolean}
78195
+ */
78196
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function () {
78197
+ return jspb.Message.getField(this, 1) != null;
78198
+ };
78199
+ /**
78200
+ * optional string workflow_id = 2;
78201
+ * @return {string}
78202
+ */
78203
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function () {
78204
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
78205
+ };
78206
+ /**
78207
+ * @param {string} value
78208
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78209
+ */
78210
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function (value) {
78211
+ return jspb.Message.setProto3StringField(this, 2, value);
78212
+ };
78213
+ /**
78214
+ * optional string workflow_version_id = 3;
78215
+ * @return {string}
78216
+ */
78217
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function () {
78218
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
78219
+ };
78220
+ /**
78221
+ * @param {string} value
78222
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78223
+ */
78224
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function (value) {
78225
+ return jspb.Message.setProto3StringField(this, 3, value);
78226
+ };
78227
+ /**
78228
+ * repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
78229
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
78230
+ */
78231
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function () {
78232
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
78233
+ };
78234
+ /**
78235
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
78236
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78237
+ */
78238
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function (value) {
78239
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
78240
+ };
78241
+ /**
78242
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
78243
+ * @param {number=} opt_index
78244
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation}
78245
+ */
78246
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function (opt_value, opt_index) {
78247
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
78248
+ };
78249
+ /**
78250
+ * Clears the list making it empty but non-null.
78251
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78252
+ */
78253
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
78254
+ return this.setWorkflowVersionEvaluationsList([]);
78255
+ };
78256
+ /**
78257
+ * optional string action = 5;
78258
+ * @return {string}
78259
+ */
78260
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getAction = function () {
78261
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
78262
+ };
78263
+ /**
78264
+ * @param {string} value
78265
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
78266
+ */
78267
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setAction = function (value) {
78268
+ return jspb.Message.setProto3StringField(this, 5, value);
78269
+ };
78270
+ /**
78271
+ * List of repeated fields within this message type.
78272
+ * @private {!Array<number>}
78273
+ * @const
78274
+ */
78275
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_ = [2];
78276
+ if (jspb.Message.GENERATE_TO_OBJECT) {
78277
+ /**
78278
+ * Creates an object representation of this proto.
78279
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
78280
+ * Optional fields that are not set will be set to undefined.
78281
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78282
+ * For the list of reserved names please see:
78283
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
78284
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
78285
+ * JSPB instance for transitional soy proto support:
78286
+ * http://goto/soy-param-migration
78287
+ * @return {!Object}
78288
+ */
78289
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.toObject = function (opt_includeInstance) {
78290
+ return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
78291
+ };
78292
+ /**
78293
+ * Static version of the {@see toObject} method.
78294
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
78295
+ * the JSPB instance for transitional soy proto support:
78296
+ * http://goto/soy-param-migration
78297
+ * @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The msg instance to transform.
78298
+ * @return {!Object}
78299
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78300
+ */
78301
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject = function (includeInstance, msg) {
78302
+ var f, obj = {
78303
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
78304
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
78305
+ };
78306
+ if (includeInstance) {
78307
+ obj.$jspbMessageInstance = msg;
78308
+ }
78309
+ return obj;
78310
+ };
78311
+ }
78312
+ /**
78313
+ * Deserializes binary data (in protobuf wire format).
78314
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
78315
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
78316
+ */
78317
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary = function (bytes) {
78318
+ var reader = new jspb.BinaryReader(bytes);
78319
+ var msg = new proto.clarifai.api.MultiWorkflowVersionEvaluationResponse;
78320
+ return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
78321
+ };
78322
+ /**
78323
+ * Deserializes binary data (in protobuf wire format) from the
78324
+ * given reader into the given message object.
78325
+ * @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
78326
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
78327
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
78328
+ */
78329
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function (msg, reader) {
78330
+ while (reader.nextField()) {
78331
+ if (reader.isEndGroup()) {
78332
+ break;
78333
+ }
78334
+ var field = reader.getFieldNumber();
78335
+ switch (field) {
78336
+ case 1:
78337
+ var value = new proto_clarifai_api_status_status_pb.Status;
78338
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
78339
+ msg.setStatus(value);
78340
+ break;
78341
+ case 2:
78342
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
78343
+ reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
78344
+ msg.addWorkflowVersionEvaluations(value);
78345
+ break;
78346
+ default:
78347
+ reader.skipField();
78348
+ break;
78349
+ }
78350
+ }
78351
+ return msg;
78352
+ };
78353
+ /**
78354
+ * Serializes the message to binary data (in protobuf wire format).
78355
+ * @return {!Uint8Array}
78356
+ */
78357
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.serializeBinary = function () {
78358
+ var writer = new jspb.BinaryWriter();
78359
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
78360
+ return writer.getResultBuffer();
78361
+ };
78362
+ /**
78363
+ * Serializes the given message to binary data (in protobuf wire
78364
+ * format), writing to the given BinaryWriter.
78365
+ * @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} message
78366
+ * @param {!jspb.BinaryWriter} writer
78367
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78368
+ */
78369
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function (message, writer) {
78370
+ var f = undefined;
78371
+ f = message.getStatus();
78372
+ if (f != null) {
78373
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
78374
+ }
78375
+ f = message.getWorkflowVersionEvaluationsList();
78376
+ if (f.length > 0) {
78377
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
78378
+ }
78379
+ };
78380
+ /**
78381
+ * optional status.Status status = 1;
78382
+ * @return {?proto.clarifai.api.status.Status}
78383
+ */
78384
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getStatus = function () {
78385
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
78386
+ };
78387
+ /**
78388
+ * @param {?proto.clarifai.api.status.Status|undefined} value
78389
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
78390
+ */
78391
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setStatus = function (value) {
78392
+ return jspb.Message.setWrapperField(this, 1, value);
78393
+ };
78394
+ /**
78395
+ * Clears the message field making it undefined.
78396
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
78397
+ */
78398
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearStatus = function () {
78399
+ return this.setStatus(undefined);
78400
+ };
78401
+ /**
78402
+ * Returns whether this field is set.
78403
+ * @return {boolean}
78404
+ */
78405
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.hasStatus = function () {
78406
+ return jspb.Message.getField(this, 1) != null;
78407
+ };
78408
+ /**
78409
+ * repeated WorkflowVersionEvaluation workflow_version_evaluations = 2;
78410
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
78411
+ */
78412
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluationsList = function () {
78413
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
78414
+ };
78415
+ /**
78416
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
78417
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
78418
+ */
78419
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluationsList = function (value) {
78420
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
78421
+ };
78422
+ /**
78423
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
78424
+ * @param {number=} opt_index
78425
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation}
78426
+ */
78427
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.addWorkflowVersionEvaluations = function (opt_value, opt_index) {
78428
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
78429
+ };
78430
+ /**
78431
+ * Clears the list making it empty but non-null.
78432
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
78433
+ */
78434
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluationsList = function () {
78435
+ return this.setWorkflowVersionEvaluationsList([]);
78436
+ };
78437
+ if (jspb.Message.GENERATE_TO_OBJECT) {
78438
+ /**
78439
+ * Creates an object representation of this proto.
78440
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
78441
+ * Optional fields that are not set will be set to undefined.
78442
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78443
+ * For the list of reserved names please see:
78444
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
78445
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
78446
+ * JSPB instance for transitional soy proto support:
78447
+ * http://goto/soy-param-migration
78448
+ * @return {!Object}
78449
+ */
78450
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.toObject = function (opt_includeInstance) {
78451
+ return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
78452
+ };
78453
+ /**
78454
+ * Static version of the {@see toObject} method.
78455
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
78456
+ * the JSPB instance for transitional soy proto support:
78457
+ * http://goto/soy-param-migration
78458
+ * @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The msg instance to transform.
78459
+ * @return {!Object}
78460
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78461
+ */
78462
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject = function (includeInstance, msg) {
78463
+ var f, obj = {
78464
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
78465
+ workflowVersionEvaluation: (f = msg.getWorkflowVersionEvaluation()) && proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject(includeInstance, f)
78466
+ };
78467
+ if (includeInstance) {
78468
+ obj.$jspbMessageInstance = msg;
78469
+ }
78470
+ return obj;
78471
+ };
78472
+ }
78473
+ /**
78474
+ * Deserializes binary data (in protobuf wire format).
78475
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
78476
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
78477
+ */
78478
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary = function (bytes) {
78479
+ var reader = new jspb.BinaryReader(bytes);
78480
+ var msg = new proto.clarifai.api.SingleWorkflowVersionEvaluationResponse;
78481
+ return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
78482
+ };
78483
+ /**
78484
+ * Deserializes binary data (in protobuf wire format) from the
78485
+ * given reader into the given message object.
78486
+ * @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
78487
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
78488
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
78489
+ */
78490
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function (msg, reader) {
78491
+ while (reader.nextField()) {
78492
+ if (reader.isEndGroup()) {
78493
+ break;
78494
+ }
78495
+ var field = reader.getFieldNumber();
78496
+ switch (field) {
78497
+ case 1:
78498
+ var value = new proto_clarifai_api_status_status_pb.Status;
78499
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
78500
+ msg.setStatus(value);
78501
+ break;
78502
+ case 2:
78503
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
78504
+ reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
78505
+ msg.setWorkflowVersionEvaluation(value);
78506
+ break;
78507
+ default:
78508
+ reader.skipField();
78509
+ break;
78510
+ }
78511
+ }
78512
+ return msg;
78513
+ };
78514
+ /**
78515
+ * Serializes the message to binary data (in protobuf wire format).
78516
+ * @return {!Uint8Array}
78517
+ */
78518
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.serializeBinary = function () {
78519
+ var writer = new jspb.BinaryWriter();
78520
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
78521
+ return writer.getResultBuffer();
78522
+ };
78523
+ /**
78524
+ * Serializes the given message to binary data (in protobuf wire
78525
+ * format), writing to the given BinaryWriter.
78526
+ * @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} message
78527
+ * @param {!jspb.BinaryWriter} writer
78528
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78529
+ */
78530
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function (message, writer) {
78531
+ var f = undefined;
78532
+ f = message.getStatus();
78533
+ if (f != null) {
78534
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
78535
+ }
78536
+ f = message.getWorkflowVersionEvaluation();
78537
+ if (f != null) {
78538
+ writer.writeMessage(2, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
78539
+ }
78540
+ };
78541
+ /**
78542
+ * optional status.Status status = 1;
78543
+ * @return {?proto.clarifai.api.status.Status}
78544
+ */
78545
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getStatus = function () {
78546
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
78547
+ };
78548
+ /**
78549
+ * @param {?proto.clarifai.api.status.Status|undefined} value
78550
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
78551
+ */
78552
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setStatus = function (value) {
78553
+ return jspb.Message.setWrapperField(this, 1, value);
78554
+ };
78555
+ /**
78556
+ * Clears the message field making it undefined.
78557
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
78558
+ */
78559
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearStatus = function () {
78560
+ return this.setStatus(undefined);
78561
+ };
78562
+ /**
78563
+ * Returns whether this field is set.
78564
+ * @return {boolean}
78565
+ */
78566
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasStatus = function () {
78567
+ return jspb.Message.getField(this, 1) != null;
78568
+ };
78569
+ /**
78570
+ * optional WorkflowVersionEvaluation workflow_version_evaluation = 2;
78571
+ * @return {?proto.clarifai.api.WorkflowVersionEvaluation}
78572
+ */
78573
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluation = function () {
78574
+ return /** @type{?proto.clarifai.api.WorkflowVersionEvaluation} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
78575
+ };
78576
+ /**
78577
+ * @param {?proto.clarifai.api.WorkflowVersionEvaluation|undefined} value
78578
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
78579
+ */
78580
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluation = function (value) {
78581
+ return jspb.Message.setWrapperField(this, 2, value);
78582
+ };
78583
+ /**
78584
+ * Clears the message field making it undefined.
78585
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
78586
+ */
78587
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluation = function () {
78588
+ return this.setWorkflowVersionEvaluation(undefined);
78589
+ };
78590
+ /**
78591
+ * Returns whether this field is set.
78592
+ * @return {boolean}
78593
+ */
78594
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasWorkflowVersionEvaluation = function () {
78595
+ return jspb.Message.getField(this, 2) != null;
78596
+ };
78597
+ if (jspb.Message.GENERATE_TO_OBJECT) {
78598
+ /**
78599
+ * Creates an object representation of this proto.
78600
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
78601
+ * Optional fields that are not set will be set to undefined.
78602
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78603
+ * For the list of reserved names please see:
78604
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
78605
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
78606
+ * JSPB instance for transitional soy proto support:
78607
+ * http://goto/soy-param-migration
78608
+ * @return {!Object}
78609
+ */
78610
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.toObject = function (opt_includeInstance) {
78611
+ return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject(opt_includeInstance, this);
78612
+ };
78613
+ /**
78614
+ * Static version of the {@see toObject} method.
78615
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
78616
+ * the JSPB instance for transitional soy proto support:
78617
+ * http://goto/soy-param-migration
78618
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The msg instance to transform.
78619
+ * @return {!Object}
78620
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78621
+ */
78622
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject = function (includeInstance, msg) {
78623
+ var f, obj = {
78624
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
78625
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
78626
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
78627
+ workflowVersionEvaluationId: jspb.Message.getFieldWithDefault(msg, 4, "")
78628
+ };
78629
+ if (includeInstance) {
78630
+ obj.$jspbMessageInstance = msg;
78631
+ }
78632
+ return obj;
78633
+ };
78634
+ }
78635
+ /**
78636
+ * Deserializes binary data (in protobuf wire format).
78637
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
78638
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
78639
+ */
78640
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinary = function (bytes) {
78641
+ var reader = new jspb.BinaryReader(bytes);
78642
+ var msg = new proto.clarifai.api.GetWorkflowVersionEvaluationRequest;
78643
+ return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader(msg, reader);
78644
+ };
78645
+ /**
78646
+ * Deserializes binary data (in protobuf wire format) from the
78647
+ * given reader into the given message object.
78648
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The message object to deserialize into.
78649
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
78650
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
78651
+ */
78652
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader = function (msg, reader) {
78653
+ while (reader.nextField()) {
78654
+ if (reader.isEndGroup()) {
78655
+ break;
78656
+ }
78657
+ var field = reader.getFieldNumber();
78658
+ switch (field) {
78659
+ case 1:
78660
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
78661
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
78662
+ msg.setUserAppId(value);
78663
+ break;
78664
+ case 2:
78665
+ var value = /** @type {string} */ (reader.readString());
78666
+ msg.setWorkflowId(value);
78667
+ break;
78668
+ case 3:
78669
+ var value = /** @type {string} */ (reader.readString());
78670
+ msg.setWorkflowVersionId(value);
78671
+ break;
78672
+ case 4:
78673
+ var value = /** @type {string} */ (reader.readString());
78674
+ msg.setWorkflowVersionEvaluationId(value);
78675
+ break;
78676
+ default:
78677
+ reader.skipField();
78678
+ break;
78679
+ }
78680
+ }
78681
+ return msg;
78682
+ };
78683
+ /**
78684
+ * Serializes the message to binary data (in protobuf wire format).
78685
+ * @return {!Uint8Array}
78686
+ */
78687
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.serializeBinary = function () {
78688
+ var writer = new jspb.BinaryWriter();
78689
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter(this, writer);
78690
+ return writer.getResultBuffer();
78691
+ };
78692
+ /**
78693
+ * Serializes the given message to binary data (in protobuf wire
78694
+ * format), writing to the given BinaryWriter.
78695
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} message
78696
+ * @param {!jspb.BinaryWriter} writer
78697
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78698
+ */
78699
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter = function (message, writer) {
78700
+ var f = undefined;
78701
+ f = message.getUserAppId();
78702
+ if (f != null) {
78703
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
78704
+ }
78705
+ f = message.getWorkflowId();
78706
+ if (f.length > 0) {
78707
+ writer.writeString(2, f);
78708
+ }
78709
+ f = message.getWorkflowVersionId();
78710
+ if (f.length > 0) {
78711
+ writer.writeString(3, f);
78712
+ }
78713
+ f = message.getWorkflowVersionEvaluationId();
78714
+ if (f.length > 0) {
78715
+ writer.writeString(4, f);
78716
+ }
78717
+ };
78718
+ /**
78719
+ * optional UserAppIDSet user_app_id = 1;
78720
+ * @return {?proto.clarifai.api.UserAppIDSet}
78721
+ */
78722
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getUserAppId = function () {
78723
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
78724
+ };
78725
+ /**
78726
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
78727
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
78728
+ */
78729
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setUserAppId = function (value) {
78730
+ return jspb.Message.setWrapperField(this, 1, value);
78731
+ };
78732
+ /**
78733
+ * Clears the message field making it undefined.
78734
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
78735
+ */
78736
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.clearUserAppId = function () {
78737
+ return this.setUserAppId(undefined);
78738
+ };
78739
+ /**
78740
+ * Returns whether this field is set.
78741
+ * @return {boolean}
78742
+ */
78743
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.hasUserAppId = function () {
78744
+ return jspb.Message.getField(this, 1) != null;
78745
+ };
78746
+ /**
78747
+ * optional string workflow_id = 2;
78748
+ * @return {string}
78749
+ */
78750
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowId = function () {
78751
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
78752
+ };
78753
+ /**
78754
+ * @param {string} value
78755
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
78756
+ */
78757
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowId = function (value) {
78758
+ return jspb.Message.setProto3StringField(this, 2, value);
78759
+ };
78760
+ /**
78761
+ * optional string workflow_version_id = 3;
78762
+ * @return {string}
78763
+ */
78764
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionId = function () {
78765
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
78766
+ };
78767
+ /**
78768
+ * @param {string} value
78769
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
78770
+ */
78771
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionId = function (value) {
78772
+ return jspb.Message.setProto3StringField(this, 3, value);
78773
+ };
78774
+ /**
78775
+ * optional string workflow_version_evaluation_id = 4;
78776
+ * @return {string}
78777
+ */
78778
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionEvaluationId = function () {
78779
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
78780
+ };
78781
+ /**
78782
+ * @param {string} value
78783
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
78784
+ */
78785
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionEvaluationId = function (value) {
78786
+ return jspb.Message.setProto3StringField(this, 4, value);
78787
+ };
78788
+ if (jspb.Message.GENERATE_TO_OBJECT) {
78789
+ /**
78790
+ * Creates an object representation of this proto.
78791
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
78792
+ * Optional fields that are not set will be set to undefined.
78793
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
78794
+ * For the list of reserved names please see:
78795
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
78796
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
78797
+ * JSPB instance for transitional soy proto support:
78798
+ * http://goto/soy-param-migration
78799
+ * @return {!Object}
78800
+ */
78801
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.toObject = function (opt_includeInstance) {
78802
+ return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
78803
+ };
78804
+ /**
78805
+ * Static version of the {@see toObject} method.
78806
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
78807
+ * the JSPB instance for transitional soy proto support:
78808
+ * http://goto/soy-param-migration
78809
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
78810
+ * @return {!Object}
78811
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78812
+ */
78813
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject = function (includeInstance, msg) {
78814
+ var f, obj = {
78815
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
78816
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
78817
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
78818
+ page: jspb.Message.getFieldWithDefault(msg, 4, 0),
78819
+ perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
78820
+ };
78821
+ if (includeInstance) {
78822
+ obj.$jspbMessageInstance = msg;
78823
+ }
78824
+ return obj;
78825
+ };
78826
+ }
78827
+ /**
78828
+ * Deserializes binary data (in protobuf wire format).
78829
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
78830
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
78831
+ */
78832
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinary = function (bytes) {
78833
+ var reader = new jspb.BinaryReader(bytes);
78834
+ var msg = new proto.clarifai.api.ListWorkflowVersionEvaluationsRequest;
78835
+ return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
78836
+ };
78837
+ /**
78838
+ * Deserializes binary data (in protobuf wire format) from the
78839
+ * given reader into the given message object.
78840
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
78841
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
78842
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
78843
+ */
78844
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function (msg, reader) {
78845
+ while (reader.nextField()) {
78846
+ if (reader.isEndGroup()) {
78847
+ break;
78848
+ }
78849
+ var field = reader.getFieldNumber();
78850
+ switch (field) {
78851
+ case 1:
78852
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
78853
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
78854
+ msg.setUserAppId(value);
78855
+ break;
78856
+ case 2:
78857
+ var value = /** @type {string} */ (reader.readString());
78858
+ msg.setWorkflowId(value);
78859
+ break;
78860
+ case 3:
78861
+ var value = /** @type {string} */ (reader.readString());
78862
+ msg.setWorkflowVersionId(value);
78863
+ break;
78864
+ case 4:
78865
+ var value = /** @type {number} */ (reader.readUint32());
78866
+ msg.setPage(value);
78867
+ break;
78868
+ case 5:
78869
+ var value = /** @type {number} */ (reader.readUint32());
78870
+ msg.setPerPage(value);
78871
+ break;
78872
+ default:
78873
+ reader.skipField();
78874
+ break;
78875
+ }
78876
+ }
78877
+ return msg;
78878
+ };
78879
+ /**
78880
+ * Serializes the message to binary data (in protobuf wire format).
78881
+ * @return {!Uint8Array}
78882
+ */
78883
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function () {
78884
+ var writer = new jspb.BinaryWriter();
78885
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
78886
+ return writer.getResultBuffer();
78887
+ };
78888
+ /**
78889
+ * Serializes the given message to binary data (in protobuf wire
78890
+ * format), writing to the given BinaryWriter.
78891
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} message
78892
+ * @param {!jspb.BinaryWriter} writer
78893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
78894
+ */
78895
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function (message, writer) {
78896
+ var f = undefined;
78897
+ f = message.getUserAppId();
78898
+ if (f != null) {
78899
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
78900
+ }
78901
+ f = message.getWorkflowId();
78902
+ if (f.length > 0) {
78903
+ writer.writeString(2, f);
78904
+ }
78905
+ f = message.getWorkflowVersionId();
78906
+ if (f.length > 0) {
78907
+ writer.writeString(3, f);
78908
+ }
78909
+ f = message.getPage();
78910
+ if (f !== 0) {
78911
+ writer.writeUint32(4, f);
78912
+ }
78913
+ f = message.getPerPage();
78914
+ if (f !== 0) {
78915
+ writer.writeUint32(5, f);
78916
+ }
78917
+ };
78918
+ /**
78919
+ * optional UserAppIDSet user_app_id = 1;
78920
+ * @return {?proto.clarifai.api.UserAppIDSet}
78921
+ */
78922
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function () {
78923
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
78924
+ };
78925
+ /**
78926
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
78927
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
78928
+ */
78929
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function (value) {
78930
+ return jspb.Message.setWrapperField(this, 1, value);
78931
+ };
78932
+ /**
78933
+ * Clears the message field making it undefined.
78934
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
78935
+ */
78936
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function () {
78937
+ return this.setUserAppId(undefined);
78938
+ };
78939
+ /**
78940
+ * Returns whether this field is set.
78941
+ * @return {boolean}
78942
+ */
78943
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function () {
78944
+ return jspb.Message.getField(this, 1) != null;
78945
+ };
78946
+ /**
78947
+ * optional string workflow_id = 2;
78948
+ * @return {string}
78949
+ */
78950
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function () {
78951
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
78952
+ };
78953
+ /**
78954
+ * @param {string} value
78955
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
78956
+ */
78957
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function (value) {
78958
+ return jspb.Message.setProto3StringField(this, 2, value);
78959
+ };
78960
+ /**
78961
+ * optional string workflow_version_id = 3;
78962
+ * @return {string}
78963
+ */
78964
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function () {
78965
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
78966
+ };
78967
+ /**
78968
+ * @param {string} value
78969
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
78970
+ */
78971
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function (value) {
78972
+ return jspb.Message.setProto3StringField(this, 3, value);
78973
+ };
78974
+ /**
78975
+ * optional uint32 page = 4;
78976
+ * @return {number}
78977
+ */
78978
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPage = function () {
78979
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
78980
+ };
78981
+ /**
78982
+ * @param {number} value
78983
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
78984
+ */
78985
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPage = function (value) {
78986
+ return jspb.Message.setProto3IntField(this, 4, value);
78987
+ };
78988
+ /**
78989
+ * optional uint32 per_page = 5;
78990
+ * @return {number}
78991
+ */
78992
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPerPage = function () {
78993
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
78994
+ };
78995
+ /**
78996
+ * @param {number} value
78997
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
78998
+ */
78999
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPerPage = function (value) {
79000
+ return jspb.Message.setProto3IntField(this, 5, value);
79001
+ };
79002
+ if (jspb.Message.GENERATE_TO_OBJECT) {
79003
+ /**
79004
+ * Creates an object representation of this proto.
79005
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
79006
+ * Optional fields that are not set will be set to undefined.
79007
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
79008
+ * For the list of reserved names please see:
79009
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
79010
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
79011
+ * JSPB instance for transitional soy proto support:
79012
+ * http://goto/soy-param-migration
79013
+ * @return {!Object}
79014
+ */
79015
+ proto.clarifai.api.PostModelMigrationRequest.prototype.toObject = function (opt_includeInstance) {
79016
+ return proto.clarifai.api.PostModelMigrationRequest.toObject(opt_includeInstance, this);
79017
+ };
79018
+ /**
79019
+ * Static version of the {@see toObject} method.
79020
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
79021
+ * the JSPB instance for transitional soy proto support:
79022
+ * http://goto/soy-param-migration
79023
+ * @param {!proto.clarifai.api.PostModelMigrationRequest} msg The msg instance to transform.
79024
+ * @return {!Object}
79025
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79026
+ */
79027
+ proto.clarifai.api.PostModelMigrationRequest.toObject = function (includeInstance, msg) {
79028
+ var f, obj = {
79029
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
79030
+ modelId: jspb.Message.getFieldWithDefault(msg, 2, "")
79031
+ };
79032
+ if (includeInstance) {
79033
+ obj.$jspbMessageInstance = msg;
79034
+ }
79035
+ return obj;
79036
+ };
79037
+ }
79038
+ /**
79039
+ * Deserializes binary data (in protobuf wire format).
79040
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
79041
+ * @return {!proto.clarifai.api.PostModelMigrationRequest}
79042
+ */
79043
+ proto.clarifai.api.PostModelMigrationRequest.deserializeBinary = function (bytes) {
79044
+ var reader = new jspb.BinaryReader(bytes);
79045
+ var msg = new proto.clarifai.api.PostModelMigrationRequest;
79046
+ return proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader(msg, reader);
79047
+ };
79048
+ /**
79049
+ * Deserializes binary data (in protobuf wire format) from the
79050
+ * given reader into the given message object.
79051
+ * @param {!proto.clarifai.api.PostModelMigrationRequest} msg The message object to deserialize into.
79052
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
79053
+ * @return {!proto.clarifai.api.PostModelMigrationRequest}
79054
+ */
79055
+ proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader = function (msg, reader) {
79056
+ while (reader.nextField()) {
79057
+ if (reader.isEndGroup()) {
79058
+ break;
79059
+ }
79060
+ var field = reader.getFieldNumber();
79061
+ switch (field) {
79062
+ case 1:
79063
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
79064
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
79065
+ msg.setUserAppId(value);
79066
+ break;
79067
+ case 2:
79068
+ var value = /** @type {string} */ (reader.readString());
79069
+ msg.setModelId(value);
79070
+ break;
79071
+ default:
79072
+ reader.skipField();
79073
+ break;
79074
+ }
79075
+ }
79076
+ return msg;
79077
+ };
79078
+ /**
79079
+ * Serializes the message to binary data (in protobuf wire format).
79080
+ * @return {!Uint8Array}
79081
+ */
79082
+ proto.clarifai.api.PostModelMigrationRequest.prototype.serializeBinary = function () {
79083
+ var writer = new jspb.BinaryWriter();
79084
+ proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter(this, writer);
79085
+ return writer.getResultBuffer();
79086
+ };
79087
+ /**
79088
+ * Serializes the given message to binary data (in protobuf wire
79089
+ * format), writing to the given BinaryWriter.
79090
+ * @param {!proto.clarifai.api.PostModelMigrationRequest} message
79091
+ * @param {!jspb.BinaryWriter} writer
79092
+ * @suppress {unusedLocalVariables} f is only used for nested messages
79093
+ */
79094
+ proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter = function (message, writer) {
79095
+ var f = undefined;
79096
+ f = message.getUserAppId();
79097
+ if (f != null) {
79098
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
79099
+ }
79100
+ f = message.getModelId();
79101
+ if (f.length > 0) {
79102
+ writer.writeString(2, f);
79103
+ }
79104
+ };
79105
+ /**
79106
+ * optional UserAppIDSet user_app_id = 1;
79107
+ * @return {?proto.clarifai.api.UserAppIDSet}
79108
+ */
79109
+ proto.clarifai.api.PostModelMigrationRequest.prototype.getUserAppId = function () {
79110
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
79111
+ };
79112
+ /**
79113
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
79114
+ * @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
79115
+ */
79116
+ proto.clarifai.api.PostModelMigrationRequest.prototype.setUserAppId = function (value) {
79117
+ return jspb.Message.setWrapperField(this, 1, value);
79118
+ };
79119
+ /**
79120
+ * Clears the message field making it undefined.
79121
+ * @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
79122
+ */
79123
+ proto.clarifai.api.PostModelMigrationRequest.prototype.clearUserAppId = function () {
79124
+ return this.setUserAppId(undefined);
79125
+ };
79126
+ /**
79127
+ * Returns whether this field is set.
79128
+ * @return {boolean}
79129
+ */
79130
+ proto.clarifai.api.PostModelMigrationRequest.prototype.hasUserAppId = function () {
79131
+ return jspb.Message.getField(this, 1) != null;
79132
+ };
79133
+ /**
79134
+ * optional string model_id = 2;
79135
+ * @return {string}
79136
+ */
79137
+ proto.clarifai.api.PostModelMigrationRequest.prototype.getModelId = function () {
79138
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
79139
+ };
79140
+ /**
79141
+ * @param {string} value
79142
+ * @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
79143
+ */
79144
+ proto.clarifai.api.PostModelMigrationRequest.prototype.setModelId = function (value) {
79145
+ return jspb.Message.setProto3StringField(this, 2, value);
79146
+ };
76872
79147
  /**
76873
79148
  * @enum {number}
76874
79149
  */