clarifai-web-grpc 11.6.4 → 11.6.6

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
- 11.6.4
1
+ 11.6.6
@@ -12114,6 +12114,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
12114
12114
  featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
12115
12115
  starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
12116
12116
  templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
12117
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
12117
12118
  search: jspb.Message.getFieldWithDefault(msg, 15, ""),
12118
12119
  query: jspb.Message.getFieldWithDefault(msg, 8, ""),
12119
12120
  name: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -12202,6 +12203,11 @@ proto.clarifai.api.ListAppsRequest.deserializeBinaryFromReader = function (msg,
12202
12203
  var value = /** @type {boolean} */ (reader.readBool());
12203
12204
  msg.setTemplateOnly(value);
12204
12205
  break;
12206
+ case 18:
12207
+ var value = new proto_clarifai_api_resources_pb.Visibility;
12208
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
12209
+ msg.setVisibility(value);
12210
+ break;
12205
12211
  case 15:
12206
12212
  var value = /** @type {string} */ (reader.readString());
12207
12213
  msg.setSearch(value);
@@ -12295,6 +12301,10 @@ proto.clarifai.api.ListAppsRequest.serializeBinaryToWriter = function (message,
12295
12301
  if (f) {
12296
12302
  writer.writeBool(16, f);
12297
12303
  }
12304
+ f = message.getVisibility();
12305
+ if (f != null) {
12306
+ writer.writeMessage(18, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
12307
+ }
12298
12308
  f = message.getSearch();
12299
12309
  if (f.length > 0) {
12300
12310
  writer.writeString(15, f);
@@ -12593,6 +12603,34 @@ proto.clarifai.api.ListAppsRequest.prototype.getTemplateOnly = function () {
12593
12603
  proto.clarifai.api.ListAppsRequest.prototype.setTemplateOnly = function (value) {
12594
12604
  return jspb.Message.setProto3BooleanField(this, 16, value);
12595
12605
  };
12606
+ /**
12607
+ * optional Visibility visibility = 18;
12608
+ * @return {?proto.clarifai.api.Visibility}
12609
+ */
12610
+ proto.clarifai.api.ListAppsRequest.prototype.getVisibility = function () {
12611
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 18));
12612
+ };
12613
+ /**
12614
+ * @param {?proto.clarifai.api.Visibility|undefined} value
12615
+ * @return {!proto.clarifai.api.ListAppsRequest} returns this
12616
+ */
12617
+ proto.clarifai.api.ListAppsRequest.prototype.setVisibility = function (value) {
12618
+ return jspb.Message.setWrapperField(this, 18, value);
12619
+ };
12620
+ /**
12621
+ * Clears the message field making it undefined.
12622
+ * @return {!proto.clarifai.api.ListAppsRequest} returns this
12623
+ */
12624
+ proto.clarifai.api.ListAppsRequest.prototype.clearVisibility = function () {
12625
+ return this.setVisibility(undefined);
12626
+ };
12627
+ /**
12628
+ * Returns whether this field is set.
12629
+ * @return {boolean}
12630
+ */
12631
+ proto.clarifai.api.ListAppsRequest.prototype.hasVisibility = function () {
12632
+ return jspb.Message.getField(this, 18) != null;
12633
+ };
12596
12634
  /**
12597
12635
  * optional string search = 15;
12598
12636
  * @return {string}
@@ -31349,7 +31387,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
31349
31387
  source: jspb.Message.getFieldWithDefault(msg, 30, 0),
31350
31388
  creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
31351
31389
  minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0),
31352
- showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false)
31390
+ showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
31391
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f)
31353
31392
  };
31354
31393
  if (includeInstance) {
31355
31394
  obj.$jspbMessageInstance = msg;
@@ -31510,6 +31549,11 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
31510
31549
  var value = /** @type {boolean} */ (reader.readBool());
31511
31550
  msg.setShowReplicas(value);
31512
31551
  break;
31552
+ case 35:
31553
+ var value = new proto_clarifai_api_resources_pb.Visibility;
31554
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
31555
+ msg.setVisibility(value);
31556
+ break;
31513
31557
  default:
31514
31558
  reader.skipField();
31515
31559
  break;
@@ -31663,6 +31707,10 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
31663
31707
  if (f) {
31664
31708
  writer.writeBool(34, f);
31665
31709
  }
31710
+ f = message.getVisibility();
31711
+ if (f != null) {
31712
+ writer.writeMessage(35, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
31713
+ }
31666
31714
  };
31667
31715
  /**
31668
31716
  * optional UserAppIDSet user_app_id = 1;
@@ -32301,6 +32349,34 @@ proto.clarifai.api.ListModelsRequest.prototype.getShowReplicas = function () {
32301
32349
  proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function (value) {
32302
32350
  return jspb.Message.setProto3BooleanField(this, 34, value);
32303
32351
  };
32352
+ /**
32353
+ * optional Visibility visibility = 35;
32354
+ * @return {?proto.clarifai.api.Visibility}
32355
+ */
32356
+ proto.clarifai.api.ListModelsRequest.prototype.getVisibility = function () {
32357
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 35));
32358
+ };
32359
+ /**
32360
+ * @param {?proto.clarifai.api.Visibility|undefined} value
32361
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
32362
+ */
32363
+ proto.clarifai.api.ListModelsRequest.prototype.setVisibility = function (value) {
32364
+ return jspb.Message.setWrapperField(this, 35, value);
32365
+ };
32366
+ /**
32367
+ * Clears the message field making it undefined.
32368
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
32369
+ */
32370
+ proto.clarifai.api.ListModelsRequest.prototype.clearVisibility = function () {
32371
+ return this.setVisibility(undefined);
32372
+ };
32373
+ /**
32374
+ * Returns whether this field is set.
32375
+ * @return {boolean}
32376
+ */
32377
+ proto.clarifai.api.ListModelsRequest.prototype.hasVisibility = function () {
32378
+ return jspb.Message.getField(this, 35) != null;
32379
+ };
32304
32380
  if (jspb.Message.GENERATE_TO_OBJECT) {
32305
32381
  /**
32306
32382
  * Creates an object representation of this proto.
@@ -51377,6 +51453,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
51377
51453
  featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
51378
51454
  starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
51379
51455
  bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
51456
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
51380
51457
  search: jspb.Message.getFieldWithDefault(msg, 16, ""),
51381
51458
  query: jspb.Message.getFieldWithDefault(msg, 8, ""),
51382
51459
  id: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -51461,6 +51538,11 @@ proto.clarifai.api.ListWorkflowsRequest.deserializeBinaryFromReader = function (
51461
51538
  var value = /** @type {boolean} */ (reader.readBool());
51462
51539
  msg.setBookmark(value);
51463
51540
  break;
51541
+ case 17:
51542
+ var value = new proto_clarifai_api_resources_pb.Visibility;
51543
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
51544
+ msg.setVisibility(value);
51545
+ break;
51464
51546
  case 16:
51465
51547
  var value = /** @type {string} */ (reader.readString());
51466
51548
  msg.setSearch(value);
@@ -51550,6 +51632,10 @@ proto.clarifai.api.ListWorkflowsRequest.serializeBinaryToWriter = function (mess
51550
51632
  if (f) {
51551
51633
  writer.writeBool(15, f);
51552
51634
  }
51635
+ f = message.getVisibility();
51636
+ if (f != null) {
51637
+ writer.writeMessage(17, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
51638
+ }
51553
51639
  f = message.getSearch();
51554
51640
  if (f.length > 0) {
51555
51641
  writer.writeString(16, f);
@@ -51820,6 +51906,34 @@ proto.clarifai.api.ListWorkflowsRequest.prototype.getBookmark = function () {
51820
51906
  proto.clarifai.api.ListWorkflowsRequest.prototype.setBookmark = function (value) {
51821
51907
  return jspb.Message.setProto3BooleanField(this, 15, value);
51822
51908
  };
51909
+ /**
51910
+ * optional Visibility visibility = 17;
51911
+ * @return {?proto.clarifai.api.Visibility}
51912
+ */
51913
+ proto.clarifai.api.ListWorkflowsRequest.prototype.getVisibility = function () {
51914
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 17));
51915
+ };
51916
+ /**
51917
+ * @param {?proto.clarifai.api.Visibility|undefined} value
51918
+ * @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
51919
+ */
51920
+ proto.clarifai.api.ListWorkflowsRequest.prototype.setVisibility = function (value) {
51921
+ return jspb.Message.setWrapperField(this, 17, value);
51922
+ };
51923
+ /**
51924
+ * Clears the message field making it undefined.
51925
+ * @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
51926
+ */
51927
+ proto.clarifai.api.ListWorkflowsRequest.prototype.clearVisibility = function () {
51928
+ return this.setVisibility(undefined);
51929
+ };
51930
+ /**
51931
+ * Returns whether this field is set.
51932
+ * @return {boolean}
51933
+ */
51934
+ proto.clarifai.api.ListWorkflowsRequest.prototype.hasVisibility = function () {
51935
+ return jspb.Message.getField(this, 17) != null;
51936
+ };
51823
51937
  /**
51824
51938
  * optional string search = 16;
51825
51939
  * @return {string}
@@ -60804,7 +60918,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
60804
60918
  bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
60805
60919
  search: jspb.Message.getFieldWithDefault(msg, 14, ""),
60806
60920
  name: jspb.Message.getFieldWithDefault(msg, 12, ""),
60807
- filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
60921
+ filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
60922
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f)
60808
60923
  };
60809
60924
  if (includeInstance) {
60810
60925
  obj.$jspbMessageInstance = msg;
@@ -60893,6 +61008,11 @@ proto.clarifai.api.ListModulesRequest.deserializeBinaryFromReader = function (ms
60893
61008
  var value = /** @type {boolean} */ (reader.readBool());
60894
61009
  msg.setFilterByUserId(value);
60895
61010
  break;
61011
+ case 15:
61012
+ var value = new proto_clarifai_api_resources_pb.Visibility;
61013
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
61014
+ msg.setVisibility(value);
61015
+ break;
60896
61016
  default:
60897
61017
  reader.skipField();
60898
61018
  break;
@@ -60974,6 +61094,10 @@ proto.clarifai.api.ListModulesRequest.serializeBinaryToWriter = function (messag
60974
61094
  if (f) {
60975
61095
  writer.writeBool(13, f);
60976
61096
  }
61097
+ f = message.getVisibility();
61098
+ if (f != null) {
61099
+ writer.writeMessage(15, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
61100
+ }
60977
61101
  };
60978
61102
  /**
60979
61103
  * optional UserAppIDSet user_app_id = 1;
@@ -61256,6 +61380,34 @@ proto.clarifai.api.ListModulesRequest.prototype.getFilterByUserId = function ()
61256
61380
  proto.clarifai.api.ListModulesRequest.prototype.setFilterByUserId = function (value) {
61257
61381
  return jspb.Message.setProto3BooleanField(this, 13, value);
61258
61382
  };
61383
+ /**
61384
+ * optional Visibility visibility = 15;
61385
+ * @return {?proto.clarifai.api.Visibility}
61386
+ */
61387
+ proto.clarifai.api.ListModulesRequest.prototype.getVisibility = function () {
61388
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 15));
61389
+ };
61390
+ /**
61391
+ * @param {?proto.clarifai.api.Visibility|undefined} value
61392
+ * @return {!proto.clarifai.api.ListModulesRequest} returns this
61393
+ */
61394
+ proto.clarifai.api.ListModulesRequest.prototype.setVisibility = function (value) {
61395
+ return jspb.Message.setWrapperField(this, 15, value);
61396
+ };
61397
+ /**
61398
+ * Clears the message field making it undefined.
61399
+ * @return {!proto.clarifai.api.ListModulesRequest} returns this
61400
+ */
61401
+ proto.clarifai.api.ListModulesRequest.prototype.clearVisibility = function () {
61402
+ return this.setVisibility(undefined);
61403
+ };
61404
+ /**
61405
+ * Returns whether this field is set.
61406
+ * @return {boolean}
61407
+ */
61408
+ proto.clarifai.api.ListModulesRequest.prototype.hasVisibility = function () {
61409
+ return jspb.Message.getField(this, 15) != null;
61410
+ };
61259
61411
  /**
61260
61412
  * List of repeated fields within this message type.
61261
61413
  * @private {!Array<number>}
@@ -12114,6 +12114,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
12114
12114
  featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
12115
12115
  starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
12116
12116
  templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
12117
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
12117
12118
  search: jspb.Message.getFieldWithDefault(msg, 15, ""),
12118
12119
  query: jspb.Message.getFieldWithDefault(msg, 8, ""),
12119
12120
  name: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -12202,6 +12203,11 @@ proto.clarifai.api.ListAppsRequest.deserializeBinaryFromReader = function (msg,
12202
12203
  var value = /** @type {boolean} */ (reader.readBool());
12203
12204
  msg.setTemplateOnly(value);
12204
12205
  break;
12206
+ case 18:
12207
+ var value = new proto_clarifai_api_resources_pb.Visibility;
12208
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
12209
+ msg.setVisibility(value);
12210
+ break;
12205
12211
  case 15:
12206
12212
  var value = /** @type {string} */ (reader.readString());
12207
12213
  msg.setSearch(value);
@@ -12295,6 +12301,10 @@ proto.clarifai.api.ListAppsRequest.serializeBinaryToWriter = function (message,
12295
12301
  if (f) {
12296
12302
  writer.writeBool(16, f);
12297
12303
  }
12304
+ f = message.getVisibility();
12305
+ if (f != null) {
12306
+ writer.writeMessage(18, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
12307
+ }
12298
12308
  f = message.getSearch();
12299
12309
  if (f.length > 0) {
12300
12310
  writer.writeString(15, f);
@@ -12593,6 +12603,34 @@ proto.clarifai.api.ListAppsRequest.prototype.getTemplateOnly = function () {
12593
12603
  proto.clarifai.api.ListAppsRequest.prototype.setTemplateOnly = function (value) {
12594
12604
  return jspb.Message.setProto3BooleanField(this, 16, value);
12595
12605
  };
12606
+ /**
12607
+ * optional Visibility visibility = 18;
12608
+ * @return {?proto.clarifai.api.Visibility}
12609
+ */
12610
+ proto.clarifai.api.ListAppsRequest.prototype.getVisibility = function () {
12611
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 18));
12612
+ };
12613
+ /**
12614
+ * @param {?proto.clarifai.api.Visibility|undefined} value
12615
+ * @return {!proto.clarifai.api.ListAppsRequest} returns this
12616
+ */
12617
+ proto.clarifai.api.ListAppsRequest.prototype.setVisibility = function (value) {
12618
+ return jspb.Message.setWrapperField(this, 18, value);
12619
+ };
12620
+ /**
12621
+ * Clears the message field making it undefined.
12622
+ * @return {!proto.clarifai.api.ListAppsRequest} returns this
12623
+ */
12624
+ proto.clarifai.api.ListAppsRequest.prototype.clearVisibility = function () {
12625
+ return this.setVisibility(undefined);
12626
+ };
12627
+ /**
12628
+ * Returns whether this field is set.
12629
+ * @return {boolean}
12630
+ */
12631
+ proto.clarifai.api.ListAppsRequest.prototype.hasVisibility = function () {
12632
+ return jspb.Message.getField(this, 18) != null;
12633
+ };
12596
12634
  /**
12597
12635
  * optional string search = 15;
12598
12636
  * @return {string}
@@ -31349,7 +31387,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
31349
31387
  source: jspb.Message.getFieldWithDefault(msg, 30, 0),
31350
31388
  creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
31351
31389
  minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0),
31352
- showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false)
31390
+ showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
31391
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f)
31353
31392
  };
31354
31393
  if (includeInstance) {
31355
31394
  obj.$jspbMessageInstance = msg;
@@ -31510,6 +31549,11 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function (msg
31510
31549
  var value = /** @type {boolean} */ (reader.readBool());
31511
31550
  msg.setShowReplicas(value);
31512
31551
  break;
31552
+ case 35:
31553
+ var value = new proto_clarifai_api_resources_pb.Visibility;
31554
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
31555
+ msg.setVisibility(value);
31556
+ break;
31513
31557
  default:
31514
31558
  reader.skipField();
31515
31559
  break;
@@ -31663,6 +31707,10 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function (message
31663
31707
  if (f) {
31664
31708
  writer.writeBool(34, f);
31665
31709
  }
31710
+ f = message.getVisibility();
31711
+ if (f != null) {
31712
+ writer.writeMessage(35, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
31713
+ }
31666
31714
  };
31667
31715
  /**
31668
31716
  * optional UserAppIDSet user_app_id = 1;
@@ -32301,6 +32349,34 @@ proto.clarifai.api.ListModelsRequest.prototype.getShowReplicas = function () {
32301
32349
  proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function (value) {
32302
32350
  return jspb.Message.setProto3BooleanField(this, 34, value);
32303
32351
  };
32352
+ /**
32353
+ * optional Visibility visibility = 35;
32354
+ * @return {?proto.clarifai.api.Visibility}
32355
+ */
32356
+ proto.clarifai.api.ListModelsRequest.prototype.getVisibility = function () {
32357
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 35));
32358
+ };
32359
+ /**
32360
+ * @param {?proto.clarifai.api.Visibility|undefined} value
32361
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
32362
+ */
32363
+ proto.clarifai.api.ListModelsRequest.prototype.setVisibility = function (value) {
32364
+ return jspb.Message.setWrapperField(this, 35, value);
32365
+ };
32366
+ /**
32367
+ * Clears the message field making it undefined.
32368
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
32369
+ */
32370
+ proto.clarifai.api.ListModelsRequest.prototype.clearVisibility = function () {
32371
+ return this.setVisibility(undefined);
32372
+ };
32373
+ /**
32374
+ * Returns whether this field is set.
32375
+ * @return {boolean}
32376
+ */
32377
+ proto.clarifai.api.ListModelsRequest.prototype.hasVisibility = function () {
32378
+ return jspb.Message.getField(this, 35) != null;
32379
+ };
32304
32380
  if (jspb.Message.GENERATE_TO_OBJECT) {
32305
32381
  /**
32306
32382
  * Creates an object representation of this proto.
@@ -51377,6 +51453,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
51377
51453
  featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
51378
51454
  starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
51379
51455
  bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
51456
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
51380
51457
  search: jspb.Message.getFieldWithDefault(msg, 16, ""),
51381
51458
  query: jspb.Message.getFieldWithDefault(msg, 8, ""),
51382
51459
  id: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -51461,6 +51538,11 @@ proto.clarifai.api.ListWorkflowsRequest.deserializeBinaryFromReader = function (
51461
51538
  var value = /** @type {boolean} */ (reader.readBool());
51462
51539
  msg.setBookmark(value);
51463
51540
  break;
51541
+ case 17:
51542
+ var value = new proto_clarifai_api_resources_pb.Visibility;
51543
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
51544
+ msg.setVisibility(value);
51545
+ break;
51464
51546
  case 16:
51465
51547
  var value = /** @type {string} */ (reader.readString());
51466
51548
  msg.setSearch(value);
@@ -51550,6 +51632,10 @@ proto.clarifai.api.ListWorkflowsRequest.serializeBinaryToWriter = function (mess
51550
51632
  if (f) {
51551
51633
  writer.writeBool(15, f);
51552
51634
  }
51635
+ f = message.getVisibility();
51636
+ if (f != null) {
51637
+ writer.writeMessage(17, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
51638
+ }
51553
51639
  f = message.getSearch();
51554
51640
  if (f.length > 0) {
51555
51641
  writer.writeString(16, f);
@@ -51820,6 +51906,34 @@ proto.clarifai.api.ListWorkflowsRequest.prototype.getBookmark = function () {
51820
51906
  proto.clarifai.api.ListWorkflowsRequest.prototype.setBookmark = function (value) {
51821
51907
  return jspb.Message.setProto3BooleanField(this, 15, value);
51822
51908
  };
51909
+ /**
51910
+ * optional Visibility visibility = 17;
51911
+ * @return {?proto.clarifai.api.Visibility}
51912
+ */
51913
+ proto.clarifai.api.ListWorkflowsRequest.prototype.getVisibility = function () {
51914
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 17));
51915
+ };
51916
+ /**
51917
+ * @param {?proto.clarifai.api.Visibility|undefined} value
51918
+ * @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
51919
+ */
51920
+ proto.clarifai.api.ListWorkflowsRequest.prototype.setVisibility = function (value) {
51921
+ return jspb.Message.setWrapperField(this, 17, value);
51922
+ };
51923
+ /**
51924
+ * Clears the message field making it undefined.
51925
+ * @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
51926
+ */
51927
+ proto.clarifai.api.ListWorkflowsRequest.prototype.clearVisibility = function () {
51928
+ return this.setVisibility(undefined);
51929
+ };
51930
+ /**
51931
+ * Returns whether this field is set.
51932
+ * @return {boolean}
51933
+ */
51934
+ proto.clarifai.api.ListWorkflowsRequest.prototype.hasVisibility = function () {
51935
+ return jspb.Message.getField(this, 17) != null;
51936
+ };
51823
51937
  /**
51824
51938
  * optional string search = 16;
51825
51939
  * @return {string}
@@ -60804,7 +60918,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
60804
60918
  bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
60805
60919
  search: jspb.Message.getFieldWithDefault(msg, 14, ""),
60806
60920
  name: jspb.Message.getFieldWithDefault(msg, 12, ""),
60807
- filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
60921
+ filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
60922
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f)
60808
60923
  };
60809
60924
  if (includeInstance) {
60810
60925
  obj.$jspbMessageInstance = msg;
@@ -60893,6 +61008,11 @@ proto.clarifai.api.ListModulesRequest.deserializeBinaryFromReader = function (ms
60893
61008
  var value = /** @type {boolean} */ (reader.readBool());
60894
61009
  msg.setFilterByUserId(value);
60895
61010
  break;
61011
+ case 15:
61012
+ var value = new proto_clarifai_api_resources_pb.Visibility;
61013
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
61014
+ msg.setVisibility(value);
61015
+ break;
60896
61016
  default:
60897
61017
  reader.skipField();
60898
61018
  break;
@@ -60974,6 +61094,10 @@ proto.clarifai.api.ListModulesRequest.serializeBinaryToWriter = function (messag
60974
61094
  if (f) {
60975
61095
  writer.writeBool(13, f);
60976
61096
  }
61097
+ f = message.getVisibility();
61098
+ if (f != null) {
61099
+ writer.writeMessage(15, f, proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter);
61100
+ }
60977
61101
  };
60978
61102
  /**
60979
61103
  * optional UserAppIDSet user_app_id = 1;
@@ -61256,6 +61380,34 @@ proto.clarifai.api.ListModulesRequest.prototype.getFilterByUserId = function ()
61256
61380
  proto.clarifai.api.ListModulesRequest.prototype.setFilterByUserId = function (value) {
61257
61381
  return jspb.Message.setProto3BooleanField(this, 13, value);
61258
61382
  };
61383
+ /**
61384
+ * optional Visibility visibility = 15;
61385
+ * @return {?proto.clarifai.api.Visibility}
61386
+ */
61387
+ proto.clarifai.api.ListModulesRequest.prototype.getVisibility = function () {
61388
+ return /** @type{?proto.clarifai.api.Visibility} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 15));
61389
+ };
61390
+ /**
61391
+ * @param {?proto.clarifai.api.Visibility|undefined} value
61392
+ * @return {!proto.clarifai.api.ListModulesRequest} returns this
61393
+ */
61394
+ proto.clarifai.api.ListModulesRequest.prototype.setVisibility = function (value) {
61395
+ return jspb.Message.setWrapperField(this, 15, value);
61396
+ };
61397
+ /**
61398
+ * Clears the message field making it undefined.
61399
+ * @return {!proto.clarifai.api.ListModulesRequest} returns this
61400
+ */
61401
+ proto.clarifai.api.ListModulesRequest.prototype.clearVisibility = function () {
61402
+ return this.setVisibility(undefined);
61403
+ };
61404
+ /**
61405
+ * Returns whether this field is set.
61406
+ * @return {boolean}
61407
+ */
61408
+ proto.clarifai.api.ListModulesRequest.prototype.hasVisibility = function () {
61409
+ return jspb.Message.getField(this, 15) != null;
61410
+ };
61259
61411
  /**
61260
61412
  * List of repeated fields within this message type.
61261
61413
  * @private {!Array<number>}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "11.6.4",
3
+ "version": "11.6.6",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -518,6 +518,11 @@ export class ListAppsRequest extends jspb.Message {
518
518
  getTemplateOnly(): boolean;
519
519
  setTemplateOnly(value: boolean): ListAppsRequest;
520
520
 
521
+ getVisibility(): proto_clarifai_api_resources_pb.Visibility | undefined;
522
+ setVisibility(value?: proto_clarifai_api_resources_pb.Visibility): ListAppsRequest;
523
+ hasVisibility(): boolean;
524
+ clearVisibility(): ListAppsRequest;
525
+
521
526
  getSearch(): string;
522
527
  setSearch(value: string): ListAppsRequest;
523
528
 
@@ -555,6 +560,7 @@ export namespace ListAppsRequest {
555
560
  featuredOnly: boolean,
556
561
  starredOnly: boolean,
557
562
  templateOnly: boolean,
563
+ visibility?: proto_clarifai_api_resources_pb.Visibility.AsObject,
558
564
  search: string,
559
565
  query: string,
560
566
  name: string,
@@ -3682,6 +3688,11 @@ export class ListModelsRequest extends jspb.Message {
3682
3688
  getShowReplicas(): boolean;
3683
3689
  setShowReplicas(value: boolean): ListModelsRequest;
3684
3690
 
3691
+ getVisibility(): proto_clarifai_api_resources_pb.Visibility | undefined;
3692
+ setVisibility(value?: proto_clarifai_api_resources_pb.Visibility): ListModelsRequest;
3693
+ hasVisibility(): boolean;
3694
+ clearVisibility(): ListModelsRequest;
3695
+
3685
3696
  getSortByCase(): ListModelsRequest.SortByCase;
3686
3697
 
3687
3698
  serializeBinary(): Uint8Array;
@@ -3726,6 +3737,7 @@ export namespace ListModelsRequest {
3726
3737
  creator: string,
3727
3738
  minReplicas: number,
3728
3739
  showReplicas: boolean,
3740
+ visibility?: proto_clarifai_api_resources_pb.Visibility.AsObject,
3729
3741
  }
3730
3742
 
3731
3743
  export enum SortByCase {
@@ -6839,6 +6851,11 @@ export class ListWorkflowsRequest extends jspb.Message {
6839
6851
  getBookmark(): boolean;
6840
6852
  setBookmark(value: boolean): ListWorkflowsRequest;
6841
6853
 
6854
+ getVisibility(): proto_clarifai_api_resources_pb.Visibility | undefined;
6855
+ setVisibility(value?: proto_clarifai_api_resources_pb.Visibility): ListWorkflowsRequest;
6856
+ hasVisibility(): boolean;
6857
+ clearVisibility(): ListWorkflowsRequest;
6858
+
6842
6859
  getSearch(): string;
6843
6860
  setSearch(value: string): ListWorkflowsRequest;
6844
6861
 
@@ -6875,6 +6892,7 @@ export namespace ListWorkflowsRequest {
6875
6892
  featuredOnly: boolean,
6876
6893
  starredOnly: boolean,
6877
6894
  bookmark: boolean,
6895
+ visibility?: proto_clarifai_api_resources_pb.Visibility.AsObject,
6878
6896
  search: string,
6879
6897
  query: string,
6880
6898
  id: string,
@@ -8349,6 +8367,11 @@ export class ListModulesRequest extends jspb.Message {
8349
8367
  getFilterByUserId(): boolean;
8350
8368
  setFilterByUserId(value: boolean): ListModulesRequest;
8351
8369
 
8370
+ getVisibility(): proto_clarifai_api_resources_pb.Visibility | undefined;
8371
+ setVisibility(value?: proto_clarifai_api_resources_pb.Visibility): ListModulesRequest;
8372
+ hasVisibility(): boolean;
8373
+ clearVisibility(): ListModulesRequest;
8374
+
8352
8375
  getSortByCase(): ListModulesRequest.SortByCase;
8353
8376
 
8354
8377
  serializeBinary(): Uint8Array;
@@ -8375,6 +8398,7 @@ export namespace ListModulesRequest {
8375
8398
  search: string,
8376
8399
  name: string,
8377
8400
  filterByUserId: boolean,
8401
+ visibility?: proto_clarifai_api_resources_pb.Visibility.AsObject,
8378
8402
  }
8379
8403
 
8380
8404
  export enum SortByCase {
@@ -12883,6 +12883,7 @@ proto.clarifai.api.ListAppsRequest.toObject = function(includeInstance, msg) {
12883
12883
  featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
12884
12884
  starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
12885
12885
  templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
12886
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
12886
12887
  search: jspb.Message.getFieldWithDefault(msg, 15, ""),
12887
12888
  query: jspb.Message.getFieldWithDefault(msg, 8, ""),
12888
12889
  name: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -12976,6 +12977,11 @@ proto.clarifai.api.ListAppsRequest.deserializeBinaryFromReader = function(msg, r
12976
12977
  var value = /** @type {boolean} */ (reader.readBool());
12977
12978
  msg.setTemplateOnly(value);
12978
12979
  break;
12980
+ case 18:
12981
+ var value = new proto_clarifai_api_resources_pb.Visibility;
12982
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
12983
+ msg.setVisibility(value);
12984
+ break;
12979
12985
  case 15:
12980
12986
  var value = /** @type {string} */ (reader.readString());
12981
12987
  msg.setSearch(value);
@@ -13113,6 +13119,14 @@ proto.clarifai.api.ListAppsRequest.serializeBinaryToWriter = function(message, w
13113
13119
  f
13114
13120
  );
13115
13121
  }
13122
+ f = message.getVisibility();
13123
+ if (f != null) {
13124
+ writer.writeMessage(
13125
+ 18,
13126
+ f,
13127
+ proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter
13128
+ );
13129
+ }
13116
13130
  f = message.getSearch();
13117
13131
  if (f.length > 0) {
13118
13132
  writer.writeString(
@@ -13506,6 +13520,43 @@ proto.clarifai.api.ListAppsRequest.prototype.setTemplateOnly = function(value) {
13506
13520
  };
13507
13521
 
13508
13522
 
13523
+ /**
13524
+ * optional Visibility visibility = 18;
13525
+ * @return {?proto.clarifai.api.Visibility}
13526
+ */
13527
+ proto.clarifai.api.ListAppsRequest.prototype.getVisibility = function() {
13528
+ return /** @type{?proto.clarifai.api.Visibility} */ (
13529
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 18));
13530
+ };
13531
+
13532
+
13533
+ /**
13534
+ * @param {?proto.clarifai.api.Visibility|undefined} value
13535
+ * @return {!proto.clarifai.api.ListAppsRequest} returns this
13536
+ */
13537
+ proto.clarifai.api.ListAppsRequest.prototype.setVisibility = function(value) {
13538
+ return jspb.Message.setWrapperField(this, 18, value);
13539
+ };
13540
+
13541
+
13542
+ /**
13543
+ * Clears the message field making it undefined.
13544
+ * @return {!proto.clarifai.api.ListAppsRequest} returns this
13545
+ */
13546
+ proto.clarifai.api.ListAppsRequest.prototype.clearVisibility = function() {
13547
+ return this.setVisibility(undefined);
13548
+ };
13549
+
13550
+
13551
+ /**
13552
+ * Returns whether this field is set.
13553
+ * @return {boolean}
13554
+ */
13555
+ proto.clarifai.api.ListAppsRequest.prototype.hasVisibility = function() {
13556
+ return jspb.Message.getField(this, 18) != null;
13557
+ };
13558
+
13559
+
13509
13560
  /**
13510
13561
  * optional string search = 15;
13511
13562
  * @return {string}
@@ -37214,7 +37265,8 @@ proto.clarifai.api.ListModelsRequest.toObject = function(includeInstance, msg) {
37214
37265
  source: jspb.Message.getFieldWithDefault(msg, 30, 0),
37215
37266
  creator: jspb.Message.getFieldWithDefault(msg, 31, ""),
37216
37267
  minReplicas: jspb.Message.getFieldWithDefault(msg, 33, 0),
37217
- showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false)
37268
+ showReplicas: jspb.Message.getBooleanFieldWithDefault(msg, 34, false),
37269
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f)
37218
37270
  };
37219
37271
 
37220
37272
  if (includeInstance) {
@@ -37380,6 +37432,11 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
37380
37432
  var value = /** @type {boolean} */ (reader.readBool());
37381
37433
  msg.setShowReplicas(value);
37382
37434
  break;
37435
+ case 35:
37436
+ var value = new proto_clarifai_api_resources_pb.Visibility;
37437
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
37438
+ msg.setVisibility(value);
37439
+ break;
37383
37440
  default:
37384
37441
  reader.skipField();
37385
37442
  break;
@@ -37634,6 +37691,14 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
37634
37691
  f
37635
37692
  );
37636
37693
  }
37694
+ f = message.getVisibility();
37695
+ if (f != null) {
37696
+ writer.writeMessage(
37697
+ 35,
37698
+ f,
37699
+ proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter
37700
+ );
37701
+ }
37637
37702
  };
37638
37703
 
37639
37704
 
@@ -38455,6 +38520,43 @@ proto.clarifai.api.ListModelsRequest.prototype.setShowReplicas = function(value)
38455
38520
  };
38456
38521
 
38457
38522
 
38523
+ /**
38524
+ * optional Visibility visibility = 35;
38525
+ * @return {?proto.clarifai.api.Visibility}
38526
+ */
38527
+ proto.clarifai.api.ListModelsRequest.prototype.getVisibility = function() {
38528
+ return /** @type{?proto.clarifai.api.Visibility} */ (
38529
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 35));
38530
+ };
38531
+
38532
+
38533
+ /**
38534
+ * @param {?proto.clarifai.api.Visibility|undefined} value
38535
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
38536
+ */
38537
+ proto.clarifai.api.ListModelsRequest.prototype.setVisibility = function(value) {
38538
+ return jspb.Message.setWrapperField(this, 35, value);
38539
+ };
38540
+
38541
+
38542
+ /**
38543
+ * Clears the message field making it undefined.
38544
+ * @return {!proto.clarifai.api.ListModelsRequest} returns this
38545
+ */
38546
+ proto.clarifai.api.ListModelsRequest.prototype.clearVisibility = function() {
38547
+ return this.setVisibility(undefined);
38548
+ };
38549
+
38550
+
38551
+ /**
38552
+ * Returns whether this field is set.
38553
+ * @return {boolean}
38554
+ */
38555
+ proto.clarifai.api.ListModelsRequest.prototype.hasVisibility = function() {
38556
+ return jspb.Message.getField(this, 35) != null;
38557
+ };
38558
+
38559
+
38458
38560
 
38459
38561
 
38460
38562
 
@@ -62549,6 +62651,7 @@ proto.clarifai.api.ListWorkflowsRequest.toObject = function(includeInstance, msg
62549
62651
  featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
62550
62652
  starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
62551
62653
  bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 15, false),
62654
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f),
62552
62655
  search: jspb.Message.getFieldWithDefault(msg, 16, ""),
62553
62656
  query: jspb.Message.getFieldWithDefault(msg, 8, ""),
62554
62657
  id: jspb.Message.getFieldWithDefault(msg, 4, ""),
@@ -62638,6 +62741,11 @@ proto.clarifai.api.ListWorkflowsRequest.deserializeBinaryFromReader = function(m
62638
62741
  var value = /** @type {boolean} */ (reader.readBool());
62639
62742
  msg.setBookmark(value);
62640
62743
  break;
62744
+ case 17:
62745
+ var value = new proto_clarifai_api_resources_pb.Visibility;
62746
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
62747
+ msg.setVisibility(value);
62748
+ break;
62641
62749
  case 16:
62642
62750
  var value = /** @type {string} */ (reader.readString());
62643
62751
  msg.setSearch(value);
@@ -62768,6 +62876,14 @@ proto.clarifai.api.ListWorkflowsRequest.serializeBinaryToWriter = function(messa
62768
62876
  f
62769
62877
  );
62770
62878
  }
62879
+ f = message.getVisibility();
62880
+ if (f != null) {
62881
+ writer.writeMessage(
62882
+ 17,
62883
+ f,
62884
+ proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter
62885
+ );
62886
+ }
62771
62887
  f = message.getSearch();
62772
62888
  if (f.length > 0) {
62773
62889
  writer.writeString(
@@ -63125,6 +63241,43 @@ proto.clarifai.api.ListWorkflowsRequest.prototype.setBookmark = function(value)
63125
63241
  };
63126
63242
 
63127
63243
 
63244
+ /**
63245
+ * optional Visibility visibility = 17;
63246
+ * @return {?proto.clarifai.api.Visibility}
63247
+ */
63248
+ proto.clarifai.api.ListWorkflowsRequest.prototype.getVisibility = function() {
63249
+ return /** @type{?proto.clarifai.api.Visibility} */ (
63250
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 17));
63251
+ };
63252
+
63253
+
63254
+ /**
63255
+ * @param {?proto.clarifai.api.Visibility|undefined} value
63256
+ * @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
63257
+ */
63258
+ proto.clarifai.api.ListWorkflowsRequest.prototype.setVisibility = function(value) {
63259
+ return jspb.Message.setWrapperField(this, 17, value);
63260
+ };
63261
+
63262
+
63263
+ /**
63264
+ * Clears the message field making it undefined.
63265
+ * @return {!proto.clarifai.api.ListWorkflowsRequest} returns this
63266
+ */
63267
+ proto.clarifai.api.ListWorkflowsRequest.prototype.clearVisibility = function() {
63268
+ return this.setVisibility(undefined);
63269
+ };
63270
+
63271
+
63272
+ /**
63273
+ * Returns whether this field is set.
63274
+ * @return {boolean}
63275
+ */
63276
+ proto.clarifai.api.ListWorkflowsRequest.prototype.hasVisibility = function() {
63277
+ return jspb.Message.getField(this, 17) != null;
63278
+ };
63279
+
63280
+
63128
63281
  /**
63129
63282
  * optional string search = 16;
63130
63283
  * @return {string}
@@ -74466,7 +74619,8 @@ proto.clarifai.api.ListModulesRequest.toObject = function(includeInstance, msg)
74466
74619
  bookmark: jspb.Message.getBooleanFieldWithDefault(msg, 10, false),
74467
74620
  search: jspb.Message.getFieldWithDefault(msg, 14, ""),
74468
74621
  name: jspb.Message.getFieldWithDefault(msg, 12, ""),
74469
- filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 13, false)
74622
+ filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
74623
+ visibility: (f = msg.getVisibility()) && proto_clarifai_api_resources_pb.Visibility.toObject(includeInstance, f)
74470
74624
  };
74471
74625
 
74472
74626
  if (includeInstance) {
@@ -74560,6 +74714,11 @@ proto.clarifai.api.ListModulesRequest.deserializeBinaryFromReader = function(msg
74560
74714
  var value = /** @type {boolean} */ (reader.readBool());
74561
74715
  msg.setFilterByUserId(value);
74562
74716
  break;
74717
+ case 15:
74718
+ var value = new proto_clarifai_api_resources_pb.Visibility;
74719
+ reader.readMessage(value,proto_clarifai_api_resources_pb.Visibility.deserializeBinaryFromReader);
74720
+ msg.setVisibility(value);
74721
+ break;
74563
74722
  default:
74564
74723
  reader.skipField();
74565
74724
  break;
@@ -74688,6 +74847,14 @@ proto.clarifai.api.ListModulesRequest.serializeBinaryToWriter = function(message
74688
74847
  f
74689
74848
  );
74690
74849
  }
74850
+ f = message.getVisibility();
74851
+ if (f != null) {
74852
+ writer.writeMessage(
74853
+ 15,
74854
+ f,
74855
+ proto_clarifai_api_resources_pb.Visibility.serializeBinaryToWriter
74856
+ );
74857
+ }
74691
74858
  };
74692
74859
 
74693
74860
 
@@ -75053,6 +75220,43 @@ proto.clarifai.api.ListModulesRequest.prototype.setFilterByUserId = function(val
75053
75220
  };
75054
75221
 
75055
75222
 
75223
+ /**
75224
+ * optional Visibility visibility = 15;
75225
+ * @return {?proto.clarifai.api.Visibility}
75226
+ */
75227
+ proto.clarifai.api.ListModulesRequest.prototype.getVisibility = function() {
75228
+ return /** @type{?proto.clarifai.api.Visibility} */ (
75229
+ jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Visibility, 15));
75230
+ };
75231
+
75232
+
75233
+ /**
75234
+ * @param {?proto.clarifai.api.Visibility|undefined} value
75235
+ * @return {!proto.clarifai.api.ListModulesRequest} returns this
75236
+ */
75237
+ proto.clarifai.api.ListModulesRequest.prototype.setVisibility = function(value) {
75238
+ return jspb.Message.setWrapperField(this, 15, value);
75239
+ };
75240
+
75241
+
75242
+ /**
75243
+ * Clears the message field making it undefined.
75244
+ * @return {!proto.clarifai.api.ListModulesRequest} returns this
75245
+ */
75246
+ proto.clarifai.api.ListModulesRequest.prototype.clearVisibility = function() {
75247
+ return this.setVisibility(undefined);
75248
+ };
75249
+
75250
+
75251
+ /**
75252
+ * Returns whether this field is set.
75253
+ * @return {boolean}
75254
+ */
75255
+ proto.clarifai.api.ListModulesRequest.prototype.hasVisibility = function() {
75256
+ return jspb.Message.getField(this, 15) != null;
75257
+ };
75258
+
75259
+
75056
75260
 
75057
75261
  /**
75058
75262
  * List of repeated fields within this message type.