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.
@@ -124,6 +124,7 @@ goog.exportSymbol('proto.clarifai.api.GetUserRequest', null, global);
124
124
  goog.exportSymbol('proto.clarifai.api.GetVideoManifestRequest', null, global);
125
125
  goog.exportSymbol('proto.clarifai.api.GetVideoManifestResponse', null, global);
126
126
  goog.exportSymbol('proto.clarifai.api.GetWorkflowRequest', null, global);
127
+ goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionEvaluationRequest', null, global);
127
128
  goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionRequest', null, global);
128
129
  goog.exportSymbol('proto.clarifai.api.IdUpdateSource', null, global);
129
130
  goog.exportSymbol('proto.clarifai.api.LabelSubmitConfig', null, global);
@@ -187,6 +188,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
187
188
  goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
188
189
  goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
189
190
  goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
191
+ goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionEvaluationsRequest', null, global);
190
192
  goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
191
193
  goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
192
194
  goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
@@ -257,6 +259,7 @@ goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
257
259
  goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
258
260
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
259
261
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
262
+ goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionEvaluationResponse', null, global);
260
263
  goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
261
264
  goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
262
265
  goog.exportSymbol('proto.clarifai.api.MyScopesRootRequest', null, global);
@@ -293,9 +296,11 @@ goog.exportSymbol('proto.clarifai.api.PatchModelsRequest', null, global);
293
296
  goog.exportSymbol('proto.clarifai.api.PatchModuleVersionsRequest', null, global);
294
297
  goog.exportSymbol('proto.clarifai.api.PatchModulesRequest', null, global);
295
298
  goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
299
+ goog.exportSymbol('proto.clarifai.api.PatchRunnersRequest', null, global);
296
300
  goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
297
301
  goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
298
302
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
303
+ goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest', null, global);
299
304
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionsRequest', null, global);
300
305
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowsRequest', null, global);
301
306
  goog.exportSymbol('proto.clarifai.api.PostAnnotationFiltersRequest', null, global);
@@ -330,6 +335,7 @@ goog.exportSymbol('proto.clarifai.api.PostKeysRequest', null, global);
330
335
  goog.exportSymbol('proto.clarifai.api.PostKnowledgeGraphsRequest', null, global);
331
336
  goog.exportSymbol('proto.clarifai.api.PostLabelOrdersRequest', null, global);
332
337
  goog.exportSymbol('proto.clarifai.api.PostLogEntriesRequest', null, global);
338
+ goog.exportSymbol('proto.clarifai.api.PostModelMigrationRequest', null, global);
333
339
  goog.exportSymbol('proto.clarifai.api.PostModelOutputsRequest', null, global);
334
340
  goog.exportSymbol('proto.clarifai.api.PostModelVersionEvaluationsRequest', null, global);
335
341
  goog.exportSymbol('proto.clarifai.api.PostModelVersionMetricsRequest', null, global);
@@ -357,6 +363,7 @@ goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
357
363
  goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
358
364
  goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
359
365
  goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsResponse', null, global);
366
+ goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionEvaluationsRequest', null, global);
360
367
  goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsPublishRequest', null, global);
361
368
  goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsUnPublishRequest', null, global);
362
369
  goog.exportSymbol('proto.clarifai.api.PostWorkflowsRequest', null, global);
@@ -413,9 +420,11 @@ goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
413
420
  goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
414
421
  goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
415
422
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
423
+ goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
416
424
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
417
425
  goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
418
426
  goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
427
+ goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
419
428
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
420
429
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
421
430
  /**
@@ -7201,6 +7210,27 @@ if (goog.DEBUG && !COMPILED) {
7201
7210
  */
7202
7211
  proto.clarifai.api.PostRunnersRequest.displayName = 'proto.clarifai.api.PostRunnersRequest';
7203
7212
  }
7213
+ /**
7214
+ * Generated by JsPbCodeGenerator.
7215
+ * @param {Array=} opt_data Optional initial data array, typically from a
7216
+ * server response, or constructed directly in Javascript. The array is used
7217
+ * in place and becomes part of the constructed object. It is not cloned.
7218
+ * If no data is provided, the constructed object will be empty, but still
7219
+ * valid.
7220
+ * @extends {jspb.Message}
7221
+ * @constructor
7222
+ */
7223
+ proto.clarifai.api.PatchRunnersRequest = function(opt_data) {
7224
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchRunnersRequest.repeatedFields_, null);
7225
+ };
7226
+ goog.inherits(proto.clarifai.api.PatchRunnersRequest, jspb.Message);
7227
+ if (goog.DEBUG && !COMPILED) {
7228
+ /**
7229
+ * @public
7230
+ * @override
7231
+ */
7232
+ proto.clarifai.api.PatchRunnersRequest.displayName = 'proto.clarifai.api.PatchRunnersRequest';
7233
+ }
7204
7234
  /**
7205
7235
  * Generated by JsPbCodeGenerator.
7206
7236
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7306,6 +7336,27 @@ if (goog.DEBUG && !COMPILED) {
7306
7336
  */
7307
7337
  proto.clarifai.api.PostRunnerItemOutputsRequest.displayName = 'proto.clarifai.api.PostRunnerItemOutputsRequest';
7308
7338
  }
7339
+ /**
7340
+ * Generated by JsPbCodeGenerator.
7341
+ * @param {Array=} opt_data Optional initial data array, typically from a
7342
+ * server response, or constructed directly in Javascript. The array is used
7343
+ * in place and becomes part of the constructed object. It is not cloned.
7344
+ * If no data is provided, the constructed object will be empty, but still
7345
+ * valid.
7346
+ * @extends {jspb.Message}
7347
+ * @constructor
7348
+ */
7349
+ proto.clarifai.api.SyncStateRequest = function(opt_data) {
7350
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.SyncStateRequest.repeatedFields_, null);
7351
+ };
7352
+ goog.inherits(proto.clarifai.api.SyncStateRequest, jspb.Message);
7353
+ if (goog.DEBUG && !COMPILED) {
7354
+ /**
7355
+ * @public
7356
+ * @override
7357
+ */
7358
+ proto.clarifai.api.SyncStateRequest.displayName = 'proto.clarifai.api.SyncStateRequest';
7359
+ }
7309
7360
  /**
7310
7361
  * Generated by JsPbCodeGenerator.
7311
7362
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8062,6 +8113,153 @@ if (goog.DEBUG && !COMPILED) {
8062
8113
  */
8063
8114
  proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
8064
8115
  }
8116
+ /**
8117
+ * Generated by JsPbCodeGenerator.
8118
+ * @param {Array=} opt_data Optional initial data array, typically from a
8119
+ * server response, or constructed directly in Javascript. The array is used
8120
+ * in place and becomes part of the constructed object. It is not cloned.
8121
+ * If no data is provided, the constructed object will be empty, but still
8122
+ * valid.
8123
+ * @extends {jspb.Message}
8124
+ * @constructor
8125
+ */
8126
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest = function(opt_data) {
8127
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_, null);
8128
+ };
8129
+ goog.inherits(proto.clarifai.api.PostWorkflowVersionEvaluationsRequest, jspb.Message);
8130
+ if (goog.DEBUG && !COMPILED) {
8131
+ /**
8132
+ * @public
8133
+ * @override
8134
+ */
8135
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PostWorkflowVersionEvaluationsRequest';
8136
+ }
8137
+ /**
8138
+ * Generated by JsPbCodeGenerator.
8139
+ * @param {Array=} opt_data Optional initial data array, typically from a
8140
+ * server response, or constructed directly in Javascript. The array is used
8141
+ * in place and becomes part of the constructed object. It is not cloned.
8142
+ * If no data is provided, the constructed object will be empty, but still
8143
+ * valid.
8144
+ * @extends {jspb.Message}
8145
+ * @constructor
8146
+ */
8147
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest = function(opt_data) {
8148
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_, null);
8149
+ };
8150
+ goog.inherits(proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest, jspb.Message);
8151
+ if (goog.DEBUG && !COMPILED) {
8152
+ /**
8153
+ * @public
8154
+ * @override
8155
+ */
8156
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest';
8157
+ }
8158
+ /**
8159
+ * Generated by JsPbCodeGenerator.
8160
+ * @param {Array=} opt_data Optional initial data array, typically from a
8161
+ * server response, or constructed directly in Javascript. The array is used
8162
+ * in place and becomes part of the constructed object. It is not cloned.
8163
+ * If no data is provided, the constructed object will be empty, but still
8164
+ * valid.
8165
+ * @extends {jspb.Message}
8166
+ * @constructor
8167
+ */
8168
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse = function(opt_data) {
8169
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_, null);
8170
+ };
8171
+ goog.inherits(proto.clarifai.api.MultiWorkflowVersionEvaluationResponse, jspb.Message);
8172
+ if (goog.DEBUG && !COMPILED) {
8173
+ /**
8174
+ * @public
8175
+ * @override
8176
+ */
8177
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.MultiWorkflowVersionEvaluationResponse';
8178
+ }
8179
+ /**
8180
+ * Generated by JsPbCodeGenerator.
8181
+ * @param {Array=} opt_data Optional initial data array, typically from a
8182
+ * server response, or constructed directly in Javascript. The array is used
8183
+ * in place and becomes part of the constructed object. It is not cloned.
8184
+ * If no data is provided, the constructed object will be empty, but still
8185
+ * valid.
8186
+ * @extends {jspb.Message}
8187
+ * @constructor
8188
+ */
8189
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse = function(opt_data) {
8190
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8191
+ };
8192
+ goog.inherits(proto.clarifai.api.SingleWorkflowVersionEvaluationResponse, jspb.Message);
8193
+ if (goog.DEBUG && !COMPILED) {
8194
+ /**
8195
+ * @public
8196
+ * @override
8197
+ */
8198
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.SingleWorkflowVersionEvaluationResponse';
8199
+ }
8200
+ /**
8201
+ * Generated by JsPbCodeGenerator.
8202
+ * @param {Array=} opt_data Optional initial data array, typically from a
8203
+ * server response, or constructed directly in Javascript. The array is used
8204
+ * in place and becomes part of the constructed object. It is not cloned.
8205
+ * If no data is provided, the constructed object will be empty, but still
8206
+ * valid.
8207
+ * @extends {jspb.Message}
8208
+ * @constructor
8209
+ */
8210
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest = function(opt_data) {
8211
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8212
+ };
8213
+ goog.inherits(proto.clarifai.api.GetWorkflowVersionEvaluationRequest, jspb.Message);
8214
+ if (goog.DEBUG && !COMPILED) {
8215
+ /**
8216
+ * @public
8217
+ * @override
8218
+ */
8219
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.displayName = 'proto.clarifai.api.GetWorkflowVersionEvaluationRequest';
8220
+ }
8221
+ /**
8222
+ * Generated by JsPbCodeGenerator.
8223
+ * @param {Array=} opt_data Optional initial data array, typically from a
8224
+ * server response, or constructed directly in Javascript. The array is used
8225
+ * in place and becomes part of the constructed object. It is not cloned.
8226
+ * If no data is provided, the constructed object will be empty, but still
8227
+ * valid.
8228
+ * @extends {jspb.Message}
8229
+ * @constructor
8230
+ */
8231
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest = function(opt_data) {
8232
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8233
+ };
8234
+ goog.inherits(proto.clarifai.api.ListWorkflowVersionEvaluationsRequest, jspb.Message);
8235
+ if (goog.DEBUG && !COMPILED) {
8236
+ /**
8237
+ * @public
8238
+ * @override
8239
+ */
8240
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.ListWorkflowVersionEvaluationsRequest';
8241
+ }
8242
+ /**
8243
+ * Generated by JsPbCodeGenerator.
8244
+ * @param {Array=} opt_data Optional initial data array, typically from a
8245
+ * server response, or constructed directly in Javascript. The array is used
8246
+ * in place and becomes part of the constructed object. It is not cloned.
8247
+ * If no data is provided, the constructed object will be empty, but still
8248
+ * valid.
8249
+ * @extends {jspb.Message}
8250
+ * @constructor
8251
+ */
8252
+ proto.clarifai.api.PostModelMigrationRequest = function(opt_data) {
8253
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
8254
+ };
8255
+ goog.inherits(proto.clarifai.api.PostModelMigrationRequest, jspb.Message);
8256
+ if (goog.DEBUG && !COMPILED) {
8257
+ /**
8258
+ * @public
8259
+ * @override
8260
+ */
8261
+ proto.clarifai.api.PostModelMigrationRequest.displayName = 'proto.clarifai.api.PostModelMigrationRequest';
8262
+ }
8065
8263
 
8066
8264
 
8067
8265
 
@@ -32802,7 +33000,10 @@ proto.clarifai.api.ListLogEntriesRequest.toObject = function(includeInstance, ms
32802
33000
  workflowId: jspb.Message.getFieldWithDefault(msg, 7, ""),
32803
33001
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 9, ""),
32804
33002
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 10, ""),
32805
- runnerId: jspb.Message.getFieldWithDefault(msg, 11, "")
33003
+ runnerId: jspb.Message.getFieldWithDefault(msg, 11, ""),
33004
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 12, ""),
33005
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 13, ""),
33006
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 14, "")
32806
33007
  };
32807
33008
 
32808
33009
  if (includeInstance) {
@@ -32880,6 +33081,18 @@ proto.clarifai.api.ListLogEntriesRequest.deserializeBinaryFromReader = function(
32880
33081
  var value = /** @type {string} */ (reader.readString());
32881
33082
  msg.setRunnerId(value);
32882
33083
  break;
33084
+ case 12:
33085
+ var value = /** @type {string} */ (reader.readString());
33086
+ msg.setPipelineId(value);
33087
+ break;
33088
+ case 13:
33089
+ var value = /** @type {string} */ (reader.readString());
33090
+ msg.setPipelineVersionId(value);
33091
+ break;
33092
+ case 14:
33093
+ var value = /** @type {string} */ (reader.readString());
33094
+ msg.setPipelineVersionRunId(value);
33095
+ break;
32883
33096
  default:
32884
33097
  reader.skipField();
32885
33098
  break;
@@ -32980,6 +33193,27 @@ proto.clarifai.api.ListLogEntriesRequest.serializeBinaryToWriter = function(mess
32980
33193
  f
32981
33194
  );
32982
33195
  }
33196
+ f = message.getPipelineId();
33197
+ if (f.length > 0) {
33198
+ writer.writeString(
33199
+ 12,
33200
+ f
33201
+ );
33202
+ }
33203
+ f = message.getPipelineVersionId();
33204
+ if (f.length > 0) {
33205
+ writer.writeString(
33206
+ 13,
33207
+ f
33208
+ );
33209
+ }
33210
+ f = message.getPipelineVersionRunId();
33211
+ if (f.length > 0) {
33212
+ writer.writeString(
33213
+ 14,
33214
+ f
33215
+ );
33216
+ }
32983
33217
  };
32984
33218
 
32985
33219
 
@@ -33182,6 +33416,60 @@ proto.clarifai.api.ListLogEntriesRequest.prototype.setRunnerId = function(value)
33182
33416
  };
33183
33417
 
33184
33418
 
33419
+ /**
33420
+ * optional string pipeline_id = 12;
33421
+ * @return {string}
33422
+ */
33423
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineId = function() {
33424
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
33425
+ };
33426
+
33427
+
33428
+ /**
33429
+ * @param {string} value
33430
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
33431
+ */
33432
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineId = function(value) {
33433
+ return jspb.Message.setProto3StringField(this, 12, value);
33434
+ };
33435
+
33436
+
33437
+ /**
33438
+ * optional string pipeline_version_id = 13;
33439
+ * @return {string}
33440
+ */
33441
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineVersionId = function() {
33442
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
33443
+ };
33444
+
33445
+
33446
+ /**
33447
+ * @param {string} value
33448
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
33449
+ */
33450
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineVersionId = function(value) {
33451
+ return jspb.Message.setProto3StringField(this, 13, value);
33452
+ };
33453
+
33454
+
33455
+ /**
33456
+ * optional string pipeline_version_run_id = 14;
33457
+ * @return {string}
33458
+ */
33459
+ proto.clarifai.api.ListLogEntriesRequest.prototype.getPipelineVersionRunId = function() {
33460
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
33461
+ };
33462
+
33463
+
33464
+ /**
33465
+ * @param {string} value
33466
+ * @return {!proto.clarifai.api.ListLogEntriesRequest} returns this
33467
+ */
33468
+ proto.clarifai.api.ListLogEntriesRequest.prototype.setPipelineVersionRunId = function(value) {
33469
+ return jspb.Message.setProto3StringField(this, 14, value);
33470
+ };
33471
+
33472
+
33185
33473
 
33186
33474
 
33187
33475
 
@@ -33221,7 +33509,10 @@ proto.clarifai.api.StreamLogEntriesRequest.toObject = function(includeInstance,
33221
33509
  workflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
33222
33510
  computeClusterId: jspb.Message.getFieldWithDefault(msg, 6, ""),
33223
33511
  nodepoolId: jspb.Message.getFieldWithDefault(msg, 7, ""),
33224
- runnerId: jspb.Message.getFieldWithDefault(msg, 8, "")
33512
+ runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
33513
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 12, ""),
33514
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 13, ""),
33515
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 14, "")
33225
33516
  };
33226
33517
 
33227
33518
  if (includeInstance) {
@@ -33291,6 +33582,18 @@ proto.clarifai.api.StreamLogEntriesRequest.deserializeBinaryFromReader = functio
33291
33582
  var value = /** @type {string} */ (reader.readString());
33292
33583
  msg.setRunnerId(value);
33293
33584
  break;
33585
+ case 12:
33586
+ var value = /** @type {string} */ (reader.readString());
33587
+ msg.setPipelineId(value);
33588
+ break;
33589
+ case 13:
33590
+ var value = /** @type {string} */ (reader.readString());
33591
+ msg.setPipelineVersionId(value);
33592
+ break;
33593
+ case 14:
33594
+ var value = /** @type {string} */ (reader.readString());
33595
+ msg.setPipelineVersionRunId(value);
33596
+ break;
33294
33597
  default:
33295
33598
  reader.skipField();
33296
33599
  break;
@@ -33377,6 +33680,27 @@ proto.clarifai.api.StreamLogEntriesRequest.serializeBinaryToWriter = function(me
33377
33680
  f
33378
33681
  );
33379
33682
  }
33683
+ f = message.getPipelineId();
33684
+ if (f.length > 0) {
33685
+ writer.writeString(
33686
+ 12,
33687
+ f
33688
+ );
33689
+ }
33690
+ f = message.getPipelineVersionId();
33691
+ if (f.length > 0) {
33692
+ writer.writeString(
33693
+ 13,
33694
+ f
33695
+ );
33696
+ }
33697
+ f = message.getPipelineVersionRunId();
33698
+ if (f.length > 0) {
33699
+ writer.writeString(
33700
+ 14,
33701
+ f
33702
+ );
33703
+ }
33380
33704
  };
33381
33705
 
33382
33706
 
@@ -33543,6 +33867,60 @@ proto.clarifai.api.StreamLogEntriesRequest.prototype.setRunnerId = function(valu
33543
33867
  };
33544
33868
 
33545
33869
 
33870
+ /**
33871
+ * optional string pipeline_id = 12;
33872
+ * @return {string}
33873
+ */
33874
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineId = function() {
33875
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
33876
+ };
33877
+
33878
+
33879
+ /**
33880
+ * @param {string} value
33881
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33882
+ */
33883
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineId = function(value) {
33884
+ return jspb.Message.setProto3StringField(this, 12, value);
33885
+ };
33886
+
33887
+
33888
+ /**
33889
+ * optional string pipeline_version_id = 13;
33890
+ * @return {string}
33891
+ */
33892
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineVersionId = function() {
33893
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
33894
+ };
33895
+
33896
+
33897
+ /**
33898
+ * @param {string} value
33899
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33900
+ */
33901
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineVersionId = function(value) {
33902
+ return jspb.Message.setProto3StringField(this, 13, value);
33903
+ };
33904
+
33905
+
33906
+ /**
33907
+ * optional string pipeline_version_run_id = 14;
33908
+ * @return {string}
33909
+ */
33910
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.getPipelineVersionRunId = function() {
33911
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 14, ""));
33912
+ };
33913
+
33914
+
33915
+ /**
33916
+ * @param {string} value
33917
+ * @return {!proto.clarifai.api.StreamLogEntriesRequest} returns this
33918
+ */
33919
+ proto.clarifai.api.StreamLogEntriesRequest.prototype.setPipelineVersionRunId = function(value) {
33920
+ return jspb.Message.setProto3StringField(this, 14, value);
33921
+ };
33922
+
33923
+
33546
33924
 
33547
33925
 
33548
33926
 
@@ -42997,7 +43375,8 @@ proto.clarifai.api.PostModelVersionsRequest.toObject = function(includeInstance,
42997
43375
  modelVersionsList: jspb.Message.toObjectList(msg.getModelVersionsList(),
42998
43376
  proto_clarifai_api_resources_pb.ModelVersion.toObject, includeInstance),
42999
43377
  description: jspb.Message.getFieldWithDefault(msg, 8, ""),
43000
- evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f)
43378
+ evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f),
43379
+ doMigration: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
43001
43380
  };
43002
43381
 
43003
43382
  if (includeInstance) {
@@ -43057,6 +43436,10 @@ proto.clarifai.api.PostModelVersionsRequest.deserializeBinaryFromReader = functi
43057
43436
  reader.readMessage(value,proto_clarifai_api_resources_pb.EvalInfo.deserializeBinaryFromReader);
43058
43437
  msg.setEvalInfo(value);
43059
43438
  break;
43439
+ case 11:
43440
+ var value = /** @type {boolean} */ (reader.readBool());
43441
+ msg.setDoMigration(value);
43442
+ break;
43060
43443
  default:
43061
43444
  reader.skipField();
43062
43445
  break;
@@ -43124,6 +43507,13 @@ proto.clarifai.api.PostModelVersionsRequest.serializeBinaryToWriter = function(m
43124
43507
  proto_clarifai_api_resources_pb.EvalInfo.serializeBinaryToWriter
43125
43508
  );
43126
43509
  }
43510
+ f = message.getDoMigration();
43511
+ if (f) {
43512
+ writer.writeBool(
43513
+ 11,
43514
+ f
43515
+ );
43516
+ }
43127
43517
  };
43128
43518
 
43129
43519
 
@@ -43275,6 +43665,24 @@ proto.clarifai.api.PostModelVersionsRequest.prototype.hasEvalInfo = function() {
43275
43665
  };
43276
43666
 
43277
43667
 
43668
+ /**
43669
+ * optional bool do_migration = 11;
43670
+ * @return {boolean}
43671
+ */
43672
+ proto.clarifai.api.PostModelVersionsRequest.prototype.getDoMigration = function() {
43673
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
43674
+ };
43675
+
43676
+
43677
+ /**
43678
+ * @param {boolean} value
43679
+ * @return {!proto.clarifai.api.PostModelVersionsRequest} returns this
43680
+ */
43681
+ proto.clarifai.api.PostModelVersionsRequest.prototype.setDoMigration = function(value) {
43682
+ return jspb.Message.setProto3BooleanField(this, 11, value);
43683
+ };
43684
+
43685
+
43278
43686
 
43279
43687
  /**
43280
43688
  * Oneof group definitions for this message. Each group defines the field
@@ -85997,6 +86405,307 @@ proto.clarifai.api.PostRunnersRequest.prototype.setComputeClusterId = function(v
85997
86405
 
85998
86406
 
85999
86407
 
86408
+ /**
86409
+ * List of repeated fields within this message type.
86410
+ * @private {!Array<number>}
86411
+ * @const
86412
+ */
86413
+ proto.clarifai.api.PatchRunnersRequest.repeatedFields_ = [3];
86414
+
86415
+
86416
+
86417
+ if (jspb.Message.GENERATE_TO_OBJECT) {
86418
+ /**
86419
+ * Creates an object representation of this proto.
86420
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
86421
+ * Optional fields that are not set will be set to undefined.
86422
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
86423
+ * For the list of reserved names please see:
86424
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
86425
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
86426
+ * JSPB instance for transitional soy proto support:
86427
+ * http://goto/soy-param-migration
86428
+ * @return {!Object}
86429
+ */
86430
+ proto.clarifai.api.PatchRunnersRequest.prototype.toObject = function(opt_includeInstance) {
86431
+ return proto.clarifai.api.PatchRunnersRequest.toObject(opt_includeInstance, this);
86432
+ };
86433
+
86434
+
86435
+ /**
86436
+ * Static version of the {@see toObject} method.
86437
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
86438
+ * the JSPB instance for transitional soy proto support:
86439
+ * http://goto/soy-param-migration
86440
+ * @param {!proto.clarifai.api.PatchRunnersRequest} msg The msg instance to transform.
86441
+ * @return {!Object}
86442
+ * @suppress {unusedLocalVariables} f is only used for nested messages
86443
+ */
86444
+ proto.clarifai.api.PatchRunnersRequest.toObject = function(includeInstance, msg) {
86445
+ var f, obj = {
86446
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
86447
+ nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
86448
+ runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
86449
+ proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
86450
+ computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, ""),
86451
+ action: jspb.Message.getFieldWithDefault(msg, 5, "")
86452
+ };
86453
+
86454
+ if (includeInstance) {
86455
+ obj.$jspbMessageInstance = msg;
86456
+ }
86457
+ return obj;
86458
+ };
86459
+ }
86460
+
86461
+
86462
+ /**
86463
+ * Deserializes binary data (in protobuf wire format).
86464
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
86465
+ * @return {!proto.clarifai.api.PatchRunnersRequest}
86466
+ */
86467
+ proto.clarifai.api.PatchRunnersRequest.deserializeBinary = function(bytes) {
86468
+ var reader = new jspb.BinaryReader(bytes);
86469
+ var msg = new proto.clarifai.api.PatchRunnersRequest;
86470
+ return proto.clarifai.api.PatchRunnersRequest.deserializeBinaryFromReader(msg, reader);
86471
+ };
86472
+
86473
+
86474
+ /**
86475
+ * Deserializes binary data (in protobuf wire format) from the
86476
+ * given reader into the given message object.
86477
+ * @param {!proto.clarifai.api.PatchRunnersRequest} msg The message object to deserialize into.
86478
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
86479
+ * @return {!proto.clarifai.api.PatchRunnersRequest}
86480
+ */
86481
+ proto.clarifai.api.PatchRunnersRequest.deserializeBinaryFromReader = function(msg, reader) {
86482
+ while (reader.nextField()) {
86483
+ if (reader.isEndGroup()) {
86484
+ break;
86485
+ }
86486
+ var field = reader.getFieldNumber();
86487
+ switch (field) {
86488
+ case 1:
86489
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
86490
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
86491
+ msg.setUserAppId(value);
86492
+ break;
86493
+ case 2:
86494
+ var value = /** @type {string} */ (reader.readString());
86495
+ msg.setNodepoolId(value);
86496
+ break;
86497
+ case 3:
86498
+ var value = new proto_clarifai_api_resources_pb.Runner;
86499
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
86500
+ msg.addRunners(value);
86501
+ break;
86502
+ case 4:
86503
+ var value = /** @type {string} */ (reader.readString());
86504
+ msg.setComputeClusterId(value);
86505
+ break;
86506
+ case 5:
86507
+ var value = /** @type {string} */ (reader.readString());
86508
+ msg.setAction(value);
86509
+ break;
86510
+ default:
86511
+ reader.skipField();
86512
+ break;
86513
+ }
86514
+ }
86515
+ return msg;
86516
+ };
86517
+
86518
+
86519
+ /**
86520
+ * Serializes the message to binary data (in protobuf wire format).
86521
+ * @return {!Uint8Array}
86522
+ */
86523
+ proto.clarifai.api.PatchRunnersRequest.prototype.serializeBinary = function() {
86524
+ var writer = new jspb.BinaryWriter();
86525
+ proto.clarifai.api.PatchRunnersRequest.serializeBinaryToWriter(this, writer);
86526
+ return writer.getResultBuffer();
86527
+ };
86528
+
86529
+
86530
+ /**
86531
+ * Serializes the given message to binary data (in protobuf wire
86532
+ * format), writing to the given BinaryWriter.
86533
+ * @param {!proto.clarifai.api.PatchRunnersRequest} message
86534
+ * @param {!jspb.BinaryWriter} writer
86535
+ * @suppress {unusedLocalVariables} f is only used for nested messages
86536
+ */
86537
+ proto.clarifai.api.PatchRunnersRequest.serializeBinaryToWriter = function(message, writer) {
86538
+ var f = undefined;
86539
+ f = message.getUserAppId();
86540
+ if (f != null) {
86541
+ writer.writeMessage(
86542
+ 1,
86543
+ f,
86544
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
86545
+ );
86546
+ }
86547
+ f = message.getNodepoolId();
86548
+ if (f.length > 0) {
86549
+ writer.writeString(
86550
+ 2,
86551
+ f
86552
+ );
86553
+ }
86554
+ f = message.getRunnersList();
86555
+ if (f.length > 0) {
86556
+ writer.writeRepeatedMessage(
86557
+ 3,
86558
+ f,
86559
+ proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter
86560
+ );
86561
+ }
86562
+ f = message.getComputeClusterId();
86563
+ if (f.length > 0) {
86564
+ writer.writeString(
86565
+ 4,
86566
+ f
86567
+ );
86568
+ }
86569
+ f = message.getAction();
86570
+ if (f.length > 0) {
86571
+ writer.writeString(
86572
+ 5,
86573
+ f
86574
+ );
86575
+ }
86576
+ };
86577
+
86578
+
86579
+ /**
86580
+ * optional UserAppIDSet user_app_id = 1;
86581
+ * @return {?proto.clarifai.api.UserAppIDSet}
86582
+ */
86583
+ proto.clarifai.api.PatchRunnersRequest.prototype.getUserAppId = function() {
86584
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
86585
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
86586
+ };
86587
+
86588
+
86589
+ /**
86590
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
86591
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86592
+ */
86593
+ proto.clarifai.api.PatchRunnersRequest.prototype.setUserAppId = function(value) {
86594
+ return jspb.Message.setWrapperField(this, 1, value);
86595
+ };
86596
+
86597
+
86598
+ /**
86599
+ * Clears the message field making it undefined.
86600
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86601
+ */
86602
+ proto.clarifai.api.PatchRunnersRequest.prototype.clearUserAppId = function() {
86603
+ return this.setUserAppId(undefined);
86604
+ };
86605
+
86606
+
86607
+ /**
86608
+ * Returns whether this field is set.
86609
+ * @return {boolean}
86610
+ */
86611
+ proto.clarifai.api.PatchRunnersRequest.prototype.hasUserAppId = function() {
86612
+ return jspb.Message.getField(this, 1) != null;
86613
+ };
86614
+
86615
+
86616
+ /**
86617
+ * optional string nodepool_id = 2;
86618
+ * @return {string}
86619
+ */
86620
+ proto.clarifai.api.PatchRunnersRequest.prototype.getNodepoolId = function() {
86621
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
86622
+ };
86623
+
86624
+
86625
+ /**
86626
+ * @param {string} value
86627
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86628
+ */
86629
+ proto.clarifai.api.PatchRunnersRequest.prototype.setNodepoolId = function(value) {
86630
+ return jspb.Message.setProto3StringField(this, 2, value);
86631
+ };
86632
+
86633
+
86634
+ /**
86635
+ * repeated Runner runners = 3;
86636
+ * @return {!Array<!proto.clarifai.api.Runner>}
86637
+ */
86638
+ proto.clarifai.api.PatchRunnersRequest.prototype.getRunnersList = function() {
86639
+ return /** @type{!Array<!proto.clarifai.api.Runner>} */ (
86640
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 3));
86641
+ };
86642
+
86643
+
86644
+ /**
86645
+ * @param {!Array<!proto.clarifai.api.Runner>} value
86646
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86647
+ */
86648
+ proto.clarifai.api.PatchRunnersRequest.prototype.setRunnersList = function(value) {
86649
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
86650
+ };
86651
+
86652
+
86653
+ /**
86654
+ * @param {!proto.clarifai.api.Runner=} opt_value
86655
+ * @param {number=} opt_index
86656
+ * @return {!proto.clarifai.api.Runner}
86657
+ */
86658
+ proto.clarifai.api.PatchRunnersRequest.prototype.addRunners = function(opt_value, opt_index) {
86659
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Runner, opt_index);
86660
+ };
86661
+
86662
+
86663
+ /**
86664
+ * Clears the list making it empty but non-null.
86665
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86666
+ */
86667
+ proto.clarifai.api.PatchRunnersRequest.prototype.clearRunnersList = function() {
86668
+ return this.setRunnersList([]);
86669
+ };
86670
+
86671
+
86672
+ /**
86673
+ * optional string compute_cluster_id = 4;
86674
+ * @return {string}
86675
+ */
86676
+ proto.clarifai.api.PatchRunnersRequest.prototype.getComputeClusterId = function() {
86677
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
86678
+ };
86679
+
86680
+
86681
+ /**
86682
+ * @param {string} value
86683
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86684
+ */
86685
+ proto.clarifai.api.PatchRunnersRequest.prototype.setComputeClusterId = function(value) {
86686
+ return jspb.Message.setProto3StringField(this, 4, value);
86687
+ };
86688
+
86689
+
86690
+ /**
86691
+ * optional string action = 5;
86692
+ * @return {string}
86693
+ */
86694
+ proto.clarifai.api.PatchRunnersRequest.prototype.getAction = function() {
86695
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
86696
+ };
86697
+
86698
+
86699
+ /**
86700
+ * @param {string} value
86701
+ * @return {!proto.clarifai.api.PatchRunnersRequest} returns this
86702
+ */
86703
+ proto.clarifai.api.PatchRunnersRequest.prototype.setAction = function(value) {
86704
+ return jspb.Message.setProto3StringField(this, 5, value);
86705
+ };
86706
+
86707
+
86708
+
86000
86709
  /**
86001
86710
  * List of repeated fields within this message type.
86002
86711
  * @private {!Array<number>}
@@ -86964,7 +87673,9 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInsta
86964
87673
  proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
86965
87674
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
86966
87675
  runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, ""),
86967
- computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, "")
87676
+ computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, ""),
87677
+ cloudProviderId: jspb.Message.getFieldWithDefault(msg, 9, ""),
87678
+ region: jspb.Message.getFieldWithDefault(msg, 10, "")
86968
87679
  };
86969
87680
 
86970
87681
  if (includeInstance) {
@@ -87036,6 +87747,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
87036
87747
  var value = /** @type {string} */ (reader.readString());
87037
87748
  msg.setComputeClusterId(value);
87038
87749
  break;
87750
+ case 9:
87751
+ var value = /** @type {string} */ (reader.readString());
87752
+ msg.setCloudProviderId(value);
87753
+ break;
87754
+ case 10:
87755
+ var value = /** @type {string} */ (reader.readString());
87756
+ msg.setRegion(value);
87757
+ break;
87039
87758
  default:
87040
87759
  reader.skipField();
87041
87760
  break;
@@ -87124,6 +87843,20 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
87124
87843
  f
87125
87844
  );
87126
87845
  }
87846
+ f = message.getCloudProviderId();
87847
+ if (f.length > 0) {
87848
+ writer.writeString(
87849
+ 9,
87850
+ f
87851
+ );
87852
+ }
87853
+ f = message.getRegion();
87854
+ if (f.length > 0) {
87855
+ writer.writeString(
87856
+ 10,
87857
+ f
87858
+ );
87859
+ }
87127
87860
  };
87128
87861
 
87129
87862
 
@@ -87329,6 +88062,391 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setComputeClusterId =
87329
88062
  };
87330
88063
 
87331
88064
 
88065
+ /**
88066
+ * optional string cloud_provider_id = 9;
88067
+ * @return {string}
88068
+ */
88069
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getCloudProviderId = function() {
88070
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
88071
+ };
88072
+
88073
+
88074
+ /**
88075
+ * @param {string} value
88076
+ * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
88077
+ */
88078
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setCloudProviderId = function(value) {
88079
+ return jspb.Message.setProto3StringField(this, 9, value);
88080
+ };
88081
+
88082
+
88083
+ /**
88084
+ * optional string region = 10;
88085
+ * @return {string}
88086
+ */
88087
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRegion = function() {
88088
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
88089
+ };
88090
+
88091
+
88092
+ /**
88093
+ * @param {string} value
88094
+ * @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
88095
+ */
88096
+ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRegion = function(value) {
88097
+ return jspb.Message.setProto3StringField(this, 10, value);
88098
+ };
88099
+
88100
+
88101
+
88102
+ /**
88103
+ * List of repeated fields within this message type.
88104
+ * @private {!Array<number>}
88105
+ * @const
88106
+ */
88107
+ proto.clarifai.api.SyncStateRequest.repeatedFields_ = [2,3,4,5];
88108
+
88109
+
88110
+
88111
+ if (jspb.Message.GENERATE_TO_OBJECT) {
88112
+ /**
88113
+ * Creates an object representation of this proto.
88114
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
88115
+ * Optional fields that are not set will be set to undefined.
88116
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
88117
+ * For the list of reserved names please see:
88118
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
88119
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
88120
+ * JSPB instance for transitional soy proto support:
88121
+ * http://goto/soy-param-migration
88122
+ * @return {!Object}
88123
+ */
88124
+ proto.clarifai.api.SyncStateRequest.prototype.toObject = function(opt_includeInstance) {
88125
+ return proto.clarifai.api.SyncStateRequest.toObject(opt_includeInstance, this);
88126
+ };
88127
+
88128
+
88129
+ /**
88130
+ * Static version of the {@see toObject} method.
88131
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
88132
+ * the JSPB instance for transitional soy proto support:
88133
+ * http://goto/soy-param-migration
88134
+ * @param {!proto.clarifai.api.SyncStateRequest} msg The msg instance to transform.
88135
+ * @return {!Object}
88136
+ * @suppress {unusedLocalVariables} f is only used for nested messages
88137
+ */
88138
+ proto.clarifai.api.SyncStateRequest.toObject = function(includeInstance, msg) {
88139
+ var f, obj = {
88140
+ operationType: jspb.Message.getFieldWithDefault(msg, 1, ""),
88141
+ computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(),
88142
+ proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance),
88143
+ nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
88144
+ proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
88145
+ runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
88146
+ proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
88147
+ pipelineVersionRunsList: jspb.Message.toObjectList(msg.getPipelineVersionRunsList(),
88148
+ proto_clarifai_api_resources_pb.PipelineVersionRun.toObject, includeInstance)
88149
+ };
88150
+
88151
+ if (includeInstance) {
88152
+ obj.$jspbMessageInstance = msg;
88153
+ }
88154
+ return obj;
88155
+ };
88156
+ }
88157
+
88158
+
88159
+ /**
88160
+ * Deserializes binary data (in protobuf wire format).
88161
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
88162
+ * @return {!proto.clarifai.api.SyncStateRequest}
88163
+ */
88164
+ proto.clarifai.api.SyncStateRequest.deserializeBinary = function(bytes) {
88165
+ var reader = new jspb.BinaryReader(bytes);
88166
+ var msg = new proto.clarifai.api.SyncStateRequest;
88167
+ return proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader(msg, reader);
88168
+ };
88169
+
88170
+
88171
+ /**
88172
+ * Deserializes binary data (in protobuf wire format) from the
88173
+ * given reader into the given message object.
88174
+ * @param {!proto.clarifai.api.SyncStateRequest} msg The message object to deserialize into.
88175
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
88176
+ * @return {!proto.clarifai.api.SyncStateRequest}
88177
+ */
88178
+ proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader = function(msg, reader) {
88179
+ while (reader.nextField()) {
88180
+ if (reader.isEndGroup()) {
88181
+ break;
88182
+ }
88183
+ var field = reader.getFieldNumber();
88184
+ switch (field) {
88185
+ case 1:
88186
+ var value = /** @type {string} */ (reader.readString());
88187
+ msg.setOperationType(value);
88188
+ break;
88189
+ case 2:
88190
+ var value = new proto_clarifai_api_resources_pb.ComputeCluster;
88191
+ reader.readMessage(value,proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
88192
+ msg.addComputeClusters(value);
88193
+ break;
88194
+ case 3:
88195
+ var value = new proto_clarifai_api_resources_pb.Nodepool;
88196
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
88197
+ msg.addNodepools(value);
88198
+ break;
88199
+ case 4:
88200
+ var value = new proto_clarifai_api_resources_pb.Runner;
88201
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
88202
+ msg.addRunners(value);
88203
+ break;
88204
+ case 5:
88205
+ var value = new proto_clarifai_api_resources_pb.PipelineVersionRun;
88206
+ reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineVersionRun.deserializeBinaryFromReader);
88207
+ msg.addPipelineVersionRuns(value);
88208
+ break;
88209
+ default:
88210
+ reader.skipField();
88211
+ break;
88212
+ }
88213
+ }
88214
+ return msg;
88215
+ };
88216
+
88217
+
88218
+ /**
88219
+ * Serializes the message to binary data (in protobuf wire format).
88220
+ * @return {!Uint8Array}
88221
+ */
88222
+ proto.clarifai.api.SyncStateRequest.prototype.serializeBinary = function() {
88223
+ var writer = new jspb.BinaryWriter();
88224
+ proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter(this, writer);
88225
+ return writer.getResultBuffer();
88226
+ };
88227
+
88228
+
88229
+ /**
88230
+ * Serializes the given message to binary data (in protobuf wire
88231
+ * format), writing to the given BinaryWriter.
88232
+ * @param {!proto.clarifai.api.SyncStateRequest} message
88233
+ * @param {!jspb.BinaryWriter} writer
88234
+ * @suppress {unusedLocalVariables} f is only used for nested messages
88235
+ */
88236
+ proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter = function(message, writer) {
88237
+ var f = undefined;
88238
+ f = message.getOperationType();
88239
+ if (f.length > 0) {
88240
+ writer.writeString(
88241
+ 1,
88242
+ f
88243
+ );
88244
+ }
88245
+ f = message.getComputeClustersList();
88246
+ if (f.length > 0) {
88247
+ writer.writeRepeatedMessage(
88248
+ 2,
88249
+ f,
88250
+ proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter
88251
+ );
88252
+ }
88253
+ f = message.getNodepoolsList();
88254
+ if (f.length > 0) {
88255
+ writer.writeRepeatedMessage(
88256
+ 3,
88257
+ f,
88258
+ proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
88259
+ );
88260
+ }
88261
+ f = message.getRunnersList();
88262
+ if (f.length > 0) {
88263
+ writer.writeRepeatedMessage(
88264
+ 4,
88265
+ f,
88266
+ proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter
88267
+ );
88268
+ }
88269
+ f = message.getPipelineVersionRunsList();
88270
+ if (f.length > 0) {
88271
+ writer.writeRepeatedMessage(
88272
+ 5,
88273
+ f,
88274
+ proto_clarifai_api_resources_pb.PipelineVersionRun.serializeBinaryToWriter
88275
+ );
88276
+ }
88277
+ };
88278
+
88279
+
88280
+ /**
88281
+ * optional string operation_type = 1;
88282
+ * @return {string}
88283
+ */
88284
+ proto.clarifai.api.SyncStateRequest.prototype.getOperationType = function() {
88285
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
88286
+ };
88287
+
88288
+
88289
+ /**
88290
+ * @param {string} value
88291
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88292
+ */
88293
+ proto.clarifai.api.SyncStateRequest.prototype.setOperationType = function(value) {
88294
+ return jspb.Message.setProto3StringField(this, 1, value);
88295
+ };
88296
+
88297
+
88298
+ /**
88299
+ * repeated ComputeCluster compute_clusters = 2;
88300
+ * @return {!Array<!proto.clarifai.api.ComputeCluster>}
88301
+ */
88302
+ proto.clarifai.api.SyncStateRequest.prototype.getComputeClustersList = function() {
88303
+ return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (
88304
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
88305
+ };
88306
+
88307
+
88308
+ /**
88309
+ * @param {!Array<!proto.clarifai.api.ComputeCluster>} value
88310
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88311
+ */
88312
+ proto.clarifai.api.SyncStateRequest.prototype.setComputeClustersList = function(value) {
88313
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
88314
+ };
88315
+
88316
+
88317
+ /**
88318
+ * @param {!proto.clarifai.api.ComputeCluster=} opt_value
88319
+ * @param {number=} opt_index
88320
+ * @return {!proto.clarifai.api.ComputeCluster}
88321
+ */
88322
+ proto.clarifai.api.SyncStateRequest.prototype.addComputeClusters = function(opt_value, opt_index) {
88323
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
88324
+ };
88325
+
88326
+
88327
+ /**
88328
+ * Clears the list making it empty but non-null.
88329
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88330
+ */
88331
+ proto.clarifai.api.SyncStateRequest.prototype.clearComputeClustersList = function() {
88332
+ return this.setComputeClustersList([]);
88333
+ };
88334
+
88335
+
88336
+ /**
88337
+ * repeated Nodepool nodepools = 3;
88338
+ * @return {!Array<!proto.clarifai.api.Nodepool>}
88339
+ */
88340
+ proto.clarifai.api.SyncStateRequest.prototype.getNodepoolsList = function() {
88341
+ return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
88342
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
88343
+ };
88344
+
88345
+
88346
+ /**
88347
+ * @param {!Array<!proto.clarifai.api.Nodepool>} value
88348
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88349
+ */
88350
+ proto.clarifai.api.SyncStateRequest.prototype.setNodepoolsList = function(value) {
88351
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
88352
+ };
88353
+
88354
+
88355
+ /**
88356
+ * @param {!proto.clarifai.api.Nodepool=} opt_value
88357
+ * @param {number=} opt_index
88358
+ * @return {!proto.clarifai.api.Nodepool}
88359
+ */
88360
+ proto.clarifai.api.SyncStateRequest.prototype.addNodepools = function(opt_value, opt_index) {
88361
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
88362
+ };
88363
+
88364
+
88365
+ /**
88366
+ * Clears the list making it empty but non-null.
88367
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88368
+ */
88369
+ proto.clarifai.api.SyncStateRequest.prototype.clearNodepoolsList = function() {
88370
+ return this.setNodepoolsList([]);
88371
+ };
88372
+
88373
+
88374
+ /**
88375
+ * repeated Runner runners = 4;
88376
+ * @return {!Array<!proto.clarifai.api.Runner>}
88377
+ */
88378
+ proto.clarifai.api.SyncStateRequest.prototype.getRunnersList = function() {
88379
+ return /** @type{!Array<!proto.clarifai.api.Runner>} */ (
88380
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 4));
88381
+ };
88382
+
88383
+
88384
+ /**
88385
+ * @param {!Array<!proto.clarifai.api.Runner>} value
88386
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88387
+ */
88388
+ proto.clarifai.api.SyncStateRequest.prototype.setRunnersList = function(value) {
88389
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
88390
+ };
88391
+
88392
+
88393
+ /**
88394
+ * @param {!proto.clarifai.api.Runner=} opt_value
88395
+ * @param {number=} opt_index
88396
+ * @return {!proto.clarifai.api.Runner}
88397
+ */
88398
+ proto.clarifai.api.SyncStateRequest.prototype.addRunners = function(opt_value, opt_index) {
88399
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Runner, opt_index);
88400
+ };
88401
+
88402
+
88403
+ /**
88404
+ * Clears the list making it empty but non-null.
88405
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88406
+ */
88407
+ proto.clarifai.api.SyncStateRequest.prototype.clearRunnersList = function() {
88408
+ return this.setRunnersList([]);
88409
+ };
88410
+
88411
+
88412
+ /**
88413
+ * repeated PipelineVersionRun pipeline_version_runs = 5;
88414
+ * @return {!Array<!proto.clarifai.api.PipelineVersionRun>}
88415
+ */
88416
+ proto.clarifai.api.SyncStateRequest.prototype.getPipelineVersionRunsList = function() {
88417
+ return /** @type{!Array<!proto.clarifai.api.PipelineVersionRun>} */ (
88418
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRun, 5));
88419
+ };
88420
+
88421
+
88422
+ /**
88423
+ * @param {!Array<!proto.clarifai.api.PipelineVersionRun>} value
88424
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88425
+ */
88426
+ proto.clarifai.api.SyncStateRequest.prototype.setPipelineVersionRunsList = function(value) {
88427
+ return jspb.Message.setRepeatedWrapperField(this, 5, value);
88428
+ };
88429
+
88430
+
88431
+ /**
88432
+ * @param {!proto.clarifai.api.PipelineVersionRun=} opt_value
88433
+ * @param {number=} opt_index
88434
+ * @return {!proto.clarifai.api.PipelineVersionRun}
88435
+ */
88436
+ proto.clarifai.api.SyncStateRequest.prototype.addPipelineVersionRuns = function(opt_value, opt_index) {
88437
+ return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.PipelineVersionRun, opt_index);
88438
+ };
88439
+
88440
+
88441
+ /**
88442
+ * Clears the list making it empty but non-null.
88443
+ * @return {!proto.clarifai.api.SyncStateRequest} returns this
88444
+ */
88445
+ proto.clarifai.api.SyncStateRequest.prototype.clearPipelineVersionRunsList = function() {
88446
+ return this.setPipelineVersionRunsList([]);
88447
+ };
88448
+
88449
+
87332
88450
 
87333
88451
  /**
87334
88452
  * List of repeated fields within this message type.
@@ -87549,14 +88667,15 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
87549
88667
  * @private {!Array<!Array<number>>}
87550
88668
  * @const
87551
88669
  */
87552
- proto.clarifai.api.RunnerItem.oneofGroups_ = [[4]];
88670
+ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5]];
87553
88671
 
87554
88672
  /**
87555
88673
  * @enum {number}
87556
88674
  */
87557
88675
  proto.clarifai.api.RunnerItem.RequestCase = {
87558
88676
  REQUEST_NOT_SET: 0,
87559
- POST_MODEL_OUTPUTS_REQUEST: 4
88677
+ POST_MODEL_OUTPUTS_REQUEST: 4,
88678
+ SYNC_STATE_REQUEST: 5
87560
88679
  };
87561
88680
 
87562
88681
  /**
@@ -87600,7 +88719,8 @@ proto.clarifai.api.RunnerItem.toObject = function(includeInstance, msg) {
87600
88719
  id: jspb.Message.getFieldWithDefault(msg, 1, ""),
87601
88720
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
87602
88721
  processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
87603
- postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f)
88722
+ postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
88723
+ syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
87604
88724
  };
87605
88725
 
87606
88726
  if (includeInstance) {
@@ -87655,6 +88775,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function(msg, reader
87655
88775
  reader.readMessage(value,proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
87656
88776
  msg.setPostModelOutputsRequest(value);
87657
88777
  break;
88778
+ case 5:
88779
+ var value = new proto.clarifai.api.SyncStateRequest;
88780
+ reader.readMessage(value,proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
88781
+ msg.setSyncStateRequest(value);
88782
+ break;
87658
88783
  default:
87659
88784
  reader.skipField();
87660
88785
  break;
@@ -87714,6 +88839,14 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function(message, writer
87714
88839
  proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter
87715
88840
  );
87716
88841
  }
88842
+ f = message.getSyncStateRequest();
88843
+ if (f != null) {
88844
+ writer.writeMessage(
88845
+ 5,
88846
+ f,
88847
+ proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter
88848
+ );
88849
+ }
87717
88850
  };
87718
88851
 
87719
88852
 
@@ -87827,6 +88960,43 @@ proto.clarifai.api.RunnerItem.prototype.hasPostModelOutputsRequest = function()
87827
88960
  };
87828
88961
 
87829
88962
 
88963
+ /**
88964
+ * optional SyncStateRequest sync_state_request = 5;
88965
+ * @return {?proto.clarifai.api.SyncStateRequest}
88966
+ */
88967
+ proto.clarifai.api.RunnerItem.prototype.getSyncStateRequest = function() {
88968
+ return /** @type{?proto.clarifai.api.SyncStateRequest} */ (
88969
+ jspb.Message.getWrapperField(this, proto.clarifai.api.SyncStateRequest, 5));
88970
+ };
88971
+
88972
+
88973
+ /**
88974
+ * @param {?proto.clarifai.api.SyncStateRequest|undefined} value
88975
+ * @return {!proto.clarifai.api.RunnerItem} returns this
88976
+ */
88977
+ proto.clarifai.api.RunnerItem.prototype.setSyncStateRequest = function(value) {
88978
+ return jspb.Message.setOneofWrapperField(this, 5, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
88979
+ };
88980
+
88981
+
88982
+ /**
88983
+ * Clears the message field making it undefined.
88984
+ * @return {!proto.clarifai.api.RunnerItem} returns this
88985
+ */
88986
+ proto.clarifai.api.RunnerItem.prototype.clearSyncStateRequest = function() {
88987
+ return this.setSyncStateRequest(undefined);
88988
+ };
88989
+
88990
+
88991
+ /**
88992
+ * Returns whether this field is set.
88993
+ * @return {boolean}
88994
+ */
88995
+ proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function() {
88996
+ return jspb.Message.getField(this, 5) != null;
88997
+ };
88998
+
88999
+
87830
89000
 
87831
89001
  /**
87832
89002
  * Oneof group definitions for this message. Each group defines the field
@@ -95000,6 +96170,1684 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
95000
96170
  };
95001
96171
 
95002
96172
 
96173
+
96174
+ /**
96175
+ * List of repeated fields within this message type.
96176
+ * @private {!Array<number>}
96177
+ * @const
96178
+ */
96179
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
96180
+
96181
+
96182
+
96183
+ if (jspb.Message.GENERATE_TO_OBJECT) {
96184
+ /**
96185
+ * Creates an object representation of this proto.
96186
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
96187
+ * Optional fields that are not set will be set to undefined.
96188
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96189
+ * For the list of reserved names please see:
96190
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96191
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96192
+ * JSPB instance for transitional soy proto support:
96193
+ * http://goto/soy-param-migration
96194
+ * @return {!Object}
96195
+ */
96196
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.toObject = function(opt_includeInstance) {
96197
+ return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
96198
+ };
96199
+
96200
+
96201
+ /**
96202
+ * Static version of the {@see toObject} method.
96203
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96204
+ * the JSPB instance for transitional soy proto support:
96205
+ * http://goto/soy-param-migration
96206
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
96207
+ * @return {!Object}
96208
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96209
+ */
96210
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject = function(includeInstance, msg) {
96211
+ var f, obj = {
96212
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
96213
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
96214
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
96215
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
96216
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
96217
+ };
96218
+
96219
+ if (includeInstance) {
96220
+ obj.$jspbMessageInstance = msg;
96221
+ }
96222
+ return obj;
96223
+ };
96224
+ }
96225
+
96226
+
96227
+ /**
96228
+ * Deserializes binary data (in protobuf wire format).
96229
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
96230
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
96231
+ */
96232
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinary = function(bytes) {
96233
+ var reader = new jspb.BinaryReader(bytes);
96234
+ var msg = new proto.clarifai.api.PostWorkflowVersionEvaluationsRequest;
96235
+ return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
96236
+ };
96237
+
96238
+
96239
+ /**
96240
+ * Deserializes binary data (in protobuf wire format) from the
96241
+ * given reader into the given message object.
96242
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
96243
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96244
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
96245
+ */
96246
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function(msg, reader) {
96247
+ while (reader.nextField()) {
96248
+ if (reader.isEndGroup()) {
96249
+ break;
96250
+ }
96251
+ var field = reader.getFieldNumber();
96252
+ switch (field) {
96253
+ case 1:
96254
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
96255
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
96256
+ msg.setUserAppId(value);
96257
+ break;
96258
+ case 2:
96259
+ var value = /** @type {string} */ (reader.readString());
96260
+ msg.setWorkflowId(value);
96261
+ break;
96262
+ case 3:
96263
+ var value = /** @type {string} */ (reader.readString());
96264
+ msg.setWorkflowVersionId(value);
96265
+ break;
96266
+ case 4:
96267
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
96268
+ reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
96269
+ msg.addWorkflowVersionEvaluations(value);
96270
+ break;
96271
+ default:
96272
+ reader.skipField();
96273
+ break;
96274
+ }
96275
+ }
96276
+ return msg;
96277
+ };
96278
+
96279
+
96280
+ /**
96281
+ * Serializes the message to binary data (in protobuf wire format).
96282
+ * @return {!Uint8Array}
96283
+ */
96284
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function() {
96285
+ var writer = new jspb.BinaryWriter();
96286
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
96287
+ return writer.getResultBuffer();
96288
+ };
96289
+
96290
+
96291
+ /**
96292
+ * Serializes the given message to binary data (in protobuf wire
96293
+ * format), writing to the given BinaryWriter.
96294
+ * @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} message
96295
+ * @param {!jspb.BinaryWriter} writer
96296
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96297
+ */
96298
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function(message, writer) {
96299
+ var f = undefined;
96300
+ f = message.getUserAppId();
96301
+ if (f != null) {
96302
+ writer.writeMessage(
96303
+ 1,
96304
+ f,
96305
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
96306
+ );
96307
+ }
96308
+ f = message.getWorkflowId();
96309
+ if (f.length > 0) {
96310
+ writer.writeString(
96311
+ 2,
96312
+ f
96313
+ );
96314
+ }
96315
+ f = message.getWorkflowVersionId();
96316
+ if (f.length > 0) {
96317
+ writer.writeString(
96318
+ 3,
96319
+ f
96320
+ );
96321
+ }
96322
+ f = message.getWorkflowVersionEvaluationsList();
96323
+ if (f.length > 0) {
96324
+ writer.writeRepeatedMessage(
96325
+ 4,
96326
+ f,
96327
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
96328
+ );
96329
+ }
96330
+ };
96331
+
96332
+
96333
+ /**
96334
+ * optional UserAppIDSet user_app_id = 1;
96335
+ * @return {?proto.clarifai.api.UserAppIDSet}
96336
+ */
96337
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function() {
96338
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
96339
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
96340
+ };
96341
+
96342
+
96343
+ /**
96344
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
96345
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96346
+ */
96347
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function(value) {
96348
+ return jspb.Message.setWrapperField(this, 1, value);
96349
+ };
96350
+
96351
+
96352
+ /**
96353
+ * Clears the message field making it undefined.
96354
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96355
+ */
96356
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function() {
96357
+ return this.setUserAppId(undefined);
96358
+ };
96359
+
96360
+
96361
+ /**
96362
+ * Returns whether this field is set.
96363
+ * @return {boolean}
96364
+ */
96365
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function() {
96366
+ return jspb.Message.getField(this, 1) != null;
96367
+ };
96368
+
96369
+
96370
+ /**
96371
+ * optional string workflow_id = 2;
96372
+ * @return {string}
96373
+ */
96374
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function() {
96375
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
96376
+ };
96377
+
96378
+
96379
+ /**
96380
+ * @param {string} value
96381
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96382
+ */
96383
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function(value) {
96384
+ return jspb.Message.setProto3StringField(this, 2, value);
96385
+ };
96386
+
96387
+
96388
+ /**
96389
+ * optional string workflow_version_id = 3;
96390
+ * @return {string}
96391
+ */
96392
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function() {
96393
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
96394
+ };
96395
+
96396
+
96397
+ /**
96398
+ * @param {string} value
96399
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96400
+ */
96401
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function(value) {
96402
+ return jspb.Message.setProto3StringField(this, 3, value);
96403
+ };
96404
+
96405
+
96406
+ /**
96407
+ * repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
96408
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
96409
+ */
96410
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function() {
96411
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (
96412
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
96413
+ };
96414
+
96415
+
96416
+ /**
96417
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
96418
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96419
+ */
96420
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function(value) {
96421
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
96422
+ };
96423
+
96424
+
96425
+ /**
96426
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
96427
+ * @param {number=} opt_index
96428
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation}
96429
+ */
96430
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function(opt_value, opt_index) {
96431
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
96432
+ };
96433
+
96434
+
96435
+ /**
96436
+ * Clears the list making it empty but non-null.
96437
+ * @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
96438
+ */
96439
+ proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function() {
96440
+ return this.setWorkflowVersionEvaluationsList([]);
96441
+ };
96442
+
96443
+
96444
+
96445
+ /**
96446
+ * List of repeated fields within this message type.
96447
+ * @private {!Array<number>}
96448
+ * @const
96449
+ */
96450
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
96451
+
96452
+
96453
+
96454
+ if (jspb.Message.GENERATE_TO_OBJECT) {
96455
+ /**
96456
+ * Creates an object representation of this proto.
96457
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
96458
+ * Optional fields that are not set will be set to undefined.
96459
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96460
+ * For the list of reserved names please see:
96461
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96462
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96463
+ * JSPB instance for transitional soy proto support:
96464
+ * http://goto/soy-param-migration
96465
+ * @return {!Object}
96466
+ */
96467
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.toObject = function(opt_includeInstance) {
96468
+ return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
96469
+ };
96470
+
96471
+
96472
+ /**
96473
+ * Static version of the {@see toObject} method.
96474
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96475
+ * the JSPB instance for transitional soy proto support:
96476
+ * http://goto/soy-param-migration
96477
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
96478
+ * @return {!Object}
96479
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96480
+ */
96481
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject = function(includeInstance, msg) {
96482
+ var f, obj = {
96483
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
96484
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
96485
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
96486
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
96487
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
96488
+ action: jspb.Message.getFieldWithDefault(msg, 5, "")
96489
+ };
96490
+
96491
+ if (includeInstance) {
96492
+ obj.$jspbMessageInstance = msg;
96493
+ }
96494
+ return obj;
96495
+ };
96496
+ }
96497
+
96498
+
96499
+ /**
96500
+ * Deserializes binary data (in protobuf wire format).
96501
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
96502
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
96503
+ */
96504
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinary = function(bytes) {
96505
+ var reader = new jspb.BinaryReader(bytes);
96506
+ var msg = new proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest;
96507
+ return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
96508
+ };
96509
+
96510
+
96511
+ /**
96512
+ * Deserializes binary data (in protobuf wire format) from the
96513
+ * given reader into the given message object.
96514
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
96515
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96516
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
96517
+ */
96518
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function(msg, reader) {
96519
+ while (reader.nextField()) {
96520
+ if (reader.isEndGroup()) {
96521
+ break;
96522
+ }
96523
+ var field = reader.getFieldNumber();
96524
+ switch (field) {
96525
+ case 1:
96526
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
96527
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
96528
+ msg.setUserAppId(value);
96529
+ break;
96530
+ case 2:
96531
+ var value = /** @type {string} */ (reader.readString());
96532
+ msg.setWorkflowId(value);
96533
+ break;
96534
+ case 3:
96535
+ var value = /** @type {string} */ (reader.readString());
96536
+ msg.setWorkflowVersionId(value);
96537
+ break;
96538
+ case 4:
96539
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
96540
+ reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
96541
+ msg.addWorkflowVersionEvaluations(value);
96542
+ break;
96543
+ case 5:
96544
+ var value = /** @type {string} */ (reader.readString());
96545
+ msg.setAction(value);
96546
+ break;
96547
+ default:
96548
+ reader.skipField();
96549
+ break;
96550
+ }
96551
+ }
96552
+ return msg;
96553
+ };
96554
+
96555
+
96556
+ /**
96557
+ * Serializes the message to binary data (in protobuf wire format).
96558
+ * @return {!Uint8Array}
96559
+ */
96560
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function() {
96561
+ var writer = new jspb.BinaryWriter();
96562
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
96563
+ return writer.getResultBuffer();
96564
+ };
96565
+
96566
+
96567
+ /**
96568
+ * Serializes the given message to binary data (in protobuf wire
96569
+ * format), writing to the given BinaryWriter.
96570
+ * @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} message
96571
+ * @param {!jspb.BinaryWriter} writer
96572
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96573
+ */
96574
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function(message, writer) {
96575
+ var f = undefined;
96576
+ f = message.getUserAppId();
96577
+ if (f != null) {
96578
+ writer.writeMessage(
96579
+ 1,
96580
+ f,
96581
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
96582
+ );
96583
+ }
96584
+ f = message.getWorkflowId();
96585
+ if (f.length > 0) {
96586
+ writer.writeString(
96587
+ 2,
96588
+ f
96589
+ );
96590
+ }
96591
+ f = message.getWorkflowVersionId();
96592
+ if (f.length > 0) {
96593
+ writer.writeString(
96594
+ 3,
96595
+ f
96596
+ );
96597
+ }
96598
+ f = message.getWorkflowVersionEvaluationsList();
96599
+ if (f.length > 0) {
96600
+ writer.writeRepeatedMessage(
96601
+ 4,
96602
+ f,
96603
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
96604
+ );
96605
+ }
96606
+ f = message.getAction();
96607
+ if (f.length > 0) {
96608
+ writer.writeString(
96609
+ 5,
96610
+ f
96611
+ );
96612
+ }
96613
+ };
96614
+
96615
+
96616
+ /**
96617
+ * optional UserAppIDSet user_app_id = 1;
96618
+ * @return {?proto.clarifai.api.UserAppIDSet}
96619
+ */
96620
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function() {
96621
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
96622
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
96623
+ };
96624
+
96625
+
96626
+ /**
96627
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
96628
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96629
+ */
96630
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function(value) {
96631
+ return jspb.Message.setWrapperField(this, 1, value);
96632
+ };
96633
+
96634
+
96635
+ /**
96636
+ * Clears the message field making it undefined.
96637
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96638
+ */
96639
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function() {
96640
+ return this.setUserAppId(undefined);
96641
+ };
96642
+
96643
+
96644
+ /**
96645
+ * Returns whether this field is set.
96646
+ * @return {boolean}
96647
+ */
96648
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function() {
96649
+ return jspb.Message.getField(this, 1) != null;
96650
+ };
96651
+
96652
+
96653
+ /**
96654
+ * optional string workflow_id = 2;
96655
+ * @return {string}
96656
+ */
96657
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function() {
96658
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
96659
+ };
96660
+
96661
+
96662
+ /**
96663
+ * @param {string} value
96664
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96665
+ */
96666
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function(value) {
96667
+ return jspb.Message.setProto3StringField(this, 2, value);
96668
+ };
96669
+
96670
+
96671
+ /**
96672
+ * optional string workflow_version_id = 3;
96673
+ * @return {string}
96674
+ */
96675
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function() {
96676
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
96677
+ };
96678
+
96679
+
96680
+ /**
96681
+ * @param {string} value
96682
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96683
+ */
96684
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function(value) {
96685
+ return jspb.Message.setProto3StringField(this, 3, value);
96686
+ };
96687
+
96688
+
96689
+ /**
96690
+ * repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
96691
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
96692
+ */
96693
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function() {
96694
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (
96695
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
96696
+ };
96697
+
96698
+
96699
+ /**
96700
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
96701
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96702
+ */
96703
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function(value) {
96704
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
96705
+ };
96706
+
96707
+
96708
+ /**
96709
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
96710
+ * @param {number=} opt_index
96711
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation}
96712
+ */
96713
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function(opt_value, opt_index) {
96714
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
96715
+ };
96716
+
96717
+
96718
+ /**
96719
+ * Clears the list making it empty but non-null.
96720
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96721
+ */
96722
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function() {
96723
+ return this.setWorkflowVersionEvaluationsList([]);
96724
+ };
96725
+
96726
+
96727
+ /**
96728
+ * optional string action = 5;
96729
+ * @return {string}
96730
+ */
96731
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getAction = function() {
96732
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
96733
+ };
96734
+
96735
+
96736
+ /**
96737
+ * @param {string} value
96738
+ * @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
96739
+ */
96740
+ proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setAction = function(value) {
96741
+ return jspb.Message.setProto3StringField(this, 5, value);
96742
+ };
96743
+
96744
+
96745
+
96746
+ /**
96747
+ * List of repeated fields within this message type.
96748
+ * @private {!Array<number>}
96749
+ * @const
96750
+ */
96751
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_ = [2];
96752
+
96753
+
96754
+
96755
+ if (jspb.Message.GENERATE_TO_OBJECT) {
96756
+ /**
96757
+ * Creates an object representation of this proto.
96758
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
96759
+ * Optional fields that are not set will be set to undefined.
96760
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96761
+ * For the list of reserved names please see:
96762
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96763
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96764
+ * JSPB instance for transitional soy proto support:
96765
+ * http://goto/soy-param-migration
96766
+ * @return {!Object}
96767
+ */
96768
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.toObject = function(opt_includeInstance) {
96769
+ return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
96770
+ };
96771
+
96772
+
96773
+ /**
96774
+ * Static version of the {@see toObject} method.
96775
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96776
+ * the JSPB instance for transitional soy proto support:
96777
+ * http://goto/soy-param-migration
96778
+ * @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The msg instance to transform.
96779
+ * @return {!Object}
96780
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96781
+ */
96782
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject = function(includeInstance, msg) {
96783
+ var f, obj = {
96784
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
96785
+ workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
96786
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
96787
+ };
96788
+
96789
+ if (includeInstance) {
96790
+ obj.$jspbMessageInstance = msg;
96791
+ }
96792
+ return obj;
96793
+ };
96794
+ }
96795
+
96796
+
96797
+ /**
96798
+ * Deserializes binary data (in protobuf wire format).
96799
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
96800
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
96801
+ */
96802
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary = function(bytes) {
96803
+ var reader = new jspb.BinaryReader(bytes);
96804
+ var msg = new proto.clarifai.api.MultiWorkflowVersionEvaluationResponse;
96805
+ return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
96806
+ };
96807
+
96808
+
96809
+ /**
96810
+ * Deserializes binary data (in protobuf wire format) from the
96811
+ * given reader into the given message object.
96812
+ * @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
96813
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
96814
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
96815
+ */
96816
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function(msg, reader) {
96817
+ while (reader.nextField()) {
96818
+ if (reader.isEndGroup()) {
96819
+ break;
96820
+ }
96821
+ var field = reader.getFieldNumber();
96822
+ switch (field) {
96823
+ case 1:
96824
+ var value = new proto_clarifai_api_status_status_pb.Status;
96825
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
96826
+ msg.setStatus(value);
96827
+ break;
96828
+ case 2:
96829
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
96830
+ reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
96831
+ msg.addWorkflowVersionEvaluations(value);
96832
+ break;
96833
+ default:
96834
+ reader.skipField();
96835
+ break;
96836
+ }
96837
+ }
96838
+ return msg;
96839
+ };
96840
+
96841
+
96842
+ /**
96843
+ * Serializes the message to binary data (in protobuf wire format).
96844
+ * @return {!Uint8Array}
96845
+ */
96846
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.serializeBinary = function() {
96847
+ var writer = new jspb.BinaryWriter();
96848
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
96849
+ return writer.getResultBuffer();
96850
+ };
96851
+
96852
+
96853
+ /**
96854
+ * Serializes the given message to binary data (in protobuf wire
96855
+ * format), writing to the given BinaryWriter.
96856
+ * @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} message
96857
+ * @param {!jspb.BinaryWriter} writer
96858
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96859
+ */
96860
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function(message, writer) {
96861
+ var f = undefined;
96862
+ f = message.getStatus();
96863
+ if (f != null) {
96864
+ writer.writeMessage(
96865
+ 1,
96866
+ f,
96867
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
96868
+ );
96869
+ }
96870
+ f = message.getWorkflowVersionEvaluationsList();
96871
+ if (f.length > 0) {
96872
+ writer.writeRepeatedMessage(
96873
+ 2,
96874
+ f,
96875
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
96876
+ );
96877
+ }
96878
+ };
96879
+
96880
+
96881
+ /**
96882
+ * optional status.Status status = 1;
96883
+ * @return {?proto.clarifai.api.status.Status}
96884
+ */
96885
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getStatus = function() {
96886
+ return /** @type{?proto.clarifai.api.status.Status} */ (
96887
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
96888
+ };
96889
+
96890
+
96891
+ /**
96892
+ * @param {?proto.clarifai.api.status.Status|undefined} value
96893
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
96894
+ */
96895
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setStatus = function(value) {
96896
+ return jspb.Message.setWrapperField(this, 1, value);
96897
+ };
96898
+
96899
+
96900
+ /**
96901
+ * Clears the message field making it undefined.
96902
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
96903
+ */
96904
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearStatus = function() {
96905
+ return this.setStatus(undefined);
96906
+ };
96907
+
96908
+
96909
+ /**
96910
+ * Returns whether this field is set.
96911
+ * @return {boolean}
96912
+ */
96913
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.hasStatus = function() {
96914
+ return jspb.Message.getField(this, 1) != null;
96915
+ };
96916
+
96917
+
96918
+ /**
96919
+ * repeated WorkflowVersionEvaluation workflow_version_evaluations = 2;
96920
+ * @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
96921
+ */
96922
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluationsList = function() {
96923
+ return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (
96924
+ jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
96925
+ };
96926
+
96927
+
96928
+ /**
96929
+ * @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
96930
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
96931
+ */
96932
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluationsList = function(value) {
96933
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
96934
+ };
96935
+
96936
+
96937
+ /**
96938
+ * @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
96939
+ * @param {number=} opt_index
96940
+ * @return {!proto.clarifai.api.WorkflowVersionEvaluation}
96941
+ */
96942
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.addWorkflowVersionEvaluations = function(opt_value, opt_index) {
96943
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
96944
+ };
96945
+
96946
+
96947
+ /**
96948
+ * Clears the list making it empty but non-null.
96949
+ * @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
96950
+ */
96951
+ proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluationsList = function() {
96952
+ return this.setWorkflowVersionEvaluationsList([]);
96953
+ };
96954
+
96955
+
96956
+
96957
+
96958
+
96959
+ if (jspb.Message.GENERATE_TO_OBJECT) {
96960
+ /**
96961
+ * Creates an object representation of this proto.
96962
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
96963
+ * Optional fields that are not set will be set to undefined.
96964
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
96965
+ * For the list of reserved names please see:
96966
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
96967
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
96968
+ * JSPB instance for transitional soy proto support:
96969
+ * http://goto/soy-param-migration
96970
+ * @return {!Object}
96971
+ */
96972
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.toObject = function(opt_includeInstance) {
96973
+ return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
96974
+ };
96975
+
96976
+
96977
+ /**
96978
+ * Static version of the {@see toObject} method.
96979
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
96980
+ * the JSPB instance for transitional soy proto support:
96981
+ * http://goto/soy-param-migration
96982
+ * @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The msg instance to transform.
96983
+ * @return {!Object}
96984
+ * @suppress {unusedLocalVariables} f is only used for nested messages
96985
+ */
96986
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject = function(includeInstance, msg) {
96987
+ var f, obj = {
96988
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
96989
+ workflowVersionEvaluation: (f = msg.getWorkflowVersionEvaluation()) && proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject(includeInstance, f)
96990
+ };
96991
+
96992
+ if (includeInstance) {
96993
+ obj.$jspbMessageInstance = msg;
96994
+ }
96995
+ return obj;
96996
+ };
96997
+ }
96998
+
96999
+
97000
+ /**
97001
+ * Deserializes binary data (in protobuf wire format).
97002
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
97003
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
97004
+ */
97005
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary = function(bytes) {
97006
+ var reader = new jspb.BinaryReader(bytes);
97007
+ var msg = new proto.clarifai.api.SingleWorkflowVersionEvaluationResponse;
97008
+ return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
97009
+ };
97010
+
97011
+
97012
+ /**
97013
+ * Deserializes binary data (in protobuf wire format) from the
97014
+ * given reader into the given message object.
97015
+ * @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
97016
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97017
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
97018
+ */
97019
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function(msg, reader) {
97020
+ while (reader.nextField()) {
97021
+ if (reader.isEndGroup()) {
97022
+ break;
97023
+ }
97024
+ var field = reader.getFieldNumber();
97025
+ switch (field) {
97026
+ case 1:
97027
+ var value = new proto_clarifai_api_status_status_pb.Status;
97028
+ reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
97029
+ msg.setStatus(value);
97030
+ break;
97031
+ case 2:
97032
+ var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
97033
+ reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
97034
+ msg.setWorkflowVersionEvaluation(value);
97035
+ break;
97036
+ default:
97037
+ reader.skipField();
97038
+ break;
97039
+ }
97040
+ }
97041
+ return msg;
97042
+ };
97043
+
97044
+
97045
+ /**
97046
+ * Serializes the message to binary data (in protobuf wire format).
97047
+ * @return {!Uint8Array}
97048
+ */
97049
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.serializeBinary = function() {
97050
+ var writer = new jspb.BinaryWriter();
97051
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
97052
+ return writer.getResultBuffer();
97053
+ };
97054
+
97055
+
97056
+ /**
97057
+ * Serializes the given message to binary data (in protobuf wire
97058
+ * format), writing to the given BinaryWriter.
97059
+ * @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} message
97060
+ * @param {!jspb.BinaryWriter} writer
97061
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97062
+ */
97063
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function(message, writer) {
97064
+ var f = undefined;
97065
+ f = message.getStatus();
97066
+ if (f != null) {
97067
+ writer.writeMessage(
97068
+ 1,
97069
+ f,
97070
+ proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
97071
+ );
97072
+ }
97073
+ f = message.getWorkflowVersionEvaluation();
97074
+ if (f != null) {
97075
+ writer.writeMessage(
97076
+ 2,
97077
+ f,
97078
+ proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
97079
+ );
97080
+ }
97081
+ };
97082
+
97083
+
97084
+ /**
97085
+ * optional status.Status status = 1;
97086
+ * @return {?proto.clarifai.api.status.Status}
97087
+ */
97088
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getStatus = function() {
97089
+ return /** @type{?proto.clarifai.api.status.Status} */ (
97090
+ jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
97091
+ };
97092
+
97093
+
97094
+ /**
97095
+ * @param {?proto.clarifai.api.status.Status|undefined} value
97096
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
97097
+ */
97098
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setStatus = function(value) {
97099
+ return jspb.Message.setWrapperField(this, 1, value);
97100
+ };
97101
+
97102
+
97103
+ /**
97104
+ * Clears the message field making it undefined.
97105
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
97106
+ */
97107
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearStatus = function() {
97108
+ return this.setStatus(undefined);
97109
+ };
97110
+
97111
+
97112
+ /**
97113
+ * Returns whether this field is set.
97114
+ * @return {boolean}
97115
+ */
97116
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasStatus = function() {
97117
+ return jspb.Message.getField(this, 1) != null;
97118
+ };
97119
+
97120
+
97121
+ /**
97122
+ * optional WorkflowVersionEvaluation workflow_version_evaluation = 2;
97123
+ * @return {?proto.clarifai.api.WorkflowVersionEvaluation}
97124
+ */
97125
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluation = function() {
97126
+ return /** @type{?proto.clarifai.api.WorkflowVersionEvaluation} */ (
97127
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
97128
+ };
97129
+
97130
+
97131
+ /**
97132
+ * @param {?proto.clarifai.api.WorkflowVersionEvaluation|undefined} value
97133
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
97134
+ */
97135
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluation = function(value) {
97136
+ return jspb.Message.setWrapperField(this, 2, value);
97137
+ };
97138
+
97139
+
97140
+ /**
97141
+ * Clears the message field making it undefined.
97142
+ * @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
97143
+ */
97144
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluation = function() {
97145
+ return this.setWorkflowVersionEvaluation(undefined);
97146
+ };
97147
+
97148
+
97149
+ /**
97150
+ * Returns whether this field is set.
97151
+ * @return {boolean}
97152
+ */
97153
+ proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasWorkflowVersionEvaluation = function() {
97154
+ return jspb.Message.getField(this, 2) != null;
97155
+ };
97156
+
97157
+
97158
+
97159
+
97160
+
97161
+ if (jspb.Message.GENERATE_TO_OBJECT) {
97162
+ /**
97163
+ * Creates an object representation of this proto.
97164
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
97165
+ * Optional fields that are not set will be set to undefined.
97166
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97167
+ * For the list of reserved names please see:
97168
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97169
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97170
+ * JSPB instance for transitional soy proto support:
97171
+ * http://goto/soy-param-migration
97172
+ * @return {!Object}
97173
+ */
97174
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.toObject = function(opt_includeInstance) {
97175
+ return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject(opt_includeInstance, this);
97176
+ };
97177
+
97178
+
97179
+ /**
97180
+ * Static version of the {@see toObject} method.
97181
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97182
+ * the JSPB instance for transitional soy proto support:
97183
+ * http://goto/soy-param-migration
97184
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The msg instance to transform.
97185
+ * @return {!Object}
97186
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97187
+ */
97188
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject = function(includeInstance, msg) {
97189
+ var f, obj = {
97190
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
97191
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
97192
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
97193
+ workflowVersionEvaluationId: jspb.Message.getFieldWithDefault(msg, 4, "")
97194
+ };
97195
+
97196
+ if (includeInstance) {
97197
+ obj.$jspbMessageInstance = msg;
97198
+ }
97199
+ return obj;
97200
+ };
97201
+ }
97202
+
97203
+
97204
+ /**
97205
+ * Deserializes binary data (in protobuf wire format).
97206
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
97207
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
97208
+ */
97209
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinary = function(bytes) {
97210
+ var reader = new jspb.BinaryReader(bytes);
97211
+ var msg = new proto.clarifai.api.GetWorkflowVersionEvaluationRequest;
97212
+ return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader(msg, reader);
97213
+ };
97214
+
97215
+
97216
+ /**
97217
+ * Deserializes binary data (in protobuf wire format) from the
97218
+ * given reader into the given message object.
97219
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The message object to deserialize into.
97220
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97221
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
97222
+ */
97223
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader = function(msg, reader) {
97224
+ while (reader.nextField()) {
97225
+ if (reader.isEndGroup()) {
97226
+ break;
97227
+ }
97228
+ var field = reader.getFieldNumber();
97229
+ switch (field) {
97230
+ case 1:
97231
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
97232
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
97233
+ msg.setUserAppId(value);
97234
+ break;
97235
+ case 2:
97236
+ var value = /** @type {string} */ (reader.readString());
97237
+ msg.setWorkflowId(value);
97238
+ break;
97239
+ case 3:
97240
+ var value = /** @type {string} */ (reader.readString());
97241
+ msg.setWorkflowVersionId(value);
97242
+ break;
97243
+ case 4:
97244
+ var value = /** @type {string} */ (reader.readString());
97245
+ msg.setWorkflowVersionEvaluationId(value);
97246
+ break;
97247
+ default:
97248
+ reader.skipField();
97249
+ break;
97250
+ }
97251
+ }
97252
+ return msg;
97253
+ };
97254
+
97255
+
97256
+ /**
97257
+ * Serializes the message to binary data (in protobuf wire format).
97258
+ * @return {!Uint8Array}
97259
+ */
97260
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.serializeBinary = function() {
97261
+ var writer = new jspb.BinaryWriter();
97262
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter(this, writer);
97263
+ return writer.getResultBuffer();
97264
+ };
97265
+
97266
+
97267
+ /**
97268
+ * Serializes the given message to binary data (in protobuf wire
97269
+ * format), writing to the given BinaryWriter.
97270
+ * @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} message
97271
+ * @param {!jspb.BinaryWriter} writer
97272
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97273
+ */
97274
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter = function(message, writer) {
97275
+ var f = undefined;
97276
+ f = message.getUserAppId();
97277
+ if (f != null) {
97278
+ writer.writeMessage(
97279
+ 1,
97280
+ f,
97281
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
97282
+ );
97283
+ }
97284
+ f = message.getWorkflowId();
97285
+ if (f.length > 0) {
97286
+ writer.writeString(
97287
+ 2,
97288
+ f
97289
+ );
97290
+ }
97291
+ f = message.getWorkflowVersionId();
97292
+ if (f.length > 0) {
97293
+ writer.writeString(
97294
+ 3,
97295
+ f
97296
+ );
97297
+ }
97298
+ f = message.getWorkflowVersionEvaluationId();
97299
+ if (f.length > 0) {
97300
+ writer.writeString(
97301
+ 4,
97302
+ f
97303
+ );
97304
+ }
97305
+ };
97306
+
97307
+
97308
+ /**
97309
+ * optional UserAppIDSet user_app_id = 1;
97310
+ * @return {?proto.clarifai.api.UserAppIDSet}
97311
+ */
97312
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getUserAppId = function() {
97313
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
97314
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
97315
+ };
97316
+
97317
+
97318
+ /**
97319
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
97320
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
97321
+ */
97322
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setUserAppId = function(value) {
97323
+ return jspb.Message.setWrapperField(this, 1, value);
97324
+ };
97325
+
97326
+
97327
+ /**
97328
+ * Clears the message field making it undefined.
97329
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
97330
+ */
97331
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.clearUserAppId = function() {
97332
+ return this.setUserAppId(undefined);
97333
+ };
97334
+
97335
+
97336
+ /**
97337
+ * Returns whether this field is set.
97338
+ * @return {boolean}
97339
+ */
97340
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.hasUserAppId = function() {
97341
+ return jspb.Message.getField(this, 1) != null;
97342
+ };
97343
+
97344
+
97345
+ /**
97346
+ * optional string workflow_id = 2;
97347
+ * @return {string}
97348
+ */
97349
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowId = function() {
97350
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
97351
+ };
97352
+
97353
+
97354
+ /**
97355
+ * @param {string} value
97356
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
97357
+ */
97358
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowId = function(value) {
97359
+ return jspb.Message.setProto3StringField(this, 2, value);
97360
+ };
97361
+
97362
+
97363
+ /**
97364
+ * optional string workflow_version_id = 3;
97365
+ * @return {string}
97366
+ */
97367
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionId = function() {
97368
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
97369
+ };
97370
+
97371
+
97372
+ /**
97373
+ * @param {string} value
97374
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
97375
+ */
97376
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionId = function(value) {
97377
+ return jspb.Message.setProto3StringField(this, 3, value);
97378
+ };
97379
+
97380
+
97381
+ /**
97382
+ * optional string workflow_version_evaluation_id = 4;
97383
+ * @return {string}
97384
+ */
97385
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionEvaluationId = function() {
97386
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
97387
+ };
97388
+
97389
+
97390
+ /**
97391
+ * @param {string} value
97392
+ * @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
97393
+ */
97394
+ proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionEvaluationId = function(value) {
97395
+ return jspb.Message.setProto3StringField(this, 4, value);
97396
+ };
97397
+
97398
+
97399
+
97400
+
97401
+
97402
+ if (jspb.Message.GENERATE_TO_OBJECT) {
97403
+ /**
97404
+ * Creates an object representation of this proto.
97405
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
97406
+ * Optional fields that are not set will be set to undefined.
97407
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97408
+ * For the list of reserved names please see:
97409
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97410
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97411
+ * JSPB instance for transitional soy proto support:
97412
+ * http://goto/soy-param-migration
97413
+ * @return {!Object}
97414
+ */
97415
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.toObject = function(opt_includeInstance) {
97416
+ return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
97417
+ };
97418
+
97419
+
97420
+ /**
97421
+ * Static version of the {@see toObject} method.
97422
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97423
+ * the JSPB instance for transitional soy proto support:
97424
+ * http://goto/soy-param-migration
97425
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
97426
+ * @return {!Object}
97427
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97428
+ */
97429
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject = function(includeInstance, msg) {
97430
+ var f, obj = {
97431
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
97432
+ workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
97433
+ workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
97434
+ page: jspb.Message.getFieldWithDefault(msg, 4, 0),
97435
+ perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
97436
+ };
97437
+
97438
+ if (includeInstance) {
97439
+ obj.$jspbMessageInstance = msg;
97440
+ }
97441
+ return obj;
97442
+ };
97443
+ }
97444
+
97445
+
97446
+ /**
97447
+ * Deserializes binary data (in protobuf wire format).
97448
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
97449
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
97450
+ */
97451
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinary = function(bytes) {
97452
+ var reader = new jspb.BinaryReader(bytes);
97453
+ var msg = new proto.clarifai.api.ListWorkflowVersionEvaluationsRequest;
97454
+ return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
97455
+ };
97456
+
97457
+
97458
+ /**
97459
+ * Deserializes binary data (in protobuf wire format) from the
97460
+ * given reader into the given message object.
97461
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
97462
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97463
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
97464
+ */
97465
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function(msg, reader) {
97466
+ while (reader.nextField()) {
97467
+ if (reader.isEndGroup()) {
97468
+ break;
97469
+ }
97470
+ var field = reader.getFieldNumber();
97471
+ switch (field) {
97472
+ case 1:
97473
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
97474
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
97475
+ msg.setUserAppId(value);
97476
+ break;
97477
+ case 2:
97478
+ var value = /** @type {string} */ (reader.readString());
97479
+ msg.setWorkflowId(value);
97480
+ break;
97481
+ case 3:
97482
+ var value = /** @type {string} */ (reader.readString());
97483
+ msg.setWorkflowVersionId(value);
97484
+ break;
97485
+ case 4:
97486
+ var value = /** @type {number} */ (reader.readUint32());
97487
+ msg.setPage(value);
97488
+ break;
97489
+ case 5:
97490
+ var value = /** @type {number} */ (reader.readUint32());
97491
+ msg.setPerPage(value);
97492
+ break;
97493
+ default:
97494
+ reader.skipField();
97495
+ break;
97496
+ }
97497
+ }
97498
+ return msg;
97499
+ };
97500
+
97501
+
97502
+ /**
97503
+ * Serializes the message to binary data (in protobuf wire format).
97504
+ * @return {!Uint8Array}
97505
+ */
97506
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function() {
97507
+ var writer = new jspb.BinaryWriter();
97508
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
97509
+ return writer.getResultBuffer();
97510
+ };
97511
+
97512
+
97513
+ /**
97514
+ * Serializes the given message to binary data (in protobuf wire
97515
+ * format), writing to the given BinaryWriter.
97516
+ * @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} message
97517
+ * @param {!jspb.BinaryWriter} writer
97518
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97519
+ */
97520
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function(message, writer) {
97521
+ var f = undefined;
97522
+ f = message.getUserAppId();
97523
+ if (f != null) {
97524
+ writer.writeMessage(
97525
+ 1,
97526
+ f,
97527
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
97528
+ );
97529
+ }
97530
+ f = message.getWorkflowId();
97531
+ if (f.length > 0) {
97532
+ writer.writeString(
97533
+ 2,
97534
+ f
97535
+ );
97536
+ }
97537
+ f = message.getWorkflowVersionId();
97538
+ if (f.length > 0) {
97539
+ writer.writeString(
97540
+ 3,
97541
+ f
97542
+ );
97543
+ }
97544
+ f = message.getPage();
97545
+ if (f !== 0) {
97546
+ writer.writeUint32(
97547
+ 4,
97548
+ f
97549
+ );
97550
+ }
97551
+ f = message.getPerPage();
97552
+ if (f !== 0) {
97553
+ writer.writeUint32(
97554
+ 5,
97555
+ f
97556
+ );
97557
+ }
97558
+ };
97559
+
97560
+
97561
+ /**
97562
+ * optional UserAppIDSet user_app_id = 1;
97563
+ * @return {?proto.clarifai.api.UserAppIDSet}
97564
+ */
97565
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function() {
97566
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
97567
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
97568
+ };
97569
+
97570
+
97571
+ /**
97572
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
97573
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
97574
+ */
97575
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function(value) {
97576
+ return jspb.Message.setWrapperField(this, 1, value);
97577
+ };
97578
+
97579
+
97580
+ /**
97581
+ * Clears the message field making it undefined.
97582
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
97583
+ */
97584
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function() {
97585
+ return this.setUserAppId(undefined);
97586
+ };
97587
+
97588
+
97589
+ /**
97590
+ * Returns whether this field is set.
97591
+ * @return {boolean}
97592
+ */
97593
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function() {
97594
+ return jspb.Message.getField(this, 1) != null;
97595
+ };
97596
+
97597
+
97598
+ /**
97599
+ * optional string workflow_id = 2;
97600
+ * @return {string}
97601
+ */
97602
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function() {
97603
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
97604
+ };
97605
+
97606
+
97607
+ /**
97608
+ * @param {string} value
97609
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
97610
+ */
97611
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function(value) {
97612
+ return jspb.Message.setProto3StringField(this, 2, value);
97613
+ };
97614
+
97615
+
97616
+ /**
97617
+ * optional string workflow_version_id = 3;
97618
+ * @return {string}
97619
+ */
97620
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function() {
97621
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
97622
+ };
97623
+
97624
+
97625
+ /**
97626
+ * @param {string} value
97627
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
97628
+ */
97629
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function(value) {
97630
+ return jspb.Message.setProto3StringField(this, 3, value);
97631
+ };
97632
+
97633
+
97634
+ /**
97635
+ * optional uint32 page = 4;
97636
+ * @return {number}
97637
+ */
97638
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPage = function() {
97639
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
97640
+ };
97641
+
97642
+
97643
+ /**
97644
+ * @param {number} value
97645
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
97646
+ */
97647
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPage = function(value) {
97648
+ return jspb.Message.setProto3IntField(this, 4, value);
97649
+ };
97650
+
97651
+
97652
+ /**
97653
+ * optional uint32 per_page = 5;
97654
+ * @return {number}
97655
+ */
97656
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPerPage = function() {
97657
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
97658
+ };
97659
+
97660
+
97661
+ /**
97662
+ * @param {number} value
97663
+ * @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
97664
+ */
97665
+ proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPerPage = function(value) {
97666
+ return jspb.Message.setProto3IntField(this, 5, value);
97667
+ };
97668
+
97669
+
97670
+
97671
+
97672
+
97673
+ if (jspb.Message.GENERATE_TO_OBJECT) {
97674
+ /**
97675
+ * Creates an object representation of this proto.
97676
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
97677
+ * Optional fields that are not set will be set to undefined.
97678
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
97679
+ * For the list of reserved names please see:
97680
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
97681
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
97682
+ * JSPB instance for transitional soy proto support:
97683
+ * http://goto/soy-param-migration
97684
+ * @return {!Object}
97685
+ */
97686
+ proto.clarifai.api.PostModelMigrationRequest.prototype.toObject = function(opt_includeInstance) {
97687
+ return proto.clarifai.api.PostModelMigrationRequest.toObject(opt_includeInstance, this);
97688
+ };
97689
+
97690
+
97691
+ /**
97692
+ * Static version of the {@see toObject} method.
97693
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
97694
+ * the JSPB instance for transitional soy proto support:
97695
+ * http://goto/soy-param-migration
97696
+ * @param {!proto.clarifai.api.PostModelMigrationRequest} msg The msg instance to transform.
97697
+ * @return {!Object}
97698
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97699
+ */
97700
+ proto.clarifai.api.PostModelMigrationRequest.toObject = function(includeInstance, msg) {
97701
+ var f, obj = {
97702
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
97703
+ modelId: jspb.Message.getFieldWithDefault(msg, 2, "")
97704
+ };
97705
+
97706
+ if (includeInstance) {
97707
+ obj.$jspbMessageInstance = msg;
97708
+ }
97709
+ return obj;
97710
+ };
97711
+ }
97712
+
97713
+
97714
+ /**
97715
+ * Deserializes binary data (in protobuf wire format).
97716
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
97717
+ * @return {!proto.clarifai.api.PostModelMigrationRequest}
97718
+ */
97719
+ proto.clarifai.api.PostModelMigrationRequest.deserializeBinary = function(bytes) {
97720
+ var reader = new jspb.BinaryReader(bytes);
97721
+ var msg = new proto.clarifai.api.PostModelMigrationRequest;
97722
+ return proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader(msg, reader);
97723
+ };
97724
+
97725
+
97726
+ /**
97727
+ * Deserializes binary data (in protobuf wire format) from the
97728
+ * given reader into the given message object.
97729
+ * @param {!proto.clarifai.api.PostModelMigrationRequest} msg The message object to deserialize into.
97730
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
97731
+ * @return {!proto.clarifai.api.PostModelMigrationRequest}
97732
+ */
97733
+ proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader = function(msg, reader) {
97734
+ while (reader.nextField()) {
97735
+ if (reader.isEndGroup()) {
97736
+ break;
97737
+ }
97738
+ var field = reader.getFieldNumber();
97739
+ switch (field) {
97740
+ case 1:
97741
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
97742
+ reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
97743
+ msg.setUserAppId(value);
97744
+ break;
97745
+ case 2:
97746
+ var value = /** @type {string} */ (reader.readString());
97747
+ msg.setModelId(value);
97748
+ break;
97749
+ default:
97750
+ reader.skipField();
97751
+ break;
97752
+ }
97753
+ }
97754
+ return msg;
97755
+ };
97756
+
97757
+
97758
+ /**
97759
+ * Serializes the message to binary data (in protobuf wire format).
97760
+ * @return {!Uint8Array}
97761
+ */
97762
+ proto.clarifai.api.PostModelMigrationRequest.prototype.serializeBinary = function() {
97763
+ var writer = new jspb.BinaryWriter();
97764
+ proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter(this, writer);
97765
+ return writer.getResultBuffer();
97766
+ };
97767
+
97768
+
97769
+ /**
97770
+ * Serializes the given message to binary data (in protobuf wire
97771
+ * format), writing to the given BinaryWriter.
97772
+ * @param {!proto.clarifai.api.PostModelMigrationRequest} message
97773
+ * @param {!jspb.BinaryWriter} writer
97774
+ * @suppress {unusedLocalVariables} f is only used for nested messages
97775
+ */
97776
+ proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter = function(message, writer) {
97777
+ var f = undefined;
97778
+ f = message.getUserAppId();
97779
+ if (f != null) {
97780
+ writer.writeMessage(
97781
+ 1,
97782
+ f,
97783
+ proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
97784
+ );
97785
+ }
97786
+ f = message.getModelId();
97787
+ if (f.length > 0) {
97788
+ writer.writeString(
97789
+ 2,
97790
+ f
97791
+ );
97792
+ }
97793
+ };
97794
+
97795
+
97796
+ /**
97797
+ * optional UserAppIDSet user_app_id = 1;
97798
+ * @return {?proto.clarifai.api.UserAppIDSet}
97799
+ */
97800
+ proto.clarifai.api.PostModelMigrationRequest.prototype.getUserAppId = function() {
97801
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
97802
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
97803
+ };
97804
+
97805
+
97806
+ /**
97807
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
97808
+ * @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
97809
+ */
97810
+ proto.clarifai.api.PostModelMigrationRequest.prototype.setUserAppId = function(value) {
97811
+ return jspb.Message.setWrapperField(this, 1, value);
97812
+ };
97813
+
97814
+
97815
+ /**
97816
+ * Clears the message field making it undefined.
97817
+ * @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
97818
+ */
97819
+ proto.clarifai.api.PostModelMigrationRequest.prototype.clearUserAppId = function() {
97820
+ return this.setUserAppId(undefined);
97821
+ };
97822
+
97823
+
97824
+ /**
97825
+ * Returns whether this field is set.
97826
+ * @return {boolean}
97827
+ */
97828
+ proto.clarifai.api.PostModelMigrationRequest.prototype.hasUserAppId = function() {
97829
+ return jspb.Message.getField(this, 1) != null;
97830
+ };
97831
+
97832
+
97833
+ /**
97834
+ * optional string model_id = 2;
97835
+ * @return {string}
97836
+ */
97837
+ proto.clarifai.api.PostModelMigrationRequest.prototype.getModelId = function() {
97838
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
97839
+ };
97840
+
97841
+
97842
+ /**
97843
+ * @param {string} value
97844
+ * @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
97845
+ */
97846
+ proto.clarifai.api.PostModelMigrationRequest.prototype.setModelId = function(value) {
97847
+ return jspb.Message.setProto3StringField(this, 2, value);
97848
+ };
97849
+
97850
+
95003
97851
  /**
95004
97852
  * @enum {number}
95005
97853
  */