clarifai-web-grpc 10.9.3 → 10.9.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.
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
10.9.
|
|
1
|
+
10.9.4
|
|
@@ -41381,7 +41381,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
41381
41381
|
*/
|
|
41382
41382
|
proto.clarifai.api.TaskReviewConsensusStrategyInfo.toObject = function (includeInstance, msg) {
|
|
41383
41383
|
var f, obj = {
|
|
41384
|
-
approvalThreshold: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
41384
|
+
approvalThreshold: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
41385
|
+
approvalThresholdLabelers: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
41386
|
+
approvalThresholdReviewers: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
41385
41387
|
};
|
|
41386
41388
|
if (includeInstance) {
|
|
41387
41389
|
obj.$jspbMessageInstance = msg;
|
|
@@ -41417,6 +41419,14 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.deserializeBinaryFromReader =
|
|
|
41417
41419
|
var value = /** @type {number} */ (reader.readUint32());
|
|
41418
41420
|
msg.setApprovalThreshold(value);
|
|
41419
41421
|
break;
|
|
41422
|
+
case 3:
|
|
41423
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
41424
|
+
msg.setApprovalThresholdLabelers(value);
|
|
41425
|
+
break;
|
|
41426
|
+
case 4:
|
|
41427
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41428
|
+
msg.setApprovalThresholdReviewers(value);
|
|
41429
|
+
break;
|
|
41420
41430
|
default:
|
|
41421
41431
|
reader.skipField();
|
|
41422
41432
|
break;
|
|
@@ -41446,6 +41456,14 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.serializeBinaryToWriter = fun
|
|
|
41446
41456
|
if (f !== 0) {
|
|
41447
41457
|
writer.writeUint32(2, f);
|
|
41448
41458
|
}
|
|
41459
|
+
f = message.getApprovalThresholdLabelers();
|
|
41460
|
+
if (f !== 0) {
|
|
41461
|
+
writer.writeUint32(3, f);
|
|
41462
|
+
}
|
|
41463
|
+
f = message.getApprovalThresholdReviewers();
|
|
41464
|
+
if (f !== 0) {
|
|
41465
|
+
writer.writeInt32(4, f);
|
|
41466
|
+
}
|
|
41449
41467
|
};
|
|
41450
41468
|
/**
|
|
41451
41469
|
* optional uint32 approval_threshold = 2;
|
|
@@ -41461,6 +41479,34 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThreshol
|
|
|
41461
41479
|
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThreshold = function (value) {
|
|
41462
41480
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41463
41481
|
};
|
|
41482
|
+
/**
|
|
41483
|
+
* optional uint32 approval_threshold_labelers = 3;
|
|
41484
|
+
* @return {number}
|
|
41485
|
+
*/
|
|
41486
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThresholdLabelers = function () {
|
|
41487
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
41488
|
+
};
|
|
41489
|
+
/**
|
|
41490
|
+
* @param {number} value
|
|
41491
|
+
* @return {!proto.clarifai.api.TaskReviewConsensusStrategyInfo} returns this
|
|
41492
|
+
*/
|
|
41493
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThresholdLabelers = function (value) {
|
|
41494
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
41495
|
+
};
|
|
41496
|
+
/**
|
|
41497
|
+
* optional int32 approval_threshold_reviewers = 4;
|
|
41498
|
+
* @return {number}
|
|
41499
|
+
*/
|
|
41500
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThresholdReviewers = function () {
|
|
41501
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
41502
|
+
};
|
|
41503
|
+
/**
|
|
41504
|
+
* @param {number} value
|
|
41505
|
+
* @return {!proto.clarifai.api.TaskReviewConsensusStrategyInfo} returns this
|
|
41506
|
+
*/
|
|
41507
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThresholdReviewers = function (value) {
|
|
41508
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
41509
|
+
};
|
|
41464
41510
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41465
41511
|
/**
|
|
41466
41512
|
* Creates an object representation of this proto.
|
|
@@ -41381,7 +41381,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
41381
41381
|
*/
|
|
41382
41382
|
proto.clarifai.api.TaskReviewConsensusStrategyInfo.toObject = function (includeInstance, msg) {
|
|
41383
41383
|
var f, obj = {
|
|
41384
|
-
approvalThreshold: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
41384
|
+
approvalThreshold: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
41385
|
+
approvalThresholdLabelers: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
41386
|
+
approvalThresholdReviewers: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
41385
41387
|
};
|
|
41386
41388
|
if (includeInstance) {
|
|
41387
41389
|
obj.$jspbMessageInstance = msg;
|
|
@@ -41417,6 +41419,14 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.deserializeBinaryFromReader =
|
|
|
41417
41419
|
var value = /** @type {number} */ (reader.readUint32());
|
|
41418
41420
|
msg.setApprovalThreshold(value);
|
|
41419
41421
|
break;
|
|
41422
|
+
case 3:
|
|
41423
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
41424
|
+
msg.setApprovalThresholdLabelers(value);
|
|
41425
|
+
break;
|
|
41426
|
+
case 4:
|
|
41427
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
41428
|
+
msg.setApprovalThresholdReviewers(value);
|
|
41429
|
+
break;
|
|
41420
41430
|
default:
|
|
41421
41431
|
reader.skipField();
|
|
41422
41432
|
break;
|
|
@@ -41446,6 +41456,14 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.serializeBinaryToWriter = fun
|
|
|
41446
41456
|
if (f !== 0) {
|
|
41447
41457
|
writer.writeUint32(2, f);
|
|
41448
41458
|
}
|
|
41459
|
+
f = message.getApprovalThresholdLabelers();
|
|
41460
|
+
if (f !== 0) {
|
|
41461
|
+
writer.writeUint32(3, f);
|
|
41462
|
+
}
|
|
41463
|
+
f = message.getApprovalThresholdReviewers();
|
|
41464
|
+
if (f !== 0) {
|
|
41465
|
+
writer.writeInt32(4, f);
|
|
41466
|
+
}
|
|
41449
41467
|
};
|
|
41450
41468
|
/**
|
|
41451
41469
|
* optional uint32 approval_threshold = 2;
|
|
@@ -41461,6 +41479,34 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThreshol
|
|
|
41461
41479
|
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThreshold = function (value) {
|
|
41462
41480
|
return jspb.Message.setProto3IntField(this, 2, value);
|
|
41463
41481
|
};
|
|
41482
|
+
/**
|
|
41483
|
+
* optional uint32 approval_threshold_labelers = 3;
|
|
41484
|
+
* @return {number}
|
|
41485
|
+
*/
|
|
41486
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThresholdLabelers = function () {
|
|
41487
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
41488
|
+
};
|
|
41489
|
+
/**
|
|
41490
|
+
* @param {number} value
|
|
41491
|
+
* @return {!proto.clarifai.api.TaskReviewConsensusStrategyInfo} returns this
|
|
41492
|
+
*/
|
|
41493
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThresholdLabelers = function (value) {
|
|
41494
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
41495
|
+
};
|
|
41496
|
+
/**
|
|
41497
|
+
* optional int32 approval_threshold_reviewers = 4;
|
|
41498
|
+
* @return {number}
|
|
41499
|
+
*/
|
|
41500
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThresholdReviewers = function () {
|
|
41501
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
41502
|
+
};
|
|
41503
|
+
/**
|
|
41504
|
+
* @param {number} value
|
|
41505
|
+
* @return {!proto.clarifai.api.TaskReviewConsensusStrategyInfo} returns this
|
|
41506
|
+
*/
|
|
41507
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThresholdReviewers = function (value) {
|
|
41508
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
41509
|
+
};
|
|
41464
41510
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
41465
41511
|
/**
|
|
41466
41512
|
* Creates an object representation of this proto.
|
package/package.json
CHANGED
|
@@ -6067,6 +6067,12 @@ export class TaskReviewConsensusStrategyInfo extends jspb.Message {
|
|
|
6067
6067
|
getApprovalThreshold(): number;
|
|
6068
6068
|
setApprovalThreshold(value: number): TaskReviewConsensusStrategyInfo;
|
|
6069
6069
|
|
|
6070
|
+
getApprovalThresholdLabelers(): number;
|
|
6071
|
+
setApprovalThresholdLabelers(value: number): TaskReviewConsensusStrategyInfo;
|
|
6072
|
+
|
|
6073
|
+
getApprovalThresholdReviewers(): number;
|
|
6074
|
+
setApprovalThresholdReviewers(value: number): TaskReviewConsensusStrategyInfo;
|
|
6075
|
+
|
|
6070
6076
|
serializeBinary(): Uint8Array;
|
|
6071
6077
|
toObject(includeInstance?: boolean): TaskReviewConsensusStrategyInfo.AsObject;
|
|
6072
6078
|
static toObject(includeInstance: boolean, msg: TaskReviewConsensusStrategyInfo): TaskReviewConsensusStrategyInfo.AsObject;
|
|
@@ -6078,6 +6084,8 @@ export class TaskReviewConsensusStrategyInfo extends jspb.Message {
|
|
|
6078
6084
|
export namespace TaskReviewConsensusStrategyInfo {
|
|
6079
6085
|
export type AsObject = {
|
|
6080
6086
|
approvalThreshold: number,
|
|
6087
|
+
approvalThresholdLabelers: number,
|
|
6088
|
+
approvalThresholdReviewers: number,
|
|
6081
6089
|
}
|
|
6082
6090
|
}
|
|
6083
6091
|
|
|
@@ -51540,7 +51540,9 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.toObject = function
|
|
|
51540
51540
|
*/
|
|
51541
51541
|
proto.clarifai.api.TaskReviewConsensusStrategyInfo.toObject = function(includeInstance, msg) {
|
|
51542
51542
|
var f, obj = {
|
|
51543
|
-
approvalThreshold: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
51543
|
+
approvalThreshold: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
51544
|
+
approvalThresholdLabelers: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
51545
|
+
approvalThresholdReviewers: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
51544
51546
|
};
|
|
51545
51547
|
|
|
51546
51548
|
if (includeInstance) {
|
|
@@ -51581,6 +51583,14 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.deserializeBinaryFromReader =
|
|
|
51581
51583
|
var value = /** @type {number} */ (reader.readUint32());
|
|
51582
51584
|
msg.setApprovalThreshold(value);
|
|
51583
51585
|
break;
|
|
51586
|
+
case 3:
|
|
51587
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
51588
|
+
msg.setApprovalThresholdLabelers(value);
|
|
51589
|
+
break;
|
|
51590
|
+
case 4:
|
|
51591
|
+
var value = /** @type {number} */ (reader.readInt32());
|
|
51592
|
+
msg.setApprovalThresholdReviewers(value);
|
|
51593
|
+
break;
|
|
51584
51594
|
default:
|
|
51585
51595
|
reader.skipField();
|
|
51586
51596
|
break;
|
|
@@ -51617,6 +51627,20 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.serializeBinaryToWriter = fun
|
|
|
51617
51627
|
f
|
|
51618
51628
|
);
|
|
51619
51629
|
}
|
|
51630
|
+
f = message.getApprovalThresholdLabelers();
|
|
51631
|
+
if (f !== 0) {
|
|
51632
|
+
writer.writeUint32(
|
|
51633
|
+
3,
|
|
51634
|
+
f
|
|
51635
|
+
);
|
|
51636
|
+
}
|
|
51637
|
+
f = message.getApprovalThresholdReviewers();
|
|
51638
|
+
if (f !== 0) {
|
|
51639
|
+
writer.writeInt32(
|
|
51640
|
+
4,
|
|
51641
|
+
f
|
|
51642
|
+
);
|
|
51643
|
+
}
|
|
51620
51644
|
};
|
|
51621
51645
|
|
|
51622
51646
|
|
|
@@ -51638,6 +51662,42 @@ proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThreshol
|
|
|
51638
51662
|
};
|
|
51639
51663
|
|
|
51640
51664
|
|
|
51665
|
+
/**
|
|
51666
|
+
* optional uint32 approval_threshold_labelers = 3;
|
|
51667
|
+
* @return {number}
|
|
51668
|
+
*/
|
|
51669
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThresholdLabelers = function() {
|
|
51670
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
51671
|
+
};
|
|
51672
|
+
|
|
51673
|
+
|
|
51674
|
+
/**
|
|
51675
|
+
* @param {number} value
|
|
51676
|
+
* @return {!proto.clarifai.api.TaskReviewConsensusStrategyInfo} returns this
|
|
51677
|
+
*/
|
|
51678
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThresholdLabelers = function(value) {
|
|
51679
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
51680
|
+
};
|
|
51681
|
+
|
|
51682
|
+
|
|
51683
|
+
/**
|
|
51684
|
+
* optional int32 approval_threshold_reviewers = 4;
|
|
51685
|
+
* @return {number}
|
|
51686
|
+
*/
|
|
51687
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.getApprovalThresholdReviewers = function() {
|
|
51688
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
51689
|
+
};
|
|
51690
|
+
|
|
51691
|
+
|
|
51692
|
+
/**
|
|
51693
|
+
* @param {number} value
|
|
51694
|
+
* @return {!proto.clarifai.api.TaskReviewConsensusStrategyInfo} returns this
|
|
51695
|
+
*/
|
|
51696
|
+
proto.clarifai.api.TaskReviewConsensusStrategyInfo.prototype.setApprovalThresholdReviewers = function(value) {
|
|
51697
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
51698
|
+
};
|
|
51699
|
+
|
|
51700
|
+
|
|
51641
51701
|
|
|
51642
51702
|
|
|
51643
51703
|
|