clarifai-web-grpc 11.11.0 → 12.0.2

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.
@@ -39,6 +39,8 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
39
39
  goog.object.extend(proto, google_protobuf_struct_pb);
40
40
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
41
41
  goog.object.extend(proto, google_protobuf_timestamp_pb);
42
+ goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest', null, global);
43
+ goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo', null, global);
42
44
  goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
43
45
  goog.exportSymbol('proto.clarifai.api.CancelInputsAddJobRequest', null, global);
44
46
  goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null, global);
@@ -197,6 +199,7 @@ goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, glob
197
199
  goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
198
200
  goog.exportSymbol('proto.clarifai.api.ListPipelineStepVersionsRequest', null, global);
199
201
  goog.exportSymbol('proto.clarifai.api.ListPipelineStepsRequest', null, global);
202
+ goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest', null, global);
200
203
  goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunsRequest', null, global);
201
204
  goog.exportSymbol('proto.clarifai.api.ListPipelineVersionsRequest', null, global);
202
205
  goog.exportSymbol('proto.clarifai.api.ListPipelinesRequest', null, global);
@@ -273,6 +276,7 @@ goog.exportSymbol('proto.clarifai.api.MultiPipelineStepResponse', null, global);
273
276
  goog.exportSymbol('proto.clarifai.api.MultiPipelineStepVersionResponse', null, global);
274
277
  goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionResponse', null, global);
275
278
  goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunResponse', null, global);
279
+ goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse', null, global);
276
280
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
277
281
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
278
282
  goog.exportSymbol('proto.clarifai.api.MultiRunnerResponse', null, global);
@@ -478,6 +482,7 @@ goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
478
482
  goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
479
483
  goog.exportSymbol('proto.clarifai.api.SingleSecretResponse', null, global);
480
484
  goog.exportSymbol('proto.clarifai.api.SingleStatusCodeResponse', null, global);
485
+ goog.exportSymbol('proto.clarifai.api.SingleStreamAnnotationResponse', null, global);
481
486
  goog.exportSymbol('proto.clarifai.api.SingleTaskCountResponse', null, global);
482
487
  goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
483
488
  goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
@@ -485,9 +490,10 @@ goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
485
490
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
486
491
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
487
492
  goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
493
+ goog.exportSymbol('proto.clarifai.api.StreamAnnotationsRequest', null, global);
488
494
  goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
495
+ goog.exportSymbol('proto.clarifai.api.StreamLivestreamAnnotationsRequest', null, global);
489
496
  goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
490
- goog.exportSymbol('proto.clarifai.api.StreamTrackAnnotationsSearchesRequest', null, global);
491
497
  goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
492
498
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
493
499
  goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
@@ -585,16 +591,37 @@ if (goog.DEBUG && !COMPILED) {
585
591
  * @extends {jspb.Message}
586
592
  * @constructor
587
593
  */
588
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest = function (opt_data) {
589
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
594
+ proto.clarifai.api.StreamAnnotationsRequest = function (opt_data) {
595
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_, null);
596
+ };
597
+ goog.inherits(proto.clarifai.api.StreamAnnotationsRequest, jspb.Message);
598
+ if (goog.DEBUG && !COMPILED) {
599
+ /**
600
+ * @public
601
+ * @override
602
+ */
603
+ proto.clarifai.api.StreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamAnnotationsRequest';
604
+ }
605
+ /**
606
+ * Generated by JsPbCodeGenerator.
607
+ * @param {Array=} opt_data Optional initial data array, typically from a
608
+ * server response, or constructed directly in Javascript. The array is used
609
+ * in place and becomes part of the constructed object. It is not cloned.
610
+ * If no data is provided, the constructed object will be empty, but still
611
+ * valid.
612
+ * @extends {jspb.Message}
613
+ * @constructor
614
+ */
615
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest = function (opt_data) {
616
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
590
617
  };
591
- goog.inherits(proto.clarifai.api.StreamTrackAnnotationsSearchesRequest, jspb.Message);
618
+ goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
592
619
  if (goog.DEBUG && !COMPILED) {
593
620
  /**
594
621
  * @public
595
622
  * @override
596
623
  */
597
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.displayName = 'proto.clarifai.api.StreamTrackAnnotationsSearchesRequest';
624
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamLivestreamAnnotationsRequest';
598
625
  }
599
626
  /**
600
627
  * Generated by JsPbCodeGenerator.
@@ -848,6 +875,27 @@ if (goog.DEBUG && !COMPILED) {
848
875
  */
849
876
  proto.clarifai.api.SingleAnnotationResponse.displayName = 'proto.clarifai.api.SingleAnnotationResponse';
850
877
  }
878
+ /**
879
+ * Generated by JsPbCodeGenerator.
880
+ * @param {Array=} opt_data Optional initial data array, typically from a
881
+ * server response, or constructed directly in Javascript. The array is used
882
+ * in place and becomes part of the constructed object. It is not cloned.
883
+ * If no data is provided, the constructed object will be empty, but still
884
+ * valid.
885
+ * @extends {jspb.Message}
886
+ * @constructor
887
+ */
888
+ proto.clarifai.api.SingleStreamAnnotationResponse = function (opt_data) {
889
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
890
+ };
891
+ goog.inherits(proto.clarifai.api.SingleStreamAnnotationResponse, jspb.Message);
892
+ if (goog.DEBUG && !COMPILED) {
893
+ /**
894
+ * @public
895
+ * @override
896
+ */
897
+ proto.clarifai.api.SingleStreamAnnotationResponse.displayName = 'proto.clarifai.api.SingleStreamAnnotationResponse';
898
+ }
851
899
  /**
852
900
  * Generated by JsPbCodeGenerator.
853
901
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -7505,6 +7553,48 @@ if (goog.DEBUG && !COMPILED) {
7505
7553
  */
7506
7554
  proto.clarifai.api.RunnerItem.displayName = 'proto.clarifai.api.RunnerItem';
7507
7555
  }
7556
+ /**
7557
+ * Generated by JsPbCodeGenerator.
7558
+ * @param {Array=} opt_data Optional initial data array, typically from a
7559
+ * server response, or constructed directly in Javascript. The array is used
7560
+ * in place and becomes part of the constructed object. It is not cloned.
7561
+ * If no data is provided, the constructed object will be empty, but still
7562
+ * valid.
7563
+ * @extends {jspb.Message}
7564
+ * @constructor
7565
+ */
7566
+ proto.clarifai.api.AutoAnnotationRequest = function (opt_data) {
7567
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7568
+ };
7569
+ goog.inherits(proto.clarifai.api.AutoAnnotationRequest, jspb.Message);
7570
+ if (goog.DEBUG && !COMPILED) {
7571
+ /**
7572
+ * @public
7573
+ * @override
7574
+ */
7575
+ proto.clarifai.api.AutoAnnotationRequest.displayName = 'proto.clarifai.api.AutoAnnotationRequest';
7576
+ }
7577
+ /**
7578
+ * Generated by JsPbCodeGenerator.
7579
+ * @param {Array=} opt_data Optional initial data array, typically from a
7580
+ * server response, or constructed directly in Javascript. The array is used
7581
+ * in place and becomes part of the constructed object. It is not cloned.
7582
+ * If no data is provided, the constructed object will be empty, but still
7583
+ * valid.
7584
+ * @extends {jspb.Message}
7585
+ * @constructor
7586
+ */
7587
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo = function (opt_data) {
7588
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7589
+ };
7590
+ goog.inherits(proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo, jspb.Message);
7591
+ if (goog.DEBUG && !COMPILED) {
7592
+ /**
7593
+ * @public
7594
+ * @override
7595
+ */
7596
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.displayName = 'proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo';
7597
+ }
7508
7598
  /**
7509
7599
  * Generated by JsPbCodeGenerator.
7510
7600
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -8849,6 +8939,48 @@ if (goog.DEBUG && !COMPILED) {
8849
8939
  */
8850
8940
  proto.clarifai.api.MultiPipelineVersionRunResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunResponse';
8851
8941
  }
8942
+ /**
8943
+ * Generated by JsPbCodeGenerator.
8944
+ * @param {Array=} opt_data Optional initial data array, typically from a
8945
+ * server response, or constructed directly in Javascript. The array is used
8946
+ * in place and becomes part of the constructed object. It is not cloned.
8947
+ * If no data is provided, the constructed object will be empty, but still
8948
+ * valid.
8949
+ * @extends {jspb.Message}
8950
+ * @constructor
8951
+ */
8952
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest = function (opt_data) {
8953
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_, null);
8954
+ };
8955
+ goog.inherits(proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest, jspb.Message);
8956
+ if (goog.DEBUG && !COMPILED) {
8957
+ /**
8958
+ * @public
8959
+ * @override
8960
+ */
8961
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.displayName = 'proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest';
8962
+ }
8963
+ /**
8964
+ * Generated by JsPbCodeGenerator.
8965
+ * @param {Array=} opt_data Optional initial data array, typically from a
8966
+ * server response, or constructed directly in Javascript. The array is used
8967
+ * in place and becomes part of the constructed object. It is not cloned.
8968
+ * If no data is provided, the constructed object will be empty, but still
8969
+ * valid.
8970
+ * @extends {jspb.Message}
8971
+ * @constructor
8972
+ */
8973
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse = function (opt_data) {
8974
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_, null);
8975
+ };
8976
+ goog.inherits(proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse, jspb.Message);
8977
+ if (goog.DEBUG && !COMPILED) {
8978
+ /**
8979
+ * @public
8980
+ * @override
8981
+ */
8982
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse';
8983
+ }
8852
8984
  /**
8853
8985
  * Generated by JsPbCodeGenerator.
8854
8986
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -10759,6 +10891,12 @@ proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.clearWorker = f
10759
10891
  proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasWorker = function () {
10760
10892
  return jspb.Message.getField(this, 9) != null;
10761
10893
  };
10894
+ /**
10895
+ * List of repeated fields within this message type.
10896
+ * @private {!Array<number>}
10897
+ * @const
10898
+ */
10899
+ proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_ = [3];
10762
10900
  if (jspb.Message.GENERATE_TO_OBJECT) {
10763
10901
  /**
10764
10902
  * Creates an object representation of this proto.
@@ -10772,23 +10910,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
10772
10910
  * http://goto/soy-param-migration
10773
10911
  * @return {!Object}
10774
10912
  */
10775
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.toObject = function (opt_includeInstance) {
10776
- return proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject(opt_includeInstance, this);
10913
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.toObject = function (opt_includeInstance) {
10914
+ return proto.clarifai.api.StreamAnnotationsRequest.toObject(opt_includeInstance, this);
10777
10915
  };
10778
10916
  /**
10779
10917
  * Static version of the {@see toObject} method.
10780
10918
  * @param {boolean|undefined} includeInstance Deprecated. Whether to include
10781
10919
  * the JSPB instance for transitional soy proto support:
10782
10920
  * http://goto/soy-param-migration
10783
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} msg The msg instance to transform.
10921
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The msg instance to transform.
10784
10922
  * @return {!Object}
10785
10923
  * @suppress {unusedLocalVariables} f is only used for nested messages
10786
10924
  */
10787
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.toObject = function (includeInstance, msg) {
10925
+ proto.clarifai.api.StreamAnnotationsRequest.toObject = function (includeInstance, msg) {
10788
10926
  var f, obj = {
10789
10927
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
10790
10928
  inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
10791
- trackId: jspb.Message.getFieldWithDefault(msg, 3, ""),
10929
+ trackIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
10792
10930
  frameNumberStart: jspb.Message.getFieldWithDefault(msg, 4, 0),
10793
10931
  frameTimeStart: jspb.Message.getFieldWithDefault(msg, 5, 0),
10794
10932
  annotationType: jspb.Message.getFieldWithDefault(msg, 6, 0),
@@ -10805,21 +10943,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
10805
10943
  /**
10806
10944
  * Deserializes binary data (in protobuf wire format).
10807
10945
  * @param {jspb.ByteSource} bytes The bytes to deserialize.
10808
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest}
10946
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest}
10809
10947
  */
10810
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinary = function (bytes) {
10948
+ proto.clarifai.api.StreamAnnotationsRequest.deserializeBinary = function (bytes) {
10811
10949
  var reader = new jspb.BinaryReader(bytes);
10812
- var msg = new proto.clarifai.api.StreamTrackAnnotationsSearchesRequest;
10813
- return proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromReader(msg, reader);
10950
+ var msg = new proto.clarifai.api.StreamAnnotationsRequest;
10951
+ return proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
10814
10952
  };
10815
10953
  /**
10816
10954
  * Deserializes binary data (in protobuf wire format) from the
10817
10955
  * given reader into the given message object.
10818
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} msg The message object to deserialize into.
10956
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The message object to deserialize into.
10819
10957
  * @param {!jspb.BinaryReader} reader The BinaryReader to use.
10820
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest}
10958
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest}
10821
10959
  */
10822
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromReader = function (msg, reader) {
10960
+ proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader = function (msg, reader) {
10823
10961
  while (reader.nextField()) {
10824
10962
  if (reader.isEndGroup()) {
10825
10963
  break;
@@ -10837,7 +10975,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
10837
10975
  break;
10838
10976
  case 3:
10839
10977
  var value = /** @type {string} */ (reader.readString());
10840
- msg.setTrackId(value);
10978
+ msg.addTrackIds(value);
10841
10979
  break;
10842
10980
  case 4:
10843
10981
  var value = /** @type {number} */ (reader.readUint32());
@@ -10875,19 +11013,19 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
10875
11013
  * Serializes the message to binary data (in protobuf wire format).
10876
11014
  * @return {!Uint8Array}
10877
11015
  */
10878
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.serializeBinary = function () {
11016
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.serializeBinary = function () {
10879
11017
  var writer = new jspb.BinaryWriter();
10880
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter(this, writer);
11018
+ proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
10881
11019
  return writer.getResultBuffer();
10882
11020
  };
10883
11021
  /**
10884
11022
  * Serializes the given message to binary data (in protobuf wire
10885
11023
  * format), writing to the given BinaryWriter.
10886
- * @param {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} message
11024
+ * @param {!proto.clarifai.api.StreamAnnotationsRequest} message
10887
11025
  * @param {!jspb.BinaryWriter} writer
10888
11026
  * @suppress {unusedLocalVariables} f is only used for nested messages
10889
11027
  */
10890
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter = function (message, writer) {
11028
+ proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter = function (message, writer) {
10891
11029
  var f = undefined;
10892
11030
  f = message.getUserAppId();
10893
11031
  if (f != null) {
@@ -10897,9 +11035,9 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
10897
11035
  if (f.length > 0) {
10898
11036
  writer.writeString(2, f);
10899
11037
  }
10900
- f = message.getTrackId();
11038
+ f = message.getTrackIdsList();
10901
11039
  if (f.length > 0) {
10902
- writer.writeString(3, f);
11040
+ writer.writeRepeatedString(3, f);
10903
11041
  }
10904
11042
  f = message.getFrameNumberStart();
10905
11043
  if (f !== 0) {
@@ -10930,156 +11068,406 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
10930
11068
  * optional UserAppIDSet user_app_id = 1;
10931
11069
  * @return {?proto.clarifai.api.UserAppIDSet}
10932
11070
  */
10933
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getUserAppId = function () {
11071
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getUserAppId = function () {
10934
11072
  return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
10935
11073
  };
10936
11074
  /**
10937
11075
  * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
10938
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11076
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
10939
11077
  */
10940
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setUserAppId = function (value) {
11078
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setUserAppId = function (value) {
10941
11079
  return jspb.Message.setWrapperField(this, 1, value);
10942
11080
  };
10943
11081
  /**
10944
11082
  * Clears the message field making it undefined.
10945
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11083
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
10946
11084
  */
10947
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearUserAppId = function () {
11085
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearUserAppId = function () {
10948
11086
  return this.setUserAppId(undefined);
10949
11087
  };
10950
11088
  /**
10951
11089
  * Returns whether this field is set.
10952
11090
  * @return {boolean}
10953
11091
  */
10954
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasUserAppId = function () {
11092
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasUserAppId = function () {
10955
11093
  return jspb.Message.getField(this, 1) != null;
10956
11094
  };
10957
11095
  /**
10958
11096
  * optional string input_id = 2;
10959
11097
  * @return {string}
10960
11098
  */
10961
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getInputId = function () {
11099
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getInputId = function () {
10962
11100
  return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
10963
11101
  };
10964
11102
  /**
10965
11103
  * @param {string} value
10966
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11104
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
10967
11105
  */
10968
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setInputId = function (value) {
11106
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setInputId = function (value) {
10969
11107
  return jspb.Message.setProto3StringField(this, 2, value);
10970
11108
  };
10971
11109
  /**
10972
- * optional string track_id = 3;
10973
- * @return {string}
11110
+ * repeated string track_ids = 3;
11111
+ * @return {!Array<string>}
10974
11112
  */
10975
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getTrackId = function () {
10976
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11113
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getTrackIdsList = function () {
11114
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
11115
+ };
11116
+ /**
11117
+ * @param {!Array<string>} value
11118
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11119
+ */
11120
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setTrackIdsList = function (value) {
11121
+ return jspb.Message.setField(this, 3, value || []);
10977
11122
  };
10978
11123
  /**
10979
11124
  * @param {string} value
10980
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11125
+ * @param {number=} opt_index
11126
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
10981
11127
  */
10982
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setTrackId = function (value) {
10983
- return jspb.Message.setProto3StringField(this, 3, value);
11128
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.addTrackIds = function (value, opt_index) {
11129
+ return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
11130
+ };
11131
+ /**
11132
+ * Clears the list making it empty but non-null.
11133
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11134
+ */
11135
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearTrackIdsList = function () {
11136
+ return this.setTrackIdsList([]);
10984
11137
  };
10985
11138
  /**
10986
11139
  * optional uint32 frame_number_start = 4;
10987
11140
  * @return {number}
10988
11141
  */
10989
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getFrameNumberStart = function () {
11142
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameNumberStart = function () {
10990
11143
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
10991
11144
  };
10992
11145
  /**
10993
11146
  * @param {number} value
10994
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11147
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
10995
11148
  */
10996
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameNumberStart = function (value) {
11149
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameNumberStart = function (value) {
10997
11150
  return jspb.Message.setProto3IntField(this, 4, value);
10998
11151
  };
10999
11152
  /**
11000
11153
  * optional uint32 frame_time_start = 5;
11001
11154
  * @return {number}
11002
11155
  */
11003
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getFrameTimeStart = function () {
11156
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameTimeStart = function () {
11004
11157
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11005
11158
  };
11006
11159
  /**
11007
11160
  * @param {number} value
11008
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11161
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11009
11162
  */
11010
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setFrameTimeStart = function (value) {
11163
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameTimeStart = function (value) {
11011
11164
  return jspb.Message.setProto3IntField(this, 5, value);
11012
11165
  };
11013
11166
  /**
11014
11167
  * optional AnnotationDataType annotation_type = 6;
11015
11168
  * @return {!proto.clarifai.api.AnnotationDataType}
11016
11169
  */
11017
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getAnnotationType = function () {
11170
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getAnnotationType = function () {
11018
11171
  return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
11019
11172
  };
11020
11173
  /**
11021
11174
  * @param {!proto.clarifai.api.AnnotationDataType} value
11022
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11175
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11023
11176
  */
11024
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setAnnotationType = function (value) {
11177
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setAnnotationType = function (value) {
11025
11178
  return jspb.Message.setProto3EnumField(this, 6, value);
11026
11179
  };
11027
11180
  /**
11028
11181
  * optional uint32 max_frames = 7;
11029
11182
  * @return {number}
11030
11183
  */
11031
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getMaxFrames = function () {
11184
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxFrames = function () {
11032
11185
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
11033
11186
  };
11034
11187
  /**
11035
11188
  * @param {number} value
11036
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11189
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11037
11190
  */
11038
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxFrames = function (value) {
11191
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxFrames = function (value) {
11039
11192
  return jspb.Message.setProto3IntField(this, 7, value);
11040
11193
  };
11041
11194
  /**
11042
11195
  * optional uint32 max_duration = 8;
11043
11196
  * @return {number}
11044
11197
  */
11045
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getMaxDuration = function () {
11198
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxDuration = function () {
11046
11199
  return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
11047
11200
  };
11048
11201
  /**
11049
11202
  * @param {number} value
11050
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11203
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11051
11204
  */
11052
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setMaxDuration = function (value) {
11205
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxDuration = function (value) {
11053
11206
  return jspb.Message.setProto3IntField(this, 8, value);
11054
11207
  };
11055
11208
  /**
11056
11209
  * optional Worker worker = 9;
11057
11210
  * @return {?proto.clarifai.api.Worker}
11058
11211
  */
11059
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.getWorker = function () {
11212
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.getWorker = function () {
11060
11213
  return /** @type{?proto.clarifai.api.Worker} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Worker, 9));
11061
11214
  };
11062
11215
  /**
11063
11216
  * @param {?proto.clarifai.api.Worker|undefined} value
11064
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11217
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11065
11218
  */
11066
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.setWorker = function (value) {
11219
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.setWorker = function (value) {
11067
11220
  return jspb.Message.setWrapperField(this, 9, value);
11068
11221
  };
11069
11222
  /**
11070
11223
  * Clears the message field making it undefined.
11071
- * @return {!proto.clarifai.api.StreamTrackAnnotationsSearchesRequest} returns this
11224
+ * @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
11072
11225
  */
11073
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.clearWorker = function () {
11226
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearWorker = function () {
11074
11227
  return this.setWorker(undefined);
11075
11228
  };
11076
11229
  /**
11077
11230
  * Returns whether this field is set.
11078
11231
  * @return {boolean}
11079
11232
  */
11080
- proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.prototype.hasWorker = function () {
11233
+ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function () {
11081
11234
  return jspb.Message.getField(this, 9) != null;
11082
11235
  };
11236
+ /**
11237
+ * List of repeated fields within this message type.
11238
+ * @private {!Array<number>}
11239
+ * @const
11240
+ */
11241
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
11242
+ if (jspb.Message.GENERATE_TO_OBJECT) {
11243
+ /**
11244
+ * Creates an object representation of this proto.
11245
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
11246
+ * Optional fields that are not set will be set to undefined.
11247
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
11248
+ * For the list of reserved names please see:
11249
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
11250
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
11251
+ * JSPB instance for transitional soy proto support:
11252
+ * http://goto/soy-param-migration
11253
+ * @return {!Object}
11254
+ */
11255
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = function (opt_includeInstance) {
11256
+ return proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject(opt_includeInstance, this);
11257
+ };
11258
+ /**
11259
+ * Static version of the {@see toObject} method.
11260
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
11261
+ * the JSPB instance for transitional soy proto support:
11262
+ * http://goto/soy-param-migration
11263
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The msg instance to transform.
11264
+ * @return {!Object}
11265
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11266
+ */
11267
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function (includeInstance, msg) {
11268
+ var f, obj = {
11269
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11270
+ inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11271
+ taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11272
+ trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
11273
+ annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
11274
+ };
11275
+ if (includeInstance) {
11276
+ obj.$jspbMessageInstance = msg;
11277
+ }
11278
+ return obj;
11279
+ };
11280
+ }
11281
+ /**
11282
+ * Deserializes binary data (in protobuf wire format).
11283
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
11284
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
11285
+ */
11286
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinary = function (bytes) {
11287
+ var reader = new jspb.BinaryReader(bytes);
11288
+ var msg = new proto.clarifai.api.StreamLivestreamAnnotationsRequest;
11289
+ return proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
11290
+ };
11291
+ /**
11292
+ * Deserializes binary data (in protobuf wire format) from the
11293
+ * given reader into the given message object.
11294
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The message object to deserialize into.
11295
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
11296
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
11297
+ */
11298
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader = function (msg, reader) {
11299
+ while (reader.nextField()) {
11300
+ if (reader.isEndGroup()) {
11301
+ break;
11302
+ }
11303
+ var field = reader.getFieldNumber();
11304
+ switch (field) {
11305
+ case 1:
11306
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
11307
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
11308
+ msg.setUserAppId(value);
11309
+ break;
11310
+ case 2:
11311
+ var value = /** @type {string} */ (reader.readString());
11312
+ msg.setInputId(value);
11313
+ break;
11314
+ case 3:
11315
+ var value = /** @type {string} */ (reader.readString());
11316
+ msg.setTaskId(value);
11317
+ break;
11318
+ case 4:
11319
+ var value = /** @type {string} */ (reader.readString());
11320
+ msg.addTrackIds(value);
11321
+ break;
11322
+ case 5:
11323
+ var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
11324
+ msg.setAnnotationType(value);
11325
+ break;
11326
+ default:
11327
+ reader.skipField();
11328
+ break;
11329
+ }
11330
+ }
11331
+ return msg;
11332
+ };
11333
+ /**
11334
+ * Serializes the message to binary data (in protobuf wire format).
11335
+ * @return {!Uint8Array}
11336
+ */
11337
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.serializeBinary = function () {
11338
+ var writer = new jspb.BinaryWriter();
11339
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
11340
+ return writer.getResultBuffer();
11341
+ };
11342
+ /**
11343
+ * Serializes the given message to binary data (in protobuf wire
11344
+ * format), writing to the given BinaryWriter.
11345
+ * @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} message
11346
+ * @param {!jspb.BinaryWriter} writer
11347
+ * @suppress {unusedLocalVariables} f is only used for nested messages
11348
+ */
11349
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter = function (message, writer) {
11350
+ var f = undefined;
11351
+ f = message.getUserAppId();
11352
+ if (f != null) {
11353
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
11354
+ }
11355
+ f = message.getInputId();
11356
+ if (f.length > 0) {
11357
+ writer.writeString(2, f);
11358
+ }
11359
+ f = message.getTaskId();
11360
+ if (f.length > 0) {
11361
+ writer.writeString(3, f);
11362
+ }
11363
+ f = message.getTrackIdsList();
11364
+ if (f.length > 0) {
11365
+ writer.writeRepeatedString(4, f);
11366
+ }
11367
+ f = message.getAnnotationType();
11368
+ if (f !== 0.0) {
11369
+ writer.writeEnum(5, f);
11370
+ }
11371
+ };
11372
+ /**
11373
+ * optional UserAppIDSet user_app_id = 1;
11374
+ * @return {?proto.clarifai.api.UserAppIDSet}
11375
+ */
11376
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getUserAppId = function () {
11377
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
11378
+ };
11379
+ /**
11380
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
11381
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11382
+ */
11383
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setUserAppId = function (value) {
11384
+ return jspb.Message.setWrapperField(this, 1, value);
11385
+ };
11386
+ /**
11387
+ * Clears the message field making it undefined.
11388
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11389
+ */
11390
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearUserAppId = function () {
11391
+ return this.setUserAppId(undefined);
11392
+ };
11393
+ /**
11394
+ * Returns whether this field is set.
11395
+ * @return {boolean}
11396
+ */
11397
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.hasUserAppId = function () {
11398
+ return jspb.Message.getField(this, 1) != null;
11399
+ };
11400
+ /**
11401
+ * optional string input_id = 2;
11402
+ * @return {string}
11403
+ */
11404
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getInputId = function () {
11405
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
11406
+ };
11407
+ /**
11408
+ * @param {string} value
11409
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11410
+ */
11411
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = function (value) {
11412
+ return jspb.Message.setProto3StringField(this, 2, value);
11413
+ };
11414
+ /**
11415
+ * optional string task_id = 3;
11416
+ * @return {string}
11417
+ */
11418
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function () {
11419
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11420
+ };
11421
+ /**
11422
+ * @param {string} value
11423
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11424
+ */
11425
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function (value) {
11426
+ return jspb.Message.setProto3StringField(this, 3, value);
11427
+ };
11428
+ /**
11429
+ * repeated string track_ids = 4;
11430
+ * @return {!Array<string>}
11431
+ */
11432
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function () {
11433
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
11434
+ };
11435
+ /**
11436
+ * @param {!Array<string>} value
11437
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11438
+ */
11439
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function (value) {
11440
+ return jspb.Message.setField(this, 4, value || []);
11441
+ };
11442
+ /**
11443
+ * @param {string} value
11444
+ * @param {number=} opt_index
11445
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11446
+ */
11447
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function (value, opt_index) {
11448
+ return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11449
+ };
11450
+ /**
11451
+ * Clears the list making it empty but non-null.
11452
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11453
+ */
11454
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function () {
11455
+ return this.setTrackIdsList([]);
11456
+ };
11457
+ /**
11458
+ * optional AnnotationDataType annotation_type = 5;
11459
+ * @return {!proto.clarifai.api.AnnotationDataType}
11460
+ */
11461
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function () {
11462
+ return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11463
+ };
11464
+ /**
11465
+ * @param {!proto.clarifai.api.AnnotationDataType} value
11466
+ * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11467
+ */
11468
+ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function (value) {
11469
+ return jspb.Message.setProto3EnumField(this, 5, value);
11470
+ };
11083
11471
  /**
11084
11472
  * List of repeated fields within this message type.
11085
11473
  * @private {!Array<number>}
@@ -13450,6 +13838,189 @@ proto.clarifai.api.SingleAnnotationResponse.prototype.clearAnnotation = function
13450
13838
  proto.clarifai.api.SingleAnnotationResponse.prototype.hasAnnotation = function () {
13451
13839
  return jspb.Message.getField(this, 2) != null;
13452
13840
  };
13841
+ if (jspb.Message.GENERATE_TO_OBJECT) {
13842
+ /**
13843
+ * Creates an object representation of this proto.
13844
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
13845
+ * Optional fields that are not set will be set to undefined.
13846
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
13847
+ * For the list of reserved names please see:
13848
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
13849
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
13850
+ * JSPB instance for transitional soy proto support:
13851
+ * http://goto/soy-param-migration
13852
+ * @return {!Object}
13853
+ */
13854
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.toObject = function (opt_includeInstance) {
13855
+ return proto.clarifai.api.SingleStreamAnnotationResponse.toObject(opt_includeInstance, this);
13856
+ };
13857
+ /**
13858
+ * Static version of the {@see toObject} method.
13859
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
13860
+ * the JSPB instance for transitional soy proto support:
13861
+ * http://goto/soy-param-migration
13862
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The msg instance to transform.
13863
+ * @return {!Object}
13864
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13865
+ */
13866
+ proto.clarifai.api.SingleStreamAnnotationResponse.toObject = function (includeInstance, msg) {
13867
+ var f, obj = {
13868
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
13869
+ annotation: (f = msg.getAnnotation()) && proto_clarifai_api_resources_pb.Annotation.toObject(includeInstance, f),
13870
+ frameFullyProcessed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
13871
+ };
13872
+ if (includeInstance) {
13873
+ obj.$jspbMessageInstance = msg;
13874
+ }
13875
+ return obj;
13876
+ };
13877
+ }
13878
+ /**
13879
+ * Deserializes binary data (in protobuf wire format).
13880
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
13881
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
13882
+ */
13883
+ proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinary = function (bytes) {
13884
+ var reader = new jspb.BinaryReader(bytes);
13885
+ var msg = new proto.clarifai.api.SingleStreamAnnotationResponse;
13886
+ return proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader(msg, reader);
13887
+ };
13888
+ /**
13889
+ * Deserializes binary data (in protobuf wire format) from the
13890
+ * given reader into the given message object.
13891
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The message object to deserialize into.
13892
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
13893
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
13894
+ */
13895
+ proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader = function (msg, reader) {
13896
+ while (reader.nextField()) {
13897
+ if (reader.isEndGroup()) {
13898
+ break;
13899
+ }
13900
+ var field = reader.getFieldNumber();
13901
+ switch (field) {
13902
+ case 1:
13903
+ var value = new proto_clarifai_api_status_status_pb.Status;
13904
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
13905
+ msg.setStatus(value);
13906
+ break;
13907
+ case 2:
13908
+ var value = new proto_clarifai_api_resources_pb.Annotation;
13909
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Annotation.deserializeBinaryFromReader);
13910
+ msg.setAnnotation(value);
13911
+ break;
13912
+ case 3:
13913
+ var value = /** @type {boolean} */ (reader.readBool());
13914
+ msg.setFrameFullyProcessed(value);
13915
+ break;
13916
+ default:
13917
+ reader.skipField();
13918
+ break;
13919
+ }
13920
+ }
13921
+ return msg;
13922
+ };
13923
+ /**
13924
+ * Serializes the message to binary data (in protobuf wire format).
13925
+ * @return {!Uint8Array}
13926
+ */
13927
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.serializeBinary = function () {
13928
+ var writer = new jspb.BinaryWriter();
13929
+ proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter(this, writer);
13930
+ return writer.getResultBuffer();
13931
+ };
13932
+ /**
13933
+ * Serializes the given message to binary data (in protobuf wire
13934
+ * format), writing to the given BinaryWriter.
13935
+ * @param {!proto.clarifai.api.SingleStreamAnnotationResponse} message
13936
+ * @param {!jspb.BinaryWriter} writer
13937
+ * @suppress {unusedLocalVariables} f is only used for nested messages
13938
+ */
13939
+ proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter = function (message, writer) {
13940
+ var f = undefined;
13941
+ f = message.getStatus();
13942
+ if (f != null) {
13943
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
13944
+ }
13945
+ f = message.getAnnotation();
13946
+ if (f != null) {
13947
+ writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Annotation.serializeBinaryToWriter);
13948
+ }
13949
+ f = message.getFrameFullyProcessed();
13950
+ if (f) {
13951
+ writer.writeBool(3, f);
13952
+ }
13953
+ };
13954
+ /**
13955
+ * optional status.Status status = 1;
13956
+ * @return {?proto.clarifai.api.status.Status}
13957
+ */
13958
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getStatus = function () {
13959
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
13960
+ };
13961
+ /**
13962
+ * @param {?proto.clarifai.api.status.Status|undefined} value
13963
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
13964
+ */
13965
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setStatus = function (value) {
13966
+ return jspb.Message.setWrapperField(this, 1, value);
13967
+ };
13968
+ /**
13969
+ * Clears the message field making it undefined.
13970
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
13971
+ */
13972
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearStatus = function () {
13973
+ return this.setStatus(undefined);
13974
+ };
13975
+ /**
13976
+ * Returns whether this field is set.
13977
+ * @return {boolean}
13978
+ */
13979
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasStatus = function () {
13980
+ return jspb.Message.getField(this, 1) != null;
13981
+ };
13982
+ /**
13983
+ * optional Annotation annotation = 2;
13984
+ * @return {?proto.clarifai.api.Annotation}
13985
+ */
13986
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getAnnotation = function () {
13987
+ return /** @type{?proto.clarifai.api.Annotation} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Annotation, 2));
13988
+ };
13989
+ /**
13990
+ * @param {?proto.clarifai.api.Annotation|undefined} value
13991
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
13992
+ */
13993
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setAnnotation = function (value) {
13994
+ return jspb.Message.setWrapperField(this, 2, value);
13995
+ };
13996
+ /**
13997
+ * Clears the message field making it undefined.
13998
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
13999
+ */
14000
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearAnnotation = function () {
14001
+ return this.setAnnotation(undefined);
14002
+ };
14003
+ /**
14004
+ * Returns whether this field is set.
14005
+ * @return {boolean}
14006
+ */
14007
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasAnnotation = function () {
14008
+ return jspb.Message.getField(this, 2) != null;
14009
+ };
14010
+ /**
14011
+ * optional bool frame_fully_processed = 3;
14012
+ * @return {boolean}
14013
+ */
14014
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getFrameFullyProcessed = function () {
14015
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
14016
+ };
14017
+ /**
14018
+ * @param {boolean} value
14019
+ * @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
14020
+ */
14021
+ proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setFrameFullyProcessed = function (value) {
14022
+ return jspb.Message.setProto3BooleanField(this, 3, value);
14023
+ };
13453
14024
  /**
13454
14025
  * List of repeated fields within this message type.
13455
14026
  * @private {!Array<number>}
@@ -34834,7 +35405,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
34834
35405
  models: jspb.Message.getFieldWithDefault(msg, 3, 0),
34835
35406
  workflows: jspb.Message.getFieldWithDefault(msg, 4, 0),
34836
35407
  modules: jspb.Message.getFieldWithDefault(msg, 5, 0),
34837
- inputs: jspb.Message.getFieldWithDefault(msg, 6, 0)
35408
+ inputs: jspb.Message.getFieldWithDefault(msg, 6, 0),
35409
+ pipelines: jspb.Message.getFieldWithDefault(msg, 7, 0)
34838
35410
  };
34839
35411
  if (includeInstance) {
34840
35412
  obj.$jspbMessageInstance = msg;
@@ -34891,6 +35463,10 @@ proto.clarifai.api.GetResourceCountsResponse.deserializeBinaryFromReader = funct
34891
35463
  var value = /** @type {number} */ (reader.readInt64());
34892
35464
  msg.setInputs(value);
34893
35465
  break;
35466
+ case 7:
35467
+ var value = /** @type {number} */ (reader.readInt64());
35468
+ msg.setPipelines(value);
35469
+ break;
34894
35470
  default:
34895
35471
  reader.skipField();
34896
35472
  break;
@@ -34940,6 +35516,10 @@ proto.clarifai.api.GetResourceCountsResponse.serializeBinaryToWriter = function
34940
35516
  if (f !== 0) {
34941
35517
  writer.writeInt64(6, f);
34942
35518
  }
35519
+ f = message.getPipelines();
35520
+ if (f !== 0) {
35521
+ writer.writeInt64(7, f);
35522
+ }
34943
35523
  };
34944
35524
  /**
34945
35525
  * optional status.Status status = 1;
@@ -35039,6 +35619,20 @@ proto.clarifai.api.GetResourceCountsResponse.prototype.getInputs = function () {
35039
35619
  proto.clarifai.api.GetResourceCountsResponse.prototype.setInputs = function (value) {
35040
35620
  return jspb.Message.setProto3IntField(this, 6, value);
35041
35621
  };
35622
+ /**
35623
+ * optional int64 pipelines = 7;
35624
+ * @return {number}
35625
+ */
35626
+ proto.clarifai.api.GetResourceCountsResponse.prototype.getPipelines = function () {
35627
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
35628
+ };
35629
+ /**
35630
+ * @param {number} value
35631
+ * @return {!proto.clarifai.api.GetResourceCountsResponse} returns this
35632
+ */
35633
+ proto.clarifai.api.GetResourceCountsResponse.prototype.setPipelines = function (value) {
35634
+ return jspb.Message.setProto3IntField(this, 7, value);
35635
+ };
35042
35636
  /**
35043
35637
  * List of repeated fields within this message type.
35044
35638
  * @private {!Array<number>}
@@ -74739,14 +75333,15 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
74739
75333
  * @private {!Array<!Array<number>>}
74740
75334
  * @const
74741
75335
  */
74742
- proto.clarifai.api.RunnerItem.oneofGroups_ = [[4, 5]];
75336
+ proto.clarifai.api.RunnerItem.oneofGroups_ = [[4, 5, 6]];
74743
75337
  /**
74744
75338
  * @enum {number}
74745
75339
  */
74746
75340
  proto.clarifai.api.RunnerItem.RequestCase = {
74747
75341
  REQUEST_NOT_SET: 0,
74748
75342
  POST_MODEL_OUTPUTS_REQUEST: 4,
74749
- SYNC_STATE_REQUEST: 5
75343
+ SYNC_STATE_REQUEST: 5,
75344
+ AUTO_ANNOTATION_REQUEST: 6
74750
75345
  };
74751
75346
  /**
74752
75347
  * @return {proto.clarifai.api.RunnerItem.RequestCase}
@@ -74785,7 +75380,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
74785
75380
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
74786
75381
  processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
74787
75382
  postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
74788
- syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
75383
+ syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f),
75384
+ autoAnnotationRequest: (f = msg.getAutoAnnotationRequest()) && proto.clarifai.api.AutoAnnotationRequest.toObject(includeInstance, f)
74789
75385
  };
74790
75386
  if (includeInstance) {
74791
75387
  obj.$jspbMessageInstance = msg;
@@ -74840,6 +75436,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function (msg, reade
74840
75436
  reader.readMessage(value, proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
74841
75437
  msg.setSyncStateRequest(value);
74842
75438
  break;
75439
+ case 6:
75440
+ var value = new proto.clarifai.api.AutoAnnotationRequest;
75441
+ reader.readMessage(value, proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader);
75442
+ msg.setAutoAnnotationRequest(value);
75443
+ break;
74843
75444
  default:
74844
75445
  reader.skipField();
74845
75446
  break;
@@ -74885,6 +75486,10 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function (message, write
74885
75486
  if (f != null) {
74886
75487
  writer.writeMessage(5, f, proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter);
74887
75488
  }
75489
+ f = message.getAutoAnnotationRequest();
75490
+ if (f != null) {
75491
+ writer.writeMessage(6, f, proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter);
75492
+ }
74888
75493
  };
74889
75494
  /**
74890
75495
  * optional string id = 1;
@@ -74998,6 +75603,362 @@ proto.clarifai.api.RunnerItem.prototype.clearSyncStateRequest = function () {
74998
75603
  proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function () {
74999
75604
  return jspb.Message.getField(this, 5) != null;
75000
75605
  };
75606
+ /**
75607
+ * optional AutoAnnotationRequest auto_annotation_request = 6;
75608
+ * @return {?proto.clarifai.api.AutoAnnotationRequest}
75609
+ */
75610
+ proto.clarifai.api.RunnerItem.prototype.getAutoAnnotationRequest = function () {
75611
+ return /** @type{?proto.clarifai.api.AutoAnnotationRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest, 6));
75612
+ };
75613
+ /**
75614
+ * @param {?proto.clarifai.api.AutoAnnotationRequest|undefined} value
75615
+ * @return {!proto.clarifai.api.RunnerItem} returns this
75616
+ */
75617
+ proto.clarifai.api.RunnerItem.prototype.setAutoAnnotationRequest = function (value) {
75618
+ return jspb.Message.setOneofWrapperField(this, 6, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
75619
+ };
75620
+ /**
75621
+ * Clears the message field making it undefined.
75622
+ * @return {!proto.clarifai.api.RunnerItem} returns this
75623
+ */
75624
+ proto.clarifai.api.RunnerItem.prototype.clearAutoAnnotationRequest = function () {
75625
+ return this.setAutoAnnotationRequest(undefined);
75626
+ };
75627
+ /**
75628
+ * Returns whether this field is set.
75629
+ * @return {boolean}
75630
+ */
75631
+ proto.clarifai.api.RunnerItem.prototype.hasAutoAnnotationRequest = function () {
75632
+ return jspb.Message.getField(this, 6) != null;
75633
+ };
75634
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75635
+ /**
75636
+ * Creates an object representation of this proto.
75637
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75638
+ * Optional fields that are not set will be set to undefined.
75639
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75640
+ * For the list of reserved names please see:
75641
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75642
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75643
+ * JSPB instance for transitional soy proto support:
75644
+ * http://goto/soy-param-migration
75645
+ * @return {!Object}
75646
+ */
75647
+ proto.clarifai.api.AutoAnnotationRequest.prototype.toObject = function (opt_includeInstance) {
75648
+ return proto.clarifai.api.AutoAnnotationRequest.toObject(opt_includeInstance, this);
75649
+ };
75650
+ /**
75651
+ * Static version of the {@see toObject} method.
75652
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75653
+ * the JSPB instance for transitional soy proto support:
75654
+ * http://goto/soy-param-migration
75655
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} msg The msg instance to transform.
75656
+ * @return {!Object}
75657
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75658
+ */
75659
+ proto.clarifai.api.AutoAnnotationRequest.toObject = function (includeInstance, msg) {
75660
+ var f, obj = {
75661
+ postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
75662
+ postAnnotationsInfo: (f = msg.getPostAnnotationsInfo()) && proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(includeInstance, f)
75663
+ };
75664
+ if (includeInstance) {
75665
+ obj.$jspbMessageInstance = msg;
75666
+ }
75667
+ return obj;
75668
+ };
75669
+ }
75670
+ /**
75671
+ * Deserializes binary data (in protobuf wire format).
75672
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75673
+ * @return {!proto.clarifai.api.AutoAnnotationRequest}
75674
+ */
75675
+ proto.clarifai.api.AutoAnnotationRequest.deserializeBinary = function (bytes) {
75676
+ var reader = new jspb.BinaryReader(bytes);
75677
+ var msg = new proto.clarifai.api.AutoAnnotationRequest;
75678
+ return proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader(msg, reader);
75679
+ };
75680
+ /**
75681
+ * Deserializes binary data (in protobuf wire format) from the
75682
+ * given reader into the given message object.
75683
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} msg The message object to deserialize into.
75684
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75685
+ * @return {!proto.clarifai.api.AutoAnnotationRequest}
75686
+ */
75687
+ proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader = function (msg, reader) {
75688
+ while (reader.nextField()) {
75689
+ if (reader.isEndGroup()) {
75690
+ break;
75691
+ }
75692
+ var field = reader.getFieldNumber();
75693
+ switch (field) {
75694
+ case 1:
75695
+ var value = new proto.clarifai.api.PostModelOutputsRequest;
75696
+ reader.readMessage(value, proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
75697
+ msg.setPostModelOutputsRequest(value);
75698
+ break;
75699
+ case 2:
75700
+ var value = new proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo;
75701
+ reader.readMessage(value, proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader);
75702
+ msg.setPostAnnotationsInfo(value);
75703
+ break;
75704
+ default:
75705
+ reader.skipField();
75706
+ break;
75707
+ }
75708
+ }
75709
+ return msg;
75710
+ };
75711
+ /**
75712
+ * Serializes the message to binary data (in protobuf wire format).
75713
+ * @return {!Uint8Array}
75714
+ */
75715
+ proto.clarifai.api.AutoAnnotationRequest.prototype.serializeBinary = function () {
75716
+ var writer = new jspb.BinaryWriter();
75717
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter(this, writer);
75718
+ return writer.getResultBuffer();
75719
+ };
75720
+ /**
75721
+ * Serializes the given message to binary data (in protobuf wire
75722
+ * format), writing to the given BinaryWriter.
75723
+ * @param {!proto.clarifai.api.AutoAnnotationRequest} message
75724
+ * @param {!jspb.BinaryWriter} writer
75725
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75726
+ */
75727
+ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter = function (message, writer) {
75728
+ var f = undefined;
75729
+ f = message.getPostModelOutputsRequest();
75730
+ if (f != null) {
75731
+ writer.writeMessage(1, f, proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter);
75732
+ }
75733
+ f = message.getPostAnnotationsInfo();
75734
+ if (f != null) {
75735
+ writer.writeMessage(2, f, proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter);
75736
+ }
75737
+ };
75738
+ if (jspb.Message.GENERATE_TO_OBJECT) {
75739
+ /**
75740
+ * Creates an object representation of this proto.
75741
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
75742
+ * Optional fields that are not set will be set to undefined.
75743
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
75744
+ * For the list of reserved names please see:
75745
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
75746
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
75747
+ * JSPB instance for transitional soy proto support:
75748
+ * http://goto/soy-param-migration
75749
+ * @return {!Object}
75750
+ */
75751
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.toObject = function (opt_includeInstance) {
75752
+ return proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(opt_includeInstance, this);
75753
+ };
75754
+ /**
75755
+ * Static version of the {@see toObject} method.
75756
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
75757
+ * the JSPB instance for transitional soy proto support:
75758
+ * http://goto/soy-param-migration
75759
+ * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} msg The msg instance to transform.
75760
+ * @return {!Object}
75761
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75762
+ */
75763
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject = function (includeInstance, msg) {
75764
+ var f, obj = {
75765
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
75766
+ authorizationValue: jspb.Message.getFieldWithDefault(msg, 2, ""),
75767
+ taskId: jspb.Message.getFieldWithDefault(msg, 3, "")
75768
+ };
75769
+ if (includeInstance) {
75770
+ obj.$jspbMessageInstance = msg;
75771
+ }
75772
+ return obj;
75773
+ };
75774
+ }
75775
+ /**
75776
+ * Deserializes binary data (in protobuf wire format).
75777
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
75778
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
75779
+ */
75780
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinary = function (bytes) {
75781
+ var reader = new jspb.BinaryReader(bytes);
75782
+ var msg = new proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo;
75783
+ return proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader(msg, reader);
75784
+ };
75785
+ /**
75786
+ * Deserializes binary data (in protobuf wire format) from the
75787
+ * given reader into the given message object.
75788
+ * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} msg The message object to deserialize into.
75789
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
75790
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
75791
+ */
75792
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader = function (msg, reader) {
75793
+ while (reader.nextField()) {
75794
+ if (reader.isEndGroup()) {
75795
+ break;
75796
+ }
75797
+ var field = reader.getFieldNumber();
75798
+ switch (field) {
75799
+ case 1:
75800
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
75801
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
75802
+ msg.setUserAppId(value);
75803
+ break;
75804
+ case 2:
75805
+ var value = /** @type {string} */ (reader.readString());
75806
+ msg.setAuthorizationValue(value);
75807
+ break;
75808
+ case 3:
75809
+ var value = /** @type {string} */ (reader.readString());
75810
+ msg.setTaskId(value);
75811
+ break;
75812
+ default:
75813
+ reader.skipField();
75814
+ break;
75815
+ }
75816
+ }
75817
+ return msg;
75818
+ };
75819
+ /**
75820
+ * Serializes the message to binary data (in protobuf wire format).
75821
+ * @return {!Uint8Array}
75822
+ */
75823
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.serializeBinary = function () {
75824
+ var writer = new jspb.BinaryWriter();
75825
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter(this, writer);
75826
+ return writer.getResultBuffer();
75827
+ };
75828
+ /**
75829
+ * Serializes the given message to binary data (in protobuf wire
75830
+ * format), writing to the given BinaryWriter.
75831
+ * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} message
75832
+ * @param {!jspb.BinaryWriter} writer
75833
+ * @suppress {unusedLocalVariables} f is only used for nested messages
75834
+ */
75835
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter = function (message, writer) {
75836
+ var f = undefined;
75837
+ f = message.getUserAppId();
75838
+ if (f != null) {
75839
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
75840
+ }
75841
+ f = message.getAuthorizationValue();
75842
+ if (f.length > 0) {
75843
+ writer.writeString(2, f);
75844
+ }
75845
+ f = message.getTaskId();
75846
+ if (f.length > 0) {
75847
+ writer.writeString(3, f);
75848
+ }
75849
+ };
75850
+ /**
75851
+ * optional UserAppIDSet user_app_id = 1;
75852
+ * @return {?proto.clarifai.api.UserAppIDSet}
75853
+ */
75854
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getUserAppId = function () {
75855
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
75856
+ };
75857
+ /**
75858
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
75859
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
75860
+ */
75861
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setUserAppId = function (value) {
75862
+ return jspb.Message.setWrapperField(this, 1, value);
75863
+ };
75864
+ /**
75865
+ * Clears the message field making it undefined.
75866
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
75867
+ */
75868
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.clearUserAppId = function () {
75869
+ return this.setUserAppId(undefined);
75870
+ };
75871
+ /**
75872
+ * Returns whether this field is set.
75873
+ * @return {boolean}
75874
+ */
75875
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.hasUserAppId = function () {
75876
+ return jspb.Message.getField(this, 1) != null;
75877
+ };
75878
+ /**
75879
+ * optional string authorization_value = 2;
75880
+ * @return {string}
75881
+ */
75882
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getAuthorizationValue = function () {
75883
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
75884
+ };
75885
+ /**
75886
+ * @param {string} value
75887
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
75888
+ */
75889
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setAuthorizationValue = function (value) {
75890
+ return jspb.Message.setProto3StringField(this, 2, value);
75891
+ };
75892
+ /**
75893
+ * optional string task_id = 3;
75894
+ * @return {string}
75895
+ */
75896
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getTaskId = function () {
75897
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
75898
+ };
75899
+ /**
75900
+ * @param {string} value
75901
+ * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
75902
+ */
75903
+ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setTaskId = function (value) {
75904
+ return jspb.Message.setProto3StringField(this, 3, value);
75905
+ };
75906
+ /**
75907
+ * optional PostModelOutputsRequest post_model_outputs_request = 1;
75908
+ * @return {?proto.clarifai.api.PostModelOutputsRequest}
75909
+ */
75910
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getPostModelOutputsRequest = function () {
75911
+ return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 1));
75912
+ };
75913
+ /**
75914
+ * @param {?proto.clarifai.api.PostModelOutputsRequest|undefined} value
75915
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75916
+ */
75917
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setPostModelOutputsRequest = function (value) {
75918
+ return jspb.Message.setWrapperField(this, 1, value);
75919
+ };
75920
+ /**
75921
+ * Clears the message field making it undefined.
75922
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75923
+ */
75924
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostModelOutputsRequest = function () {
75925
+ return this.setPostModelOutputsRequest(undefined);
75926
+ };
75927
+ /**
75928
+ * Returns whether this field is set.
75929
+ * @return {boolean}
75930
+ */
75931
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostModelOutputsRequest = function () {
75932
+ return jspb.Message.getField(this, 1) != null;
75933
+ };
75934
+ /**
75935
+ * optional PostAnnotationsInfo post_annotations_info = 2;
75936
+ * @return {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
75937
+ */
75938
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getPostAnnotationsInfo = function () {
75939
+ return /** @type{?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo, 2));
75940
+ };
75941
+ /**
75942
+ * @param {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo|undefined} value
75943
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75944
+ */
75945
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setPostAnnotationsInfo = function (value) {
75946
+ return jspb.Message.setWrapperField(this, 2, value);
75947
+ };
75948
+ /**
75949
+ * Clears the message field making it undefined.
75950
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75951
+ */
75952
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostAnnotationsInfo = function () {
75953
+ return this.setPostAnnotationsInfo(undefined);
75954
+ };
75955
+ /**
75956
+ * Returns whether this field is set.
75957
+ * @return {boolean}
75958
+ */
75959
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostAnnotationsInfo = function () {
75960
+ return jspb.Message.getField(this, 2) != null;
75961
+ };
75001
75962
  /**
75002
75963
  * Oneof group definitions for this message. Each group defines the field
75003
75964
  * numbers belonging to that group. When of these fields' value is set, all
@@ -76066,7 +77027,7 @@ proto.clarifai.api.ListCloudRegionsRequest.prototype.hasCloudProvider = function
76066
77027
  * @private {!Array<number>}
76067
77028
  * @const
76068
77029
  */
76069
- proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2];
77030
+ proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2, 3];
76070
77031
  if (jspb.Message.GENERATE_TO_OBJECT) {
76071
77032
  /**
76072
77033
  * Creates an object representation of this proto.
@@ -76095,7 +77056,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
76095
77056
  proto.clarifai.api.MultiCloudRegionResponse.toObject = function (includeInstance, msg) {
76096
77057
  var f, obj = {
76097
77058
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
76098
- regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
77059
+ regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
77060
+ cloudRegionsList: jspb.Message.toObjectList(msg.getCloudRegionsList(), proto_clarifai_api_resources_pb.CloudRegion.toObject, includeInstance)
76099
77061
  };
76100
77062
  if (includeInstance) {
76101
77063
  obj.$jspbMessageInstance = msg;
@@ -76136,6 +77098,11 @@ proto.clarifai.api.MultiCloudRegionResponse.deserializeBinaryFromReader = functi
76136
77098
  var value = /** @type {string} */ (reader.readString());
76137
77099
  msg.addRegions(value);
76138
77100
  break;
77101
+ case 3:
77102
+ var value = new proto_clarifai_api_resources_pb.CloudRegion;
77103
+ reader.readMessage(value, proto_clarifai_api_resources_pb.CloudRegion.deserializeBinaryFromReader);
77104
+ msg.addCloudRegions(value);
77105
+ break;
76139
77106
  default:
76140
77107
  reader.skipField();
76141
77108
  break;
@@ -76169,6 +77136,10 @@ proto.clarifai.api.MultiCloudRegionResponse.serializeBinaryToWriter = function (
76169
77136
  if (f.length > 0) {
76170
77137
  writer.writeRepeatedString(2, f);
76171
77138
  }
77139
+ f = message.getCloudRegionsList();
77140
+ if (f.length > 0) {
77141
+ writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.CloudRegion.serializeBinaryToWriter);
77142
+ }
76172
77143
  };
76173
77144
  /**
76174
77145
  * optional status.Status status = 1;
@@ -76227,6 +77198,35 @@ proto.clarifai.api.MultiCloudRegionResponse.prototype.addRegions = function (val
76227
77198
  proto.clarifai.api.MultiCloudRegionResponse.prototype.clearRegionsList = function () {
76228
77199
  return this.setRegionsList([]);
76229
77200
  };
77201
+ /**
77202
+ * repeated CloudRegion cloud_regions = 3;
77203
+ * @return {!Array<!proto.clarifai.api.CloudRegion>}
77204
+ */
77205
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.getCloudRegionsList = function () {
77206
+ return /** @type{!Array<!proto.clarifai.api.CloudRegion>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.CloudRegion, 3));
77207
+ };
77208
+ /**
77209
+ * @param {!Array<!proto.clarifai.api.CloudRegion>} value
77210
+ * @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
77211
+ */
77212
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.setCloudRegionsList = function (value) {
77213
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
77214
+ };
77215
+ /**
77216
+ * @param {!proto.clarifai.api.CloudRegion=} opt_value
77217
+ * @param {number=} opt_index
77218
+ * @return {!proto.clarifai.api.CloudRegion}
77219
+ */
77220
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.addCloudRegions = function (opt_value, opt_index) {
77221
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.CloudRegion, opt_index);
77222
+ };
77223
+ /**
77224
+ * Clears the list making it empty but non-null.
77225
+ * @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
77226
+ */
77227
+ proto.clarifai.api.MultiCloudRegionResponse.prototype.clearCloudRegionsList = function () {
77228
+ return this.setCloudRegionsList([]);
77229
+ };
76230
77230
  if (jspb.Message.GENERATE_TO_OBJECT) {
76231
77231
  /**
76232
77232
  * Creates an object representation of this proto.
@@ -86499,6 +87499,456 @@ proto.clarifai.api.MultiPipelineVersionRunResponse.prototype.addPipelineVersionR
86499
87499
  proto.clarifai.api.MultiPipelineVersionRunResponse.prototype.clearPipelineVersionRunsList = function () {
86500
87500
  return this.setPipelineVersionRunsList([]);
86501
87501
  };
87502
+ /**
87503
+ * List of repeated fields within this message type.
87504
+ * @private {!Array<number>}
87505
+ * @const
87506
+ */
87507
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_ = [5];
87508
+ if (jspb.Message.GENERATE_TO_OBJECT) {
87509
+ /**
87510
+ * Creates an object representation of this proto.
87511
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
87512
+ * Optional fields that are not set will be set to undefined.
87513
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
87514
+ * For the list of reserved names please see:
87515
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
87516
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
87517
+ * JSPB instance for transitional soy proto support:
87518
+ * http://goto/soy-param-migration
87519
+ * @return {!Object}
87520
+ */
87521
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.toObject = function (opt_includeInstance) {
87522
+ return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject(opt_includeInstance, this);
87523
+ };
87524
+ /**
87525
+ * Static version of the {@see toObject} method.
87526
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
87527
+ * the JSPB instance for transitional soy proto support:
87528
+ * http://goto/soy-param-migration
87529
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The msg instance to transform.
87530
+ * @return {!Object}
87531
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87532
+ */
87533
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject = function (includeInstance, msg) {
87534
+ var f, obj = {
87535
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
87536
+ pipelineId: jspb.Message.getFieldWithDefault(msg, 2, ""),
87537
+ pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
87538
+ pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 4, ""),
87539
+ statusCodesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
87540
+ page: jspb.Message.getFieldWithDefault(msg, 6, 0),
87541
+ perPage: jspb.Message.getFieldWithDefault(msg, 7, 0)
87542
+ };
87543
+ if (includeInstance) {
87544
+ obj.$jspbMessageInstance = msg;
87545
+ }
87546
+ return obj;
87547
+ };
87548
+ }
87549
+ /**
87550
+ * Deserializes binary data (in protobuf wire format).
87551
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
87552
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
87553
+ */
87554
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinary = function (bytes) {
87555
+ var reader = new jspb.BinaryReader(bytes);
87556
+ var msg = new proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest;
87557
+ return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader(msg, reader);
87558
+ };
87559
+ /**
87560
+ * Deserializes binary data (in protobuf wire format) from the
87561
+ * given reader into the given message object.
87562
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The message object to deserialize into.
87563
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
87564
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
87565
+ */
87566
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader = function (msg, reader) {
87567
+ while (reader.nextField()) {
87568
+ if (reader.isEndGroup()) {
87569
+ break;
87570
+ }
87571
+ var field = reader.getFieldNumber();
87572
+ switch (field) {
87573
+ case 1:
87574
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
87575
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
87576
+ msg.setUserAppId(value);
87577
+ break;
87578
+ case 2:
87579
+ var value = /** @type {string} */ (reader.readString());
87580
+ msg.setPipelineId(value);
87581
+ break;
87582
+ case 3:
87583
+ var value = /** @type {string} */ (reader.readString());
87584
+ msg.setPipelineVersionId(value);
87585
+ break;
87586
+ case 4:
87587
+ var value = /** @type {string} */ (reader.readString());
87588
+ msg.setPipelineVersionRunId(value);
87589
+ break;
87590
+ case 5:
87591
+ var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
87592
+ for (var i = 0; i < values.length; i++) {
87593
+ msg.addStatusCodes(values[i]);
87594
+ }
87595
+ break;
87596
+ case 6:
87597
+ var value = /** @type {number} */ (reader.readUint32());
87598
+ msg.setPage(value);
87599
+ break;
87600
+ case 7:
87601
+ var value = /** @type {number} */ (reader.readUint32());
87602
+ msg.setPerPage(value);
87603
+ break;
87604
+ default:
87605
+ reader.skipField();
87606
+ break;
87607
+ }
87608
+ }
87609
+ return msg;
87610
+ };
87611
+ /**
87612
+ * Serializes the message to binary data (in protobuf wire format).
87613
+ * @return {!Uint8Array}
87614
+ */
87615
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.serializeBinary = function () {
87616
+ var writer = new jspb.BinaryWriter();
87617
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter(this, writer);
87618
+ return writer.getResultBuffer();
87619
+ };
87620
+ /**
87621
+ * Serializes the given message to binary data (in protobuf wire
87622
+ * format), writing to the given BinaryWriter.
87623
+ * @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} message
87624
+ * @param {!jspb.BinaryWriter} writer
87625
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87626
+ */
87627
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter = function (message, writer) {
87628
+ var f = undefined;
87629
+ f = message.getUserAppId();
87630
+ if (f != null) {
87631
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
87632
+ }
87633
+ f = message.getPipelineId();
87634
+ if (f.length > 0) {
87635
+ writer.writeString(2, f);
87636
+ }
87637
+ f = message.getPipelineVersionId();
87638
+ if (f.length > 0) {
87639
+ writer.writeString(3, f);
87640
+ }
87641
+ f = message.getPipelineVersionRunId();
87642
+ if (f.length > 0) {
87643
+ writer.writeString(4, f);
87644
+ }
87645
+ f = message.getStatusCodesList();
87646
+ if (f.length > 0) {
87647
+ writer.writePackedEnum(5, f);
87648
+ }
87649
+ f = message.getPage();
87650
+ if (f !== 0) {
87651
+ writer.writeUint32(6, f);
87652
+ }
87653
+ f = message.getPerPage();
87654
+ if (f !== 0) {
87655
+ writer.writeUint32(7, f);
87656
+ }
87657
+ };
87658
+ /**
87659
+ * optional UserAppIDSet user_app_id = 1;
87660
+ * @return {?proto.clarifai.api.UserAppIDSet}
87661
+ */
87662
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getUserAppId = function () {
87663
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
87664
+ };
87665
+ /**
87666
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
87667
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87668
+ */
87669
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setUserAppId = function (value) {
87670
+ return jspb.Message.setWrapperField(this, 1, value);
87671
+ };
87672
+ /**
87673
+ * Clears the message field making it undefined.
87674
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87675
+ */
87676
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearUserAppId = function () {
87677
+ return this.setUserAppId(undefined);
87678
+ };
87679
+ /**
87680
+ * Returns whether this field is set.
87681
+ * @return {boolean}
87682
+ */
87683
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.hasUserAppId = function () {
87684
+ return jspb.Message.getField(this, 1) != null;
87685
+ };
87686
+ /**
87687
+ * optional string pipeline_id = 2;
87688
+ * @return {string}
87689
+ */
87690
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineId = function () {
87691
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
87692
+ };
87693
+ /**
87694
+ * @param {string} value
87695
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87696
+ */
87697
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineId = function (value) {
87698
+ return jspb.Message.setProto3StringField(this, 2, value);
87699
+ };
87700
+ /**
87701
+ * optional string pipeline_version_id = 3;
87702
+ * @return {string}
87703
+ */
87704
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionId = function () {
87705
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
87706
+ };
87707
+ /**
87708
+ * @param {string} value
87709
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87710
+ */
87711
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionId = function (value) {
87712
+ return jspb.Message.setProto3StringField(this, 3, value);
87713
+ };
87714
+ /**
87715
+ * optional string pipeline_version_run_id = 4;
87716
+ * @return {string}
87717
+ */
87718
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionRunId = function () {
87719
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
87720
+ };
87721
+ /**
87722
+ * @param {string} value
87723
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87724
+ */
87725
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionRunId = function (value) {
87726
+ return jspb.Message.setProto3StringField(this, 4, value);
87727
+ };
87728
+ /**
87729
+ * repeated status.StatusCode status_codes = 5;
87730
+ * @return {!Array<!proto.clarifai.api.status.StatusCode>}
87731
+ */
87732
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getStatusCodesList = function () {
87733
+ return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 5));
87734
+ };
87735
+ /**
87736
+ * @param {!Array<!proto.clarifai.api.status.StatusCode>} value
87737
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87738
+ */
87739
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setStatusCodesList = function (value) {
87740
+ return jspb.Message.setField(this, 5, value || []);
87741
+ };
87742
+ /**
87743
+ * @param {!proto.clarifai.api.status.StatusCode} value
87744
+ * @param {number=} opt_index
87745
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87746
+ */
87747
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.addStatusCodes = function (value, opt_index) {
87748
+ return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
87749
+ };
87750
+ /**
87751
+ * Clears the list making it empty but non-null.
87752
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87753
+ */
87754
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearStatusCodesList = function () {
87755
+ return this.setStatusCodesList([]);
87756
+ };
87757
+ /**
87758
+ * optional uint32 page = 6;
87759
+ * @return {number}
87760
+ */
87761
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPage = function () {
87762
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
87763
+ };
87764
+ /**
87765
+ * @param {number} value
87766
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87767
+ */
87768
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPage = function (value) {
87769
+ return jspb.Message.setProto3IntField(this, 6, value);
87770
+ };
87771
+ /**
87772
+ * optional uint32 per_page = 7;
87773
+ * @return {number}
87774
+ */
87775
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPerPage = function () {
87776
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
87777
+ };
87778
+ /**
87779
+ * @param {number} value
87780
+ * @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
87781
+ */
87782
+ proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPerPage = function (value) {
87783
+ return jspb.Message.setProto3IntField(this, 7, value);
87784
+ };
87785
+ /**
87786
+ * List of repeated fields within this message type.
87787
+ * @private {!Array<number>}
87788
+ * @const
87789
+ */
87790
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_ = [2];
87791
+ if (jspb.Message.GENERATE_TO_OBJECT) {
87792
+ /**
87793
+ * Creates an object representation of this proto.
87794
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
87795
+ * Optional fields that are not set will be set to undefined.
87796
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
87797
+ * For the list of reserved names please see:
87798
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
87799
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
87800
+ * JSPB instance for transitional soy proto support:
87801
+ * http://goto/soy-param-migration
87802
+ * @return {!Object}
87803
+ */
87804
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.toObject = function (opt_includeInstance) {
87805
+ return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject(opt_includeInstance, this);
87806
+ };
87807
+ /**
87808
+ * Static version of the {@see toObject} method.
87809
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
87810
+ * the JSPB instance for transitional soy proto support:
87811
+ * http://goto/soy-param-migration
87812
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The msg instance to transform.
87813
+ * @return {!Object}
87814
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87815
+ */
87816
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject = function (includeInstance, msg) {
87817
+ var f, obj = {
87818
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
87819
+ pipelineVersionRunStatusLogsList: jspb.Message.toObjectList(msg.getPipelineVersionRunStatusLogsList(), proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.toObject, includeInstance)
87820
+ };
87821
+ if (includeInstance) {
87822
+ obj.$jspbMessageInstance = msg;
87823
+ }
87824
+ return obj;
87825
+ };
87826
+ }
87827
+ /**
87828
+ * Deserializes binary data (in protobuf wire format).
87829
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
87830
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
87831
+ */
87832
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinary = function (bytes) {
87833
+ var reader = new jspb.BinaryReader(bytes);
87834
+ var msg = new proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse;
87835
+ return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader(msg, reader);
87836
+ };
87837
+ /**
87838
+ * Deserializes binary data (in protobuf wire format) from the
87839
+ * given reader into the given message object.
87840
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The message object to deserialize into.
87841
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
87842
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
87843
+ */
87844
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader = function (msg, reader) {
87845
+ while (reader.nextField()) {
87846
+ if (reader.isEndGroup()) {
87847
+ break;
87848
+ }
87849
+ var field = reader.getFieldNumber();
87850
+ switch (field) {
87851
+ case 1:
87852
+ var value = new proto_clarifai_api_status_status_pb.Status;
87853
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
87854
+ msg.setStatus(value);
87855
+ break;
87856
+ case 2:
87857
+ var value = new proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog;
87858
+ reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.deserializeBinaryFromReader);
87859
+ msg.addPipelineVersionRunStatusLogs(value);
87860
+ break;
87861
+ default:
87862
+ reader.skipField();
87863
+ break;
87864
+ }
87865
+ }
87866
+ return msg;
87867
+ };
87868
+ /**
87869
+ * Serializes the message to binary data (in protobuf wire format).
87870
+ * @return {!Uint8Array}
87871
+ */
87872
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.serializeBinary = function () {
87873
+ var writer = new jspb.BinaryWriter();
87874
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter(this, writer);
87875
+ return writer.getResultBuffer();
87876
+ };
87877
+ /**
87878
+ * Serializes the given message to binary data (in protobuf wire
87879
+ * format), writing to the given BinaryWriter.
87880
+ * @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} message
87881
+ * @param {!jspb.BinaryWriter} writer
87882
+ * @suppress {unusedLocalVariables} f is only used for nested messages
87883
+ */
87884
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter = function (message, writer) {
87885
+ var f = undefined;
87886
+ f = message.getStatus();
87887
+ if (f != null) {
87888
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
87889
+ }
87890
+ f = message.getPipelineVersionRunStatusLogsList();
87891
+ if (f.length > 0) {
87892
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.serializeBinaryToWriter);
87893
+ }
87894
+ };
87895
+ /**
87896
+ * optional status.Status status = 1;
87897
+ * @return {?proto.clarifai.api.status.Status}
87898
+ */
87899
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getStatus = function () {
87900
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
87901
+ };
87902
+ /**
87903
+ * @param {?proto.clarifai.api.status.Status|undefined} value
87904
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
87905
+ */
87906
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setStatus = function (value) {
87907
+ return jspb.Message.setWrapperField(this, 1, value);
87908
+ };
87909
+ /**
87910
+ * Clears the message field making it undefined.
87911
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
87912
+ */
87913
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearStatus = function () {
87914
+ return this.setStatus(undefined);
87915
+ };
87916
+ /**
87917
+ * Returns whether this field is set.
87918
+ * @return {boolean}
87919
+ */
87920
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.hasStatus = function () {
87921
+ return jspb.Message.getField(this, 1) != null;
87922
+ };
87923
+ /**
87924
+ * repeated PipelineVersionRunStatusLog pipeline_version_run_status_logs = 2;
87925
+ * @return {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>}
87926
+ */
87927
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getPipelineVersionRunStatusLogsList = function () {
87928
+ return /** @type{!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog, 2));
87929
+ };
87930
+ /**
87931
+ * @param {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} value
87932
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
87933
+ */
87934
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setPipelineVersionRunStatusLogsList = function (value) {
87935
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
87936
+ };
87937
+ /**
87938
+ * @param {!proto.clarifai.api.PipelineVersionRunStatusLog=} opt_value
87939
+ * @param {number=} opt_index
87940
+ * @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
87941
+ */
87942
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.addPipelineVersionRunStatusLogs = function (opt_value, opt_index) {
87943
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineVersionRunStatusLog, opt_index);
87944
+ };
87945
+ /**
87946
+ * Clears the list making it empty but non-null.
87947
+ * @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
87948
+ */
87949
+ proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearPipelineVersionRunStatusLogsList = function () {
87950
+ return this.setPipelineVersionRunStatusLogsList([]);
87951
+ };
86502
87952
  /**
86503
87953
  * List of repeated fields within this message type.
86504
87954
  * @private {!Array<number>}