clarifai-web-grpc 9.11.0 → 9.11.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/VERSION CHANGED
@@ -1 +1 @@
1
- 9.11.0
1
+ 9.11.1
@@ -40492,6 +40492,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
40492
40492
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
40493
40493
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
40494
40494
  preQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 4, ""),
40495
+ preQueueRandomSample: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
40495
40496
  postQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
40496
40497
  collectorSource: (f = msg.getCollectorSource()) && proto.clarifai.api.CollectorSource.toObject(includeInstance, f),
40497
40498
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
@@ -40543,6 +40544,10 @@ proto.clarifai.api.Collector.deserializeBinaryFromReader = function (msg, reader
40543
40544
  var value = /** @type {string} */ (reader.readString());
40544
40545
  msg.setPreQueueWorkflowId(value);
40545
40546
  break;
40547
+ case 8:
40548
+ var value = /** @type {number} */ (reader.readFloat());
40549
+ msg.setPreQueueRandomSample(value);
40550
+ break;
40546
40551
  case 5:
40547
40552
  var value = /** @type {string} */ (reader.readString());
40548
40553
  msg.setPostQueueWorkflowId(value);
@@ -40598,6 +40603,10 @@ proto.clarifai.api.Collector.serializeBinaryToWriter = function (message, writer
40598
40603
  if (f.length > 0) {
40599
40604
  writer.writeString(4, f);
40600
40605
  }
40606
+ f = message.getPreQueueRandomSample();
40607
+ if (f !== 0.0) {
40608
+ writer.writeFloat(8, f);
40609
+ }
40601
40610
  f = message.getPostQueueWorkflowId();
40602
40611
  if (f.length > 0) {
40603
40612
  writer.writeString(5, f);
@@ -40681,6 +40690,20 @@ proto.clarifai.api.Collector.prototype.getPreQueueWorkflowId = function () {
40681
40690
  proto.clarifai.api.Collector.prototype.setPreQueueWorkflowId = function (value) {
40682
40691
  return jspb.Message.setProto3StringField(this, 4, value);
40683
40692
  };
40693
+ /**
40694
+ * optional float pre_queue_random_sample = 8;
40695
+ * @return {number}
40696
+ */
40697
+ proto.clarifai.api.Collector.prototype.getPreQueueRandomSample = function () {
40698
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
40699
+ };
40700
+ /**
40701
+ * @param {number} value
40702
+ * @return {!proto.clarifai.api.Collector} returns this
40703
+ */
40704
+ proto.clarifai.api.Collector.prototype.setPreQueueRandomSample = function (value) {
40705
+ return jspb.Message.setProto3FloatField(this, 8, value);
40706
+ };
40684
40707
  /**
40685
40708
  * optional string post_queue_workflow_id = 5;
40686
40709
  * @return {string}
@@ -14159,7 +14159,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
14159
14159
  modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
14160
14160
  versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
14161
14161
  page: jspb.Message.getFieldWithDefault(msg, 4, 0),
14162
- perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
14162
+ perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
14163
+ search: jspb.Message.getFieldWithDefault(msg, 6, "")
14163
14164
  };
14164
14165
  if (includeInstance) {
14165
14166
  obj.$jspbMessageInstance = msg;
@@ -14212,6 +14213,10 @@ proto.clarifai.api.ListModelConceptsRequest.deserializeBinaryFromReader = functi
14212
14213
  var value = /** @type {number} */ (reader.readUint32());
14213
14214
  msg.setPerPage(value);
14214
14215
  break;
14216
+ case 6:
14217
+ var value = /** @type {string} */ (reader.readString());
14218
+ msg.setSearch(value);
14219
+ break;
14215
14220
  default:
14216
14221
  reader.skipField();
14217
14222
  break;
@@ -14257,6 +14262,10 @@ proto.clarifai.api.ListModelConceptsRequest.serializeBinaryToWriter = function (
14257
14262
  if (f !== 0) {
14258
14263
  writer.writeUint32(5, f);
14259
14264
  }
14265
+ f = message.getSearch();
14266
+ if (f.length > 0) {
14267
+ writer.writeString(6, f);
14268
+ }
14260
14269
  };
14261
14270
  /**
14262
14271
  * optional UserAppIDSet user_app_id = 1;
@@ -14342,6 +14351,20 @@ proto.clarifai.api.ListModelConceptsRequest.prototype.getPerPage = function () {
14342
14351
  proto.clarifai.api.ListModelConceptsRequest.prototype.setPerPage = function (value) {
14343
14352
  return jspb.Message.setProto3IntField(this, 5, value);
14344
14353
  };
14354
+ /**
14355
+ * optional string search = 6;
14356
+ * @return {string}
14357
+ */
14358
+ proto.clarifai.api.ListModelConceptsRequest.prototype.getSearch = function () {
14359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
14360
+ };
14361
+ /**
14362
+ * @param {string} value
14363
+ * @return {!proto.clarifai.api.ListModelConceptsRequest} returns this
14364
+ */
14365
+ proto.clarifai.api.ListModelConceptsRequest.prototype.setSearch = function (value) {
14366
+ return jspb.Message.setProto3StringField(this, 6, value);
14367
+ };
14345
14368
  if (jspb.Message.GENERATE_TO_OBJECT) {
14346
14369
  /**
14347
14370
  * Creates an object representation of this proto.
@@ -40492,6 +40492,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
40492
40492
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
40493
40493
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
40494
40494
  preQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 4, ""),
40495
+ preQueueRandomSample: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
40495
40496
  postQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
40496
40497
  collectorSource: (f = msg.getCollectorSource()) && proto.clarifai.api.CollectorSource.toObject(includeInstance, f),
40497
40498
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
@@ -40543,6 +40544,10 @@ proto.clarifai.api.Collector.deserializeBinaryFromReader = function (msg, reader
40543
40544
  var value = /** @type {string} */ (reader.readString());
40544
40545
  msg.setPreQueueWorkflowId(value);
40545
40546
  break;
40547
+ case 8:
40548
+ var value = /** @type {number} */ (reader.readFloat());
40549
+ msg.setPreQueueRandomSample(value);
40550
+ break;
40546
40551
  case 5:
40547
40552
  var value = /** @type {string} */ (reader.readString());
40548
40553
  msg.setPostQueueWorkflowId(value);
@@ -40598,6 +40603,10 @@ proto.clarifai.api.Collector.serializeBinaryToWriter = function (message, writer
40598
40603
  if (f.length > 0) {
40599
40604
  writer.writeString(4, f);
40600
40605
  }
40606
+ f = message.getPreQueueRandomSample();
40607
+ if (f !== 0.0) {
40608
+ writer.writeFloat(8, f);
40609
+ }
40601
40610
  f = message.getPostQueueWorkflowId();
40602
40611
  if (f.length > 0) {
40603
40612
  writer.writeString(5, f);
@@ -40681,6 +40690,20 @@ proto.clarifai.api.Collector.prototype.getPreQueueWorkflowId = function () {
40681
40690
  proto.clarifai.api.Collector.prototype.setPreQueueWorkflowId = function (value) {
40682
40691
  return jspb.Message.setProto3StringField(this, 4, value);
40683
40692
  };
40693
+ /**
40694
+ * optional float pre_queue_random_sample = 8;
40695
+ * @return {number}
40696
+ */
40697
+ proto.clarifai.api.Collector.prototype.getPreQueueRandomSample = function () {
40698
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
40699
+ };
40700
+ /**
40701
+ * @param {number} value
40702
+ * @return {!proto.clarifai.api.Collector} returns this
40703
+ */
40704
+ proto.clarifai.api.Collector.prototype.setPreQueueRandomSample = function (value) {
40705
+ return jspb.Message.setProto3FloatField(this, 8, value);
40706
+ };
40684
40707
  /**
40685
40708
  * optional string post_queue_workflow_id = 5;
40686
40709
  * @return {string}
@@ -14159,7 +14159,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
14159
14159
  modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
14160
14160
  versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
14161
14161
  page: jspb.Message.getFieldWithDefault(msg, 4, 0),
14162
- perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
14162
+ perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
14163
+ search: jspb.Message.getFieldWithDefault(msg, 6, "")
14163
14164
  };
14164
14165
  if (includeInstance) {
14165
14166
  obj.$jspbMessageInstance = msg;
@@ -14212,6 +14213,10 @@ proto.clarifai.api.ListModelConceptsRequest.deserializeBinaryFromReader = functi
14212
14213
  var value = /** @type {number} */ (reader.readUint32());
14213
14214
  msg.setPerPage(value);
14214
14215
  break;
14216
+ case 6:
14217
+ var value = /** @type {string} */ (reader.readString());
14218
+ msg.setSearch(value);
14219
+ break;
14215
14220
  default:
14216
14221
  reader.skipField();
14217
14222
  break;
@@ -14257,6 +14262,10 @@ proto.clarifai.api.ListModelConceptsRequest.serializeBinaryToWriter = function (
14257
14262
  if (f !== 0) {
14258
14263
  writer.writeUint32(5, f);
14259
14264
  }
14265
+ f = message.getSearch();
14266
+ if (f.length > 0) {
14267
+ writer.writeString(6, f);
14268
+ }
14260
14269
  };
14261
14270
  /**
14262
14271
  * optional UserAppIDSet user_app_id = 1;
@@ -14342,6 +14351,20 @@ proto.clarifai.api.ListModelConceptsRequest.prototype.getPerPage = function () {
14342
14351
  proto.clarifai.api.ListModelConceptsRequest.prototype.setPerPage = function (value) {
14343
14352
  return jspb.Message.setProto3IntField(this, 5, value);
14344
14353
  };
14354
+ /**
14355
+ * optional string search = 6;
14356
+ * @return {string}
14357
+ */
14358
+ proto.clarifai.api.ListModelConceptsRequest.prototype.getSearch = function () {
14359
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
14360
+ };
14361
+ /**
14362
+ * @param {string} value
14363
+ * @return {!proto.clarifai.api.ListModelConceptsRequest} returns this
14364
+ */
14365
+ proto.clarifai.api.ListModelConceptsRequest.prototype.setSearch = function (value) {
14366
+ return jspb.Message.setProto3StringField(this, 6, value);
14367
+ };
14345
14368
  if (jspb.Message.GENERATE_TO_OBJECT) {
14346
14369
  /**
14347
14370
  * Creates an object representation of this proto.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "9.11.0",
3
+ "version": "9.11.1",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -5998,6 +5998,9 @@ export class Collector extends jspb.Message {
5998
5998
  getPreQueueWorkflowId(): string;
5999
5999
  setPreQueueWorkflowId(value: string): Collector;
6000
6000
 
6001
+ getPreQueueRandomSample(): number;
6002
+ setPreQueueRandomSample(value: number): Collector;
6003
+
6001
6004
  getPostQueueWorkflowId(): string;
6002
6005
  setPostQueueWorkflowId(value: string): Collector;
6003
6006
 
@@ -6025,6 +6028,7 @@ export namespace Collector {
6025
6028
  description: string,
6026
6029
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
6027
6030
  preQueueWorkflowId: string,
6031
+ preQueueRandomSample: number,
6028
6032
  postQueueWorkflowId: string,
6029
6033
  collectorSource?: CollectorSource.AsObject,
6030
6034
  status?: proto_clarifai_api_status_status_pb.Status.AsObject,
@@ -50500,6 +50500,7 @@ proto.clarifai.api.Collector.toObject = function(includeInstance, msg) {
50500
50500
  description: jspb.Message.getFieldWithDefault(msg, 2, ""),
50501
50501
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
50502
50502
  preQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 4, ""),
50503
+ preQueueRandomSample: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
50503
50504
  postQueueWorkflowId: jspb.Message.getFieldWithDefault(msg, 5, ""),
50504
50505
  collectorSource: (f = msg.getCollectorSource()) && proto.clarifai.api.CollectorSource.toObject(includeInstance, f),
50505
50506
  status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
@@ -50556,6 +50557,10 @@ proto.clarifai.api.Collector.deserializeBinaryFromReader = function(msg, reader)
50556
50557
  var value = /** @type {string} */ (reader.readString());
50557
50558
  msg.setPreQueueWorkflowId(value);
50558
50559
  break;
50560
+ case 8:
50561
+ var value = /** @type {number} */ (reader.readFloat());
50562
+ msg.setPreQueueRandomSample(value);
50563
+ break;
50559
50564
  case 5:
50560
50565
  var value = /** @type {string} */ (reader.readString());
50561
50566
  msg.setPostQueueWorkflowId(value);
@@ -50628,6 +50633,13 @@ proto.clarifai.api.Collector.serializeBinaryToWriter = function(message, writer)
50628
50633
  f
50629
50634
  );
50630
50635
  }
50636
+ f = message.getPreQueueRandomSample();
50637
+ if (f !== 0.0) {
50638
+ writer.writeFloat(
50639
+ 8,
50640
+ f
50641
+ );
50642
+ }
50631
50643
  f = message.getPostQueueWorkflowId();
50632
50644
  if (f.length > 0) {
50633
50645
  writer.writeString(
@@ -50745,6 +50757,24 @@ proto.clarifai.api.Collector.prototype.setPreQueueWorkflowId = function(value) {
50745
50757
  };
50746
50758
 
50747
50759
 
50760
+ /**
50761
+ * optional float pre_queue_random_sample = 8;
50762
+ * @return {number}
50763
+ */
50764
+ proto.clarifai.api.Collector.prototype.getPreQueueRandomSample = function() {
50765
+ return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 8, 0.0));
50766
+ };
50767
+
50768
+
50769
+ /**
50770
+ * @param {number} value
50771
+ * @return {!proto.clarifai.api.Collector} returns this
50772
+ */
50773
+ proto.clarifai.api.Collector.prototype.setPreQueueRandomSample = function(value) {
50774
+ return jspb.Message.setProto3FloatField(this, 8, value);
50775
+ };
50776
+
50777
+
50748
50778
  /**
50749
50779
  * optional string post_queue_workflow_id = 5;
50750
50780
  * @return {string}
@@ -1162,6 +1162,9 @@ export class ListModelConceptsRequest extends jspb.Message {
1162
1162
  getPerPage(): number;
1163
1163
  setPerPage(value: number): ListModelConceptsRequest;
1164
1164
 
1165
+ getSearch(): string;
1166
+ setSearch(value: string): ListModelConceptsRequest;
1167
+
1165
1168
  serializeBinary(): Uint8Array;
1166
1169
  toObject(includeInstance?: boolean): ListModelConceptsRequest.AsObject;
1167
1170
  static toObject(includeInstance: boolean, msg: ListModelConceptsRequest): ListModelConceptsRequest.AsObject;
@@ -1177,6 +1180,7 @@ export namespace ListModelConceptsRequest {
1177
1180
  versionId: string,
1178
1181
  page: number,
1179
1182
  perPage: number,
1183
+ search: string,
1180
1184
  }
1181
1185
  }
1182
1186
 
@@ -16024,7 +16024,8 @@ proto.clarifai.api.ListModelConceptsRequest.toObject = function(includeInstance,
16024
16024
  modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
16025
16025
  versionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
16026
16026
  page: jspb.Message.getFieldWithDefault(msg, 4, 0),
16027
- perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
16027
+ perPage: jspb.Message.getFieldWithDefault(msg, 5, 0),
16028
+ search: jspb.Message.getFieldWithDefault(msg, 6, "")
16028
16029
  };
16029
16030
 
16030
16031
  if (includeInstance) {
@@ -16082,6 +16083,10 @@ proto.clarifai.api.ListModelConceptsRequest.deserializeBinaryFromReader = functi
16082
16083
  var value = /** @type {number} */ (reader.readUint32());
16083
16084
  msg.setPerPage(value);
16084
16085
  break;
16086
+ case 6:
16087
+ var value = /** @type {string} */ (reader.readString());
16088
+ msg.setSearch(value);
16089
+ break;
16085
16090
  default:
16086
16091
  reader.skipField();
16087
16092
  break;
@@ -16147,6 +16152,13 @@ proto.clarifai.api.ListModelConceptsRequest.serializeBinaryToWriter = function(m
16147
16152
  f
16148
16153
  );
16149
16154
  }
16155
+ f = message.getSearch();
16156
+ if (f.length > 0) {
16157
+ writer.writeString(
16158
+ 6,
16159
+ f
16160
+ );
16161
+ }
16150
16162
  };
16151
16163
 
16152
16164
 
@@ -16259,6 +16271,24 @@ proto.clarifai.api.ListModelConceptsRequest.prototype.setPerPage = function(valu
16259
16271
  };
16260
16272
 
16261
16273
 
16274
+ /**
16275
+ * optional string search = 6;
16276
+ * @return {string}
16277
+ */
16278
+ proto.clarifai.api.ListModelConceptsRequest.prototype.getSearch = function() {
16279
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
16280
+ };
16281
+
16282
+
16283
+ /**
16284
+ * @param {string} value
16285
+ * @return {!proto.clarifai.api.ListModelConceptsRequest} returns this
16286
+ */
16287
+ proto.clarifai.api.ListModelConceptsRequest.prototype.setSearch = function(value) {
16288
+ return jspb.Message.setProto3StringField(this, 6, value);
16289
+ };
16290
+
16291
+
16262
16292
 
16263
16293
 
16264
16294