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.
@@ -42,7 +42,6 @@ goog.object.extend(proto, google_protobuf_struct_pb);
42
42
  var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
43
43
  goog.object.extend(proto, google_protobuf_timestamp_pb);
44
44
  goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest', null, global);
45
- goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo', null, global);
46
45
  goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
47
46
  goog.exportSymbol('proto.clarifai.api.CancelInputsAddJobRequest', null, global);
48
47
  goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null, global);
@@ -615,7 +614,7 @@ if (goog.DEBUG && !COMPILED) {
615
614
  * @constructor
616
615
  */
617
616
  proto.clarifai.api.StreamLivestreamAnnotationsRequest = function(opt_data) {
618
- jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
617
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
619
618
  };
620
619
  goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
621
620
  if (goog.DEBUG && !COMPILED) {
@@ -7576,27 +7575,6 @@ if (goog.DEBUG && !COMPILED) {
7576
7575
  */
7577
7576
  proto.clarifai.api.AutoAnnotationRequest.displayName = 'proto.clarifai.api.AutoAnnotationRequest';
7578
7577
  }
7579
- /**
7580
- * Generated by JsPbCodeGenerator.
7581
- * @param {Array=} opt_data Optional initial data array, typically from a
7582
- * server response, or constructed directly in Javascript. The array is used
7583
- * in place and becomes part of the constructed object. It is not cloned.
7584
- * If no data is provided, the constructed object will be empty, but still
7585
- * valid.
7586
- * @extends {jspb.Message}
7587
- * @constructor
7588
- */
7589
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo = function(opt_data) {
7590
- jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7591
- };
7592
- goog.inherits(proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo, jspb.Message);
7593
- if (goog.DEBUG && !COMPILED) {
7594
- /**
7595
- * @public
7596
- * @override
7597
- */
7598
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.displayName = 'proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo';
7599
- }
7600
7578
  /**
7601
7579
  * Generated by JsPbCodeGenerator.
7602
7580
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -11630,13 +11608,6 @@ proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function() {
11630
11608
 
11631
11609
 
11632
11610
 
11633
- /**
11634
- * List of repeated fields within this message type.
11635
- * @private {!Array<number>}
11636
- * @const
11637
- */
11638
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
11639
-
11640
11611
 
11641
11612
 
11642
11613
  if (jspb.Message.GENERATE_TO_OBJECT) {
@@ -11669,10 +11640,7 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = funct
11669
11640
  proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function(includeInstance, msg) {
11670
11641
  var f, obj = {
11671
11642
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
11672
- inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
11673
- taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
11674
- trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
11675
- annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
11643
+ inputId: jspb.Message.getFieldWithDefault(msg, 2, "")
11676
11644
  };
11677
11645
 
11678
11646
  if (includeInstance) {
@@ -11718,18 +11686,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReade
11718
11686
  var value = /** @type {string} */ (reader.readString());
11719
11687
  msg.setInputId(value);
11720
11688
  break;
11721
- case 3:
11722
- var value = /** @type {string} */ (reader.readString());
11723
- msg.setTaskId(value);
11724
- break;
11725
- case 4:
11726
- var value = /** @type {string} */ (reader.readString());
11727
- msg.addTrackIds(value);
11728
- break;
11729
- case 5:
11730
- var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
11731
- msg.setAnnotationType(value);
11732
- break;
11733
11689
  default:
11734
11690
  reader.skipField();
11735
11691
  break;
@@ -11774,27 +11730,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter =
11774
11730
  f
11775
11731
  );
11776
11732
  }
11777
- f = message.getTaskId();
11778
- if (f.length > 0) {
11779
- writer.writeString(
11780
- 3,
11781
- f
11782
- );
11783
- }
11784
- f = message.getTrackIdsList();
11785
- if (f.length > 0) {
11786
- writer.writeRepeatedString(
11787
- 4,
11788
- f
11789
- );
11790
- }
11791
- f = message.getAnnotationType();
11792
- if (f !== 0.0) {
11793
- writer.writeEnum(
11794
- 5,
11795
- f
11796
- );
11797
- }
11798
11733
  };
11799
11734
 
11800
11735
 
@@ -11853,79 +11788,6 @@ proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = fun
11853
11788
  };
11854
11789
 
11855
11790
 
11856
- /**
11857
- * optional string task_id = 3;
11858
- * @return {string}
11859
- */
11860
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function() {
11861
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
11862
- };
11863
-
11864
-
11865
- /**
11866
- * @param {string} value
11867
- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11868
- */
11869
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function(value) {
11870
- return jspb.Message.setProto3StringField(this, 3, value);
11871
- };
11872
-
11873
-
11874
- /**
11875
- * repeated string track_ids = 4;
11876
- * @return {!Array<string>}
11877
- */
11878
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function() {
11879
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
11880
- };
11881
-
11882
-
11883
- /**
11884
- * @param {!Array<string>} value
11885
- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11886
- */
11887
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function(value) {
11888
- return jspb.Message.setField(this, 4, value || []);
11889
- };
11890
-
11891
-
11892
- /**
11893
- * @param {string} value
11894
- * @param {number=} opt_index
11895
- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11896
- */
11897
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function(value, opt_index) {
11898
- return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
11899
- };
11900
-
11901
-
11902
- /**
11903
- * Clears the list making it empty but non-null.
11904
- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11905
- */
11906
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function() {
11907
- return this.setTrackIdsList([]);
11908
- };
11909
-
11910
-
11911
- /**
11912
- * optional AnnotationDataType annotation_type = 5;
11913
- * @return {!proto.clarifai.api.AnnotationDataType}
11914
- */
11915
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function() {
11916
- return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
11917
- };
11918
-
11919
-
11920
- /**
11921
- * @param {!proto.clarifai.api.AnnotationDataType} value
11922
- * @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
11923
- */
11924
- proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function(value) {
11925
- return jspb.Message.setProto3EnumField(this, 5, value);
11926
- };
11927
-
11928
-
11929
11791
 
11930
11792
  /**
11931
11793
  * List of repeated fields within this message type.
@@ -93111,7 +92973,8 @@ proto.clarifai.api.AutoAnnotationRequest.prototype.toObject = function(opt_inclu
93111
92973
  proto.clarifai.api.AutoAnnotationRequest.toObject = function(includeInstance, msg) {
93112
92974
  var f, obj = {
93113
92975
  postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
93114
- postAnnotationsInfo: (f = msg.getPostAnnotationsInfo()) && proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(includeInstance, f)
92976
+ task: (f = msg.getTask()) && proto_clarifai_api_resources_pb.Task.toObject(includeInstance, f),
92977
+ authorizationValue: jspb.Message.getFieldWithDefault(msg, 3, "")
93115
92978
  };
93116
92979
 
93117
92980
  if (includeInstance) {
@@ -93154,9 +93017,13 @@ proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader = function(
93154
93017
  msg.setPostModelOutputsRequest(value);
93155
93018
  break;
93156
93019
  case 2:
93157
- var value = new proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo;
93158
- reader.readMessage(value,proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader);
93159
- msg.setPostAnnotationsInfo(value);
93020
+ var value = new proto_clarifai_api_resources_pb.Task;
93021
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Task.deserializeBinaryFromReader);
93022
+ msg.setTask(value);
93023
+ break;
93024
+ case 3:
93025
+ var value = /** @type {string} */ (reader.readString());
93026
+ msg.setAuthorizationValue(value);
93160
93027
  break;
93161
93028
  default:
93162
93029
  reader.skipField();
@@ -93195,146 +93062,15 @@ proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter = function(mess
93195
93062
  proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter
93196
93063
  );
93197
93064
  }
93198
- f = message.getPostAnnotationsInfo();
93065
+ f = message.getTask();
93199
93066
  if (f != null) {
93200
93067
  writer.writeMessage(
93201
93068
  2,
93202
93069
  f,
93203
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter
93204
- );
93205
- }
93206
- };
93207
-
93208
-
93209
-
93210
-
93211
-
93212
- if (jspb.Message.GENERATE_TO_OBJECT) {
93213
- /**
93214
- * Creates an object representation of this proto.
93215
- * Field names that are reserved in JavaScript and will be renamed to pb_name.
93216
- * Optional fields that are not set will be set to undefined.
93217
- * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
93218
- * For the list of reserved names please see:
93219
- * net/proto2/compiler/js/internal/generator.cc#kKeyword.
93220
- * @param {boolean=} opt_includeInstance Deprecated. whether to include the
93221
- * JSPB instance for transitional soy proto support:
93222
- * http://goto/soy-param-migration
93223
- * @return {!Object}
93224
- */
93225
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.toObject = function(opt_includeInstance) {
93226
- return proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject(opt_includeInstance, this);
93227
- };
93228
-
93229
-
93230
- /**
93231
- * Static version of the {@see toObject} method.
93232
- * @param {boolean|undefined} includeInstance Deprecated. Whether to include
93233
- * the JSPB instance for transitional soy proto support:
93234
- * http://goto/soy-param-migration
93235
- * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} msg The msg instance to transform.
93236
- * @return {!Object}
93237
- * @suppress {unusedLocalVariables} f is only used for nested messages
93238
- */
93239
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.toObject = function(includeInstance, msg) {
93240
- var f, obj = {
93241
- userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
93242
- authorizationValue: jspb.Message.getFieldWithDefault(msg, 2, ""),
93243
- taskId: jspb.Message.getFieldWithDefault(msg, 3, "")
93244
- };
93245
-
93246
- if (includeInstance) {
93247
- obj.$jspbMessageInstance = msg;
93248
- }
93249
- return obj;
93250
- };
93251
- }
93252
-
93253
-
93254
- /**
93255
- * Deserializes binary data (in protobuf wire format).
93256
- * @param {jspb.ByteSource} bytes The bytes to deserialize.
93257
- * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
93258
- */
93259
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinary = function(bytes) {
93260
- var reader = new jspb.BinaryReader(bytes);
93261
- var msg = new proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo;
93262
- return proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader(msg, reader);
93263
- };
93264
-
93265
-
93266
- /**
93267
- * Deserializes binary data (in protobuf wire format) from the
93268
- * given reader into the given message object.
93269
- * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} msg The message object to deserialize into.
93270
- * @param {!jspb.BinaryReader} reader The BinaryReader to use.
93271
- * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
93272
- */
93273
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.deserializeBinaryFromReader = function(msg, reader) {
93274
- while (reader.nextField()) {
93275
- if (reader.isEndGroup()) {
93276
- break;
93277
- }
93278
- var field = reader.getFieldNumber();
93279
- switch (field) {
93280
- case 1:
93281
- var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
93282
- reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
93283
- msg.setUserAppId(value);
93284
- break;
93285
- case 2:
93286
- var value = /** @type {string} */ (reader.readString());
93287
- msg.setAuthorizationValue(value);
93288
- break;
93289
- case 3:
93290
- var value = /** @type {string} */ (reader.readString());
93291
- msg.setTaskId(value);
93292
- break;
93293
- default:
93294
- reader.skipField();
93295
- break;
93296
- }
93297
- }
93298
- return msg;
93299
- };
93300
-
93301
-
93302
- /**
93303
- * Serializes the message to binary data (in protobuf wire format).
93304
- * @return {!Uint8Array}
93305
- */
93306
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.serializeBinary = function() {
93307
- var writer = new jspb.BinaryWriter();
93308
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter(this, writer);
93309
- return writer.getResultBuffer();
93310
- };
93311
-
93312
-
93313
- /**
93314
- * Serializes the given message to binary data (in protobuf wire
93315
- * format), writing to the given BinaryWriter.
93316
- * @param {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} message
93317
- * @param {!jspb.BinaryWriter} writer
93318
- * @suppress {unusedLocalVariables} f is only used for nested messages
93319
- */
93320
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWriter = function(message, writer) {
93321
- var f = undefined;
93322
- f = message.getUserAppId();
93323
- if (f != null) {
93324
- writer.writeMessage(
93325
- 1,
93326
- f,
93327
- proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
93070
+ proto_clarifai_api_resources_pb.Task.serializeBinaryToWriter
93328
93071
  );
93329
93072
  }
93330
93073
  f = message.getAuthorizationValue();
93331
- if (f.length > 0) {
93332
- writer.writeString(
93333
- 2,
93334
- f
93335
- );
93336
- }
93337
- f = message.getTaskId();
93338
93074
  if (f.length > 0) {
93339
93075
  writer.writeString(
93340
93076
  3,
@@ -93344,79 +93080,6 @@ proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.serializeBinaryToWr
93344
93080
  };
93345
93081
 
93346
93082
 
93347
- /**
93348
- * optional UserAppIDSet user_app_id = 1;
93349
- * @return {?proto.clarifai.api.UserAppIDSet}
93350
- */
93351
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getUserAppId = function() {
93352
- return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
93353
- jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
93354
- };
93355
-
93356
-
93357
- /**
93358
- * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
93359
- * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93360
- */
93361
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setUserAppId = function(value) {
93362
- return jspb.Message.setWrapperField(this, 1, value);
93363
- };
93364
-
93365
-
93366
- /**
93367
- * Clears the message field making it undefined.
93368
- * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93369
- */
93370
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.clearUserAppId = function() {
93371
- return this.setUserAppId(undefined);
93372
- };
93373
-
93374
-
93375
- /**
93376
- * Returns whether this field is set.
93377
- * @return {boolean}
93378
- */
93379
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.hasUserAppId = function() {
93380
- return jspb.Message.getField(this, 1) != null;
93381
- };
93382
-
93383
-
93384
- /**
93385
- * optional string authorization_value = 2;
93386
- * @return {string}
93387
- */
93388
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getAuthorizationValue = function() {
93389
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
93390
- };
93391
-
93392
-
93393
- /**
93394
- * @param {string} value
93395
- * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93396
- */
93397
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setAuthorizationValue = function(value) {
93398
- return jspb.Message.setProto3StringField(this, 2, value);
93399
- };
93400
-
93401
-
93402
- /**
93403
- * optional string task_id = 3;
93404
- * @return {string}
93405
- */
93406
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.getTaskId = function() {
93407
- return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
93408
- };
93409
-
93410
-
93411
- /**
93412
- * @param {string} value
93413
- * @return {!proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} returns this
93414
- */
93415
- proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo.prototype.setTaskId = function(value) {
93416
- return jspb.Message.setProto3StringField(this, 3, value);
93417
- };
93418
-
93419
-
93420
93083
  /**
93421
93084
  * optional PostModelOutputsRequest post_model_outputs_request = 1;
93422
93085
  * @return {?proto.clarifai.api.PostModelOutputsRequest}
@@ -93455,20 +93118,20 @@ proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostModelOutputsRequest =
93455
93118
 
93456
93119
 
93457
93120
  /**
93458
- * optional PostAnnotationsInfo post_annotations_info = 2;
93459
- * @return {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo}
93121
+ * optional Task task = 2;
93122
+ * @return {?proto.clarifai.api.Task}
93460
93123
  */
93461
- proto.clarifai.api.AutoAnnotationRequest.prototype.getPostAnnotationsInfo = function() {
93462
- return /** @type{?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo} */ (
93463
- jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo, 2));
93124
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getTask = function() {
93125
+ return /** @type{?proto.clarifai.api.Task} */ (
93126
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Task, 2));
93464
93127
  };
93465
93128
 
93466
93129
 
93467
93130
  /**
93468
- * @param {?proto.clarifai.api.AutoAnnotationRequest.PostAnnotationsInfo|undefined} value
93131
+ * @param {?proto.clarifai.api.Task|undefined} value
93469
93132
  * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93470
93133
  */
93471
- proto.clarifai.api.AutoAnnotationRequest.prototype.setPostAnnotationsInfo = function(value) {
93134
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setTask = function(value) {
93472
93135
  return jspb.Message.setWrapperField(this, 2, value);
93473
93136
  };
93474
93137
 
@@ -93477,8 +93140,8 @@ proto.clarifai.api.AutoAnnotationRequest.prototype.setPostAnnotationsInfo = func
93477
93140
  * Clears the message field making it undefined.
93478
93141
  * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93479
93142
  */
93480
- proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostAnnotationsInfo = function() {
93481
- return this.setPostAnnotationsInfo(undefined);
93143
+ proto.clarifai.api.AutoAnnotationRequest.prototype.clearTask = function() {
93144
+ return this.setTask(undefined);
93482
93145
  };
93483
93146
 
93484
93147
 
@@ -93486,11 +93149,29 @@ proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostAnnotationsInfo = fu
93486
93149
  * Returns whether this field is set.
93487
93150
  * @return {boolean}
93488
93151
  */
93489
- proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostAnnotationsInfo = function() {
93152
+ proto.clarifai.api.AutoAnnotationRequest.prototype.hasTask = function() {
93490
93153
  return jspb.Message.getField(this, 2) != null;
93491
93154
  };
93492
93155
 
93493
93156
 
93157
+ /**
93158
+ * optional string authorization_value = 3;
93159
+ * @return {string}
93160
+ */
93161
+ proto.clarifai.api.AutoAnnotationRequest.prototype.getAuthorizationValue = function() {
93162
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
93163
+ };
93164
+
93165
+
93166
+ /**
93167
+ * @param {string} value
93168
+ * @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
93169
+ */
93170
+ proto.clarifai.api.AutoAnnotationRequest.prototype.setAuthorizationValue = function(value) {
93171
+ return jspb.Message.setProto3StringField(this, 3, value);
93172
+ };
93173
+
93174
+
93494
93175
 
93495
93176
  /**
93496
93177
  * Oneof group definitions for this message. Each group defines the field
@@ -309,6 +309,7 @@ export enum StatusCode {
309
309
  REDIS_STREAM_ERR = 45003,
310
310
  REDIS_NO_CONSUMERS = 45004,
311
311
  REDIS_STREAM_BACKOFF = 45005,
312
+ REDIS_CHANNEL_ERR = 45006,
312
313
  SIGNUP_EVENT_ERROR = 46001,
313
314
  SIGNUP_FLAGGED = 46002,
314
315
  FILETYPE_UNSUPPORTED = 46003,
@@ -332,6 +332,7 @@ proto.clarifai.api.status.StatusCode = {
332
332
  REDIS_STREAM_ERR: 45003,
333
333
  REDIS_NO_CONSUMERS: 45004,
334
334
  REDIS_STREAM_BACKOFF: 45005,
335
+ REDIS_CHANNEL_ERR: 45006,
335
336
  SIGNUP_EVENT_ERROR: 46001,
336
337
  SIGNUP_FLAGGED: 46002,
337
338
  FILETYPE_UNSUPPORTED: 46003,