clarifai-web-grpc 10.1.3 → 10.1.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 10.1.3
1
+ 10.1.4
@@ -259,6 +259,7 @@ goog.exportSymbol('proto.clarifai.api.W3C', null, global);
259
259
  goog.exportSymbol('proto.clarifai.api.Worker', null, global);
260
260
  goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
261
261
  goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
262
+ goog.exportSymbol('proto.clarifai.api.WorkflowModelUseCase', null, global);
262
263
  goog.exportSymbol('proto.clarifai.api.WorkflowNode', null, global);
263
264
  goog.exportSymbol('proto.clarifai.api.WorkflowResult', null, global);
264
265
  goog.exportSymbol('proto.clarifai.api.WorkflowResultsSimilarity', null, global);
@@ -737,7 +738,7 @@ if (goog.DEBUG && !COMPILED) {
737
738
  * @constructor
738
739
  */
739
740
  proto.clarifai.api.ConceptQuery = function (opt_data) {
740
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
741
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ConceptQuery.repeatedFields_, null);
741
742
  };
742
743
  goog.inherits(proto.clarifai.api.ConceptQuery, jspb.Message);
743
744
  if (goog.DEBUG && !COMPILED) {
@@ -9481,6 +9482,12 @@ proto.clarifai.api.DetailConceptCount.prototype.clearProcessing = function () {
9481
9482
  proto.clarifai.api.DetailConceptCount.prototype.hasProcessing = function () {
9482
9483
  return jspb.Message.getField(this, 4) != null;
9483
9484
  };
9485
+ /**
9486
+ * List of repeated fields within this message type.
9487
+ * @private {!Array<number>}
9488
+ * @const
9489
+ */
9490
+ proto.clarifai.api.ConceptQuery.repeatedFields_ = [4];
9484
9491
  if (jspb.Message.GENERATE_TO_OBJECT) {
9485
9492
  /**
9486
9493
  * Creates an object representation of this proto.
@@ -9510,7 +9517,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
9510
9517
  var f, obj = {
9511
9518
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
9512
9519
  language: jspb.Message.getFieldWithDefault(msg, 2, ""),
9513
- workflowId: jspb.Message.getFieldWithDefault(msg, 3, "")
9520
+ workflowId: jspb.Message.getFieldWithDefault(msg, 3, ""),
9521
+ useCasesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
9514
9522
  };
9515
9523
  if (includeInstance) {
9516
9524
  obj.$jspbMessageInstance = msg;
@@ -9554,6 +9562,12 @@ proto.clarifai.api.ConceptQuery.deserializeBinaryFromReader = function (msg, rea
9554
9562
  var value = /** @type {string} */ (reader.readString());
9555
9563
  msg.setWorkflowId(value);
9556
9564
  break;
9565
+ case 4:
9566
+ var values = /** @type {!Array<!proto.clarifai.api.WorkflowModelUseCase>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
9567
+ for (var i = 0; i < values.length; i++) {
9568
+ msg.addUseCases(values[i]);
9569
+ }
9570
+ break;
9557
9571
  default:
9558
9572
  reader.skipField();
9559
9573
  break;
@@ -9591,6 +9605,10 @@ proto.clarifai.api.ConceptQuery.serializeBinaryToWriter = function (message, wri
9591
9605
  if (f.length > 0) {
9592
9606
  writer.writeString(3, f);
9593
9607
  }
9608
+ f = message.getUseCasesList();
9609
+ if (f.length > 0) {
9610
+ writer.writePackedEnum(4, f);
9611
+ }
9594
9612
  };
9595
9613
  /**
9596
9614
  * optional string name = 1;
@@ -9634,6 +9652,35 @@ proto.clarifai.api.ConceptQuery.prototype.getWorkflowId = function () {
9634
9652
  proto.clarifai.api.ConceptQuery.prototype.setWorkflowId = function (value) {
9635
9653
  return jspb.Message.setProto3StringField(this, 3, value);
9636
9654
  };
9655
+ /**
9656
+ * repeated WorkflowModelUseCase use_cases = 4;
9657
+ * @return {!Array<!proto.clarifai.api.WorkflowModelUseCase>}
9658
+ */
9659
+ proto.clarifai.api.ConceptQuery.prototype.getUseCasesList = function () {
9660
+ return /** @type {!Array<!proto.clarifai.api.WorkflowModelUseCase>} */ (jspb.Message.getRepeatedField(this, 4));
9661
+ };
9662
+ /**
9663
+ * @param {!Array<!proto.clarifai.api.WorkflowModelUseCase>} value
9664
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
9665
+ */
9666
+ proto.clarifai.api.ConceptQuery.prototype.setUseCasesList = function (value) {
9667
+ return jspb.Message.setField(this, 4, value || []);
9668
+ };
9669
+ /**
9670
+ * @param {!proto.clarifai.api.WorkflowModelUseCase} value
9671
+ * @param {number=} opt_index
9672
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
9673
+ */
9674
+ proto.clarifai.api.ConceptQuery.prototype.addUseCases = function (value, opt_index) {
9675
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
9676
+ };
9677
+ /**
9678
+ * Clears the list making it empty but non-null.
9679
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
9680
+ */
9681
+ proto.clarifai.api.ConceptQuery.prototype.clearUseCasesList = function () {
9682
+ return this.setUseCasesList([]);
9683
+ };
9637
9684
  if (jspb.Message.GENERATE_TO_OBJECT) {
9638
9685
  /**
9639
9686
  * Creates an object representation of this proto.
@@ -37047,7 +37094,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
37047
37094
  copyConcepts: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
37048
37095
  copyAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
37049
37096
  copyModels: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
37050
- copyWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
37097
+ copyWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
37098
+ copyInstalledModuleVersions: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
37051
37099
  };
37052
37100
  if (includeInstance) {
37053
37101
  obj.$jspbMessageInstance = msg;
@@ -37099,6 +37147,10 @@ proto.clarifai.api.AppDuplicationFilters.deserializeBinaryFromReader = function
37099
37147
  var value = /** @type {boolean} */ (reader.readBool());
37100
37148
  msg.setCopyWorkflows(value);
37101
37149
  break;
37150
+ case 6:
37151
+ var value = /** @type {boolean} */ (reader.readBool());
37152
+ msg.setCopyInstalledModuleVersions(value);
37153
+ break;
37102
37154
  default:
37103
37155
  reader.skipField();
37104
37156
  break;
@@ -37144,6 +37196,10 @@ proto.clarifai.api.AppDuplicationFilters.serializeBinaryToWriter = function (mes
37144
37196
  if (f) {
37145
37197
  writer.writeBool(5, f);
37146
37198
  }
37199
+ f = message.getCopyInstalledModuleVersions();
37200
+ if (f) {
37201
+ writer.writeBool(6, f);
37202
+ }
37147
37203
  };
37148
37204
  /**
37149
37205
  * optional bool copy_inputs = 1;
@@ -37215,6 +37271,20 @@ proto.clarifai.api.AppDuplicationFilters.prototype.getCopyWorkflows = function (
37215
37271
  proto.clarifai.api.AppDuplicationFilters.prototype.setCopyWorkflows = function (value) {
37216
37272
  return jspb.Message.setProto3BooleanField(this, 5, value);
37217
37273
  };
37274
+ /**
37275
+ * optional bool copy_installed_module_versions = 6;
37276
+ * @return {boolean}
37277
+ */
37278
+ proto.clarifai.api.AppDuplicationFilters.prototype.getCopyInstalledModuleVersions = function () {
37279
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
37280
+ };
37281
+ /**
37282
+ * @param {boolean} value
37283
+ * @return {!proto.clarifai.api.AppDuplicationFilters} returns this
37284
+ */
37285
+ proto.clarifai.api.AppDuplicationFilters.prototype.setCopyInstalledModuleVersions = function (value) {
37286
+ return jspb.Message.setProto3BooleanField(this, 6, value);
37287
+ };
37218
37288
  if (jspb.Message.GENERATE_TO_OBJECT) {
37219
37289
  /**
37220
37290
  * Creates an object representation of this proto.
@@ -50863,6 +50933,14 @@ proto.clarifai.api.Runner.prototype.addLabels = function (value, opt_index) {
50863
50933
  proto.clarifai.api.Runner.prototype.clearLabelsList = function () {
50864
50934
  return this.setLabelsList([]);
50865
50935
  };
50936
+ /**
50937
+ * @enum {number}
50938
+ */
50939
+ proto.clarifai.api.WorkflowModelUseCase = {
50940
+ WORKFLOW_MODEL_USE_CASE_NOT_SET: 0,
50941
+ CLASSIFICATION: 1,
50942
+ DETECTION: 2
50943
+ };
50866
50944
  /**
50867
50945
  * @enum {number}
50868
50946
  */
@@ -259,6 +259,7 @@ goog.exportSymbol('proto.clarifai.api.W3C', null, global);
259
259
  goog.exportSymbol('proto.clarifai.api.Worker', null, global);
260
260
  goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
261
261
  goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
262
+ goog.exportSymbol('proto.clarifai.api.WorkflowModelUseCase', null, global);
262
263
  goog.exportSymbol('proto.clarifai.api.WorkflowNode', null, global);
263
264
  goog.exportSymbol('proto.clarifai.api.WorkflowResult', null, global);
264
265
  goog.exportSymbol('proto.clarifai.api.WorkflowResultsSimilarity', null, global);
@@ -737,7 +738,7 @@ if (goog.DEBUG && !COMPILED) {
737
738
  * @constructor
738
739
  */
739
740
  proto.clarifai.api.ConceptQuery = function (opt_data) {
740
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
741
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ConceptQuery.repeatedFields_, null);
741
742
  };
742
743
  goog.inherits(proto.clarifai.api.ConceptQuery, jspb.Message);
743
744
  if (goog.DEBUG && !COMPILED) {
@@ -9481,6 +9482,12 @@ proto.clarifai.api.DetailConceptCount.prototype.clearProcessing = function () {
9481
9482
  proto.clarifai.api.DetailConceptCount.prototype.hasProcessing = function () {
9482
9483
  return jspb.Message.getField(this, 4) != null;
9483
9484
  };
9485
+ /**
9486
+ * List of repeated fields within this message type.
9487
+ * @private {!Array<number>}
9488
+ * @const
9489
+ */
9490
+ proto.clarifai.api.ConceptQuery.repeatedFields_ = [4];
9484
9491
  if (jspb.Message.GENERATE_TO_OBJECT) {
9485
9492
  /**
9486
9493
  * Creates an object representation of this proto.
@@ -9510,7 +9517,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
9510
9517
  var f, obj = {
9511
9518
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
9512
9519
  language: jspb.Message.getFieldWithDefault(msg, 2, ""),
9513
- workflowId: jspb.Message.getFieldWithDefault(msg, 3, "")
9520
+ workflowId: jspb.Message.getFieldWithDefault(msg, 3, ""),
9521
+ useCasesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
9514
9522
  };
9515
9523
  if (includeInstance) {
9516
9524
  obj.$jspbMessageInstance = msg;
@@ -9554,6 +9562,12 @@ proto.clarifai.api.ConceptQuery.deserializeBinaryFromReader = function (msg, rea
9554
9562
  var value = /** @type {string} */ (reader.readString());
9555
9563
  msg.setWorkflowId(value);
9556
9564
  break;
9565
+ case 4:
9566
+ var values = /** @type {!Array<!proto.clarifai.api.WorkflowModelUseCase>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
9567
+ for (var i = 0; i < values.length; i++) {
9568
+ msg.addUseCases(values[i]);
9569
+ }
9570
+ break;
9557
9571
  default:
9558
9572
  reader.skipField();
9559
9573
  break;
@@ -9591,6 +9605,10 @@ proto.clarifai.api.ConceptQuery.serializeBinaryToWriter = function (message, wri
9591
9605
  if (f.length > 0) {
9592
9606
  writer.writeString(3, f);
9593
9607
  }
9608
+ f = message.getUseCasesList();
9609
+ if (f.length > 0) {
9610
+ writer.writePackedEnum(4, f);
9611
+ }
9594
9612
  };
9595
9613
  /**
9596
9614
  * optional string name = 1;
@@ -9634,6 +9652,35 @@ proto.clarifai.api.ConceptQuery.prototype.getWorkflowId = function () {
9634
9652
  proto.clarifai.api.ConceptQuery.prototype.setWorkflowId = function (value) {
9635
9653
  return jspb.Message.setProto3StringField(this, 3, value);
9636
9654
  };
9655
+ /**
9656
+ * repeated WorkflowModelUseCase use_cases = 4;
9657
+ * @return {!Array<!proto.clarifai.api.WorkflowModelUseCase>}
9658
+ */
9659
+ proto.clarifai.api.ConceptQuery.prototype.getUseCasesList = function () {
9660
+ return /** @type {!Array<!proto.clarifai.api.WorkflowModelUseCase>} */ (jspb.Message.getRepeatedField(this, 4));
9661
+ };
9662
+ /**
9663
+ * @param {!Array<!proto.clarifai.api.WorkflowModelUseCase>} value
9664
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
9665
+ */
9666
+ proto.clarifai.api.ConceptQuery.prototype.setUseCasesList = function (value) {
9667
+ return jspb.Message.setField(this, 4, value || []);
9668
+ };
9669
+ /**
9670
+ * @param {!proto.clarifai.api.WorkflowModelUseCase} value
9671
+ * @param {number=} opt_index
9672
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
9673
+ */
9674
+ proto.clarifai.api.ConceptQuery.prototype.addUseCases = function (value, opt_index) {
9675
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
9676
+ };
9677
+ /**
9678
+ * Clears the list making it empty but non-null.
9679
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
9680
+ */
9681
+ proto.clarifai.api.ConceptQuery.prototype.clearUseCasesList = function () {
9682
+ return this.setUseCasesList([]);
9683
+ };
9637
9684
  if (jspb.Message.GENERATE_TO_OBJECT) {
9638
9685
  /**
9639
9686
  * Creates an object representation of this proto.
@@ -37047,7 +37094,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
37047
37094
  copyConcepts: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
37048
37095
  copyAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
37049
37096
  copyModels: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
37050
- copyWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
37097
+ copyWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
37098
+ copyInstalledModuleVersions: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
37051
37099
  };
37052
37100
  if (includeInstance) {
37053
37101
  obj.$jspbMessageInstance = msg;
@@ -37099,6 +37147,10 @@ proto.clarifai.api.AppDuplicationFilters.deserializeBinaryFromReader = function
37099
37147
  var value = /** @type {boolean} */ (reader.readBool());
37100
37148
  msg.setCopyWorkflows(value);
37101
37149
  break;
37150
+ case 6:
37151
+ var value = /** @type {boolean} */ (reader.readBool());
37152
+ msg.setCopyInstalledModuleVersions(value);
37153
+ break;
37102
37154
  default:
37103
37155
  reader.skipField();
37104
37156
  break;
@@ -37144,6 +37196,10 @@ proto.clarifai.api.AppDuplicationFilters.serializeBinaryToWriter = function (mes
37144
37196
  if (f) {
37145
37197
  writer.writeBool(5, f);
37146
37198
  }
37199
+ f = message.getCopyInstalledModuleVersions();
37200
+ if (f) {
37201
+ writer.writeBool(6, f);
37202
+ }
37147
37203
  };
37148
37204
  /**
37149
37205
  * optional bool copy_inputs = 1;
@@ -37215,6 +37271,20 @@ proto.clarifai.api.AppDuplicationFilters.prototype.getCopyWorkflows = function (
37215
37271
  proto.clarifai.api.AppDuplicationFilters.prototype.setCopyWorkflows = function (value) {
37216
37272
  return jspb.Message.setProto3BooleanField(this, 5, value);
37217
37273
  };
37274
+ /**
37275
+ * optional bool copy_installed_module_versions = 6;
37276
+ * @return {boolean}
37277
+ */
37278
+ proto.clarifai.api.AppDuplicationFilters.prototype.getCopyInstalledModuleVersions = function () {
37279
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
37280
+ };
37281
+ /**
37282
+ * @param {boolean} value
37283
+ * @return {!proto.clarifai.api.AppDuplicationFilters} returns this
37284
+ */
37285
+ proto.clarifai.api.AppDuplicationFilters.prototype.setCopyInstalledModuleVersions = function (value) {
37286
+ return jspb.Message.setProto3BooleanField(this, 6, value);
37287
+ };
37218
37288
  if (jspb.Message.GENERATE_TO_OBJECT) {
37219
37289
  /**
37220
37290
  * Creates an object representation of this proto.
@@ -50863,6 +50933,14 @@ proto.clarifai.api.Runner.prototype.addLabels = function (value, opt_index) {
50863
50933
  proto.clarifai.api.Runner.prototype.clearLabelsList = function () {
50864
50934
  return this.setLabelsList([]);
50865
50935
  };
50936
+ /**
50937
+ * @enum {number}
50938
+ */
50939
+ proto.clarifai.api.WorkflowModelUseCase = {
50940
+ WORKFLOW_MODEL_USE_CASE_NOT_SET: 0,
50941
+ CLASSIFICATION: 1,
50942
+ DETECTION: 2
50943
+ };
50866
50944
  /**
50867
50945
  * @enum {number}
50868
50946
  */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "10.1.3",
3
+ "version": "10.1.4",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -867,6 +867,11 @@ export class ConceptQuery extends jspb.Message {
867
867
  getWorkflowId(): string;
868
868
  setWorkflowId(value: string): ConceptQuery;
869
869
 
870
+ getUseCasesList(): Array<WorkflowModelUseCase>;
871
+ setUseCasesList(value: Array<WorkflowModelUseCase>): ConceptQuery;
872
+ clearUseCasesList(): ConceptQuery;
873
+ addUseCases(value: WorkflowModelUseCase, index?: number): ConceptQuery;
874
+
870
875
  serializeBinary(): Uint8Array;
871
876
  toObject(includeInstance?: boolean): ConceptQuery.AsObject;
872
877
  static toObject(includeInstance: boolean, msg: ConceptQuery): ConceptQuery.AsObject;
@@ -880,6 +885,7 @@ export namespace ConceptQuery {
880
885
  name: string,
881
886
  language: string,
882
887
  workflowId: string,
888
+ useCasesList: Array<WorkflowModelUseCase>,
883
889
  }
884
890
  }
885
891
 
@@ -5399,6 +5405,9 @@ export class AppDuplicationFilters extends jspb.Message {
5399
5405
  getCopyWorkflows(): boolean;
5400
5406
  setCopyWorkflows(value: boolean): AppDuplicationFilters;
5401
5407
 
5408
+ getCopyInstalledModuleVersions(): boolean;
5409
+ setCopyInstalledModuleVersions(value: boolean): AppDuplicationFilters;
5410
+
5402
5411
  serializeBinary(): Uint8Array;
5403
5412
  toObject(includeInstance?: boolean): AppDuplicationFilters.AsObject;
5404
5413
  static toObject(includeInstance: boolean, msg: AppDuplicationFilters): AppDuplicationFilters.AsObject;
@@ -5414,6 +5423,7 @@ export namespace AppDuplicationFilters {
5414
5423
  copyAnnotations: boolean,
5415
5424
  copyModels: boolean,
5416
5425
  copyWorkflows: boolean,
5426
+ copyInstalledModuleVersions: boolean,
5417
5427
  }
5418
5428
  }
5419
5429
 
@@ -7725,6 +7735,11 @@ export namespace Runner {
7725
7735
  }
7726
7736
  }
7727
7737
 
7738
+ export enum WorkflowModelUseCase {
7739
+ WORKFLOW_MODEL_USE_CASE_NOT_SET = 0,
7740
+ CLASSIFICATION = 1,
7741
+ DETECTION = 2,
7742
+ }
7728
7743
  export enum DatasetVersionMetricsGroupType {
7729
7744
  DATASET_VERSION_METRICS_GROUP_TYPE_NOT_SET = 0,
7730
7745
  INPUT_TYPE = 2,
@@ -261,6 +261,7 @@ goog.exportSymbol('proto.clarifai.api.W3C', null, global);
261
261
  goog.exportSymbol('proto.clarifai.api.Worker', null, global);
262
262
  goog.exportSymbol('proto.clarifai.api.Worker.WorkerCase', null, global);
263
263
  goog.exportSymbol('proto.clarifai.api.Workflow', null, global);
264
+ goog.exportSymbol('proto.clarifai.api.WorkflowModelUseCase', null, global);
264
265
  goog.exportSymbol('proto.clarifai.api.WorkflowNode', null, global);
265
266
  goog.exportSymbol('proto.clarifai.api.WorkflowResult', null, global);
266
267
  goog.exportSymbol('proto.clarifai.api.WorkflowResultsSimilarity', null, global);
@@ -739,7 +740,7 @@ if (goog.DEBUG && !COMPILED) {
739
740
  * @constructor
740
741
  */
741
742
  proto.clarifai.api.ConceptQuery = function(opt_data) {
742
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
743
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ConceptQuery.repeatedFields_, null);
743
744
  };
744
745
  goog.inherits(proto.clarifai.api.ConceptQuery, jspb.Message);
745
746
  if (goog.DEBUG && !COMPILED) {
@@ -10883,6 +10884,13 @@ proto.clarifai.api.DetailConceptCount.prototype.hasProcessing = function() {
10883
10884
 
10884
10885
 
10885
10886
 
10887
+ /**
10888
+ * List of repeated fields within this message type.
10889
+ * @private {!Array<number>}
10890
+ * @const
10891
+ */
10892
+ proto.clarifai.api.ConceptQuery.repeatedFields_ = [4];
10893
+
10886
10894
 
10887
10895
 
10888
10896
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -10916,7 +10924,8 @@ proto.clarifai.api.ConceptQuery.toObject = function(includeInstance, msg) {
10916
10924
  var f, obj = {
10917
10925
  name: jspb.Message.getFieldWithDefault(msg, 1, ""),
10918
10926
  language: jspb.Message.getFieldWithDefault(msg, 2, ""),
10919
- workflowId: jspb.Message.getFieldWithDefault(msg, 3, "")
10927
+ workflowId: jspb.Message.getFieldWithDefault(msg, 3, ""),
10928
+ useCasesList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
10920
10929
  };
10921
10930
 
10922
10931
  if (includeInstance) {
@@ -10965,6 +10974,12 @@ proto.clarifai.api.ConceptQuery.deserializeBinaryFromReader = function(msg, read
10965
10974
  var value = /** @type {string} */ (reader.readString());
10966
10975
  msg.setWorkflowId(value);
10967
10976
  break;
10977
+ case 4:
10978
+ var values = /** @type {!Array<!proto.clarifai.api.WorkflowModelUseCase>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
10979
+ for (var i = 0; i < values.length; i++) {
10980
+ msg.addUseCases(values[i]);
10981
+ }
10982
+ break;
10968
10983
  default:
10969
10984
  reader.skipField();
10970
10985
  break;
@@ -11015,6 +11030,13 @@ proto.clarifai.api.ConceptQuery.serializeBinaryToWriter = function(message, writ
11015
11030
  f
11016
11031
  );
11017
11032
  }
11033
+ f = message.getUseCasesList();
11034
+ if (f.length > 0) {
11035
+ writer.writePackedEnum(
11036
+ 4,
11037
+ f
11038
+ );
11039
+ }
11018
11040
  };
11019
11041
 
11020
11042
 
@@ -11072,6 +11094,43 @@ proto.clarifai.api.ConceptQuery.prototype.setWorkflowId = function(value) {
11072
11094
  };
11073
11095
 
11074
11096
 
11097
+ /**
11098
+ * repeated WorkflowModelUseCase use_cases = 4;
11099
+ * @return {!Array<!proto.clarifai.api.WorkflowModelUseCase>}
11100
+ */
11101
+ proto.clarifai.api.ConceptQuery.prototype.getUseCasesList = function() {
11102
+ return /** @type {!Array<!proto.clarifai.api.WorkflowModelUseCase>} */ (jspb.Message.getRepeatedField(this, 4));
11103
+ };
11104
+
11105
+
11106
+ /**
11107
+ * @param {!Array<!proto.clarifai.api.WorkflowModelUseCase>} value
11108
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
11109
+ */
11110
+ proto.clarifai.api.ConceptQuery.prototype.setUseCasesList = function(value) {
11111
+ return jspb.Message.setField(this, 4, value || []);
11112
+ };
11113
+
11114
+
11115
+ /**
11116
+ * @param {!proto.clarifai.api.WorkflowModelUseCase} value
11117
+ * @param {number=} opt_index
11118
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
11119
+ */
11120
+ proto.clarifai.api.ConceptQuery.prototype.addUseCases = function(value, opt_index) {
11121
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11122
+ };
11123
+
11124
+
11125
+ /**
11126
+ * Clears the list making it empty but non-null.
11127
+ * @return {!proto.clarifai.api.ConceptQuery} returns this
11128
+ */
11129
+ proto.clarifai.api.ConceptQuery.prototype.clearUseCasesList = function() {
11130
+ return this.setUseCasesList([]);
11131
+ };
11132
+
11133
+
11075
11134
 
11076
11135
 
11077
11136
 
@@ -46132,7 +46191,8 @@ proto.clarifai.api.AppDuplicationFilters.toObject = function(includeInstance, ms
46132
46191
  copyConcepts: jspb.Message.getBooleanFieldWithDefault(msg, 2, false),
46133
46192
  copyAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
46134
46193
  copyModels: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
46135
- copyWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
46194
+ copyWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 5, false),
46195
+ copyInstalledModuleVersions: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
46136
46196
  };
46137
46197
 
46138
46198
  if (includeInstance) {
@@ -46189,6 +46249,10 @@ proto.clarifai.api.AppDuplicationFilters.deserializeBinaryFromReader = function(
46189
46249
  var value = /** @type {boolean} */ (reader.readBool());
46190
46250
  msg.setCopyWorkflows(value);
46191
46251
  break;
46252
+ case 6:
46253
+ var value = /** @type {boolean} */ (reader.readBool());
46254
+ msg.setCopyInstalledModuleVersions(value);
46255
+ break;
46192
46256
  default:
46193
46257
  reader.skipField();
46194
46258
  break;
@@ -46253,6 +46317,13 @@ proto.clarifai.api.AppDuplicationFilters.serializeBinaryToWriter = function(mess
46253
46317
  f
46254
46318
  );
46255
46319
  }
46320
+ f = message.getCopyInstalledModuleVersions();
46321
+ if (f) {
46322
+ writer.writeBool(
46323
+ 6,
46324
+ f
46325
+ );
46326
+ }
46256
46327
  };
46257
46328
 
46258
46329
 
@@ -46346,6 +46417,24 @@ proto.clarifai.api.AppDuplicationFilters.prototype.setCopyWorkflows = function(v
46346
46417
  };
46347
46418
 
46348
46419
 
46420
+ /**
46421
+ * optional bool copy_installed_module_versions = 6;
46422
+ * @return {boolean}
46423
+ */
46424
+ proto.clarifai.api.AppDuplicationFilters.prototype.getCopyInstalledModuleVersions = function() {
46425
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
46426
+ };
46427
+
46428
+
46429
+ /**
46430
+ * @param {boolean} value
46431
+ * @return {!proto.clarifai.api.AppDuplicationFilters} returns this
46432
+ */
46433
+ proto.clarifai.api.AppDuplicationFilters.prototype.setCopyInstalledModuleVersions = function(value) {
46434
+ return jspb.Message.setProto3BooleanField(this, 6, value);
46435
+ };
46436
+
46437
+
46349
46438
 
46350
46439
 
46351
46440
 
@@ -63641,6 +63730,15 @@ proto.clarifai.api.Runner.prototype.clearLabelsList = function() {
63641
63730
  };
63642
63731
 
63643
63732
 
63733
+ /**
63734
+ * @enum {number}
63735
+ */
63736
+ proto.clarifai.api.WorkflowModelUseCase = {
63737
+ WORKFLOW_MODEL_USE_CASE_NOT_SET: 0,
63738
+ CLASSIFICATION: 1,
63739
+ DETECTION: 2
63740
+ };
63741
+
63644
63742
  /**
63645
63743
  * @enum {number}
63646
63744
  */