clarifai-web-grpc 12.0.2 → 12.0.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -40,7 +40,6 @@ 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
42
  goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest', null, global);
43
- goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo', null, global);
44
43
  goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
45
44
  goog.exportSymbol('proto.clarifai.api.CancelInputsAddJobRequest', null, global);
46
45
  goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null, global);
@@ -613,7 +612,7 @@ if (goog.DEBUG && !COMPILED) {
613
612
  * @constructor
614
613
  */
615
614
  proto.clarifai.api.StreamLivestreamAnnotationsRequest = function (opt_data) {
616
- jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
615
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
617
616
  };
618
617
  goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
619
618
  if (goog.DEBUG && !COMPILED) {
@@ -7574,27 +7573,6 @@ if (goog.DEBUG && !COMPILED) {
7574
7573
  */
7575
7574
  proto.clarifai.api.AutoAnnotationRequest.displayName = 'proto.clarifai.api.AutoAnnotationRequest';
7576
7575
  }
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
- }
7598
7576
  /**
7599
7577
  * Generated by JsPbCodeGenerator.
7600
7578
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11233,12 +11211,6 @@ proto.clarifai.api.StreamAnnotationsRequest.prototype.clearWorker = function ()
11233
11211
  proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function () {
11234
11212
  return jspb.Message.getField(this, 9) != null;
11235
11213
  };
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
11214
  if (jspb.Message.GENERATE_TO_OBJECT) {
11243
11215
  /**
11244
11216
  * Creates an object representation of this proto.
@@ -11267,10 +11239,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
11267
11239
  proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function (includeInstance, msg) {
11268
11240
  var f, obj = {
11269
11241
  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)
11242
+ inputId: jspb.Message.getFieldWithDefault(msg, 2, "")
11274
11243
  };
11275
11244
  if (includeInstance) {
11276
11245
  obj.$jspbMessageInstance = msg;
@@ -11311,18 +11280,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReade
11311
11280
  var value = /** @type {string} */ (reader.readString());
11312
11281
  msg.setInputId(value);
11313
11282
  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
11283
  default:
11327
11284
  reader.skipField();
11328
11285
  break;
@@ -11356,18 +11313,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter =
11356
11313
  if (f.length > 0) {
11357
11314
  writer.writeString(2, f);
11358
11315
  }
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
11316
  };
11372
11317
  /**
11373
11318
  * optional UserAppIDSet user_app_id = 1;
@@ -11411,63 +11356,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getInputId = fun
11411
11356
  proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = function (value) {
11412
11357
  return jspb.Message.setProto3StringField(this, 2, value);
11413
11358
  };
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
- };
11471
11359
  /**
11472
11360
  * List of repeated fields within this message type.
11473
11361
  * @private {!Array<number>}
@@ -75659,7 +75547,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
75659
75547
  proto.clarifai.api.AutoAnnotationRequest.toObject = function (includeInstance, msg) {
75660
75548
  var f, obj = {
75661
75549
  postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
75662
- postAnnotationsInfo: (f = msg.getPostAnnotationsInfo()) && proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(includeInstance, f)
75550
+ task: (f = msg.getTask()) && proto_clarifai_api_resources_pb.Task.toObject(includeInstance, f),
75551
+ authorizationValue: jspb.Message.getFieldWithDefault(msg, 3, "")
75663
75552
  };
75664
75553
  if (includeInstance) {
75665
75554
  obj.$jspbMessageInstance = msg;
@@ -75697,9 +75586,13 @@ proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader = function
75697
75586
  msg.setPostModelOutputsRequest(value);
75698
75587
  break;
75699
75588
  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);
75589
+ var value = new proto_clarifai_api_resources_pb.Task;
75590
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Task.deserializeBinaryFromReader);
75591
+ msg.setTask(value);
75592
+ break;
75593
+ case 3:
75594
+ var value = /** @type {string} */ (reader.readString());
75595
+ msg.setAuthorizationValue(value);
75703
75596
  break;
75704
75597
  default:
75705
75598
  reader.skipField();
@@ -75730,179 +75623,15 @@ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter = function (mes
75730
75623
  if (f != null) {
75731
75624
  writer.writeMessage(1, f, proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter);
75732
75625
  }
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();
75626
+ f = message.getTask();
75838
75627
  if (f != null) {
75839
- writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
75628
+ writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Task.serializeBinaryToWriter);
75840
75629
  }
75841
75630
  f = message.getAuthorizationValue();
75842
- if (f.length > 0) {
75843
- writer.writeString(2, f);
75844
- }
75845
- f = message.getTaskId();
75846
75631
  if (f.length > 0) {
75847
75632
  writer.writeString(3, f);
75848
75633
  }
75849
75634
  };
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
75635
  /**
75907
75636
  * optional PostModelOutputsRequest post_model_outputs_request = 1;
75908
75637
  * @return {?proto.clarifai.api.PostModelOutputsRequest}
@@ -75932,33 +75661,47 @@ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostModelOutputsRequest =
75932
75661
  return jspb.Message.getField(this, 1) != null;
75933
75662
  };
75934
75663
  /**
75935
- * optional PostAnnotationsInfo post_annotations_info = 2;
75936
- * @return {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
75664
+ * optional Task task = 2;
75665
+ * @return {?proto.clarifai.api.Task}
75937
75666
  */
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));
75667
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getTask = function () {
75668
+ return /** @type{?proto.clarifai.api.Task} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Task, 2));
75940
75669
  };
75941
75670
  /**
75942
- * @param {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo|undefined} value
75671
+ * @param {?proto.clarifai.api.Task|undefined} value
75943
75672
  * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75944
75673
  */
75945
- proto.clarifai.api.AutoAnnotationRequest.prototype.setPostAnnotationsInfo = function (value) {
75674
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setTask = function (value) {
75946
75675
  return jspb.Message.setWrapperField(this, 2, value);
75947
75676
  };
75948
75677
  /**
75949
75678
  * Clears the message field making it undefined.
75950
75679
  * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75951
75680
  */
75952
- proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostAnnotationsInfo = function () {
75953
- return this.setPostAnnotationsInfo(undefined);
75681
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearTask = function () {
75682
+ return this.setTask(undefined);
75954
75683
  };
75955
75684
  /**
75956
75685
  * Returns whether this field is set.
75957
75686
  * @return {boolean}
75958
75687
  */
75959
- proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostAnnotationsInfo = function () {
75688
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasTask = function () {
75960
75689
  return jspb.Message.getField(this, 2) != null;
75961
75690
  };
75691
+ /**
75692
+ * optional string authorization_value = 3;
75693
+ * @return {string}
75694
+ */
75695
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getAuthorizationValue = function () {
75696
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
75697
+ };
75698
+ /**
75699
+ * @param {string} value
75700
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
75701
+ */
75702
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setAuthorizationValue = function (value) {
75703
+ return jspb.Message.setProto3StringField(this, 3, value);
75704
+ };
75962
75705
  /**
75963
75706
  * Oneof group definitions for this message. Each group defines the field
75964
75707
  * numbers belonging to that group. When of these fields' value is set, all
@@ -330,6 +330,7 @@ proto.clarifai.api.status.StatusCode = {
330
330
  REDIS_STREAM_ERR: 45003,
331
331
  REDIS_NO_CONSUMERS: 45004,
332
332
  REDIS_STREAM_BACKOFF: 45005,
333
+ REDIS_CHANNEL_ERR: 45006,
333
334
  SIGNUP_EVENT_ERROR: 46001,
334
335
  SIGNUP_FLAGGED: 46002,
335
336
  FILETYPE_UNSUPPORTED: 46003,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "12.0.2",
3
+ "version": "12.0.4",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -257,17 +257,6 @@ export class StreamLivestreamAnnotationsRequest extends jspb.Message {
257
257
  getInputId(): string;
258
258
  setInputId(value: string): StreamLivestreamAnnotationsRequest;
259
259
 
260
- getTaskId(): string;
261
- setTaskId(value: string): StreamLivestreamAnnotationsRequest;
262
-
263
- getTrackIdsList(): Array<string>;
264
- setTrackIdsList(value: Array<string>): StreamLivestreamAnnotationsRequest;
265
- clearTrackIdsList(): StreamLivestreamAnnotationsRequest;
266
- addTrackIds(value: string, index?: number): StreamLivestreamAnnotationsRequest;
267
-
268
- getAnnotationType(): proto_clarifai_api_resources_pb.AnnotationDataType;
269
- setAnnotationType(value: proto_clarifai_api_resources_pb.AnnotationDataType): StreamLivestreamAnnotationsRequest;
270
-
271
260
  serializeBinary(): Uint8Array;
272
261
  toObject(includeInstance?: boolean): StreamLivestreamAnnotationsRequest.AsObject;
273
262
  static toObject(includeInstance: boolean, msg: StreamLivestreamAnnotationsRequest): StreamLivestreamAnnotationsRequest.AsObject;
@@ -280,9 +269,6 @@ export namespace StreamLivestreamAnnotationsRequest {
280
269
  export type AsObject = {
281
270
  userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
282
271
  inputId: string,
283
- taskId: string,
284
- trackIdsList: Array<string>,
285
- annotationType: proto_clarifai_api_resources_pb.AnnotationDataType,
286
272
  }
287
273
  }
288
274
 
@@ -10605,10 +10591,13 @@ export class AutoAnnotationRequest extends jspb.Message {
10605
10591
  hasPostModelOutputsRequest(): boolean;
10606
10592
  clearPostModelOutputsRequest(): AutoAnnotationRequest;
10607
10593
 
10608
- getPostAnnotationsInfo(): AutoAnnotationRequest.PostAnnotationsInfo | undefined;
10609
- setPostAnnotationsInfo(value?: AutoAnnotationRequest.PostAnnotationsInfo): AutoAnnotationRequest;
10610
- hasPostAnnotationsInfo(): boolean;
10611
- clearPostAnnotationsInfo(): AutoAnnotationRequest;
10594
+ getTask(): proto_clarifai_api_resources_pb.Task | undefined;
10595
+ setTask(value?: proto_clarifai_api_resources_pb.Task): AutoAnnotationRequest;
10596
+ hasTask(): boolean;
10597
+ clearTask(): AutoAnnotationRequest;
10598
+
10599
+ getAuthorizationValue(): string;
10600
+ setAuthorizationValue(value: string): AutoAnnotationRequest;
10612
10601
 
10613
10602
  serializeBinary(): Uint8Array;
10614
10603
  toObject(includeInstance?: boolean): AutoAnnotationRequest.AsObject;
@@ -10621,37 +10610,9 @@ export class AutoAnnotationRequest extends jspb.Message {
10621
10610
  export namespace AutoAnnotationRequest {
10622
10611
  export type AsObject = {
10623
10612
  postModelOutputsRequest?: PostModelOutputsRequest.AsObject,
10624
- postAnnotationsInfo?: AutoAnnotationRequest.PostAnnotationsInfo.AsObject,
10625
- }
10626
-
10627
- export class PostAnnotationsInfo extends jspb.Message {
10628
- getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
10629
- setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PostAnnotationsInfo;
10630
- hasUserAppId(): boolean;
10631
- clearUserAppId(): PostAnnotationsInfo;
10632
-
10633
- getAuthorizationValue(): string;
10634
- setAuthorizationValue(value: string): PostAnnotationsInfo;
10635
-
10636
- getTaskId(): string;
10637
- setTaskId(value: string): PostAnnotationsInfo;
10638
-
10639
- serializeBinary(): Uint8Array;
10640
- toObject(includeInstance?: boolean): PostAnnotationsInfo.AsObject;
10641
- static toObject(includeInstance: boolean, msg: PostAnnotationsInfo): PostAnnotationsInfo.AsObject;
10642
- static serializeBinaryToWriter(message: PostAnnotationsInfo, writer: jspb.BinaryWriter): void;
10643
- static deserializeBinary(bytes: Uint8Array): PostAnnotationsInfo;
10644
- static deserializeBinaryFromReader(message: PostAnnotationsInfo, reader: jspb.BinaryReader): PostAnnotationsInfo;
10645
- }
10646
-
10647
- export namespace PostAnnotationsInfo {
10648
- export type AsObject = {
10649
- userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
10650
- authorizationValue: string,
10651
- taskId: string,
10652
- }
10613
+ task?: proto_clarifai_api_resources_pb.Task.AsObject,
10614
+ authorizationValue: string,
10653
10615
  }
10654
-
10655
10616
  }
10656
10617
 
10657
10618
  export class RunnerItemOutput extends jspb.Message {