clarifai-web-grpc 10.2.1 → 10.3.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/README.md +13 -11
  2. package/VERSION +1 -1
  3. package/dist/cjs/index.d.ts +2 -1
  4. package/dist/cjs/index.js +8 -2
  5. package/dist/cjs/proto/clarifai/api/resources_pb.js +2102 -4
  6. package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -42
  7. package/dist/cjs/proto/clarifai/api/service_pb.js +731 -416
  8. package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +2 -0
  9. package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -0
  10. package/dist/cjs/resources.d.ts +1 -0
  11. package/dist/cjs/resources.js +3 -0
  12. package/dist/esm/index.d.ts +2 -1
  13. package/dist/esm/index.js +6 -2
  14. package/dist/esm/proto/clarifai/api/resources_pb.js +2102 -4
  15. package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -42
  16. package/dist/esm/proto/clarifai/api/service_pb.js +731 -416
  17. package/dist/esm/proto/clarifai/api/status/status_code_pb.js +2 -0
  18. package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -0
  19. package/dist/esm/resources.d.ts +1 -0
  20. package/dist/esm/resources.js +1 -0
  21. package/examples/post-app.ts +27 -0
  22. package/examples/post-input.ts +42 -0
  23. package/index.ts +7 -2
  24. package/package.json +1 -1
  25. package/proto/clarifai/api/resources_pb.d.ts +347 -0
  26. package/proto/clarifai/api/resources_pb.js +2629 -4
  27. package/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -12
  28. package/proto/clarifai/api/service_grpc_web_pb.js +0 -61
  29. package/proto/clarifai/api/service_pb.d.ts +106 -64
  30. package/proto/clarifai/api/service_pb.js +918 -510
  31. package/proto/clarifai/api/status/status_code_pb.d.ts +2 -0
  32. package/proto/clarifai/api/status/status_code_pb.js +2 -0
  33. package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -0
  34. package/proto/clarifai/auth/scope/scope_pb.js +2 -0
  35. package/resources.ts +1 -0
@@ -106,9 +106,6 @@ goog.exportSymbol('proto.clarifai.api.GetModuleVersionRequest', null, global);
106
106
  goog.exportSymbol('proto.clarifai.api.GetModuleVersionUsageCountRequest', null, global);
107
107
  goog.exportSymbol('proto.clarifai.api.GetResourceCountsRequest', null, global);
108
108
  goog.exportSymbol('proto.clarifai.api.GetResourceCountsResponse', null, global);
109
- goog.exportSymbol('proto.clarifai.api.GetResourcePriceRequest', null, global);
110
- goog.exportSymbol('proto.clarifai.api.GetResourcePriceRequest.ResourceCase', null, global);
111
- goog.exportSymbol('proto.clarifai.api.GetResourcePriceResponse', null, global);
112
109
  goog.exportSymbol('proto.clarifai.api.GetRunnerRequest', null, global);
113
110
  goog.exportSymbol('proto.clarifai.api.GetSearchRequest', null, global);
114
111
  goog.exportSymbol('proto.clarifai.api.GetStatusCodeRequest', null, global);
@@ -342,6 +339,9 @@ goog.exportSymbol('proto.clarifai.api.PutTaskAssignmentsRequest', null, global);
342
339
  goog.exportSymbol('proto.clarifai.api.PutTaskAssignmentsRequest.ActionConfigCase', null, global);
343
340
  goog.exportSymbol('proto.clarifai.api.PutTaskAssignmentsRequestAction', null, global);
344
341
  goog.exportSymbol('proto.clarifai.api.PutUploadContentPartsRequest', null, global);
342
+ goog.exportSymbol('proto.clarifai.api.ReviewApproveConfig', null, global);
343
+ goog.exportSymbol('proto.clarifai.api.ReviewRejectConfig', null, global);
344
+ goog.exportSymbol('proto.clarifai.api.ReviewRequestChangesConfig', null, global);
345
345
  goog.exportSymbol('proto.clarifai.api.RunnerItem', null, global);
346
346
  goog.exportSymbol('proto.clarifai.api.RunnerItemOutput', null, global);
347
347
  goog.exportSymbol('proto.clarifai.api.SingleAnnotationFilterResponse', null, global);
@@ -1014,48 +1014,6 @@ if (goog.DEBUG && !COMPILED) {
1014
1014
  */
1015
1015
  proto.clarifai.api.MultiCollaborationsResponse.displayName = 'proto.clarifai.api.MultiCollaborationsResponse';
1016
1016
  }
1017
- /**
1018
- * Generated by JsPbCodeGenerator.
1019
- * @param {Array=} opt_data Optional initial data array, typically from a
1020
- * server response, or constructed directly in Javascript. The array is used
1021
- * in place and becomes part of the constructed object. It is not cloned.
1022
- * If no data is provided, the constructed object will be empty, but still
1023
- * valid.
1024
- * @extends {jspb.Message}
1025
- * @constructor
1026
- */
1027
- proto.clarifai.api.GetResourcePriceRequest = function (opt_data) {
1028
- jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.GetResourcePriceRequest.oneofGroups_);
1029
- };
1030
- goog.inherits(proto.clarifai.api.GetResourcePriceRequest, jspb.Message);
1031
- if (goog.DEBUG && !COMPILED) {
1032
- /**
1033
- * @public
1034
- * @override
1035
- */
1036
- proto.clarifai.api.GetResourcePriceRequest.displayName = 'proto.clarifai.api.GetResourcePriceRequest';
1037
- }
1038
- /**
1039
- * Generated by JsPbCodeGenerator.
1040
- * @param {Array=} opt_data Optional initial data array, typically from a
1041
- * server response, or constructed directly in Javascript. The array is used
1042
- * in place and becomes part of the constructed object. It is not cloned.
1043
- * If no data is provided, the constructed object will be empty, but still
1044
- * valid.
1045
- * @extends {jspb.Message}
1046
- * @constructor
1047
- */
1048
- proto.clarifai.api.GetResourcePriceResponse = function (opt_data) {
1049
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
1050
- };
1051
- goog.inherits(proto.clarifai.api.GetResourcePriceResponse, jspb.Message);
1052
- if (goog.DEBUG && !COMPILED) {
1053
- /**
1054
- * @public
1055
- * @override
1056
- */
1057
- proto.clarifai.api.GetResourcePriceResponse.displayName = 'proto.clarifai.api.GetResourcePriceResponse';
1058
- }
1059
1017
  /**
1060
1018
  * Generated by JsPbCodeGenerator.
1061
1019
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -6663,6 +6621,69 @@ if (goog.DEBUG && !COMPILED) {
6663
6621
  */
6664
6622
  proto.clarifai.api.LabelSubmitConfig.displayName = 'proto.clarifai.api.LabelSubmitConfig';
6665
6623
  }
6624
+ /**
6625
+ * Generated by JsPbCodeGenerator.
6626
+ * @param {Array=} opt_data Optional initial data array, typically from a
6627
+ * server response, or constructed directly in Javascript. The array is used
6628
+ * in place and becomes part of the constructed object. It is not cloned.
6629
+ * If no data is provided, the constructed object will be empty, but still
6630
+ * valid.
6631
+ * @extends {jspb.Message}
6632
+ * @constructor
6633
+ */
6634
+ proto.clarifai.api.ReviewApproveConfig = function (opt_data) {
6635
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ReviewApproveConfig.repeatedFields_, null);
6636
+ };
6637
+ goog.inherits(proto.clarifai.api.ReviewApproveConfig, jspb.Message);
6638
+ if (goog.DEBUG && !COMPILED) {
6639
+ /**
6640
+ * @public
6641
+ * @override
6642
+ */
6643
+ proto.clarifai.api.ReviewApproveConfig.displayName = 'proto.clarifai.api.ReviewApproveConfig';
6644
+ }
6645
+ /**
6646
+ * Generated by JsPbCodeGenerator.
6647
+ * @param {Array=} opt_data Optional initial data array, typically from a
6648
+ * server response, or constructed directly in Javascript. The array is used
6649
+ * in place and becomes part of the constructed object. It is not cloned.
6650
+ * If no data is provided, the constructed object will be empty, but still
6651
+ * valid.
6652
+ * @extends {jspb.Message}
6653
+ * @constructor
6654
+ */
6655
+ proto.clarifai.api.ReviewRequestChangesConfig = function (opt_data) {
6656
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ReviewRequestChangesConfig.repeatedFields_, null);
6657
+ };
6658
+ goog.inherits(proto.clarifai.api.ReviewRequestChangesConfig, jspb.Message);
6659
+ if (goog.DEBUG && !COMPILED) {
6660
+ /**
6661
+ * @public
6662
+ * @override
6663
+ */
6664
+ proto.clarifai.api.ReviewRequestChangesConfig.displayName = 'proto.clarifai.api.ReviewRequestChangesConfig';
6665
+ }
6666
+ /**
6667
+ * Generated by JsPbCodeGenerator.
6668
+ * @param {Array=} opt_data Optional initial data array, typically from a
6669
+ * server response, or constructed directly in Javascript. The array is used
6670
+ * in place and becomes part of the constructed object. It is not cloned.
6671
+ * If no data is provided, the constructed object will be empty, but still
6672
+ * valid.
6673
+ * @extends {jspb.Message}
6674
+ * @constructor
6675
+ */
6676
+ proto.clarifai.api.ReviewRejectConfig = function (opt_data) {
6677
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ReviewRejectConfig.repeatedFields_, null);
6678
+ };
6679
+ goog.inherits(proto.clarifai.api.ReviewRejectConfig, jspb.Message);
6680
+ if (goog.DEBUG && !COMPILED) {
6681
+ /**
6682
+ * @public
6683
+ * @override
6684
+ */
6685
+ proto.clarifai.api.ReviewRejectConfig.displayName = 'proto.clarifai.api.ReviewRejectConfig';
6686
+ }
6666
6687
  /**
6667
6688
  * Generated by JsPbCodeGenerator.
6668
6689
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -13603,372 +13624,6 @@ proto.clarifai.api.MultiCollaborationsResponse.prototype.addCollaborations = fun
13603
13624
  proto.clarifai.api.MultiCollaborationsResponse.prototype.clearCollaborationsList = function () {
13604
13625
  return this.setCollaborationsList([]);
13605
13626
  };
13606
- /**
13607
- * Oneof group definitions for this message. Each group defines the field
13608
- * numbers belonging to that group. When of these fields' value is set, all
13609
- * other fields in the group are cleared. During deserialization, if multiple
13610
- * fields are encountered for a group, only the last value seen will be kept.
13611
- * @private {!Array<!Array<number>>}
13612
- * @const
13613
- */
13614
- proto.clarifai.api.GetResourcePriceRequest.oneofGroups_ = [[2, 3]];
13615
- /**
13616
- * @enum {number}
13617
- */
13618
- proto.clarifai.api.GetResourcePriceRequest.ResourceCase = {
13619
- RESOURCE_NOT_SET: 0,
13620
- MODEL: 2,
13621
- WORKFLOW: 3
13622
- };
13623
- /**
13624
- * @return {proto.clarifai.api.GetResourcePriceRequest.ResourceCase}
13625
- */
13626
- proto.clarifai.api.GetResourcePriceRequest.prototype.getResourceCase = function () {
13627
- return /** @type {proto.clarifai.api.GetResourcePriceRequest.ResourceCase} */ (jspb.Message.computeOneofCase(this, proto.clarifai.api.GetResourcePriceRequest.oneofGroups_[0]));
13628
- };
13629
- if (jspb.Message.GENERATE_TO_OBJECT) {
13630
- /**
13631
- * Creates an object representation of this proto.
13632
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
13633
- * Optional fields that are not set will be set to undefined.
13634
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13635
- * For the list of reserved names please see:
13636
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13637
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13638
- * JSPB instance for transitional soy proto support:
13639
- * http://goto/soy-param-migration
13640
- * @return {!Object}
13641
- */
13642
- proto.clarifai.api.GetResourcePriceRequest.prototype.toObject = function (opt_includeInstance) {
13643
- return proto.clarifai.api.GetResourcePriceRequest.toObject(opt_includeInstance, this);
13644
- };
13645
- /**
13646
- * Static version of the {@see toObject} method.
13647
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13648
- * the JSPB instance for transitional soy proto support:
13649
- * http://goto/soy-param-migration
13650
- * @param {!proto.clarifai.api.GetResourcePriceRequest} msg The msg instance to transform.
13651
- * @return {!Object}
13652
- * @suppress {unusedLocalVariables} f is only used for nested messages
13653
- */
13654
- proto.clarifai.api.GetResourcePriceRequest.toObject = function (includeInstance, msg) {
13655
- var f, obj = {
13656
- userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
13657
- model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f),
13658
- workflow: (f = msg.getWorkflow()) && proto_clarifai_api_resources_pb.Workflow.toObject(includeInstance, f)
13659
- };
13660
- if (includeInstance) {
13661
- obj.$jspbMessageInstance = msg;
13662
- }
13663
- return obj;
13664
- };
13665
- }
13666
- /**
13667
- * Deserializes binary data (in protobuf wire format).
13668
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
13669
- * @return {!proto.clarifai.api.GetResourcePriceRequest}
13670
- */
13671
- proto.clarifai.api.GetResourcePriceRequest.deserializeBinary = function (bytes) {
13672
- var reader = new jspb.BinaryReader(bytes);
13673
- var msg = new proto.clarifai.api.GetResourcePriceRequest;
13674
- return proto.clarifai.api.GetResourcePriceRequest.deserializeBinaryFromReader(msg, reader);
13675
- };
13676
- /**
13677
- * Deserializes binary data (in protobuf wire format) from the
13678
- * given reader into the given message object.
13679
- * @param {!proto.clarifai.api.GetResourcePriceRequest} msg The message object to deserialize into.
13680
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13681
- * @return {!proto.clarifai.api.GetResourcePriceRequest}
13682
- */
13683
- proto.clarifai.api.GetResourcePriceRequest.deserializeBinaryFromReader = function (msg, reader) {
13684
- while (reader.nextField()) {
13685
- if (reader.isEndGroup()) {
13686
- break;
13687
- }
13688
- var field = reader.getFieldNumber();
13689
- switch (field) {
13690
- case 1:
13691
- var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
13692
- reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
13693
- msg.setUserAppId(value);
13694
- break;
13695
- case 2:
13696
- var value = new proto_clarifai_api_resources_pb.Model;
13697
- reader.readMessage(value, proto_clarifai_api_resources_pb.Model.deserializeBinaryFromReader);
13698
- msg.setModel(value);
13699
- break;
13700
- case 3:
13701
- var value = new proto_clarifai_api_resources_pb.Workflow;
13702
- reader.readMessage(value, proto_clarifai_api_resources_pb.Workflow.deserializeBinaryFromReader);
13703
- msg.setWorkflow(value);
13704
- break;
13705
- default:
13706
- reader.skipField();
13707
- break;
13708
- }
13709
- }
13710
- return msg;
13711
- };
13712
- /**
13713
- * Serializes the message to binary data (in protobuf wire format).
13714
- * @return {!Uint8Array}
13715
- */
13716
- proto.clarifai.api.GetResourcePriceRequest.prototype.serializeBinary = function () {
13717
- var writer = new jspb.BinaryWriter();
13718
- proto.clarifai.api.GetResourcePriceRequest.serializeBinaryToWriter(this, writer);
13719
- return writer.getResultBuffer();
13720
- };
13721
- /**
13722
- * Serializes the given message to binary data (in protobuf wire
13723
- * format), writing to the given BinaryWriter.
13724
- * @param {!proto.clarifai.api.GetResourcePriceRequest} message
13725
- * @param {!jspb.BinaryWriter} writer
13726
- * @suppress {unusedLocalVariables} f is only used for nested messages
13727
- */
13728
- proto.clarifai.api.GetResourcePriceRequest.serializeBinaryToWriter = function (message, writer) {
13729
- var f = undefined;
13730
- f = message.getUserAppId();
13731
- if (f != null) {
13732
- writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
13733
- }
13734
- f = message.getModel();
13735
- if (f != null) {
13736
- writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Model.serializeBinaryToWriter);
13737
- }
13738
- f = message.getWorkflow();
13739
- if (f != null) {
13740
- writer.writeMessage(3, f, proto_clarifai_api_resources_pb.Workflow.serializeBinaryToWriter);
13741
- }
13742
- };
13743
- /**
13744
- * optional UserAppIDSet user_app_id = 1;
13745
- * @return {?proto.clarifai.api.UserAppIDSet}
13746
- */
13747
- proto.clarifai.api.GetResourcePriceRequest.prototype.getUserAppId = function () {
13748
- return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
13749
- };
13750
- /**
13751
- * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
13752
- * @return {!proto.clarifai.api.GetResourcePriceRequest} returns this
13753
- */
13754
- proto.clarifai.api.GetResourcePriceRequest.prototype.setUserAppId = function (value) {
13755
- return jspb.Message.setWrapperField(this, 1, value);
13756
- };
13757
- /**
13758
- * Clears the message field making it undefined.
13759
- * @return {!proto.clarifai.api.GetResourcePriceRequest} returns this
13760
- */
13761
- proto.clarifai.api.GetResourcePriceRequest.prototype.clearUserAppId = function () {
13762
- return this.setUserAppId(undefined);
13763
- };
13764
- /**
13765
- * Returns whether this field is set.
13766
- * @return {boolean}
13767
- */
13768
- proto.clarifai.api.GetResourcePriceRequest.prototype.hasUserAppId = function () {
13769
- return jspb.Message.getField(this, 1) != null;
13770
- };
13771
- /**
13772
- * optional Model model = 2;
13773
- * @return {?proto.clarifai.api.Model}
13774
- */
13775
- proto.clarifai.api.GetResourcePriceRequest.prototype.getModel = function () {
13776
- return /** @type{?proto.clarifai.api.Model} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Model, 2));
13777
- };
13778
- /**
13779
- * @param {?proto.clarifai.api.Model|undefined} value
13780
- * @return {!proto.clarifai.api.GetResourcePriceRequest} returns this
13781
- */
13782
- proto.clarifai.api.GetResourcePriceRequest.prototype.setModel = function (value) {
13783
- return jspb.Message.setOneofWrapperField(this, 2, proto.clarifai.api.GetResourcePriceRequest.oneofGroups_[0], value);
13784
- };
13785
- /**
13786
- * Clears the message field making it undefined.
13787
- * @return {!proto.clarifai.api.GetResourcePriceRequest} returns this
13788
- */
13789
- proto.clarifai.api.GetResourcePriceRequest.prototype.clearModel = function () {
13790
- return this.setModel(undefined);
13791
- };
13792
- /**
13793
- * Returns whether this field is set.
13794
- * @return {boolean}
13795
- */
13796
- proto.clarifai.api.GetResourcePriceRequest.prototype.hasModel = function () {
13797
- return jspb.Message.getField(this, 2) != null;
13798
- };
13799
- /**
13800
- * optional Workflow workflow = 3;
13801
- * @return {?proto.clarifai.api.Workflow}
13802
- */
13803
- proto.clarifai.api.GetResourcePriceRequest.prototype.getWorkflow = function () {
13804
- return /** @type{?proto.clarifai.api.Workflow} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Workflow, 3));
13805
- };
13806
- /**
13807
- * @param {?proto.clarifai.api.Workflow|undefined} value
13808
- * @return {!proto.clarifai.api.GetResourcePriceRequest} returns this
13809
- */
13810
- proto.clarifai.api.GetResourcePriceRequest.prototype.setWorkflow = function (value) {
13811
- return jspb.Message.setOneofWrapperField(this, 3, proto.clarifai.api.GetResourcePriceRequest.oneofGroups_[0], value);
13812
- };
13813
- /**
13814
- * Clears the message field making it undefined.
13815
- * @return {!proto.clarifai.api.GetResourcePriceRequest} returns this
13816
- */
13817
- proto.clarifai.api.GetResourcePriceRequest.prototype.clearWorkflow = function () {
13818
- return this.setWorkflow(undefined);
13819
- };
13820
- /**
13821
- * Returns whether this field is set.
13822
- * @return {boolean}
13823
- */
13824
- proto.clarifai.api.GetResourcePriceRequest.prototype.hasWorkflow = function () {
13825
- return jspb.Message.getField(this, 3) != null;
13826
- };
13827
- if (jspb.Message.GENERATE_TO_OBJECT) {
13828
- /**
13829
- * Creates an object representation of this proto.
13830
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
13831
- * Optional fields that are not set will be set to undefined.
13832
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13833
- * For the list of reserved names please see:
13834
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13835
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13836
- * JSPB instance for transitional soy proto support:
13837
- * http://goto/soy-param-migration
13838
- * @return {!Object}
13839
- */
13840
- proto.clarifai.api.GetResourcePriceResponse.prototype.toObject = function (opt_includeInstance) {
13841
- return proto.clarifai.api.GetResourcePriceResponse.toObject(opt_includeInstance, this);
13842
- };
13843
- /**
13844
- * Static version of the {@see toObject} method.
13845
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13846
- * the JSPB instance for transitional soy proto support:
13847
- * http://goto/soy-param-migration
13848
- * @param {!proto.clarifai.api.GetResourcePriceResponse} msg The msg instance to transform.
13849
- * @return {!Object}
13850
- * @suppress {unusedLocalVariables} f is only used for nested messages
13851
- */
13852
- proto.clarifai.api.GetResourcePriceResponse.toObject = function (includeInstance, msg) {
13853
- var f, obj = {
13854
- status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
13855
- price: jspb.Message.getFieldWithDefault(msg, 2, 0)
13856
- };
13857
- if (includeInstance) {
13858
- obj.$jspbMessageInstance = msg;
13859
- }
13860
- return obj;
13861
- };
13862
- }
13863
- /**
13864
- * Deserializes binary data (in protobuf wire format).
13865
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
13866
- * @return {!proto.clarifai.api.GetResourcePriceResponse}
13867
- */
13868
- proto.clarifai.api.GetResourcePriceResponse.deserializeBinary = function (bytes) {
13869
- var reader = new jspb.BinaryReader(bytes);
13870
- var msg = new proto.clarifai.api.GetResourcePriceResponse;
13871
- return proto.clarifai.api.GetResourcePriceResponse.deserializeBinaryFromReader(msg, reader);
13872
- };
13873
- /**
13874
- * Deserializes binary data (in protobuf wire format) from the
13875
- * given reader into the given message object.
13876
- * @param {!proto.clarifai.api.GetResourcePriceResponse} msg The message object to deserialize into.
13877
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13878
- * @return {!proto.clarifai.api.GetResourcePriceResponse}
13879
- */
13880
- proto.clarifai.api.GetResourcePriceResponse.deserializeBinaryFromReader = function (msg, reader) {
13881
- while (reader.nextField()) {
13882
- if (reader.isEndGroup()) {
13883
- break;
13884
- }
13885
- var field = reader.getFieldNumber();
13886
- switch (field) {
13887
- case 1:
13888
- var value = new proto_clarifai_api_status_status_pb.Status;
13889
- reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
13890
- msg.setStatus(value);
13891
- break;
13892
- case 2:
13893
- var value = /** @type {number} */ (reader.readInt64());
13894
- msg.setPrice(value);
13895
- break;
13896
- default:
13897
- reader.skipField();
13898
- break;
13899
- }
13900
- }
13901
- return msg;
13902
- };
13903
- /**
13904
- * Serializes the message to binary data (in protobuf wire format).
13905
- * @return {!Uint8Array}
13906
- */
13907
- proto.clarifai.api.GetResourcePriceResponse.prototype.serializeBinary = function () {
13908
- var writer = new jspb.BinaryWriter();
13909
- proto.clarifai.api.GetResourcePriceResponse.serializeBinaryToWriter(this, writer);
13910
- return writer.getResultBuffer();
13911
- };
13912
- /**
13913
- * Serializes the given message to binary data (in protobuf wire
13914
- * format), writing to the given BinaryWriter.
13915
- * @param {!proto.clarifai.api.GetResourcePriceResponse} message
13916
- * @param {!jspb.BinaryWriter} writer
13917
- * @suppress {unusedLocalVariables} f is only used for nested messages
13918
- */
13919
- proto.clarifai.api.GetResourcePriceResponse.serializeBinaryToWriter = function (message, writer) {
13920
- var f = undefined;
13921
- f = message.getStatus();
13922
- if (f != null) {
13923
- writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
13924
- }
13925
- f = message.getPrice();
13926
- if (f !== 0) {
13927
- writer.writeInt64(2, f);
13928
- }
13929
- };
13930
- /**
13931
- * optional status.Status status = 1;
13932
- * @return {?proto.clarifai.api.status.Status}
13933
- */
13934
- proto.clarifai.api.GetResourcePriceResponse.prototype.getStatus = function () {
13935
- return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
13936
- };
13937
- /**
13938
- * @param {?proto.clarifai.api.status.Status|undefined} value
13939
- * @return {!proto.clarifai.api.GetResourcePriceResponse} returns this
13940
- */
13941
- proto.clarifai.api.GetResourcePriceResponse.prototype.setStatus = function (value) {
13942
- return jspb.Message.setWrapperField(this, 1, value);
13943
- };
13944
- /**
13945
- * Clears the message field making it undefined.
13946
- * @return {!proto.clarifai.api.GetResourcePriceResponse} returns this
13947
- */
13948
- proto.clarifai.api.GetResourcePriceResponse.prototype.clearStatus = function () {
13949
- return this.setStatus(undefined);
13950
- };
13951
- /**
13952
- * Returns whether this field is set.
13953
- * @return {boolean}
13954
- */
13955
- proto.clarifai.api.GetResourcePriceResponse.prototype.hasStatus = function () {
13956
- return jspb.Message.getField(this, 1) != null;
13957
- };
13958
- /**
13959
- * optional int64 price = 2;
13960
- * @return {number}
13961
- */
13962
- proto.clarifai.api.GetResourcePriceResponse.prototype.getPrice = function () {
13963
- return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
13964
- };
13965
- /**
13966
- * @param {number} value
13967
- * @return {!proto.clarifai.api.GetResourcePriceResponse} returns this
13968
- */
13969
- proto.clarifai.api.GetResourcePriceResponse.prototype.setPrice = function (value) {
13970
- return jspb.Message.setProto3IntField(this, 2, value);
13971
- };
13972
13627
  if (jspb.Message.GENERATE_TO_OBJECT) {
13973
13628
  /**
13974
13629
  * Creates an object representation of this proto.
@@ -26554,7 +26209,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
26554
26209
  modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
26555
26210
  versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
26556
26211
  inputsList: jspb.Message.toObjectList(msg.getInputsList(), proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
26557
- model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f)
26212
+ model: (f = msg.getModel()) && proto_clarifai_api_resources_pb.Model.toObject(includeInstance, f),
26213
+ runnerSelector: (f = msg.getRunnerSelector()) && proto_clarifai_api_resources_pb.RunnerSelector.toObject(includeInstance, f)
26558
26214
  };
26559
26215
  if (includeInstance) {
26560
26216
  obj.$jspbMessageInstance = msg;
@@ -26609,6 +26265,11 @@ proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader = functio
26609
26265
  reader.readMessage(value, proto_clarifai_api_resources_pb.Model.deserializeBinaryFromReader);
26610
26266
  msg.setModel(value);
26611
26267
  break;
26268
+ case 6:
26269
+ var value = new proto_clarifai_api_resources_pb.RunnerSelector;
26270
+ reader.readMessage(value, proto_clarifai_api_resources_pb.RunnerSelector.deserializeBinaryFromReader);
26271
+ msg.setRunnerSelector(value);
26272
+ break;
26612
26273
  default:
26613
26274
  reader.skipField();
26614
26275
  break;
@@ -26654,6 +26315,10 @@ proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter = function (m
26654
26315
  if (f != null) {
26655
26316
  writer.writeMessage(5, f, proto_clarifai_api_resources_pb.Model.serializeBinaryToWriter);
26656
26317
  }
26318
+ f = message.getRunnerSelector();
26319
+ if (f != null) {
26320
+ writer.writeMessage(6, f, proto_clarifai_api_resources_pb.RunnerSelector.serializeBinaryToWriter);
26321
+ }
26657
26322
  };
26658
26323
  /**
26659
26324
  * optional UserAppIDSet user_app_id = 1;
@@ -26768,6 +26433,34 @@ proto.clarifai.api.PostModelOutputsRequest.prototype.clearModel = function () {
26768
26433
  proto.clarifai.api.PostModelOutputsRequest.prototype.hasModel = function () {
26769
26434
  return jspb.Message.getField(this, 5) != null;
26770
26435
  };
26436
+ /**
26437
+ * optional RunnerSelector runner_selector = 6;
26438
+ * @return {?proto.clarifai.api.RunnerSelector}
26439
+ */
26440
+ proto.clarifai.api.PostModelOutputsRequest.prototype.getRunnerSelector = function () {
26441
+ return /** @type{?proto.clarifai.api.RunnerSelector} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.RunnerSelector, 6));
26442
+ };
26443
+ /**
26444
+ * @param {?proto.clarifai.api.RunnerSelector|undefined} value
26445
+ * @return {!proto.clarifai.api.PostModelOutputsRequest} returns this
26446
+ */
26447
+ proto.clarifai.api.PostModelOutputsRequest.prototype.setRunnerSelector = function (value) {
26448
+ return jspb.Message.setWrapperField(this, 6, value);
26449
+ };
26450
+ /**
26451
+ * Clears the message field making it undefined.
26452
+ * @return {!proto.clarifai.api.PostModelOutputsRequest} returns this
26453
+ */
26454
+ proto.clarifai.api.PostModelOutputsRequest.prototype.clearRunnerSelector = function () {
26455
+ return this.setRunnerSelector(undefined);
26456
+ };
26457
+ /**
26458
+ * Returns whether this field is set.
26459
+ * @return {boolean}
26460
+ */
26461
+ proto.clarifai.api.PostModelOutputsRequest.prototype.hasRunnerSelector = function () {
26462
+ return jspb.Message.getField(this, 6) != null;
26463
+ };
26771
26464
  if (jspb.Message.GENERATE_TO_OBJECT) {
26772
26465
  /**
26773
26466
  * Creates an object representation of this proto.
@@ -63856,13 +63549,16 @@ proto.clarifai.api.MultiBulkOperationsResponse.prototype.clearBulkOperationList
63856
63549
  * @private {!Array<!Array<number>>}
63857
63550
  * @const
63858
63551
  */
63859
- proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_ = [[6]];
63552
+ proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_ = [[6, 7, 8, 9]];
63860
63553
  /**
63861
63554
  * @enum {number}
63862
63555
  */
63863
63556
  proto.clarifai.api.PutTaskAssignmentsRequest.ActionConfigCase = {
63864
63557
  ACTION_CONFIG_NOT_SET: 0,
63865
- LABEL_SUBMIT_CONFIG: 6
63558
+ LABEL_SUBMIT_CONFIG: 6,
63559
+ REVIEW_APPROVE_CONFIG: 7,
63560
+ REVIEW_REQUEST_CHANGES_CONFIG: 8,
63561
+ REVIEW_REJECT_CONFIG: 9
63866
63562
  };
63867
63563
  /**
63868
63564
  * @return {proto.clarifai.api.PutTaskAssignmentsRequest.ActionConfigCase}
@@ -63901,7 +63597,10 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
63901
63597
  taskId: jspb.Message.getFieldWithDefault(msg, 2, ""),
63902
63598
  inputId: jspb.Message.getFieldWithDefault(msg, 3, ""),
63903
63599
  action: jspb.Message.getFieldWithDefault(msg, 4, 0),
63904
- labelSubmitConfig: (f = msg.getLabelSubmitConfig()) && proto.clarifai.api.LabelSubmitConfig.toObject(includeInstance, f)
63600
+ labelSubmitConfig: (f = msg.getLabelSubmitConfig()) && proto.clarifai.api.LabelSubmitConfig.toObject(includeInstance, f),
63601
+ reviewApproveConfig: (f = msg.getReviewApproveConfig()) && proto.clarifai.api.ReviewApproveConfig.toObject(includeInstance, f),
63602
+ reviewRequestChangesConfig: (f = msg.getReviewRequestChangesConfig()) && proto.clarifai.api.ReviewRequestChangesConfig.toObject(includeInstance, f),
63603
+ reviewRejectConfig: (f = msg.getReviewRejectConfig()) && proto.clarifai.api.ReviewRejectConfig.toObject(includeInstance, f)
63905
63604
  };
63906
63605
  if (includeInstance) {
63907
63606
  obj.$jspbMessageInstance = msg;
@@ -63955,6 +63654,21 @@ proto.clarifai.api.PutTaskAssignmentsRequest.deserializeBinaryFromReader = funct
63955
63654
  reader.readMessage(value, proto.clarifai.api.LabelSubmitConfig.deserializeBinaryFromReader);
63956
63655
  msg.setLabelSubmitConfig(value);
63957
63656
  break;
63657
+ case 7:
63658
+ var value = new proto.clarifai.api.ReviewApproveConfig;
63659
+ reader.readMessage(value, proto.clarifai.api.ReviewApproveConfig.deserializeBinaryFromReader);
63660
+ msg.setReviewApproveConfig(value);
63661
+ break;
63662
+ case 8:
63663
+ var value = new proto.clarifai.api.ReviewRequestChangesConfig;
63664
+ reader.readMessage(value, proto.clarifai.api.ReviewRequestChangesConfig.deserializeBinaryFromReader);
63665
+ msg.setReviewRequestChangesConfig(value);
63666
+ break;
63667
+ case 9:
63668
+ var value = new proto.clarifai.api.ReviewRejectConfig;
63669
+ reader.readMessage(value, proto.clarifai.api.ReviewRejectConfig.deserializeBinaryFromReader);
63670
+ msg.setReviewRejectConfig(value);
63671
+ break;
63958
63672
  default:
63959
63673
  reader.skipField();
63960
63674
  break;
@@ -64000,6 +63714,18 @@ proto.clarifai.api.PutTaskAssignmentsRequest.serializeBinaryToWriter = function
64000
63714
  if (f != null) {
64001
63715
  writer.writeMessage(6, f, proto.clarifai.api.LabelSubmitConfig.serializeBinaryToWriter);
64002
63716
  }
63717
+ f = message.getReviewApproveConfig();
63718
+ if (f != null) {
63719
+ writer.writeMessage(7, f, proto.clarifai.api.ReviewApproveConfig.serializeBinaryToWriter);
63720
+ }
63721
+ f = message.getReviewRequestChangesConfig();
63722
+ if (f != null) {
63723
+ writer.writeMessage(8, f, proto.clarifai.api.ReviewRequestChangesConfig.serializeBinaryToWriter);
63724
+ }
63725
+ f = message.getReviewRejectConfig();
63726
+ if (f != null) {
63727
+ writer.writeMessage(9, f, proto.clarifai.api.ReviewRejectConfig.serializeBinaryToWriter);
63728
+ }
64003
63729
  };
64004
63730
  /**
64005
63731
  * optional UserAppIDSet user_app_id = 1;
@@ -64099,6 +63825,90 @@ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.clearLabelSubmitConfig =
64099
63825
  proto.clarifai.api.PutTaskAssignmentsRequest.prototype.hasLabelSubmitConfig = function () {
64100
63826
  return jspb.Message.getField(this, 6) != null;
64101
63827
  };
63828
+ /**
63829
+ * optional ReviewApproveConfig review_approve_config = 7;
63830
+ * @return {?proto.clarifai.api.ReviewApproveConfig}
63831
+ */
63832
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.getReviewApproveConfig = function () {
63833
+ return /** @type{?proto.clarifai.api.ReviewApproveConfig} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.ReviewApproveConfig, 7));
63834
+ };
63835
+ /**
63836
+ * @param {?proto.clarifai.api.ReviewApproveConfig|undefined} value
63837
+ * @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
63838
+ */
63839
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.setReviewApproveConfig = function (value) {
63840
+ return jspb.Message.setOneofWrapperField(this, 7, proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_[0], value);
63841
+ };
63842
+ /**
63843
+ * Clears the message field making it undefined.
63844
+ * @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
63845
+ */
63846
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.clearReviewApproveConfig = function () {
63847
+ return this.setReviewApproveConfig(undefined);
63848
+ };
63849
+ /**
63850
+ * Returns whether this field is set.
63851
+ * @return {boolean}
63852
+ */
63853
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.hasReviewApproveConfig = function () {
63854
+ return jspb.Message.getField(this, 7) != null;
63855
+ };
63856
+ /**
63857
+ * optional ReviewRequestChangesConfig review_request_changes_config = 8;
63858
+ * @return {?proto.clarifai.api.ReviewRequestChangesConfig}
63859
+ */
63860
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.getReviewRequestChangesConfig = function () {
63861
+ return /** @type{?proto.clarifai.api.ReviewRequestChangesConfig} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.ReviewRequestChangesConfig, 8));
63862
+ };
63863
+ /**
63864
+ * @param {?proto.clarifai.api.ReviewRequestChangesConfig|undefined} value
63865
+ * @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
63866
+ */
63867
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.setReviewRequestChangesConfig = function (value) {
63868
+ return jspb.Message.setOneofWrapperField(this, 8, proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_[0], value);
63869
+ };
63870
+ /**
63871
+ * Clears the message field making it undefined.
63872
+ * @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
63873
+ */
63874
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.clearReviewRequestChangesConfig = function () {
63875
+ return this.setReviewRequestChangesConfig(undefined);
63876
+ };
63877
+ /**
63878
+ * Returns whether this field is set.
63879
+ * @return {boolean}
63880
+ */
63881
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.hasReviewRequestChangesConfig = function () {
63882
+ return jspb.Message.getField(this, 8) != null;
63883
+ };
63884
+ /**
63885
+ * optional ReviewRejectConfig review_reject_config = 9;
63886
+ * @return {?proto.clarifai.api.ReviewRejectConfig}
63887
+ */
63888
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.getReviewRejectConfig = function () {
63889
+ return /** @type{?proto.clarifai.api.ReviewRejectConfig} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.ReviewRejectConfig, 9));
63890
+ };
63891
+ /**
63892
+ * @param {?proto.clarifai.api.ReviewRejectConfig|undefined} value
63893
+ * @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
63894
+ */
63895
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.setReviewRejectConfig = function (value) {
63896
+ return jspb.Message.setOneofWrapperField(this, 9, proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_[0], value);
63897
+ };
63898
+ /**
63899
+ * Clears the message field making it undefined.
63900
+ * @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
63901
+ */
63902
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.clearReviewRejectConfig = function () {
63903
+ return this.setReviewRejectConfig(undefined);
63904
+ };
63905
+ /**
63906
+ * Returns whether this field is set.
63907
+ * @return {boolean}
63908
+ */
63909
+ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.hasReviewRejectConfig = function () {
63910
+ return jspb.Message.getField(this, 9) != null;
63911
+ };
64102
63912
  /**
64103
63913
  * List of repeated fields within this message type.
64104
63914
  * @private {!Array<number>}
@@ -64228,6 +64038,510 @@ proto.clarifai.api.LabelSubmitConfig.prototype.addTaskAssignments = function (op
64228
64038
  proto.clarifai.api.LabelSubmitConfig.prototype.clearTaskAssignmentsList = function () {
64229
64039
  return this.setTaskAssignmentsList([]);
64230
64040
  };
64041
+ /**
64042
+ * List of repeated fields within this message type.
64043
+ * @private {!Array<number>}
64044
+ * @const
64045
+ */
64046
+ proto.clarifai.api.ReviewApproveConfig.repeatedFields_ = [1, 2];
64047
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64048
+ /**
64049
+ * Creates an object representation of this proto.
64050
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64051
+ * Optional fields that are not set will be set to undefined.
64052
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64053
+ * For the list of reserved names please see:
64054
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64055
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64056
+ * JSPB instance for transitional soy proto support:
64057
+ * http://goto/soy-param-migration
64058
+ * @return {!Object}
64059
+ */
64060
+ proto.clarifai.api.ReviewApproveConfig.prototype.toObject = function (opt_includeInstance) {
64061
+ return proto.clarifai.api.ReviewApproveConfig.toObject(opt_includeInstance, this);
64062
+ };
64063
+ /**
64064
+ * Static version of the {@see toObject} method.
64065
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64066
+ * the JSPB instance for transitional soy proto support:
64067
+ * http://goto/soy-param-migration
64068
+ * @param {!proto.clarifai.api.ReviewApproveConfig} msg The msg instance to transform.
64069
+ * @return {!Object}
64070
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64071
+ */
64072
+ proto.clarifai.api.ReviewApproveConfig.toObject = function (includeInstance, msg) {
64073
+ var f, obj = {
64074
+ taskAssignmentsList: jspb.Message.toObjectList(msg.getTaskAssignmentsList(), proto_clarifai_api_resources_pb.TaskAssignment.toObject, includeInstance),
64075
+ workersList: jspb.Message.toObjectList(msg.getWorkersList(), proto_clarifai_api_resources_pb.Worker.toObject, includeInstance)
64076
+ };
64077
+ if (includeInstance) {
64078
+ obj.$jspbMessageInstance = msg;
64079
+ }
64080
+ return obj;
64081
+ };
64082
+ }
64083
+ /**
64084
+ * Deserializes binary data (in protobuf wire format).
64085
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64086
+ * @return {!proto.clarifai.api.ReviewApproveConfig}
64087
+ */
64088
+ proto.clarifai.api.ReviewApproveConfig.deserializeBinary = function (bytes) {
64089
+ var reader = new jspb.BinaryReader(bytes);
64090
+ var msg = new proto.clarifai.api.ReviewApproveConfig;
64091
+ return proto.clarifai.api.ReviewApproveConfig.deserializeBinaryFromReader(msg, reader);
64092
+ };
64093
+ /**
64094
+ * Deserializes binary data (in protobuf wire format) from the
64095
+ * given reader into the given message object.
64096
+ * @param {!proto.clarifai.api.ReviewApproveConfig} msg The message object to deserialize into.
64097
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64098
+ * @return {!proto.clarifai.api.ReviewApproveConfig}
64099
+ */
64100
+ proto.clarifai.api.ReviewApproveConfig.deserializeBinaryFromReader = function (msg, reader) {
64101
+ while (reader.nextField()) {
64102
+ if (reader.isEndGroup()) {
64103
+ break;
64104
+ }
64105
+ var field = reader.getFieldNumber();
64106
+ switch (field) {
64107
+ case 1:
64108
+ var value = new proto_clarifai_api_resources_pb.TaskAssignment;
64109
+ reader.readMessage(value, proto_clarifai_api_resources_pb.TaskAssignment.deserializeBinaryFromReader);
64110
+ msg.addTaskAssignments(value);
64111
+ break;
64112
+ case 2:
64113
+ var value = new proto_clarifai_api_resources_pb.Worker;
64114
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Worker.deserializeBinaryFromReader);
64115
+ msg.addWorkers(value);
64116
+ break;
64117
+ default:
64118
+ reader.skipField();
64119
+ break;
64120
+ }
64121
+ }
64122
+ return msg;
64123
+ };
64124
+ /**
64125
+ * Serializes the message to binary data (in protobuf wire format).
64126
+ * @return {!Uint8Array}
64127
+ */
64128
+ proto.clarifai.api.ReviewApproveConfig.prototype.serializeBinary = function () {
64129
+ var writer = new jspb.BinaryWriter();
64130
+ proto.clarifai.api.ReviewApproveConfig.serializeBinaryToWriter(this, writer);
64131
+ return writer.getResultBuffer();
64132
+ };
64133
+ /**
64134
+ * Serializes the given message to binary data (in protobuf wire
64135
+ * format), writing to the given BinaryWriter.
64136
+ * @param {!proto.clarifai.api.ReviewApproveConfig} message
64137
+ * @param {!jspb.BinaryWriter} writer
64138
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64139
+ */
64140
+ proto.clarifai.api.ReviewApproveConfig.serializeBinaryToWriter = function (message, writer) {
64141
+ var f = undefined;
64142
+ f = message.getTaskAssignmentsList();
64143
+ if (f.length > 0) {
64144
+ writer.writeRepeatedMessage(1, f, proto_clarifai_api_resources_pb.TaskAssignment.serializeBinaryToWriter);
64145
+ }
64146
+ f = message.getWorkersList();
64147
+ if (f.length > 0) {
64148
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Worker.serializeBinaryToWriter);
64149
+ }
64150
+ };
64151
+ /**
64152
+ * repeated TaskAssignment task_assignments = 1;
64153
+ * @return {!Array<!proto.clarifai.api.TaskAssignment>}
64154
+ */
64155
+ proto.clarifai.api.ReviewApproveConfig.prototype.getTaskAssignmentsList = function () {
64156
+ return /** @type{!Array<!proto.clarifai.api.TaskAssignment>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.TaskAssignment, 1));
64157
+ };
64158
+ /**
64159
+ * @param {!Array<!proto.clarifai.api.TaskAssignment>} value
64160
+ * @return {!proto.clarifai.api.ReviewApproveConfig} returns this
64161
+ */
64162
+ proto.clarifai.api.ReviewApproveConfig.prototype.setTaskAssignmentsList = function (value) {
64163
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
64164
+ };
64165
+ /**
64166
+ * @param {!proto.clarifai.api.TaskAssignment=} opt_value
64167
+ * @param {number=} opt_index
64168
+ * @return {!proto.clarifai.api.TaskAssignment}
64169
+ */
64170
+ proto.clarifai.api.ReviewApproveConfig.prototype.addTaskAssignments = function (opt_value, opt_index) {
64171
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.TaskAssignment, opt_index);
64172
+ };
64173
+ /**
64174
+ * Clears the list making it empty but non-null.
64175
+ * @return {!proto.clarifai.api.ReviewApproveConfig} returns this
64176
+ */
64177
+ proto.clarifai.api.ReviewApproveConfig.prototype.clearTaskAssignmentsList = function () {
64178
+ return this.setTaskAssignmentsList([]);
64179
+ };
64180
+ /**
64181
+ * repeated Worker workers = 2;
64182
+ * @return {!Array<!proto.clarifai.api.Worker>}
64183
+ */
64184
+ proto.clarifai.api.ReviewApproveConfig.prototype.getWorkersList = function () {
64185
+ return /** @type{!Array<!proto.clarifai.api.Worker>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Worker, 2));
64186
+ };
64187
+ /**
64188
+ * @param {!Array<!proto.clarifai.api.Worker>} value
64189
+ * @return {!proto.clarifai.api.ReviewApproveConfig} returns this
64190
+ */
64191
+ proto.clarifai.api.ReviewApproveConfig.prototype.setWorkersList = function (value) {
64192
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
64193
+ };
64194
+ /**
64195
+ * @param {!proto.clarifai.api.Worker=} opt_value
64196
+ * @param {number=} opt_index
64197
+ * @return {!proto.clarifai.api.Worker}
64198
+ */
64199
+ proto.clarifai.api.ReviewApproveConfig.prototype.addWorkers = function (opt_value, opt_index) {
64200
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Worker, opt_index);
64201
+ };
64202
+ /**
64203
+ * Clears the list making it empty but non-null.
64204
+ * @return {!proto.clarifai.api.ReviewApproveConfig} returns this
64205
+ */
64206
+ proto.clarifai.api.ReviewApproveConfig.prototype.clearWorkersList = function () {
64207
+ return this.setWorkersList([]);
64208
+ };
64209
+ /**
64210
+ * List of repeated fields within this message type.
64211
+ * @private {!Array<number>}
64212
+ * @const
64213
+ */
64214
+ proto.clarifai.api.ReviewRequestChangesConfig.repeatedFields_ = [1, 2];
64215
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64216
+ /**
64217
+ * Creates an object representation of this proto.
64218
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64219
+ * Optional fields that are not set will be set to undefined.
64220
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64221
+ * For the list of reserved names please see:
64222
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64223
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64224
+ * JSPB instance for transitional soy proto support:
64225
+ * http://goto/soy-param-migration
64226
+ * @return {!Object}
64227
+ */
64228
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.toObject = function (opt_includeInstance) {
64229
+ return proto.clarifai.api.ReviewRequestChangesConfig.toObject(opt_includeInstance, this);
64230
+ };
64231
+ /**
64232
+ * Static version of the {@see toObject} method.
64233
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64234
+ * the JSPB instance for transitional soy proto support:
64235
+ * http://goto/soy-param-migration
64236
+ * @param {!proto.clarifai.api.ReviewRequestChangesConfig} msg The msg instance to transform.
64237
+ * @return {!Object}
64238
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64239
+ */
64240
+ proto.clarifai.api.ReviewRequestChangesConfig.toObject = function (includeInstance, msg) {
64241
+ var f, obj = {
64242
+ taskAssignmentsList: jspb.Message.toObjectList(msg.getTaskAssignmentsList(), proto_clarifai_api_resources_pb.TaskAssignment.toObject, includeInstance),
64243
+ workersList: jspb.Message.toObjectList(msg.getWorkersList(), proto_clarifai_api_resources_pb.Worker.toObject, includeInstance)
64244
+ };
64245
+ if (includeInstance) {
64246
+ obj.$jspbMessageInstance = msg;
64247
+ }
64248
+ return obj;
64249
+ };
64250
+ }
64251
+ /**
64252
+ * Deserializes binary data (in protobuf wire format).
64253
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64254
+ * @return {!proto.clarifai.api.ReviewRequestChangesConfig}
64255
+ */
64256
+ proto.clarifai.api.ReviewRequestChangesConfig.deserializeBinary = function (bytes) {
64257
+ var reader = new jspb.BinaryReader(bytes);
64258
+ var msg = new proto.clarifai.api.ReviewRequestChangesConfig;
64259
+ return proto.clarifai.api.ReviewRequestChangesConfig.deserializeBinaryFromReader(msg, reader);
64260
+ };
64261
+ /**
64262
+ * Deserializes binary data (in protobuf wire format) from the
64263
+ * given reader into the given message object.
64264
+ * @param {!proto.clarifai.api.ReviewRequestChangesConfig} msg The message object to deserialize into.
64265
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64266
+ * @return {!proto.clarifai.api.ReviewRequestChangesConfig}
64267
+ */
64268
+ proto.clarifai.api.ReviewRequestChangesConfig.deserializeBinaryFromReader = function (msg, reader) {
64269
+ while (reader.nextField()) {
64270
+ if (reader.isEndGroup()) {
64271
+ break;
64272
+ }
64273
+ var field = reader.getFieldNumber();
64274
+ switch (field) {
64275
+ case 1:
64276
+ var value = new proto_clarifai_api_resources_pb.TaskAssignment;
64277
+ reader.readMessage(value, proto_clarifai_api_resources_pb.TaskAssignment.deserializeBinaryFromReader);
64278
+ msg.addTaskAssignments(value);
64279
+ break;
64280
+ case 2:
64281
+ var value = new proto_clarifai_api_resources_pb.Worker;
64282
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Worker.deserializeBinaryFromReader);
64283
+ msg.addWorkers(value);
64284
+ break;
64285
+ default:
64286
+ reader.skipField();
64287
+ break;
64288
+ }
64289
+ }
64290
+ return msg;
64291
+ };
64292
+ /**
64293
+ * Serializes the message to binary data (in protobuf wire format).
64294
+ * @return {!Uint8Array}
64295
+ */
64296
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.serializeBinary = function () {
64297
+ var writer = new jspb.BinaryWriter();
64298
+ proto.clarifai.api.ReviewRequestChangesConfig.serializeBinaryToWriter(this, writer);
64299
+ return writer.getResultBuffer();
64300
+ };
64301
+ /**
64302
+ * Serializes the given message to binary data (in protobuf wire
64303
+ * format), writing to the given BinaryWriter.
64304
+ * @param {!proto.clarifai.api.ReviewRequestChangesConfig} message
64305
+ * @param {!jspb.BinaryWriter} writer
64306
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64307
+ */
64308
+ proto.clarifai.api.ReviewRequestChangesConfig.serializeBinaryToWriter = function (message, writer) {
64309
+ var f = undefined;
64310
+ f = message.getTaskAssignmentsList();
64311
+ if (f.length > 0) {
64312
+ writer.writeRepeatedMessage(1, f, proto_clarifai_api_resources_pb.TaskAssignment.serializeBinaryToWriter);
64313
+ }
64314
+ f = message.getWorkersList();
64315
+ if (f.length > 0) {
64316
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Worker.serializeBinaryToWriter);
64317
+ }
64318
+ };
64319
+ /**
64320
+ * repeated TaskAssignment task_assignments = 1;
64321
+ * @return {!Array<!proto.clarifai.api.TaskAssignment>}
64322
+ */
64323
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.getTaskAssignmentsList = function () {
64324
+ return /** @type{!Array<!proto.clarifai.api.TaskAssignment>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.TaskAssignment, 1));
64325
+ };
64326
+ /**
64327
+ * @param {!Array<!proto.clarifai.api.TaskAssignment>} value
64328
+ * @return {!proto.clarifai.api.ReviewRequestChangesConfig} returns this
64329
+ */
64330
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.setTaskAssignmentsList = function (value) {
64331
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
64332
+ };
64333
+ /**
64334
+ * @param {!proto.clarifai.api.TaskAssignment=} opt_value
64335
+ * @param {number=} opt_index
64336
+ * @return {!proto.clarifai.api.TaskAssignment}
64337
+ */
64338
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.addTaskAssignments = function (opt_value, opt_index) {
64339
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.TaskAssignment, opt_index);
64340
+ };
64341
+ /**
64342
+ * Clears the list making it empty but non-null.
64343
+ * @return {!proto.clarifai.api.ReviewRequestChangesConfig} returns this
64344
+ */
64345
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.clearTaskAssignmentsList = function () {
64346
+ return this.setTaskAssignmentsList([]);
64347
+ };
64348
+ /**
64349
+ * repeated Worker workers = 2;
64350
+ * @return {!Array<!proto.clarifai.api.Worker>}
64351
+ */
64352
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.getWorkersList = function () {
64353
+ return /** @type{!Array<!proto.clarifai.api.Worker>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Worker, 2));
64354
+ };
64355
+ /**
64356
+ * @param {!Array<!proto.clarifai.api.Worker>} value
64357
+ * @return {!proto.clarifai.api.ReviewRequestChangesConfig} returns this
64358
+ */
64359
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.setWorkersList = function (value) {
64360
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
64361
+ };
64362
+ /**
64363
+ * @param {!proto.clarifai.api.Worker=} opt_value
64364
+ * @param {number=} opt_index
64365
+ * @return {!proto.clarifai.api.Worker}
64366
+ */
64367
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.addWorkers = function (opt_value, opt_index) {
64368
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Worker, opt_index);
64369
+ };
64370
+ /**
64371
+ * Clears the list making it empty but non-null.
64372
+ * @return {!proto.clarifai.api.ReviewRequestChangesConfig} returns this
64373
+ */
64374
+ proto.clarifai.api.ReviewRequestChangesConfig.prototype.clearWorkersList = function () {
64375
+ return this.setWorkersList([]);
64376
+ };
64377
+ /**
64378
+ * List of repeated fields within this message type.
64379
+ * @private {!Array<number>}
64380
+ * @const
64381
+ */
64382
+ proto.clarifai.api.ReviewRejectConfig.repeatedFields_ = [1, 2];
64383
+ if (jspb.Message.GENERATE_TO_OBJECT) {
64384
+ /**
64385
+ * Creates an object representation of this proto.
64386
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
64387
+ * Optional fields that are not set will be set to undefined.
64388
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
64389
+ * For the list of reserved names please see:
64390
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
64391
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
64392
+ * JSPB instance for transitional soy proto support:
64393
+ * http://goto/soy-param-migration
64394
+ * @return {!Object}
64395
+ */
64396
+ proto.clarifai.api.ReviewRejectConfig.prototype.toObject = function (opt_includeInstance) {
64397
+ return proto.clarifai.api.ReviewRejectConfig.toObject(opt_includeInstance, this);
64398
+ };
64399
+ /**
64400
+ * Static version of the {@see toObject} method.
64401
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
64402
+ * the JSPB instance for transitional soy proto support:
64403
+ * http://goto/soy-param-migration
64404
+ * @param {!proto.clarifai.api.ReviewRejectConfig} msg The msg instance to transform.
64405
+ * @return {!Object}
64406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64407
+ */
64408
+ proto.clarifai.api.ReviewRejectConfig.toObject = function (includeInstance, msg) {
64409
+ var f, obj = {
64410
+ taskAssignmentsList: jspb.Message.toObjectList(msg.getTaskAssignmentsList(), proto_clarifai_api_resources_pb.TaskAssignment.toObject, includeInstance),
64411
+ workersList: jspb.Message.toObjectList(msg.getWorkersList(), proto_clarifai_api_resources_pb.Worker.toObject, includeInstance)
64412
+ };
64413
+ if (includeInstance) {
64414
+ obj.$jspbMessageInstance = msg;
64415
+ }
64416
+ return obj;
64417
+ };
64418
+ }
64419
+ /**
64420
+ * Deserializes binary data (in protobuf wire format).
64421
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
64422
+ * @return {!proto.clarifai.api.ReviewRejectConfig}
64423
+ */
64424
+ proto.clarifai.api.ReviewRejectConfig.deserializeBinary = function (bytes) {
64425
+ var reader = new jspb.BinaryReader(bytes);
64426
+ var msg = new proto.clarifai.api.ReviewRejectConfig;
64427
+ return proto.clarifai.api.ReviewRejectConfig.deserializeBinaryFromReader(msg, reader);
64428
+ };
64429
+ /**
64430
+ * Deserializes binary data (in protobuf wire format) from the
64431
+ * given reader into the given message object.
64432
+ * @param {!proto.clarifai.api.ReviewRejectConfig} msg The message object to deserialize into.
64433
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
64434
+ * @return {!proto.clarifai.api.ReviewRejectConfig}
64435
+ */
64436
+ proto.clarifai.api.ReviewRejectConfig.deserializeBinaryFromReader = function (msg, reader) {
64437
+ while (reader.nextField()) {
64438
+ if (reader.isEndGroup()) {
64439
+ break;
64440
+ }
64441
+ var field = reader.getFieldNumber();
64442
+ switch (field) {
64443
+ case 1:
64444
+ var value = new proto_clarifai_api_resources_pb.TaskAssignment;
64445
+ reader.readMessage(value, proto_clarifai_api_resources_pb.TaskAssignment.deserializeBinaryFromReader);
64446
+ msg.addTaskAssignments(value);
64447
+ break;
64448
+ case 2:
64449
+ var value = new proto_clarifai_api_resources_pb.Worker;
64450
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Worker.deserializeBinaryFromReader);
64451
+ msg.addWorkers(value);
64452
+ break;
64453
+ default:
64454
+ reader.skipField();
64455
+ break;
64456
+ }
64457
+ }
64458
+ return msg;
64459
+ };
64460
+ /**
64461
+ * Serializes the message to binary data (in protobuf wire format).
64462
+ * @return {!Uint8Array}
64463
+ */
64464
+ proto.clarifai.api.ReviewRejectConfig.prototype.serializeBinary = function () {
64465
+ var writer = new jspb.BinaryWriter();
64466
+ proto.clarifai.api.ReviewRejectConfig.serializeBinaryToWriter(this, writer);
64467
+ return writer.getResultBuffer();
64468
+ };
64469
+ /**
64470
+ * Serializes the given message to binary data (in protobuf wire
64471
+ * format), writing to the given BinaryWriter.
64472
+ * @param {!proto.clarifai.api.ReviewRejectConfig} message
64473
+ * @param {!jspb.BinaryWriter} writer
64474
+ * @suppress {unusedLocalVariables} f is only used for nested messages
64475
+ */
64476
+ proto.clarifai.api.ReviewRejectConfig.serializeBinaryToWriter = function (message, writer) {
64477
+ var f = undefined;
64478
+ f = message.getTaskAssignmentsList();
64479
+ if (f.length > 0) {
64480
+ writer.writeRepeatedMessage(1, f, proto_clarifai_api_resources_pb.TaskAssignment.serializeBinaryToWriter);
64481
+ }
64482
+ f = message.getWorkersList();
64483
+ if (f.length > 0) {
64484
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Worker.serializeBinaryToWriter);
64485
+ }
64486
+ };
64487
+ /**
64488
+ * repeated TaskAssignment task_assignments = 1;
64489
+ * @return {!Array<!proto.clarifai.api.TaskAssignment>}
64490
+ */
64491
+ proto.clarifai.api.ReviewRejectConfig.prototype.getTaskAssignmentsList = function () {
64492
+ return /** @type{!Array<!proto.clarifai.api.TaskAssignment>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.TaskAssignment, 1));
64493
+ };
64494
+ /**
64495
+ * @param {!Array<!proto.clarifai.api.TaskAssignment>} value
64496
+ * @return {!proto.clarifai.api.ReviewRejectConfig} returns this
64497
+ */
64498
+ proto.clarifai.api.ReviewRejectConfig.prototype.setTaskAssignmentsList = function (value) {
64499
+ return jspb.Message.setRepeatedWrapperField(this, 1, value);
64500
+ };
64501
+ /**
64502
+ * @param {!proto.clarifai.api.TaskAssignment=} opt_value
64503
+ * @param {number=} opt_index
64504
+ * @return {!proto.clarifai.api.TaskAssignment}
64505
+ */
64506
+ proto.clarifai.api.ReviewRejectConfig.prototype.addTaskAssignments = function (opt_value, opt_index) {
64507
+ return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.TaskAssignment, opt_index);
64508
+ };
64509
+ /**
64510
+ * Clears the list making it empty but non-null.
64511
+ * @return {!proto.clarifai.api.ReviewRejectConfig} returns this
64512
+ */
64513
+ proto.clarifai.api.ReviewRejectConfig.prototype.clearTaskAssignmentsList = function () {
64514
+ return this.setTaskAssignmentsList([]);
64515
+ };
64516
+ /**
64517
+ * repeated Worker workers = 2;
64518
+ * @return {!Array<!proto.clarifai.api.Worker>}
64519
+ */
64520
+ proto.clarifai.api.ReviewRejectConfig.prototype.getWorkersList = function () {
64521
+ return /** @type{!Array<!proto.clarifai.api.Worker>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Worker, 2));
64522
+ };
64523
+ /**
64524
+ * @param {!Array<!proto.clarifai.api.Worker>} value
64525
+ * @return {!proto.clarifai.api.ReviewRejectConfig} returns this
64526
+ */
64527
+ proto.clarifai.api.ReviewRejectConfig.prototype.setWorkersList = function (value) {
64528
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
64529
+ };
64530
+ /**
64531
+ * @param {!proto.clarifai.api.Worker=} opt_value
64532
+ * @param {number=} opt_index
64533
+ * @return {!proto.clarifai.api.Worker}
64534
+ */
64535
+ proto.clarifai.api.ReviewRejectConfig.prototype.addWorkers = function (opt_value, opt_index) {
64536
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Worker, opt_index);
64537
+ };
64538
+ /**
64539
+ * Clears the list making it empty but non-null.
64540
+ * @return {!proto.clarifai.api.ReviewRejectConfig} returns this
64541
+ */
64542
+ proto.clarifai.api.ReviewRejectConfig.prototype.clearWorkersList = function () {
64543
+ return this.setWorkersList([]);
64544
+ };
64231
64545
  /**
64232
64546
  * List of repeated fields within this message type.
64233
64547
  * @private {!Array<number>}
@@ -69884,6 +70198,7 @@ proto.clarifai.api.PutTaskAssignmentsRequestAction = {
69884
70198
  LABEL_SUBMIT: 2,
69885
70199
  REVIEW_START: 10,
69886
70200
  REVIEW_APPROVE: 11,
69887
- REVIEW_REQUEST_CHANGES: 12
70201
+ REVIEW_REQUEST_CHANGES: 12,
70202
+ REVIEW_REJECT: 13
69888
70203
  };
69889
70204
  goog.object.extend(exports, proto.clarifai.api);