clarifai-web-grpc 9.10.4 → 9.10.5
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 +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +41 -2
- package/dist/cjs/proto/clarifai/api/service_pb.js +175 -28
- package/dist/esm/proto/clarifai/api/resources_pb.js +41 -2
- package/dist/esm/proto/clarifai/api/service_pb.js +175 -28
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +7 -0
- package/proto/clarifai/api/resources_pb.js +54 -2
- package/proto/clarifai/api/service_pb.d.ts +28 -4
- package/proto/clarifai/api/service_pb.js +227 -35
|
@@ -8549,7 +8549,7 @@ proto.clarifai.api.PatchAnnotationsRequest.prototype.setDeleteIfEmptyData = func
|
|
|
8549
8549
|
* @private {!Array<number>}
|
|
8550
8550
|
* @const
|
|
8551
8551
|
*/
|
|
8552
|
-
proto.clarifai.api.PatchAnnotationsStatusRequest.repeatedFields_ = [3];
|
|
8552
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.repeatedFields_ = [3,6];
|
|
8553
8553
|
|
|
8554
8554
|
|
|
8555
8555
|
|
|
@@ -8583,10 +8583,11 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.toObject = function(o
|
|
|
8583
8583
|
proto.clarifai.api.PatchAnnotationsStatusRequest.toObject = function(includeInstance, msg) {
|
|
8584
8584
|
var f, obj = {
|
|
8585
8585
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
8586
|
-
statusCode: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
8587
8586
|
userIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
8588
8587
|
taskId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
8589
|
-
|
|
8588
|
+
statusCodesList: (f = jspb.Message.getRepeatedField(msg, 6)) == null ? undefined : f,
|
|
8589
|
+
action: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
8590
|
+
statusCode: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
8590
8591
|
};
|
|
8591
8592
|
|
|
8592
8593
|
if (includeInstance) {
|
|
@@ -8628,10 +8629,6 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.deserializeBinaryFromReader = f
|
|
|
8628
8629
|
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
8629
8630
|
msg.setUserAppId(value);
|
|
8630
8631
|
break;
|
|
8631
|
-
case 2:
|
|
8632
|
-
var value = /** @type {!proto.clarifai.api.status.StatusCode} */ (reader.readEnum());
|
|
8633
|
-
msg.setStatusCode(value);
|
|
8634
|
-
break;
|
|
8635
8632
|
case 3:
|
|
8636
8633
|
var value = /** @type {string} */ (reader.readString());
|
|
8637
8634
|
msg.addUserIds(value);
|
|
@@ -8640,10 +8637,20 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.deserializeBinaryFromReader = f
|
|
|
8640
8637
|
var value = /** @type {string} */ (reader.readString());
|
|
8641
8638
|
msg.setTaskId(value);
|
|
8642
8639
|
break;
|
|
8640
|
+
case 6:
|
|
8641
|
+
var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
8642
|
+
for (var i = 0; i < values.length; i++) {
|
|
8643
|
+
msg.addStatusCodes(values[i]);
|
|
8644
|
+
}
|
|
8645
|
+
break;
|
|
8643
8646
|
case 5:
|
|
8644
8647
|
var value = /** @type {string} */ (reader.readString());
|
|
8645
8648
|
msg.setAction(value);
|
|
8646
8649
|
break;
|
|
8650
|
+
case 2:
|
|
8651
|
+
var value = /** @type {!proto.clarifai.api.status.StatusCode} */ (reader.readEnum());
|
|
8652
|
+
msg.setStatusCode(value);
|
|
8653
|
+
break;
|
|
8647
8654
|
default:
|
|
8648
8655
|
reader.skipField();
|
|
8649
8656
|
break;
|
|
@@ -8681,13 +8688,6 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.serializeBinaryToWriter = funct
|
|
|
8681
8688
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
8682
8689
|
);
|
|
8683
8690
|
}
|
|
8684
|
-
f = message.getStatusCode();
|
|
8685
|
-
if (f !== 0.0) {
|
|
8686
|
-
writer.writeEnum(
|
|
8687
|
-
2,
|
|
8688
|
-
f
|
|
8689
|
-
);
|
|
8690
|
-
}
|
|
8691
8691
|
f = message.getUserIdsList();
|
|
8692
8692
|
if (f.length > 0) {
|
|
8693
8693
|
writer.writeRepeatedString(
|
|
@@ -8702,6 +8702,13 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.serializeBinaryToWriter = funct
|
|
|
8702
8702
|
f
|
|
8703
8703
|
);
|
|
8704
8704
|
}
|
|
8705
|
+
f = message.getStatusCodesList();
|
|
8706
|
+
if (f.length > 0) {
|
|
8707
|
+
writer.writePackedEnum(
|
|
8708
|
+
6,
|
|
8709
|
+
f
|
|
8710
|
+
);
|
|
8711
|
+
}
|
|
8705
8712
|
f = message.getAction();
|
|
8706
8713
|
if (f.length > 0) {
|
|
8707
8714
|
writer.writeString(
|
|
@@ -8709,6 +8716,13 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.serializeBinaryToWriter = funct
|
|
|
8709
8716
|
f
|
|
8710
8717
|
);
|
|
8711
8718
|
}
|
|
8719
|
+
f = message.getStatusCode();
|
|
8720
|
+
if (f !== 0.0) {
|
|
8721
|
+
writer.writeEnum(
|
|
8722
|
+
2,
|
|
8723
|
+
f
|
|
8724
|
+
);
|
|
8725
|
+
}
|
|
8712
8726
|
};
|
|
8713
8727
|
|
|
8714
8728
|
|
|
@@ -8749,24 +8763,6 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.hasUserAppId = functi
|
|
|
8749
8763
|
};
|
|
8750
8764
|
|
|
8751
8765
|
|
|
8752
|
-
/**
|
|
8753
|
-
* optional status.StatusCode status_code = 2;
|
|
8754
|
-
* @return {!proto.clarifai.api.status.StatusCode}
|
|
8755
|
-
*/
|
|
8756
|
-
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.getStatusCode = function() {
|
|
8757
|
-
return /** @type {!proto.clarifai.api.status.StatusCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8758
|
-
};
|
|
8759
|
-
|
|
8760
|
-
|
|
8761
|
-
/**
|
|
8762
|
-
* @param {!proto.clarifai.api.status.StatusCode} value
|
|
8763
|
-
* @return {!proto.clarifai.api.PatchAnnotationsStatusRequest} returns this
|
|
8764
|
-
*/
|
|
8765
|
-
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.setStatusCode = function(value) {
|
|
8766
|
-
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
8767
|
-
};
|
|
8768
|
-
|
|
8769
|
-
|
|
8770
8766
|
/**
|
|
8771
8767
|
* repeated string user_ids = 3;
|
|
8772
8768
|
* @return {!Array<string>}
|
|
@@ -8822,6 +8818,43 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.setTaskId = function(
|
|
|
8822
8818
|
};
|
|
8823
8819
|
|
|
8824
8820
|
|
|
8821
|
+
/**
|
|
8822
|
+
* repeated status.StatusCode status_codes = 6;
|
|
8823
|
+
* @return {!Array<!proto.clarifai.api.status.StatusCode>}
|
|
8824
|
+
*/
|
|
8825
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.getStatusCodesList = function() {
|
|
8826
|
+
return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 6));
|
|
8827
|
+
};
|
|
8828
|
+
|
|
8829
|
+
|
|
8830
|
+
/**
|
|
8831
|
+
* @param {!Array<!proto.clarifai.api.status.StatusCode>} value
|
|
8832
|
+
* @return {!proto.clarifai.api.PatchAnnotationsStatusRequest} returns this
|
|
8833
|
+
*/
|
|
8834
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.setStatusCodesList = function(value) {
|
|
8835
|
+
return jspb.Message.setField(this, 6, value || []);
|
|
8836
|
+
};
|
|
8837
|
+
|
|
8838
|
+
|
|
8839
|
+
/**
|
|
8840
|
+
* @param {!proto.clarifai.api.status.StatusCode} value
|
|
8841
|
+
* @param {number=} opt_index
|
|
8842
|
+
* @return {!proto.clarifai.api.PatchAnnotationsStatusRequest} returns this
|
|
8843
|
+
*/
|
|
8844
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.addStatusCodes = function(value, opt_index) {
|
|
8845
|
+
return jspb.Message.addToRepeatedField(this, 6, value, opt_index);
|
|
8846
|
+
};
|
|
8847
|
+
|
|
8848
|
+
|
|
8849
|
+
/**
|
|
8850
|
+
* Clears the list making it empty but non-null.
|
|
8851
|
+
* @return {!proto.clarifai.api.PatchAnnotationsStatusRequest} returns this
|
|
8852
|
+
*/
|
|
8853
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.clearStatusCodesList = function() {
|
|
8854
|
+
return this.setStatusCodesList([]);
|
|
8855
|
+
};
|
|
8856
|
+
|
|
8857
|
+
|
|
8825
8858
|
/**
|
|
8826
8859
|
* optional string action = 5;
|
|
8827
8860
|
* @return {string}
|
|
@@ -8840,6 +8873,24 @@ proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.setAction = function(
|
|
|
8840
8873
|
};
|
|
8841
8874
|
|
|
8842
8875
|
|
|
8876
|
+
/**
|
|
8877
|
+
* optional status.StatusCode status_code = 2;
|
|
8878
|
+
* @return {!proto.clarifai.api.status.StatusCode}
|
|
8879
|
+
*/
|
|
8880
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.getStatusCode = function() {
|
|
8881
|
+
return /** @type {!proto.clarifai.api.status.StatusCode} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
8882
|
+
};
|
|
8883
|
+
|
|
8884
|
+
|
|
8885
|
+
/**
|
|
8886
|
+
* @param {!proto.clarifai.api.status.StatusCode} value
|
|
8887
|
+
* @return {!proto.clarifai.api.PatchAnnotationsStatusRequest} returns this
|
|
8888
|
+
*/
|
|
8889
|
+
proto.clarifai.api.PatchAnnotationsStatusRequest.prototype.setStatusCode = function(value) {
|
|
8890
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
8891
|
+
};
|
|
8892
|
+
|
|
8893
|
+
|
|
8843
8894
|
|
|
8844
8895
|
/**
|
|
8845
8896
|
* List of repeated fields within this message type.
|
|
@@ -10750,6 +10801,7 @@ proto.clarifai.api.ListAppsRequest.toObject = function(includeInstance, msg) {
|
|
|
10750
10801
|
sortByStarCount: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
10751
10802
|
featuredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 9, false),
|
|
10752
10803
|
starredOnly: jspb.Message.getBooleanFieldWithDefault(msg, 11, false),
|
|
10804
|
+
templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 16, false),
|
|
10753
10805
|
search: jspb.Message.getFieldWithDefault(msg, 15, ""),
|
|
10754
10806
|
query: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
10755
10807
|
name: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
@@ -10835,6 +10887,10 @@ proto.clarifai.api.ListAppsRequest.deserializeBinaryFromReader = function(msg, r
|
|
|
10835
10887
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
10836
10888
|
msg.setStarredOnly(value);
|
|
10837
10889
|
break;
|
|
10890
|
+
case 16:
|
|
10891
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
10892
|
+
msg.setTemplateOnly(value);
|
|
10893
|
+
break;
|
|
10838
10894
|
case 15:
|
|
10839
10895
|
var value = /** @type {string} */ (reader.readString());
|
|
10840
10896
|
msg.setSearch(value);
|
|
@@ -10958,6 +11014,13 @@ proto.clarifai.api.ListAppsRequest.serializeBinaryToWriter = function(message, w
|
|
|
10958
11014
|
f
|
|
10959
11015
|
);
|
|
10960
11016
|
}
|
|
11017
|
+
f = message.getTemplateOnly();
|
|
11018
|
+
if (f) {
|
|
11019
|
+
writer.writeBool(
|
|
11020
|
+
16,
|
|
11021
|
+
f
|
|
11022
|
+
);
|
|
11023
|
+
}
|
|
10961
11024
|
f = message.getSearch();
|
|
10962
11025
|
if (f.length > 0) {
|
|
10963
11026
|
writer.writeString(
|
|
@@ -11297,6 +11360,24 @@ proto.clarifai.api.ListAppsRequest.prototype.setStarredOnly = function(value) {
|
|
|
11297
11360
|
};
|
|
11298
11361
|
|
|
11299
11362
|
|
|
11363
|
+
/**
|
|
11364
|
+
* optional bool template_only = 16;
|
|
11365
|
+
* @return {boolean}
|
|
11366
|
+
*/
|
|
11367
|
+
proto.clarifai.api.ListAppsRequest.prototype.getTemplateOnly = function() {
|
|
11368
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 16, false));
|
|
11369
|
+
};
|
|
11370
|
+
|
|
11371
|
+
|
|
11372
|
+
/**
|
|
11373
|
+
* @param {boolean} value
|
|
11374
|
+
* @return {!proto.clarifai.api.ListAppsRequest} returns this
|
|
11375
|
+
*/
|
|
11376
|
+
proto.clarifai.api.ListAppsRequest.prototype.setTemplateOnly = function(value) {
|
|
11377
|
+
return jspb.Message.setProto3BooleanField(this, 16, value);
|
|
11378
|
+
};
|
|
11379
|
+
|
|
11380
|
+
|
|
11300
11381
|
/**
|
|
11301
11382
|
* optional string search = 15;
|
|
11302
11383
|
* @return {string}
|
|
@@ -14263,7 +14344,8 @@ proto.clarifai.api.MultiCollaboratorsResponse.toObject = function(includeInstanc
|
|
|
14263
14344
|
var f, obj = {
|
|
14264
14345
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
14265
14346
|
collaboratorsList: jspb.Message.toObjectList(msg.getCollaboratorsList(),
|
|
14266
|
-
proto_clarifai_api_resources_pb.Collaborator.toObject, includeInstance)
|
|
14347
|
+
proto_clarifai_api_resources_pb.Collaborator.toObject, includeInstance),
|
|
14348
|
+
appOwner: (f = msg.getAppOwner()) && proto_clarifai_api_resources_pb.User.toObject(includeInstance, f)
|
|
14267
14349
|
};
|
|
14268
14350
|
|
|
14269
14351
|
if (includeInstance) {
|
|
@@ -14310,6 +14392,11 @@ proto.clarifai.api.MultiCollaboratorsResponse.deserializeBinaryFromReader = func
|
|
|
14310
14392
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Collaborator.deserializeBinaryFromReader);
|
|
14311
14393
|
msg.addCollaborators(value);
|
|
14312
14394
|
break;
|
|
14395
|
+
case 3:
|
|
14396
|
+
var value = new proto_clarifai_api_resources_pb.User;
|
|
14397
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.User.deserializeBinaryFromReader);
|
|
14398
|
+
msg.setAppOwner(value);
|
|
14399
|
+
break;
|
|
14313
14400
|
default:
|
|
14314
14401
|
reader.skipField();
|
|
14315
14402
|
break;
|
|
@@ -14355,6 +14442,14 @@ proto.clarifai.api.MultiCollaboratorsResponse.serializeBinaryToWriter = function
|
|
|
14355
14442
|
proto_clarifai_api_resources_pb.Collaborator.serializeBinaryToWriter
|
|
14356
14443
|
);
|
|
14357
14444
|
}
|
|
14445
|
+
f = message.getAppOwner();
|
|
14446
|
+
if (f != null) {
|
|
14447
|
+
writer.writeMessage(
|
|
14448
|
+
3,
|
|
14449
|
+
f,
|
|
14450
|
+
proto_clarifai_api_resources_pb.User.serializeBinaryToWriter
|
|
14451
|
+
);
|
|
14452
|
+
}
|
|
14358
14453
|
};
|
|
14359
14454
|
|
|
14360
14455
|
|
|
@@ -14433,6 +14528,43 @@ proto.clarifai.api.MultiCollaboratorsResponse.prototype.clearCollaboratorsList =
|
|
|
14433
14528
|
};
|
|
14434
14529
|
|
|
14435
14530
|
|
|
14531
|
+
/**
|
|
14532
|
+
* optional User app_owner = 3;
|
|
14533
|
+
* @return {?proto.clarifai.api.User}
|
|
14534
|
+
*/
|
|
14535
|
+
proto.clarifai.api.MultiCollaboratorsResponse.prototype.getAppOwner = function() {
|
|
14536
|
+
return /** @type{?proto.clarifai.api.User} */ (
|
|
14537
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.User, 3));
|
|
14538
|
+
};
|
|
14539
|
+
|
|
14540
|
+
|
|
14541
|
+
/**
|
|
14542
|
+
* @param {?proto.clarifai.api.User|undefined} value
|
|
14543
|
+
* @return {!proto.clarifai.api.MultiCollaboratorsResponse} returns this
|
|
14544
|
+
*/
|
|
14545
|
+
proto.clarifai.api.MultiCollaboratorsResponse.prototype.setAppOwner = function(value) {
|
|
14546
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
14547
|
+
};
|
|
14548
|
+
|
|
14549
|
+
|
|
14550
|
+
/**
|
|
14551
|
+
* Clears the message field making it undefined.
|
|
14552
|
+
* @return {!proto.clarifai.api.MultiCollaboratorsResponse} returns this
|
|
14553
|
+
*/
|
|
14554
|
+
proto.clarifai.api.MultiCollaboratorsResponse.prototype.clearAppOwner = function() {
|
|
14555
|
+
return this.setAppOwner(undefined);
|
|
14556
|
+
};
|
|
14557
|
+
|
|
14558
|
+
|
|
14559
|
+
/**
|
|
14560
|
+
* Returns whether this field is set.
|
|
14561
|
+
* @return {boolean}
|
|
14562
|
+
*/
|
|
14563
|
+
proto.clarifai.api.MultiCollaboratorsResponse.prototype.hasAppOwner = function() {
|
|
14564
|
+
return jspb.Message.getField(this, 3) != null;
|
|
14565
|
+
};
|
|
14566
|
+
|
|
14567
|
+
|
|
14436
14568
|
|
|
14437
14569
|
|
|
14438
14570
|
|
|
@@ -14467,7 +14599,8 @@ proto.clarifai.api.ListCollaborationsRequest.toObject = function(includeInstance
|
|
|
14467
14599
|
var f, obj = {
|
|
14468
14600
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
14469
14601
|
page: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
14470
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
14602
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
14603
|
+
templateOnly: jspb.Message.getBooleanFieldWithDefault(msg, 4, false)
|
|
14471
14604
|
};
|
|
14472
14605
|
|
|
14473
14606
|
if (includeInstance) {
|
|
@@ -14517,6 +14650,10 @@ proto.clarifai.api.ListCollaborationsRequest.deserializeBinaryFromReader = funct
|
|
|
14517
14650
|
var value = /** @type {number} */ (reader.readUint32());
|
|
14518
14651
|
msg.setPerPage(value);
|
|
14519
14652
|
break;
|
|
14653
|
+
case 4:
|
|
14654
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
14655
|
+
msg.setTemplateOnly(value);
|
|
14656
|
+
break;
|
|
14520
14657
|
default:
|
|
14521
14658
|
reader.skipField();
|
|
14522
14659
|
break;
|
|
@@ -14568,6 +14705,13 @@ proto.clarifai.api.ListCollaborationsRequest.serializeBinaryToWriter = function(
|
|
|
14568
14705
|
f
|
|
14569
14706
|
);
|
|
14570
14707
|
}
|
|
14708
|
+
f = message.getTemplateOnly();
|
|
14709
|
+
if (f) {
|
|
14710
|
+
writer.writeBool(
|
|
14711
|
+
4,
|
|
14712
|
+
f
|
|
14713
|
+
);
|
|
14714
|
+
}
|
|
14571
14715
|
};
|
|
14572
14716
|
|
|
14573
14717
|
|
|
@@ -14644,6 +14788,24 @@ proto.clarifai.api.ListCollaborationsRequest.prototype.setPerPage = function(val
|
|
|
14644
14788
|
};
|
|
14645
14789
|
|
|
14646
14790
|
|
|
14791
|
+
/**
|
|
14792
|
+
* optional bool template_only = 4;
|
|
14793
|
+
* @return {boolean}
|
|
14794
|
+
*/
|
|
14795
|
+
proto.clarifai.api.ListCollaborationsRequest.prototype.getTemplateOnly = function() {
|
|
14796
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 4, false));
|
|
14797
|
+
};
|
|
14798
|
+
|
|
14799
|
+
|
|
14800
|
+
/**
|
|
14801
|
+
* @param {boolean} value
|
|
14802
|
+
* @return {!proto.clarifai.api.ListCollaborationsRequest} returns this
|
|
14803
|
+
*/
|
|
14804
|
+
proto.clarifai.api.ListCollaborationsRequest.prototype.setTemplateOnly = function(value) {
|
|
14805
|
+
return jspb.Message.setProto3BooleanField(this, 4, value);
|
|
14806
|
+
};
|
|
14807
|
+
|
|
14808
|
+
|
|
14647
14809
|
|
|
14648
14810
|
/**
|
|
14649
14811
|
* List of repeated fields within this message type.
|
|
@@ -35082,7 +35244,8 @@ proto.clarifai.api.GetResourceCountsResponse.toObject = function(includeInstance
|
|
|
35082
35244
|
datasets: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
35083
35245
|
models: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
35084
35246
|
workflows: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
35085
|
-
modules: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
35247
|
+
modules: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
35248
|
+
inputs: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
35086
35249
|
};
|
|
35087
35250
|
|
|
35088
35251
|
if (includeInstance) {
|
|
@@ -35140,6 +35303,10 @@ proto.clarifai.api.GetResourceCountsResponse.deserializeBinaryFromReader = funct
|
|
|
35140
35303
|
var value = /** @type {number} */ (reader.readInt64());
|
|
35141
35304
|
msg.setModules(value);
|
|
35142
35305
|
break;
|
|
35306
|
+
case 6:
|
|
35307
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
35308
|
+
msg.setInputs(value);
|
|
35309
|
+
break;
|
|
35143
35310
|
default:
|
|
35144
35311
|
reader.skipField();
|
|
35145
35312
|
break;
|
|
@@ -35205,6 +35372,13 @@ proto.clarifai.api.GetResourceCountsResponse.serializeBinaryToWriter = function(
|
|
|
35205
35372
|
f
|
|
35206
35373
|
);
|
|
35207
35374
|
}
|
|
35375
|
+
f = message.getInputs();
|
|
35376
|
+
if (f !== 0) {
|
|
35377
|
+
writer.writeInt64(
|
|
35378
|
+
6,
|
|
35379
|
+
f
|
|
35380
|
+
);
|
|
35381
|
+
}
|
|
35208
35382
|
};
|
|
35209
35383
|
|
|
35210
35384
|
|
|
@@ -35317,6 +35491,24 @@ proto.clarifai.api.GetResourceCountsResponse.prototype.setModules = function(val
|
|
|
35317
35491
|
};
|
|
35318
35492
|
|
|
35319
35493
|
|
|
35494
|
+
/**
|
|
35495
|
+
* optional int64 inputs = 6;
|
|
35496
|
+
* @return {number}
|
|
35497
|
+
*/
|
|
35498
|
+
proto.clarifai.api.GetResourceCountsResponse.prototype.getInputs = function() {
|
|
35499
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
35500
|
+
};
|
|
35501
|
+
|
|
35502
|
+
|
|
35503
|
+
/**
|
|
35504
|
+
* @param {number} value
|
|
35505
|
+
* @return {!proto.clarifai.api.GetResourceCountsResponse} returns this
|
|
35506
|
+
*/
|
|
35507
|
+
proto.clarifai.api.GetResourceCountsResponse.prototype.setInputs = function(value) {
|
|
35508
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
35509
|
+
};
|
|
35510
|
+
|
|
35511
|
+
|
|
35320
35512
|
|
|
35321
35513
|
/**
|
|
35322
35514
|
* List of repeated fields within this message type.
|