clarifai-web-grpc 11.10.7 → 11.10.8
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 +2 -610
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -168
- package/dist/cjs/proto/clarifai/api/service_pb.js +0 -971
- package/dist/esm/proto/clarifai/api/resources_pb.js +2 -610
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -168
- package/dist/esm/proto/clarifai/api/service_pb.js +0 -971
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +0 -92
- package/proto/clarifai/api/resources_pb.js +2 -771
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -48
- package/proto/clarifai/api/service_grpc_web_pb.js +0 -244
- package/proto/clarifai/api/service_pb.d.ts +0 -140
- package/proto/clarifai/api/service_pb.js +0 -1198
|
@@ -49,7 +49,6 @@ goog.exportSymbol('proto.clarifai.api.Annotation', null, global);
|
|
|
49
49
|
goog.exportSymbol('proto.clarifai.api.AnnotationDataType', null, global);
|
|
50
50
|
goog.exportSymbol('proto.clarifai.api.AnnotationFilter', null, global);
|
|
51
51
|
goog.exportSymbol('proto.clarifai.api.AnnotationFilterConfig', null, global);
|
|
52
|
-
goog.exportSymbol('proto.clarifai.api.AnnotationSearchMetrics', null, global);
|
|
53
52
|
goog.exportSymbol('proto.clarifai.api.AnnotationTrack', null, global);
|
|
54
53
|
goog.exportSymbol('proto.clarifai.api.App', null, global);
|
|
55
54
|
goog.exportSymbol('proto.clarifai.api.App.EmbeddingsStorage', null, global);
|
|
@@ -183,7 +182,6 @@ goog.exportSymbol('proto.clarifai.api.Key', null, global);
|
|
|
183
182
|
goog.exportSymbol('proto.clarifai.api.KeypointEdge', null, global);
|
|
184
183
|
goog.exportSymbol('proto.clarifai.api.KeypointInfo', null, global);
|
|
185
184
|
goog.exportSymbol('proto.clarifai.api.KnowledgeGraph', null, global);
|
|
186
|
-
goog.exportSymbol('proto.clarifai.api.LOPQEvalResult', null, global);
|
|
187
185
|
goog.exportSymbol('proto.clarifai.api.LabelCount', null, global);
|
|
188
186
|
goog.exportSymbol('proto.clarifai.api.LabelDistribution', null, global);
|
|
189
187
|
goog.exportSymbol('proto.clarifai.api.LabelOrder', null, global);
|
|
@@ -2553,27 +2551,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2553
2551
|
*/
|
|
2554
2552
|
proto.clarifai.api.EvalTestSetEntry.displayName = 'proto.clarifai.api.EvalTestSetEntry';
|
|
2555
2553
|
}
|
|
2556
|
-
/**
|
|
2557
|
-
* Generated by JsPbCodeGenerator.
|
|
2558
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2559
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2560
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2561
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2562
|
-
* valid.
|
|
2563
|
-
* @extends {jspb.Message}
|
|
2564
|
-
* @constructor
|
|
2565
|
-
*/
|
|
2566
|
-
proto.clarifai.api.LOPQEvalResult = function(opt_data) {
|
|
2567
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2568
|
-
};
|
|
2569
|
-
goog.inherits(proto.clarifai.api.LOPQEvalResult, jspb.Message);
|
|
2570
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2571
|
-
/**
|
|
2572
|
-
* @public
|
|
2573
|
-
* @override
|
|
2574
|
-
*/
|
|
2575
|
-
proto.clarifai.api.LOPQEvalResult.displayName = 'proto.clarifai.api.LOPQEvalResult';
|
|
2576
|
-
}
|
|
2577
2554
|
/**
|
|
2578
2555
|
* Generated by JsPbCodeGenerator.
|
|
2579
2556
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -2585,7 +2562,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2585
2562
|
* @constructor
|
|
2586
2563
|
*/
|
|
2587
2564
|
proto.clarifai.api.MetricsSummary = function(opt_data) {
|
|
2588
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
2565
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2589
2566
|
};
|
|
2590
2567
|
goog.inherits(proto.clarifai.api.MetricsSummary, jspb.Message);
|
|
2591
2568
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -2889,27 +2866,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2889
2866
|
*/
|
|
2890
2867
|
proto.clarifai.api.Rank.displayName = 'proto.clarifai.api.Rank';
|
|
2891
2868
|
}
|
|
2892
|
-
/**
|
|
2893
|
-
* Generated by JsPbCodeGenerator.
|
|
2894
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2895
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2896
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2897
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2898
|
-
* valid.
|
|
2899
|
-
* @extends {jspb.Message}
|
|
2900
|
-
* @constructor
|
|
2901
|
-
*/
|
|
2902
|
-
proto.clarifai.api.AnnotationSearchMetrics = function(opt_data) {
|
|
2903
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2904
|
-
};
|
|
2905
|
-
goog.inherits(proto.clarifai.api.AnnotationSearchMetrics, jspb.Message);
|
|
2906
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2907
|
-
/**
|
|
2908
|
-
* @public
|
|
2909
|
-
* @override
|
|
2910
|
-
*/
|
|
2911
|
-
proto.clarifai.api.AnnotationSearchMetrics.displayName = 'proto.clarifai.api.AnnotationSearchMetrics';
|
|
2912
|
-
}
|
|
2913
2869
|
/**
|
|
2914
2870
|
* Generated by JsPbCodeGenerator.
|
|
2915
2871
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -39625,293 +39581,6 @@ proto.clarifai.api.EvalTestSetEntry.prototype.hasGroundTruthAnnotation = functio
|
|
|
39625
39581
|
|
|
39626
39582
|
|
|
39627
39583
|
|
|
39628
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39629
|
-
/**
|
|
39630
|
-
* Creates an object representation of this proto.
|
|
39631
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
39632
|
-
* Optional fields that are not set will be set to undefined.
|
|
39633
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
39634
|
-
* For the list of reserved names please see:
|
|
39635
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
39636
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
39637
|
-
* JSPB instance for transitional soy proto support:
|
|
39638
|
-
* http://goto/soy-param-migration
|
|
39639
|
-
* @return {!Object}
|
|
39640
|
-
*/
|
|
39641
|
-
proto.clarifai.api.LOPQEvalResult.prototype.toObject = function(opt_includeInstance) {
|
|
39642
|
-
return proto.clarifai.api.LOPQEvalResult.toObject(opt_includeInstance, this);
|
|
39643
|
-
};
|
|
39644
|
-
|
|
39645
|
-
|
|
39646
|
-
/**
|
|
39647
|
-
* Static version of the {@see toObject} method.
|
|
39648
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
39649
|
-
* the JSPB instance for transitional soy proto support:
|
|
39650
|
-
* http://goto/soy-param-migration
|
|
39651
|
-
* @param {!proto.clarifai.api.LOPQEvalResult} msg The msg instance to transform.
|
|
39652
|
-
* @return {!Object}
|
|
39653
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39654
|
-
*/
|
|
39655
|
-
proto.clarifai.api.LOPQEvalResult.toObject = function(includeInstance, msg) {
|
|
39656
|
-
var f, obj = {
|
|
39657
|
-
k: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
39658
|
-
recallVsBruteForce: jspb.Message.getFloatingPointFieldWithDefault(msg, 2, 0.0),
|
|
39659
|
-
kendallTauVsBruteForce: jspb.Message.getFloatingPointFieldWithDefault(msg, 3, 0.0),
|
|
39660
|
-
mostFrequentCodePercent: jspb.Message.getFloatingPointFieldWithDefault(msg, 4, 0.0),
|
|
39661
|
-
lopqNdcg: jspb.Message.getFloatingPointFieldWithDefault(msg, 5, 0.0),
|
|
39662
|
-
bruteForceNdcg: jspb.Message.getFloatingPointFieldWithDefault(msg, 6, 0.0)
|
|
39663
|
-
};
|
|
39664
|
-
|
|
39665
|
-
if (includeInstance) {
|
|
39666
|
-
obj.$jspbMessageInstance = msg;
|
|
39667
|
-
}
|
|
39668
|
-
return obj;
|
|
39669
|
-
};
|
|
39670
|
-
}
|
|
39671
|
-
|
|
39672
|
-
|
|
39673
|
-
/**
|
|
39674
|
-
* Deserializes binary data (in protobuf wire format).
|
|
39675
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
39676
|
-
* @return {!proto.clarifai.api.LOPQEvalResult}
|
|
39677
|
-
*/
|
|
39678
|
-
proto.clarifai.api.LOPQEvalResult.deserializeBinary = function(bytes) {
|
|
39679
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
39680
|
-
var msg = new proto.clarifai.api.LOPQEvalResult;
|
|
39681
|
-
return proto.clarifai.api.LOPQEvalResult.deserializeBinaryFromReader(msg, reader);
|
|
39682
|
-
};
|
|
39683
|
-
|
|
39684
|
-
|
|
39685
|
-
/**
|
|
39686
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
39687
|
-
* given reader into the given message object.
|
|
39688
|
-
* @param {!proto.clarifai.api.LOPQEvalResult} msg The message object to deserialize into.
|
|
39689
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
39690
|
-
* @return {!proto.clarifai.api.LOPQEvalResult}
|
|
39691
|
-
*/
|
|
39692
|
-
proto.clarifai.api.LOPQEvalResult.deserializeBinaryFromReader = function(msg, reader) {
|
|
39693
|
-
while (reader.nextField()) {
|
|
39694
|
-
if (reader.isEndGroup()) {
|
|
39695
|
-
break;
|
|
39696
|
-
}
|
|
39697
|
-
var field = reader.getFieldNumber();
|
|
39698
|
-
switch (field) {
|
|
39699
|
-
case 1:
|
|
39700
|
-
var value = /** @type {number} */ (reader.readInt32());
|
|
39701
|
-
msg.setK(value);
|
|
39702
|
-
break;
|
|
39703
|
-
case 2:
|
|
39704
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
39705
|
-
msg.setRecallVsBruteForce(value);
|
|
39706
|
-
break;
|
|
39707
|
-
case 3:
|
|
39708
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
39709
|
-
msg.setKendallTauVsBruteForce(value);
|
|
39710
|
-
break;
|
|
39711
|
-
case 4:
|
|
39712
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
39713
|
-
msg.setMostFrequentCodePercent(value);
|
|
39714
|
-
break;
|
|
39715
|
-
case 5:
|
|
39716
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
39717
|
-
msg.setLopqNdcg(value);
|
|
39718
|
-
break;
|
|
39719
|
-
case 6:
|
|
39720
|
-
var value = /** @type {number} */ (reader.readFloat());
|
|
39721
|
-
msg.setBruteForceNdcg(value);
|
|
39722
|
-
break;
|
|
39723
|
-
default:
|
|
39724
|
-
reader.skipField();
|
|
39725
|
-
break;
|
|
39726
|
-
}
|
|
39727
|
-
}
|
|
39728
|
-
return msg;
|
|
39729
|
-
};
|
|
39730
|
-
|
|
39731
|
-
|
|
39732
|
-
/**
|
|
39733
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
39734
|
-
* @return {!Uint8Array}
|
|
39735
|
-
*/
|
|
39736
|
-
proto.clarifai.api.LOPQEvalResult.prototype.serializeBinary = function() {
|
|
39737
|
-
var writer = new jspb.BinaryWriter();
|
|
39738
|
-
proto.clarifai.api.LOPQEvalResult.serializeBinaryToWriter(this, writer);
|
|
39739
|
-
return writer.getResultBuffer();
|
|
39740
|
-
};
|
|
39741
|
-
|
|
39742
|
-
|
|
39743
|
-
/**
|
|
39744
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
39745
|
-
* format), writing to the given BinaryWriter.
|
|
39746
|
-
* @param {!proto.clarifai.api.LOPQEvalResult} message
|
|
39747
|
-
* @param {!jspb.BinaryWriter} writer
|
|
39748
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
39749
|
-
*/
|
|
39750
|
-
proto.clarifai.api.LOPQEvalResult.serializeBinaryToWriter = function(message, writer) {
|
|
39751
|
-
var f = undefined;
|
|
39752
|
-
f = message.getK();
|
|
39753
|
-
if (f !== 0) {
|
|
39754
|
-
writer.writeInt32(
|
|
39755
|
-
1,
|
|
39756
|
-
f
|
|
39757
|
-
);
|
|
39758
|
-
}
|
|
39759
|
-
f = message.getRecallVsBruteForce();
|
|
39760
|
-
if (f !== 0.0) {
|
|
39761
|
-
writer.writeFloat(
|
|
39762
|
-
2,
|
|
39763
|
-
f
|
|
39764
|
-
);
|
|
39765
|
-
}
|
|
39766
|
-
f = message.getKendallTauVsBruteForce();
|
|
39767
|
-
if (f !== 0.0) {
|
|
39768
|
-
writer.writeFloat(
|
|
39769
|
-
3,
|
|
39770
|
-
f
|
|
39771
|
-
);
|
|
39772
|
-
}
|
|
39773
|
-
f = message.getMostFrequentCodePercent();
|
|
39774
|
-
if (f !== 0.0) {
|
|
39775
|
-
writer.writeFloat(
|
|
39776
|
-
4,
|
|
39777
|
-
f
|
|
39778
|
-
);
|
|
39779
|
-
}
|
|
39780
|
-
f = message.getLopqNdcg();
|
|
39781
|
-
if (f !== 0.0) {
|
|
39782
|
-
writer.writeFloat(
|
|
39783
|
-
5,
|
|
39784
|
-
f
|
|
39785
|
-
);
|
|
39786
|
-
}
|
|
39787
|
-
f = message.getBruteForceNdcg();
|
|
39788
|
-
if (f !== 0.0) {
|
|
39789
|
-
writer.writeFloat(
|
|
39790
|
-
6,
|
|
39791
|
-
f
|
|
39792
|
-
);
|
|
39793
|
-
}
|
|
39794
|
-
};
|
|
39795
|
-
|
|
39796
|
-
|
|
39797
|
-
/**
|
|
39798
|
-
* optional int32 k = 1;
|
|
39799
|
-
* @return {number}
|
|
39800
|
-
*/
|
|
39801
|
-
proto.clarifai.api.LOPQEvalResult.prototype.getK = function() {
|
|
39802
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
39803
|
-
};
|
|
39804
|
-
|
|
39805
|
-
|
|
39806
|
-
/**
|
|
39807
|
-
* @param {number} value
|
|
39808
|
-
* @return {!proto.clarifai.api.LOPQEvalResult} returns this
|
|
39809
|
-
*/
|
|
39810
|
-
proto.clarifai.api.LOPQEvalResult.prototype.setK = function(value) {
|
|
39811
|
-
return jspb.Message.setProto3IntField(this, 1, value);
|
|
39812
|
-
};
|
|
39813
|
-
|
|
39814
|
-
|
|
39815
|
-
/**
|
|
39816
|
-
* optional float recall_vs_brute_force = 2;
|
|
39817
|
-
* @return {number}
|
|
39818
|
-
*/
|
|
39819
|
-
proto.clarifai.api.LOPQEvalResult.prototype.getRecallVsBruteForce = function() {
|
|
39820
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 2, 0.0));
|
|
39821
|
-
};
|
|
39822
|
-
|
|
39823
|
-
|
|
39824
|
-
/**
|
|
39825
|
-
* @param {number} value
|
|
39826
|
-
* @return {!proto.clarifai.api.LOPQEvalResult} returns this
|
|
39827
|
-
*/
|
|
39828
|
-
proto.clarifai.api.LOPQEvalResult.prototype.setRecallVsBruteForce = function(value) {
|
|
39829
|
-
return jspb.Message.setProto3FloatField(this, 2, value);
|
|
39830
|
-
};
|
|
39831
|
-
|
|
39832
|
-
|
|
39833
|
-
/**
|
|
39834
|
-
* optional float kendall_tau_vs_brute_force = 3;
|
|
39835
|
-
* @return {number}
|
|
39836
|
-
*/
|
|
39837
|
-
proto.clarifai.api.LOPQEvalResult.prototype.getKendallTauVsBruteForce = function() {
|
|
39838
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 3, 0.0));
|
|
39839
|
-
};
|
|
39840
|
-
|
|
39841
|
-
|
|
39842
|
-
/**
|
|
39843
|
-
* @param {number} value
|
|
39844
|
-
* @return {!proto.clarifai.api.LOPQEvalResult} returns this
|
|
39845
|
-
*/
|
|
39846
|
-
proto.clarifai.api.LOPQEvalResult.prototype.setKendallTauVsBruteForce = function(value) {
|
|
39847
|
-
return jspb.Message.setProto3FloatField(this, 3, value);
|
|
39848
|
-
};
|
|
39849
|
-
|
|
39850
|
-
|
|
39851
|
-
/**
|
|
39852
|
-
* optional float most_frequent_code_percent = 4;
|
|
39853
|
-
* @return {number}
|
|
39854
|
-
*/
|
|
39855
|
-
proto.clarifai.api.LOPQEvalResult.prototype.getMostFrequentCodePercent = function() {
|
|
39856
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 4, 0.0));
|
|
39857
|
-
};
|
|
39858
|
-
|
|
39859
|
-
|
|
39860
|
-
/**
|
|
39861
|
-
* @param {number} value
|
|
39862
|
-
* @return {!proto.clarifai.api.LOPQEvalResult} returns this
|
|
39863
|
-
*/
|
|
39864
|
-
proto.clarifai.api.LOPQEvalResult.prototype.setMostFrequentCodePercent = function(value) {
|
|
39865
|
-
return jspb.Message.setProto3FloatField(this, 4, value);
|
|
39866
|
-
};
|
|
39867
|
-
|
|
39868
|
-
|
|
39869
|
-
/**
|
|
39870
|
-
* optional float lopq_ndcg = 5;
|
|
39871
|
-
* @return {number}
|
|
39872
|
-
*/
|
|
39873
|
-
proto.clarifai.api.LOPQEvalResult.prototype.getLopqNdcg = function() {
|
|
39874
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 5, 0.0));
|
|
39875
|
-
};
|
|
39876
|
-
|
|
39877
|
-
|
|
39878
|
-
/**
|
|
39879
|
-
* @param {number} value
|
|
39880
|
-
* @return {!proto.clarifai.api.LOPQEvalResult} returns this
|
|
39881
|
-
*/
|
|
39882
|
-
proto.clarifai.api.LOPQEvalResult.prototype.setLopqNdcg = function(value) {
|
|
39883
|
-
return jspb.Message.setProto3FloatField(this, 5, value);
|
|
39884
|
-
};
|
|
39885
|
-
|
|
39886
|
-
|
|
39887
|
-
/**
|
|
39888
|
-
* optional float brute_force_ndcg = 6;
|
|
39889
|
-
* @return {number}
|
|
39890
|
-
*/
|
|
39891
|
-
proto.clarifai.api.LOPQEvalResult.prototype.getBruteForceNdcg = function() {
|
|
39892
|
-
return /** @type {number} */ (jspb.Message.getFloatingPointFieldWithDefault(this, 6, 0.0));
|
|
39893
|
-
};
|
|
39894
|
-
|
|
39895
|
-
|
|
39896
|
-
/**
|
|
39897
|
-
* @param {number} value
|
|
39898
|
-
* @return {!proto.clarifai.api.LOPQEvalResult} returns this
|
|
39899
|
-
*/
|
|
39900
|
-
proto.clarifai.api.LOPQEvalResult.prototype.setBruteForceNdcg = function(value) {
|
|
39901
|
-
return jspb.Message.setProto3FloatField(this, 6, value);
|
|
39902
|
-
};
|
|
39903
|
-
|
|
39904
|
-
|
|
39905
|
-
|
|
39906
|
-
/**
|
|
39907
|
-
* List of repeated fields within this message type.
|
|
39908
|
-
* @private {!Array<number>}
|
|
39909
|
-
* @const
|
|
39910
|
-
*/
|
|
39911
|
-
proto.clarifai.api.MetricsSummary.repeatedFields_ = [9];
|
|
39912
|
-
|
|
39913
|
-
|
|
39914
|
-
|
|
39915
39584
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
39916
39585
|
/**
|
|
39917
39586
|
* Creates an object representation of this proto.
|
|
@@ -39950,9 +39619,7 @@ proto.clarifai.api.MetricsSummary.toObject = function(includeInstance, msg) {
|
|
|
39950
39619
|
macroAvgPrecision: jspb.Message.getFloatingPointFieldWithDefault(msg, 7, 0.0),
|
|
39951
39620
|
macroAvgRecall: jspb.Message.getFloatingPointFieldWithDefault(msg, 8, 0.0),
|
|
39952
39621
|
meanAvgPrecisionIou50: jspb.Message.getFloatingPointFieldWithDefault(msg, 10, 0.0),
|
|
39953
|
-
meanAvgPrecisionIouRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
39954
|
-
lopqMetricsList: jspb.Message.toObjectList(msg.getLopqMetricsList(),
|
|
39955
|
-
proto.clarifai.api.LOPQEvalResult.toObject, includeInstance)
|
|
39622
|
+
meanAvgPrecisionIouRange: jspb.Message.getFloatingPointFieldWithDefault(msg, 11, 0.0)
|
|
39956
39623
|
};
|
|
39957
39624
|
|
|
39958
39625
|
if (includeInstance) {
|
|
@@ -40029,11 +39696,6 @@ proto.clarifai.api.MetricsSummary.deserializeBinaryFromReader = function(msg, re
|
|
|
40029
39696
|
var value = /** @type {number} */ (reader.readFloat());
|
|
40030
39697
|
msg.setMeanAvgPrecisionIouRange(value);
|
|
40031
39698
|
break;
|
|
40032
|
-
case 9:
|
|
40033
|
-
var value = new proto.clarifai.api.LOPQEvalResult;
|
|
40034
|
-
reader.readMessage(value,proto.clarifai.api.LOPQEvalResult.deserializeBinaryFromReader);
|
|
40035
|
-
msg.addLopqMetrics(value);
|
|
40036
|
-
break;
|
|
40037
39699
|
default:
|
|
40038
39700
|
reader.skipField();
|
|
40039
39701
|
break;
|
|
@@ -40133,14 +39795,6 @@ proto.clarifai.api.MetricsSummary.serializeBinaryToWriter = function(message, wr
|
|
|
40133
39795
|
f
|
|
40134
39796
|
);
|
|
40135
39797
|
}
|
|
40136
|
-
f = message.getLopqMetricsList();
|
|
40137
|
-
if (f.length > 0) {
|
|
40138
|
-
writer.writeRepeatedMessage(
|
|
40139
|
-
9,
|
|
40140
|
-
f,
|
|
40141
|
-
proto.clarifai.api.LOPQEvalResult.serializeBinaryToWriter
|
|
40142
|
-
);
|
|
40143
|
-
}
|
|
40144
39798
|
};
|
|
40145
39799
|
|
|
40146
39800
|
|
|
@@ -40324,44 +39978,6 @@ proto.clarifai.api.MetricsSummary.prototype.setMeanAvgPrecisionIouRange = functi
|
|
|
40324
39978
|
};
|
|
40325
39979
|
|
|
40326
39980
|
|
|
40327
|
-
/**
|
|
40328
|
-
* repeated LOPQEvalResult lopq_metrics = 9;
|
|
40329
|
-
* @return {!Array<!proto.clarifai.api.LOPQEvalResult>}
|
|
40330
|
-
*/
|
|
40331
|
-
proto.clarifai.api.MetricsSummary.prototype.getLopqMetricsList = function() {
|
|
40332
|
-
return /** @type{!Array<!proto.clarifai.api.LOPQEvalResult>} */ (
|
|
40333
|
-
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.LOPQEvalResult, 9));
|
|
40334
|
-
};
|
|
40335
|
-
|
|
40336
|
-
|
|
40337
|
-
/**
|
|
40338
|
-
* @param {!Array<!proto.clarifai.api.LOPQEvalResult>} value
|
|
40339
|
-
* @return {!proto.clarifai.api.MetricsSummary} returns this
|
|
40340
|
-
*/
|
|
40341
|
-
proto.clarifai.api.MetricsSummary.prototype.setLopqMetricsList = function(value) {
|
|
40342
|
-
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
40343
|
-
};
|
|
40344
|
-
|
|
40345
|
-
|
|
40346
|
-
/**
|
|
40347
|
-
* @param {!proto.clarifai.api.LOPQEvalResult=} opt_value
|
|
40348
|
-
* @param {number=} opt_index
|
|
40349
|
-
* @return {!proto.clarifai.api.LOPQEvalResult}
|
|
40350
|
-
*/
|
|
40351
|
-
proto.clarifai.api.MetricsSummary.prototype.addLopqMetrics = function(opt_value, opt_index) {
|
|
40352
|
-
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.clarifai.api.LOPQEvalResult, opt_index);
|
|
40353
|
-
};
|
|
40354
|
-
|
|
40355
|
-
|
|
40356
|
-
/**
|
|
40357
|
-
* Clears the list making it empty but non-null.
|
|
40358
|
-
* @return {!proto.clarifai.api.MetricsSummary} returns this
|
|
40359
|
-
*/
|
|
40360
|
-
proto.clarifai.api.MetricsSummary.prototype.clearLopqMetricsList = function() {
|
|
40361
|
-
return this.setLopqMetricsList([]);
|
|
40362
|
-
};
|
|
40363
|
-
|
|
40364
|
-
|
|
40365
39981
|
|
|
40366
39982
|
/**
|
|
40367
39983
|
* List of repeated fields within this message type.
|
|
@@ -44886,391 +44502,6 @@ proto.clarifai.api.Rank.prototype.hasAnnotation = function() {
|
|
|
44886
44502
|
|
|
44887
44503
|
|
|
44888
44504
|
|
|
44889
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
44890
|
-
/**
|
|
44891
|
-
* Creates an object representation of this proto.
|
|
44892
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
44893
|
-
* Optional fields that are not set will be set to undefined.
|
|
44894
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
44895
|
-
* For the list of reserved names please see:
|
|
44896
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
44897
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
44898
|
-
* JSPB instance for transitional soy proto support:
|
|
44899
|
-
* http://goto/soy-param-migration
|
|
44900
|
-
* @return {!Object}
|
|
44901
|
-
*/
|
|
44902
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.toObject = function(opt_includeInstance) {
|
|
44903
|
-
return proto.clarifai.api.AnnotationSearchMetrics.toObject(opt_includeInstance, this);
|
|
44904
|
-
};
|
|
44905
|
-
|
|
44906
|
-
|
|
44907
|
-
/**
|
|
44908
|
-
* Static version of the {@see toObject} method.
|
|
44909
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
44910
|
-
* the JSPB instance for transitional soy proto support:
|
|
44911
|
-
* http://goto/soy-param-migration
|
|
44912
|
-
* @param {!proto.clarifai.api.AnnotationSearchMetrics} msg The msg instance to transform.
|
|
44913
|
-
* @return {!Object}
|
|
44914
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
44915
|
-
*/
|
|
44916
|
-
proto.clarifai.api.AnnotationSearchMetrics.toObject = function(includeInstance, msg) {
|
|
44917
|
-
var f, obj = {
|
|
44918
|
-
groundTruth: (f = msg.getGroundTruth()) && proto.clarifai.api.Search.toObject(includeInstance, f),
|
|
44919
|
-
searchToEval: (f = msg.getSearchToEval()) && proto.clarifai.api.Search.toObject(includeInstance, f),
|
|
44920
|
-
metrics: (f = msg.getMetrics()) && proto.clarifai.api.EvalMetrics.toObject(includeInstance, f),
|
|
44921
|
-
data: (f = msg.getData()) && proto.clarifai.api.Data.toObject(includeInstance, f),
|
|
44922
|
-
activeConceptCount: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
44923
|
-
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f)
|
|
44924
|
-
};
|
|
44925
|
-
|
|
44926
|
-
if (includeInstance) {
|
|
44927
|
-
obj.$jspbMessageInstance = msg;
|
|
44928
|
-
}
|
|
44929
|
-
return obj;
|
|
44930
|
-
};
|
|
44931
|
-
}
|
|
44932
|
-
|
|
44933
|
-
|
|
44934
|
-
/**
|
|
44935
|
-
* Deserializes binary data (in protobuf wire format).
|
|
44936
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
44937
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics}
|
|
44938
|
-
*/
|
|
44939
|
-
proto.clarifai.api.AnnotationSearchMetrics.deserializeBinary = function(bytes) {
|
|
44940
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
44941
|
-
var msg = new proto.clarifai.api.AnnotationSearchMetrics;
|
|
44942
|
-
return proto.clarifai.api.AnnotationSearchMetrics.deserializeBinaryFromReader(msg, reader);
|
|
44943
|
-
};
|
|
44944
|
-
|
|
44945
|
-
|
|
44946
|
-
/**
|
|
44947
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
44948
|
-
* given reader into the given message object.
|
|
44949
|
-
* @param {!proto.clarifai.api.AnnotationSearchMetrics} msg The message object to deserialize into.
|
|
44950
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
44951
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics}
|
|
44952
|
-
*/
|
|
44953
|
-
proto.clarifai.api.AnnotationSearchMetrics.deserializeBinaryFromReader = function(msg, reader) {
|
|
44954
|
-
while (reader.nextField()) {
|
|
44955
|
-
if (reader.isEndGroup()) {
|
|
44956
|
-
break;
|
|
44957
|
-
}
|
|
44958
|
-
var field = reader.getFieldNumber();
|
|
44959
|
-
switch (field) {
|
|
44960
|
-
case 1:
|
|
44961
|
-
var value = new proto.clarifai.api.Search;
|
|
44962
|
-
reader.readMessage(value,proto.clarifai.api.Search.deserializeBinaryFromReader);
|
|
44963
|
-
msg.setGroundTruth(value);
|
|
44964
|
-
break;
|
|
44965
|
-
case 2:
|
|
44966
|
-
var value = new proto.clarifai.api.Search;
|
|
44967
|
-
reader.readMessage(value,proto.clarifai.api.Search.deserializeBinaryFromReader);
|
|
44968
|
-
msg.setSearchToEval(value);
|
|
44969
|
-
break;
|
|
44970
|
-
case 3:
|
|
44971
|
-
var value = new proto.clarifai.api.EvalMetrics;
|
|
44972
|
-
reader.readMessage(value,proto.clarifai.api.EvalMetrics.deserializeBinaryFromReader);
|
|
44973
|
-
msg.setMetrics(value);
|
|
44974
|
-
break;
|
|
44975
|
-
case 4:
|
|
44976
|
-
var value = new proto.clarifai.api.Data;
|
|
44977
|
-
reader.readMessage(value,proto.clarifai.api.Data.deserializeBinaryFromReader);
|
|
44978
|
-
msg.setData(value);
|
|
44979
|
-
break;
|
|
44980
|
-
case 5:
|
|
44981
|
-
var value = /** @type {number} */ (reader.readUint32());
|
|
44982
|
-
msg.setActiveConceptCount(value);
|
|
44983
|
-
break;
|
|
44984
|
-
case 6:
|
|
44985
|
-
var value = new proto.clarifai.api.Visibility;
|
|
44986
|
-
reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
|
|
44987
|
-
msg.setVisibility(value);
|
|
44988
|
-
break;
|
|
44989
|
-
default:
|
|
44990
|
-
reader.skipField();
|
|
44991
|
-
break;
|
|
44992
|
-
}
|
|
44993
|
-
}
|
|
44994
|
-
return msg;
|
|
44995
|
-
};
|
|
44996
|
-
|
|
44997
|
-
|
|
44998
|
-
/**
|
|
44999
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
45000
|
-
* @return {!Uint8Array}
|
|
45001
|
-
*/
|
|
45002
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.serializeBinary = function() {
|
|
45003
|
-
var writer = new jspb.BinaryWriter();
|
|
45004
|
-
proto.clarifai.api.AnnotationSearchMetrics.serializeBinaryToWriter(this, writer);
|
|
45005
|
-
return writer.getResultBuffer();
|
|
45006
|
-
};
|
|
45007
|
-
|
|
45008
|
-
|
|
45009
|
-
/**
|
|
45010
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
45011
|
-
* format), writing to the given BinaryWriter.
|
|
45012
|
-
* @param {!proto.clarifai.api.AnnotationSearchMetrics} message
|
|
45013
|
-
* @param {!jspb.BinaryWriter} writer
|
|
45014
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
45015
|
-
*/
|
|
45016
|
-
proto.clarifai.api.AnnotationSearchMetrics.serializeBinaryToWriter = function(message, writer) {
|
|
45017
|
-
var f = undefined;
|
|
45018
|
-
f = message.getGroundTruth();
|
|
45019
|
-
if (f != null) {
|
|
45020
|
-
writer.writeMessage(
|
|
45021
|
-
1,
|
|
45022
|
-
f,
|
|
45023
|
-
proto.clarifai.api.Search.serializeBinaryToWriter
|
|
45024
|
-
);
|
|
45025
|
-
}
|
|
45026
|
-
f = message.getSearchToEval();
|
|
45027
|
-
if (f != null) {
|
|
45028
|
-
writer.writeMessage(
|
|
45029
|
-
2,
|
|
45030
|
-
f,
|
|
45031
|
-
proto.clarifai.api.Search.serializeBinaryToWriter
|
|
45032
|
-
);
|
|
45033
|
-
}
|
|
45034
|
-
f = message.getMetrics();
|
|
45035
|
-
if (f != null) {
|
|
45036
|
-
writer.writeMessage(
|
|
45037
|
-
3,
|
|
45038
|
-
f,
|
|
45039
|
-
proto.clarifai.api.EvalMetrics.serializeBinaryToWriter
|
|
45040
|
-
);
|
|
45041
|
-
}
|
|
45042
|
-
f = message.getData();
|
|
45043
|
-
if (f != null) {
|
|
45044
|
-
writer.writeMessage(
|
|
45045
|
-
4,
|
|
45046
|
-
f,
|
|
45047
|
-
proto.clarifai.api.Data.serializeBinaryToWriter
|
|
45048
|
-
);
|
|
45049
|
-
}
|
|
45050
|
-
f = message.getActiveConceptCount();
|
|
45051
|
-
if (f !== 0) {
|
|
45052
|
-
writer.writeUint32(
|
|
45053
|
-
5,
|
|
45054
|
-
f
|
|
45055
|
-
);
|
|
45056
|
-
}
|
|
45057
|
-
f = message.getVisibility();
|
|
45058
|
-
if (f != null) {
|
|
45059
|
-
writer.writeMessage(
|
|
45060
|
-
6,
|
|
45061
|
-
f,
|
|
45062
|
-
proto.clarifai.api.Visibility.serializeBinaryToWriter
|
|
45063
|
-
);
|
|
45064
|
-
}
|
|
45065
|
-
};
|
|
45066
|
-
|
|
45067
|
-
|
|
45068
|
-
/**
|
|
45069
|
-
* optional Search ground_truth = 1;
|
|
45070
|
-
* @return {?proto.clarifai.api.Search}
|
|
45071
|
-
*/
|
|
45072
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.getGroundTruth = function() {
|
|
45073
|
-
return /** @type{?proto.clarifai.api.Search} */ (
|
|
45074
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Search, 1));
|
|
45075
|
-
};
|
|
45076
|
-
|
|
45077
|
-
|
|
45078
|
-
/**
|
|
45079
|
-
* @param {?proto.clarifai.api.Search|undefined} value
|
|
45080
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45081
|
-
*/
|
|
45082
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.setGroundTruth = function(value) {
|
|
45083
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
45084
|
-
};
|
|
45085
|
-
|
|
45086
|
-
|
|
45087
|
-
/**
|
|
45088
|
-
* Clears the message field making it undefined.
|
|
45089
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45090
|
-
*/
|
|
45091
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.clearGroundTruth = function() {
|
|
45092
|
-
return this.setGroundTruth(undefined);
|
|
45093
|
-
};
|
|
45094
|
-
|
|
45095
|
-
|
|
45096
|
-
/**
|
|
45097
|
-
* Returns whether this field is set.
|
|
45098
|
-
* @return {boolean}
|
|
45099
|
-
*/
|
|
45100
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.hasGroundTruth = function() {
|
|
45101
|
-
return jspb.Message.getField(this, 1) != null;
|
|
45102
|
-
};
|
|
45103
|
-
|
|
45104
|
-
|
|
45105
|
-
/**
|
|
45106
|
-
* optional Search search_to_eval = 2;
|
|
45107
|
-
* @return {?proto.clarifai.api.Search}
|
|
45108
|
-
*/
|
|
45109
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.getSearchToEval = function() {
|
|
45110
|
-
return /** @type{?proto.clarifai.api.Search} */ (
|
|
45111
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Search, 2));
|
|
45112
|
-
};
|
|
45113
|
-
|
|
45114
|
-
|
|
45115
|
-
/**
|
|
45116
|
-
* @param {?proto.clarifai.api.Search|undefined} value
|
|
45117
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45118
|
-
*/
|
|
45119
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.setSearchToEval = function(value) {
|
|
45120
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
45121
|
-
};
|
|
45122
|
-
|
|
45123
|
-
|
|
45124
|
-
/**
|
|
45125
|
-
* Clears the message field making it undefined.
|
|
45126
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45127
|
-
*/
|
|
45128
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.clearSearchToEval = function() {
|
|
45129
|
-
return this.setSearchToEval(undefined);
|
|
45130
|
-
};
|
|
45131
|
-
|
|
45132
|
-
|
|
45133
|
-
/**
|
|
45134
|
-
* Returns whether this field is set.
|
|
45135
|
-
* @return {boolean}
|
|
45136
|
-
*/
|
|
45137
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.hasSearchToEval = function() {
|
|
45138
|
-
return jspb.Message.getField(this, 2) != null;
|
|
45139
|
-
};
|
|
45140
|
-
|
|
45141
|
-
|
|
45142
|
-
/**
|
|
45143
|
-
* optional EvalMetrics metrics = 3;
|
|
45144
|
-
* @return {?proto.clarifai.api.EvalMetrics}
|
|
45145
|
-
*/
|
|
45146
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.getMetrics = function() {
|
|
45147
|
-
return /** @type{?proto.clarifai.api.EvalMetrics} */ (
|
|
45148
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.EvalMetrics, 3));
|
|
45149
|
-
};
|
|
45150
|
-
|
|
45151
|
-
|
|
45152
|
-
/**
|
|
45153
|
-
* @param {?proto.clarifai.api.EvalMetrics|undefined} value
|
|
45154
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45155
|
-
*/
|
|
45156
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.setMetrics = function(value) {
|
|
45157
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
45158
|
-
};
|
|
45159
|
-
|
|
45160
|
-
|
|
45161
|
-
/**
|
|
45162
|
-
* Clears the message field making it undefined.
|
|
45163
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45164
|
-
*/
|
|
45165
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.clearMetrics = function() {
|
|
45166
|
-
return this.setMetrics(undefined);
|
|
45167
|
-
};
|
|
45168
|
-
|
|
45169
|
-
|
|
45170
|
-
/**
|
|
45171
|
-
* Returns whether this field is set.
|
|
45172
|
-
* @return {boolean}
|
|
45173
|
-
*/
|
|
45174
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.hasMetrics = function() {
|
|
45175
|
-
return jspb.Message.getField(this, 3) != null;
|
|
45176
|
-
};
|
|
45177
|
-
|
|
45178
|
-
|
|
45179
|
-
/**
|
|
45180
|
-
* optional Data data = 4;
|
|
45181
|
-
* @return {?proto.clarifai.api.Data}
|
|
45182
|
-
*/
|
|
45183
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.getData = function() {
|
|
45184
|
-
return /** @type{?proto.clarifai.api.Data} */ (
|
|
45185
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Data, 4));
|
|
45186
|
-
};
|
|
45187
|
-
|
|
45188
|
-
|
|
45189
|
-
/**
|
|
45190
|
-
* @param {?proto.clarifai.api.Data|undefined} value
|
|
45191
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45192
|
-
*/
|
|
45193
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.setData = function(value) {
|
|
45194
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
45195
|
-
};
|
|
45196
|
-
|
|
45197
|
-
|
|
45198
|
-
/**
|
|
45199
|
-
* Clears the message field making it undefined.
|
|
45200
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45201
|
-
*/
|
|
45202
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.clearData = function() {
|
|
45203
|
-
return this.setData(undefined);
|
|
45204
|
-
};
|
|
45205
|
-
|
|
45206
|
-
|
|
45207
|
-
/**
|
|
45208
|
-
* Returns whether this field is set.
|
|
45209
|
-
* @return {boolean}
|
|
45210
|
-
*/
|
|
45211
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.hasData = function() {
|
|
45212
|
-
return jspb.Message.getField(this, 4) != null;
|
|
45213
|
-
};
|
|
45214
|
-
|
|
45215
|
-
|
|
45216
|
-
/**
|
|
45217
|
-
* optional uint32 active_concept_count = 5;
|
|
45218
|
-
* @return {number}
|
|
45219
|
-
*/
|
|
45220
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.getActiveConceptCount = function() {
|
|
45221
|
-
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
45222
|
-
};
|
|
45223
|
-
|
|
45224
|
-
|
|
45225
|
-
/**
|
|
45226
|
-
* @param {number} value
|
|
45227
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45228
|
-
*/
|
|
45229
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.setActiveConceptCount = function(value) {
|
|
45230
|
-
return jspb.Message.setProto3IntField(this, 5, value);
|
|
45231
|
-
};
|
|
45232
|
-
|
|
45233
|
-
|
|
45234
|
-
/**
|
|
45235
|
-
* optional Visibility visibility = 6;
|
|
45236
|
-
* @return {?proto.clarifai.api.Visibility}
|
|
45237
|
-
*/
|
|
45238
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.getVisibility = function() {
|
|
45239
|
-
return /** @type{?proto.clarifai.api.Visibility} */ (
|
|
45240
|
-
jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 6));
|
|
45241
|
-
};
|
|
45242
|
-
|
|
45243
|
-
|
|
45244
|
-
/**
|
|
45245
|
-
* @param {?proto.clarifai.api.Visibility|undefined} value
|
|
45246
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45247
|
-
*/
|
|
45248
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.setVisibility = function(value) {
|
|
45249
|
-
return jspb.Message.setWrapperField(this, 6, value);
|
|
45250
|
-
};
|
|
45251
|
-
|
|
45252
|
-
|
|
45253
|
-
/**
|
|
45254
|
-
* Clears the message field making it undefined.
|
|
45255
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics} returns this
|
|
45256
|
-
*/
|
|
45257
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.clearVisibility = function() {
|
|
45258
|
-
return this.setVisibility(undefined);
|
|
45259
|
-
};
|
|
45260
|
-
|
|
45261
|
-
|
|
45262
|
-
/**
|
|
45263
|
-
* Returns whether this field is set.
|
|
45264
|
-
* @return {boolean}
|
|
45265
|
-
*/
|
|
45266
|
-
proto.clarifai.api.AnnotationSearchMetrics.prototype.hasVisibility = function() {
|
|
45267
|
-
return jspb.Message.getField(this, 6) != null;
|
|
45268
|
-
};
|
|
45269
|
-
|
|
45270
|
-
|
|
45271
|
-
|
|
45272
|
-
|
|
45273
|
-
|
|
45274
44505
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
45275
44506
|
/**
|
|
45276
44507
|
* Creates an object representation of this proto.
|