clarifai-web-grpc 11.10.7 → 11.10.9
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
|
@@ -47,7 +47,6 @@ goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null,
|
|
|
47
47
|
goog.exportSymbol('proto.clarifai.api.ConceptExtraInfoRequest', null, global);
|
|
48
48
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationFiltersRequest', null, global);
|
|
49
49
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationRequest', null, global);
|
|
50
|
-
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationSearchMetricsRequest', null, global);
|
|
51
50
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationTracksRequest', null, global);
|
|
52
51
|
goog.exportSymbol('proto.clarifai.api.DeleteAnnotationsRequest', null, global);
|
|
53
52
|
goog.exportSymbol('proto.clarifai.api.DeleteAppRequest', null, global);
|
|
@@ -83,7 +82,6 @@ goog.exportSymbol('proto.clarifai.api.DeleteWorkflowVersionsRequest', null, glob
|
|
|
83
82
|
goog.exportSymbol('proto.clarifai.api.DeleteWorkflowsRequest', null, global);
|
|
84
83
|
goog.exportSymbol('proto.clarifai.api.GetAnnotationFilterRequest', null, global);
|
|
85
84
|
goog.exportSymbol('proto.clarifai.api.GetAnnotationRequest', null, global);
|
|
86
|
-
goog.exportSymbol('proto.clarifai.api.GetAnnotationSearchMetricsRequest', null, global);
|
|
87
85
|
goog.exportSymbol('proto.clarifai.api.GetAppDuplicationRequest', null, global);
|
|
88
86
|
goog.exportSymbol('proto.clarifai.api.GetAppRequest', null, global);
|
|
89
87
|
goog.exportSymbol('proto.clarifai.api.GetBulkOperationRequest', null, global);
|
|
@@ -139,7 +137,6 @@ goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionRequest', null, global);
|
|
|
139
137
|
goog.exportSymbol('proto.clarifai.api.IdUpdateSource', null, global);
|
|
140
138
|
goog.exportSymbol('proto.clarifai.api.LabelSubmitConfig', null, global);
|
|
141
139
|
goog.exportSymbol('proto.clarifai.api.ListAnnotationFiltersRequest', null, global);
|
|
142
|
-
goog.exportSymbol('proto.clarifai.api.ListAnnotationSearchMetricsRequest', null, global);
|
|
143
140
|
goog.exportSymbol('proto.clarifai.api.ListAnnotationTracksRequest', null, global);
|
|
144
141
|
goog.exportSymbol('proto.clarifai.api.ListAnnotationWorkersRequest', null, global);
|
|
145
142
|
goog.exportSymbol('proto.clarifai.api.ListAnnotationsRequest', null, global);
|
|
@@ -216,7 +213,6 @@ goog.exportSymbol('proto.clarifai.api.ModelVersionPublishRequest', null, global)
|
|
|
216
213
|
goog.exportSymbol('proto.clarifai.api.ModelVersionUnpublishRequest', null, global);
|
|
217
214
|
goog.exportSymbol('proto.clarifai.api.MultiAnnotationFilterResponse', null, global);
|
|
218
215
|
goog.exportSymbol('proto.clarifai.api.MultiAnnotationResponse', null, global);
|
|
219
|
-
goog.exportSymbol('proto.clarifai.api.MultiAnnotationSearchMetricsResponse', null, global);
|
|
220
216
|
goog.exportSymbol('proto.clarifai.api.MultiAnnotationTrackResponse', null, global);
|
|
221
217
|
goog.exportSymbol('proto.clarifai.api.MultiAppDuplicationsResponse', null, global);
|
|
222
218
|
goog.exportSymbol('proto.clarifai.api.MultiAppResponse', null, global);
|
|
@@ -339,7 +335,6 @@ goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest', n
|
|
|
339
335
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionsRequest', null, global);
|
|
340
336
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowsRequest', null, global);
|
|
341
337
|
goog.exportSymbol('proto.clarifai.api.PostAnnotationFiltersRequest', null, global);
|
|
342
|
-
goog.exportSymbol('proto.clarifai.api.PostAnnotationSearchMetricsRequest', null, global);
|
|
343
338
|
goog.exportSymbol('proto.clarifai.api.PostAnnotationTracksRequest', null, global);
|
|
344
339
|
goog.exportSymbol('proto.clarifai.api.PostAnnotationsRequest', null, global);
|
|
345
340
|
goog.exportSymbol('proto.clarifai.api.PostAnnotationsSearchesRequest', null, global);
|
|
@@ -4701,27 +4696,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4701
4696
|
*/
|
|
4702
4697
|
proto.clarifai.api.PostAnnotationsSearchesRequest.displayName = 'proto.clarifai.api.PostAnnotationsSearchesRequest';
|
|
4703
4698
|
}
|
|
4704
|
-
/**
|
|
4705
|
-
* Generated by JsPbCodeGenerator.
|
|
4706
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4707
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4708
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4709
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4710
|
-
* valid.
|
|
4711
|
-
* @extends {jspb.Message}
|
|
4712
|
-
* @constructor
|
|
4713
|
-
*/
|
|
4714
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest = function(opt_data) {
|
|
4715
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4716
|
-
};
|
|
4717
|
-
goog.inherits(proto.clarifai.api.DeleteAnnotationSearchMetricsRequest, jspb.Message);
|
|
4718
|
-
if (goog.DEBUG && !COMPILED) {
|
|
4719
|
-
/**
|
|
4720
|
-
* @public
|
|
4721
|
-
* @override
|
|
4722
|
-
*/
|
|
4723
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.displayName = 'proto.clarifai.api.DeleteAnnotationSearchMetricsRequest';
|
|
4724
|
-
}
|
|
4725
4699
|
/**
|
|
4726
4700
|
* Generated by JsPbCodeGenerator.
|
|
4727
4701
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4785,90 +4759,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4785
4759
|
*/
|
|
4786
4760
|
proto.clarifai.api.MultiSearchResponse.displayName = 'proto.clarifai.api.MultiSearchResponse';
|
|
4787
4761
|
}
|
|
4788
|
-
/**
|
|
4789
|
-
* Generated by JsPbCodeGenerator.
|
|
4790
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4791
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4792
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4793
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4794
|
-
* valid.
|
|
4795
|
-
* @extends {jspb.Message}
|
|
4796
|
-
* @constructor
|
|
4797
|
-
*/
|
|
4798
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest = function(opt_data) {
|
|
4799
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4800
|
-
};
|
|
4801
|
-
goog.inherits(proto.clarifai.api.PostAnnotationSearchMetricsRequest, jspb.Message);
|
|
4802
|
-
if (goog.DEBUG && !COMPILED) {
|
|
4803
|
-
/**
|
|
4804
|
-
* @public
|
|
4805
|
-
* @override
|
|
4806
|
-
*/
|
|
4807
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.displayName = 'proto.clarifai.api.PostAnnotationSearchMetricsRequest';
|
|
4808
|
-
}
|
|
4809
|
-
/**
|
|
4810
|
-
* Generated by JsPbCodeGenerator.
|
|
4811
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4812
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4813
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4814
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4815
|
-
* valid.
|
|
4816
|
-
* @extends {jspb.Message}
|
|
4817
|
-
* @constructor
|
|
4818
|
-
*/
|
|
4819
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest = function(opt_data) {
|
|
4820
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4821
|
-
};
|
|
4822
|
-
goog.inherits(proto.clarifai.api.GetAnnotationSearchMetricsRequest, jspb.Message);
|
|
4823
|
-
if (goog.DEBUG && !COMPILED) {
|
|
4824
|
-
/**
|
|
4825
|
-
* @public
|
|
4826
|
-
* @override
|
|
4827
|
-
*/
|
|
4828
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.displayName = 'proto.clarifai.api.GetAnnotationSearchMetricsRequest';
|
|
4829
|
-
}
|
|
4830
|
-
/**
|
|
4831
|
-
* Generated by JsPbCodeGenerator.
|
|
4832
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4833
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4834
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4835
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4836
|
-
* valid.
|
|
4837
|
-
* @extends {jspb.Message}
|
|
4838
|
-
* @constructor
|
|
4839
|
-
*/
|
|
4840
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest = function(opt_data) {
|
|
4841
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4842
|
-
};
|
|
4843
|
-
goog.inherits(proto.clarifai.api.ListAnnotationSearchMetricsRequest, jspb.Message);
|
|
4844
|
-
if (goog.DEBUG && !COMPILED) {
|
|
4845
|
-
/**
|
|
4846
|
-
* @public
|
|
4847
|
-
* @override
|
|
4848
|
-
*/
|
|
4849
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.displayName = 'proto.clarifai.api.ListAnnotationSearchMetricsRequest';
|
|
4850
|
-
}
|
|
4851
|
-
/**
|
|
4852
|
-
* Generated by JsPbCodeGenerator.
|
|
4853
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4854
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
4855
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
4856
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
4857
|
-
* valid.
|
|
4858
|
-
* @extends {jspb.Message}
|
|
4859
|
-
* @constructor
|
|
4860
|
-
*/
|
|
4861
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse = function(opt_data) {
|
|
4862
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiAnnotationSearchMetricsResponse.repeatedFields_, null);
|
|
4863
|
-
};
|
|
4864
|
-
goog.inherits(proto.clarifai.api.MultiAnnotationSearchMetricsResponse, jspb.Message);
|
|
4865
|
-
if (goog.DEBUG && !COMPILED) {
|
|
4866
|
-
/**
|
|
4867
|
-
* @public
|
|
4868
|
-
* @override
|
|
4869
|
-
*/
|
|
4870
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.displayName = 'proto.clarifai.api.MultiAnnotationSearchMetricsResponse';
|
|
4871
|
-
}
|
|
4872
4762
|
/**
|
|
4873
4763
|
* Generated by JsPbCodeGenerator.
|
|
4874
4764
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -60197,187 +60087,6 @@ proto.clarifai.api.PostAnnotationsSearchesRequest.prototype.hasPagination = func
|
|
|
60197
60087
|
|
|
60198
60088
|
|
|
60199
60089
|
|
|
60200
|
-
|
|
60201
|
-
|
|
60202
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
60203
|
-
/**
|
|
60204
|
-
* Creates an object representation of this proto.
|
|
60205
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
60206
|
-
* Optional fields that are not set will be set to undefined.
|
|
60207
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
60208
|
-
* For the list of reserved names please see:
|
|
60209
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
60210
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
60211
|
-
* JSPB instance for transitional soy proto support:
|
|
60212
|
-
* http://goto/soy-param-migration
|
|
60213
|
-
* @return {!Object}
|
|
60214
|
-
*/
|
|
60215
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
60216
|
-
return proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.toObject(opt_includeInstance, this);
|
|
60217
|
-
};
|
|
60218
|
-
|
|
60219
|
-
|
|
60220
|
-
/**
|
|
60221
|
-
* Static version of the {@see toObject} method.
|
|
60222
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
60223
|
-
* the JSPB instance for transitional soy proto support:
|
|
60224
|
-
* http://goto/soy-param-migration
|
|
60225
|
-
* @param {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest} msg The msg instance to transform.
|
|
60226
|
-
* @return {!Object}
|
|
60227
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60228
|
-
*/
|
|
60229
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.toObject = function(includeInstance, msg) {
|
|
60230
|
-
var f, obj = {
|
|
60231
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
60232
|
-
id: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
60233
|
-
};
|
|
60234
|
-
|
|
60235
|
-
if (includeInstance) {
|
|
60236
|
-
obj.$jspbMessageInstance = msg;
|
|
60237
|
-
}
|
|
60238
|
-
return obj;
|
|
60239
|
-
};
|
|
60240
|
-
}
|
|
60241
|
-
|
|
60242
|
-
|
|
60243
|
-
/**
|
|
60244
|
-
* Deserializes binary data (in protobuf wire format).
|
|
60245
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
60246
|
-
* @return {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest}
|
|
60247
|
-
*/
|
|
60248
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.deserializeBinary = function(bytes) {
|
|
60249
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
60250
|
-
var msg = new proto.clarifai.api.DeleteAnnotationSearchMetricsRequest;
|
|
60251
|
-
return proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.deserializeBinaryFromReader(msg, reader);
|
|
60252
|
-
};
|
|
60253
|
-
|
|
60254
|
-
|
|
60255
|
-
/**
|
|
60256
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
60257
|
-
* given reader into the given message object.
|
|
60258
|
-
* @param {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest} msg The message object to deserialize into.
|
|
60259
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
60260
|
-
* @return {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest}
|
|
60261
|
-
*/
|
|
60262
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
60263
|
-
while (reader.nextField()) {
|
|
60264
|
-
if (reader.isEndGroup()) {
|
|
60265
|
-
break;
|
|
60266
|
-
}
|
|
60267
|
-
var field = reader.getFieldNumber();
|
|
60268
|
-
switch (field) {
|
|
60269
|
-
case 1:
|
|
60270
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
60271
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
60272
|
-
msg.setUserAppId(value);
|
|
60273
|
-
break;
|
|
60274
|
-
case 2:
|
|
60275
|
-
var value = /** @type {string} */ (reader.readString());
|
|
60276
|
-
msg.setId(value);
|
|
60277
|
-
break;
|
|
60278
|
-
default:
|
|
60279
|
-
reader.skipField();
|
|
60280
|
-
break;
|
|
60281
|
-
}
|
|
60282
|
-
}
|
|
60283
|
-
return msg;
|
|
60284
|
-
};
|
|
60285
|
-
|
|
60286
|
-
|
|
60287
|
-
/**
|
|
60288
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
60289
|
-
* @return {!Uint8Array}
|
|
60290
|
-
*/
|
|
60291
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.serializeBinary = function() {
|
|
60292
|
-
var writer = new jspb.BinaryWriter();
|
|
60293
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.serializeBinaryToWriter(this, writer);
|
|
60294
|
-
return writer.getResultBuffer();
|
|
60295
|
-
};
|
|
60296
|
-
|
|
60297
|
-
|
|
60298
|
-
/**
|
|
60299
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
60300
|
-
* format), writing to the given BinaryWriter.
|
|
60301
|
-
* @param {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest} message
|
|
60302
|
-
* @param {!jspb.BinaryWriter} writer
|
|
60303
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
60304
|
-
*/
|
|
60305
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
60306
|
-
var f = undefined;
|
|
60307
|
-
f = message.getUserAppId();
|
|
60308
|
-
if (f != null) {
|
|
60309
|
-
writer.writeMessage(
|
|
60310
|
-
1,
|
|
60311
|
-
f,
|
|
60312
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
60313
|
-
);
|
|
60314
|
-
}
|
|
60315
|
-
f = message.getId();
|
|
60316
|
-
if (f.length > 0) {
|
|
60317
|
-
writer.writeString(
|
|
60318
|
-
2,
|
|
60319
|
-
f
|
|
60320
|
-
);
|
|
60321
|
-
}
|
|
60322
|
-
};
|
|
60323
|
-
|
|
60324
|
-
|
|
60325
|
-
/**
|
|
60326
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
60327
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
60328
|
-
*/
|
|
60329
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.getUserAppId = function() {
|
|
60330
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
60331
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
60332
|
-
};
|
|
60333
|
-
|
|
60334
|
-
|
|
60335
|
-
/**
|
|
60336
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
60337
|
-
* @return {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest} returns this
|
|
60338
|
-
*/
|
|
60339
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.setUserAppId = function(value) {
|
|
60340
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
60341
|
-
};
|
|
60342
|
-
|
|
60343
|
-
|
|
60344
|
-
/**
|
|
60345
|
-
* Clears the message field making it undefined.
|
|
60346
|
-
* @return {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest} returns this
|
|
60347
|
-
*/
|
|
60348
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.clearUserAppId = function() {
|
|
60349
|
-
return this.setUserAppId(undefined);
|
|
60350
|
-
};
|
|
60351
|
-
|
|
60352
|
-
|
|
60353
|
-
/**
|
|
60354
|
-
* Returns whether this field is set.
|
|
60355
|
-
* @return {boolean}
|
|
60356
|
-
*/
|
|
60357
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.hasUserAppId = function() {
|
|
60358
|
-
return jspb.Message.getField(this, 1) != null;
|
|
60359
|
-
};
|
|
60360
|
-
|
|
60361
|
-
|
|
60362
|
-
/**
|
|
60363
|
-
* optional string id = 2;
|
|
60364
|
-
* @return {string}
|
|
60365
|
-
*/
|
|
60366
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.getId = function() {
|
|
60367
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
60368
|
-
};
|
|
60369
|
-
|
|
60370
|
-
|
|
60371
|
-
/**
|
|
60372
|
-
* @param {string} value
|
|
60373
|
-
* @return {!proto.clarifai.api.DeleteAnnotationSearchMetricsRequest} returns this
|
|
60374
|
-
*/
|
|
60375
|
-
proto.clarifai.api.DeleteAnnotationSearchMetricsRequest.prototype.setId = function(value) {
|
|
60376
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
60377
|
-
};
|
|
60378
|
-
|
|
60379
|
-
|
|
60380
|
-
|
|
60381
60090
|
/**
|
|
60382
60091
|
* List of repeated fields within this message type.
|
|
60383
60092
|
* @private {!Array<number>}
|
|
@@ -61272,913 +60981,6 @@ proto.clarifai.api.MultiSearchResponse.prototype.clearHitCountsList = function()
|
|
|
61272
60981
|
|
|
61273
60982
|
|
|
61274
60983
|
|
|
61275
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61276
|
-
/**
|
|
61277
|
-
* Creates an object representation of this proto.
|
|
61278
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
61279
|
-
* Optional fields that are not set will be set to undefined.
|
|
61280
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
61281
|
-
* For the list of reserved names please see:
|
|
61282
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61283
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
61284
|
-
* JSPB instance for transitional soy proto support:
|
|
61285
|
-
* http://goto/soy-param-migration
|
|
61286
|
-
* @return {!Object}
|
|
61287
|
-
*/
|
|
61288
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
61289
|
-
return proto.clarifai.api.PostAnnotationSearchMetricsRequest.toObject(opt_includeInstance, this);
|
|
61290
|
-
};
|
|
61291
|
-
|
|
61292
|
-
|
|
61293
|
-
/**
|
|
61294
|
-
* Static version of the {@see toObject} method.
|
|
61295
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
61296
|
-
* the JSPB instance for transitional soy proto support:
|
|
61297
|
-
* http://goto/soy-param-migration
|
|
61298
|
-
* @param {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} msg The msg instance to transform.
|
|
61299
|
-
* @return {!Object}
|
|
61300
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61301
|
-
*/
|
|
61302
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.toObject = function(includeInstance, msg) {
|
|
61303
|
-
var f, obj = {
|
|
61304
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
61305
|
-
id: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
61306
|
-
groundTruth: (f = msg.getGroundTruth()) && proto_clarifai_api_resources_pb.Search.toObject(includeInstance, f),
|
|
61307
|
-
searchToEval: (f = msg.getSearchToEval()) && proto_clarifai_api_resources_pb.Search.toObject(includeInstance, f),
|
|
61308
|
-
data: (f = msg.getData()) && proto_clarifai_api_resources_pb.Data.toObject(includeInstance, f),
|
|
61309
|
-
evaluationType: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
61310
|
-
};
|
|
61311
|
-
|
|
61312
|
-
if (includeInstance) {
|
|
61313
|
-
obj.$jspbMessageInstance = msg;
|
|
61314
|
-
}
|
|
61315
|
-
return obj;
|
|
61316
|
-
};
|
|
61317
|
-
}
|
|
61318
|
-
|
|
61319
|
-
|
|
61320
|
-
/**
|
|
61321
|
-
* Deserializes binary data (in protobuf wire format).
|
|
61322
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
61323
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest}
|
|
61324
|
-
*/
|
|
61325
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.deserializeBinary = function(bytes) {
|
|
61326
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
61327
|
-
var msg = new proto.clarifai.api.PostAnnotationSearchMetricsRequest;
|
|
61328
|
-
return proto.clarifai.api.PostAnnotationSearchMetricsRequest.deserializeBinaryFromReader(msg, reader);
|
|
61329
|
-
};
|
|
61330
|
-
|
|
61331
|
-
|
|
61332
|
-
/**
|
|
61333
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
61334
|
-
* given reader into the given message object.
|
|
61335
|
-
* @param {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} msg The message object to deserialize into.
|
|
61336
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
61337
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest}
|
|
61338
|
-
*/
|
|
61339
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
61340
|
-
while (reader.nextField()) {
|
|
61341
|
-
if (reader.isEndGroup()) {
|
|
61342
|
-
break;
|
|
61343
|
-
}
|
|
61344
|
-
var field = reader.getFieldNumber();
|
|
61345
|
-
switch (field) {
|
|
61346
|
-
case 1:
|
|
61347
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
61348
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
61349
|
-
msg.setUserAppId(value);
|
|
61350
|
-
break;
|
|
61351
|
-
case 2:
|
|
61352
|
-
var value = /** @type {string} */ (reader.readString());
|
|
61353
|
-
msg.setId(value);
|
|
61354
|
-
break;
|
|
61355
|
-
case 3:
|
|
61356
|
-
var value = new proto_clarifai_api_resources_pb.Search;
|
|
61357
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Search.deserializeBinaryFromReader);
|
|
61358
|
-
msg.setGroundTruth(value);
|
|
61359
|
-
break;
|
|
61360
|
-
case 4:
|
|
61361
|
-
var value = new proto_clarifai_api_resources_pb.Search;
|
|
61362
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Search.deserializeBinaryFromReader);
|
|
61363
|
-
msg.setSearchToEval(value);
|
|
61364
|
-
break;
|
|
61365
|
-
case 5:
|
|
61366
|
-
var value = new proto_clarifai_api_resources_pb.Data;
|
|
61367
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Data.deserializeBinaryFromReader);
|
|
61368
|
-
msg.setData(value);
|
|
61369
|
-
break;
|
|
61370
|
-
case 6:
|
|
61371
|
-
var value = /** @type {!proto.clarifai.api.EvaluationType} */ (reader.readEnum());
|
|
61372
|
-
msg.setEvaluationType(value);
|
|
61373
|
-
break;
|
|
61374
|
-
default:
|
|
61375
|
-
reader.skipField();
|
|
61376
|
-
break;
|
|
61377
|
-
}
|
|
61378
|
-
}
|
|
61379
|
-
return msg;
|
|
61380
|
-
};
|
|
61381
|
-
|
|
61382
|
-
|
|
61383
|
-
/**
|
|
61384
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
61385
|
-
* @return {!Uint8Array}
|
|
61386
|
-
*/
|
|
61387
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.serializeBinary = function() {
|
|
61388
|
-
var writer = new jspb.BinaryWriter();
|
|
61389
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.serializeBinaryToWriter(this, writer);
|
|
61390
|
-
return writer.getResultBuffer();
|
|
61391
|
-
};
|
|
61392
|
-
|
|
61393
|
-
|
|
61394
|
-
/**
|
|
61395
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
61396
|
-
* format), writing to the given BinaryWriter.
|
|
61397
|
-
* @param {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} message
|
|
61398
|
-
* @param {!jspb.BinaryWriter} writer
|
|
61399
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61400
|
-
*/
|
|
61401
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
61402
|
-
var f = undefined;
|
|
61403
|
-
f = message.getUserAppId();
|
|
61404
|
-
if (f != null) {
|
|
61405
|
-
writer.writeMessage(
|
|
61406
|
-
1,
|
|
61407
|
-
f,
|
|
61408
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
61409
|
-
);
|
|
61410
|
-
}
|
|
61411
|
-
f = message.getId();
|
|
61412
|
-
if (f.length > 0) {
|
|
61413
|
-
writer.writeString(
|
|
61414
|
-
2,
|
|
61415
|
-
f
|
|
61416
|
-
);
|
|
61417
|
-
}
|
|
61418
|
-
f = message.getGroundTruth();
|
|
61419
|
-
if (f != null) {
|
|
61420
|
-
writer.writeMessage(
|
|
61421
|
-
3,
|
|
61422
|
-
f,
|
|
61423
|
-
proto_clarifai_api_resources_pb.Search.serializeBinaryToWriter
|
|
61424
|
-
);
|
|
61425
|
-
}
|
|
61426
|
-
f = message.getSearchToEval();
|
|
61427
|
-
if (f != null) {
|
|
61428
|
-
writer.writeMessage(
|
|
61429
|
-
4,
|
|
61430
|
-
f,
|
|
61431
|
-
proto_clarifai_api_resources_pb.Search.serializeBinaryToWriter
|
|
61432
|
-
);
|
|
61433
|
-
}
|
|
61434
|
-
f = message.getData();
|
|
61435
|
-
if (f != null) {
|
|
61436
|
-
writer.writeMessage(
|
|
61437
|
-
5,
|
|
61438
|
-
f,
|
|
61439
|
-
proto_clarifai_api_resources_pb.Data.serializeBinaryToWriter
|
|
61440
|
-
);
|
|
61441
|
-
}
|
|
61442
|
-
f = message.getEvaluationType();
|
|
61443
|
-
if (f !== 0.0) {
|
|
61444
|
-
writer.writeEnum(
|
|
61445
|
-
6,
|
|
61446
|
-
f
|
|
61447
|
-
);
|
|
61448
|
-
}
|
|
61449
|
-
};
|
|
61450
|
-
|
|
61451
|
-
|
|
61452
|
-
/**
|
|
61453
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
61454
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
61455
|
-
*/
|
|
61456
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.getUserAppId = function() {
|
|
61457
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
61458
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
61459
|
-
};
|
|
61460
|
-
|
|
61461
|
-
|
|
61462
|
-
/**
|
|
61463
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
61464
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61465
|
-
*/
|
|
61466
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.setUserAppId = function(value) {
|
|
61467
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
61468
|
-
};
|
|
61469
|
-
|
|
61470
|
-
|
|
61471
|
-
/**
|
|
61472
|
-
* Clears the message field making it undefined.
|
|
61473
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61474
|
-
*/
|
|
61475
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.clearUserAppId = function() {
|
|
61476
|
-
return this.setUserAppId(undefined);
|
|
61477
|
-
};
|
|
61478
|
-
|
|
61479
|
-
|
|
61480
|
-
/**
|
|
61481
|
-
* Returns whether this field is set.
|
|
61482
|
-
* @return {boolean}
|
|
61483
|
-
*/
|
|
61484
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.hasUserAppId = function() {
|
|
61485
|
-
return jspb.Message.getField(this, 1) != null;
|
|
61486
|
-
};
|
|
61487
|
-
|
|
61488
|
-
|
|
61489
|
-
/**
|
|
61490
|
-
* optional string id = 2;
|
|
61491
|
-
* @return {string}
|
|
61492
|
-
*/
|
|
61493
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.getId = function() {
|
|
61494
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
61495
|
-
};
|
|
61496
|
-
|
|
61497
|
-
|
|
61498
|
-
/**
|
|
61499
|
-
* @param {string} value
|
|
61500
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61501
|
-
*/
|
|
61502
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.setId = function(value) {
|
|
61503
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
61504
|
-
};
|
|
61505
|
-
|
|
61506
|
-
|
|
61507
|
-
/**
|
|
61508
|
-
* optional Search ground_truth = 3;
|
|
61509
|
-
* @return {?proto.clarifai.api.Search}
|
|
61510
|
-
*/
|
|
61511
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.getGroundTruth = function() {
|
|
61512
|
-
return /** @type{?proto.clarifai.api.Search} */ (
|
|
61513
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Search, 3));
|
|
61514
|
-
};
|
|
61515
|
-
|
|
61516
|
-
|
|
61517
|
-
/**
|
|
61518
|
-
* @param {?proto.clarifai.api.Search|undefined} value
|
|
61519
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61520
|
-
*/
|
|
61521
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.setGroundTruth = function(value) {
|
|
61522
|
-
return jspb.Message.setWrapperField(this, 3, value);
|
|
61523
|
-
};
|
|
61524
|
-
|
|
61525
|
-
|
|
61526
|
-
/**
|
|
61527
|
-
* Clears the message field making it undefined.
|
|
61528
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61529
|
-
*/
|
|
61530
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.clearGroundTruth = function() {
|
|
61531
|
-
return this.setGroundTruth(undefined);
|
|
61532
|
-
};
|
|
61533
|
-
|
|
61534
|
-
|
|
61535
|
-
/**
|
|
61536
|
-
* Returns whether this field is set.
|
|
61537
|
-
* @return {boolean}
|
|
61538
|
-
*/
|
|
61539
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.hasGroundTruth = function() {
|
|
61540
|
-
return jspb.Message.getField(this, 3) != null;
|
|
61541
|
-
};
|
|
61542
|
-
|
|
61543
|
-
|
|
61544
|
-
/**
|
|
61545
|
-
* optional Search search_to_eval = 4;
|
|
61546
|
-
* @return {?proto.clarifai.api.Search}
|
|
61547
|
-
*/
|
|
61548
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.getSearchToEval = function() {
|
|
61549
|
-
return /** @type{?proto.clarifai.api.Search} */ (
|
|
61550
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Search, 4));
|
|
61551
|
-
};
|
|
61552
|
-
|
|
61553
|
-
|
|
61554
|
-
/**
|
|
61555
|
-
* @param {?proto.clarifai.api.Search|undefined} value
|
|
61556
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61557
|
-
*/
|
|
61558
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.setSearchToEval = function(value) {
|
|
61559
|
-
return jspb.Message.setWrapperField(this, 4, value);
|
|
61560
|
-
};
|
|
61561
|
-
|
|
61562
|
-
|
|
61563
|
-
/**
|
|
61564
|
-
* Clears the message field making it undefined.
|
|
61565
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61566
|
-
*/
|
|
61567
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.clearSearchToEval = function() {
|
|
61568
|
-
return this.setSearchToEval(undefined);
|
|
61569
|
-
};
|
|
61570
|
-
|
|
61571
|
-
|
|
61572
|
-
/**
|
|
61573
|
-
* Returns whether this field is set.
|
|
61574
|
-
* @return {boolean}
|
|
61575
|
-
*/
|
|
61576
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.hasSearchToEval = function() {
|
|
61577
|
-
return jspb.Message.getField(this, 4) != null;
|
|
61578
|
-
};
|
|
61579
|
-
|
|
61580
|
-
|
|
61581
|
-
/**
|
|
61582
|
-
* optional Data data = 5;
|
|
61583
|
-
* @return {?proto.clarifai.api.Data}
|
|
61584
|
-
*/
|
|
61585
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.getData = function() {
|
|
61586
|
-
return /** @type{?proto.clarifai.api.Data} */ (
|
|
61587
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Data, 5));
|
|
61588
|
-
};
|
|
61589
|
-
|
|
61590
|
-
|
|
61591
|
-
/**
|
|
61592
|
-
* @param {?proto.clarifai.api.Data|undefined} value
|
|
61593
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61594
|
-
*/
|
|
61595
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.setData = function(value) {
|
|
61596
|
-
return jspb.Message.setWrapperField(this, 5, value);
|
|
61597
|
-
};
|
|
61598
|
-
|
|
61599
|
-
|
|
61600
|
-
/**
|
|
61601
|
-
* Clears the message field making it undefined.
|
|
61602
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61603
|
-
*/
|
|
61604
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.clearData = function() {
|
|
61605
|
-
return this.setData(undefined);
|
|
61606
|
-
};
|
|
61607
|
-
|
|
61608
|
-
|
|
61609
|
-
/**
|
|
61610
|
-
* Returns whether this field is set.
|
|
61611
|
-
* @return {boolean}
|
|
61612
|
-
*/
|
|
61613
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.hasData = function() {
|
|
61614
|
-
return jspb.Message.getField(this, 5) != null;
|
|
61615
|
-
};
|
|
61616
|
-
|
|
61617
|
-
|
|
61618
|
-
/**
|
|
61619
|
-
* optional EvaluationType evaluation_type = 6;
|
|
61620
|
-
* @return {!proto.clarifai.api.EvaluationType}
|
|
61621
|
-
*/
|
|
61622
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.getEvaluationType = function() {
|
|
61623
|
-
return /** @type {!proto.clarifai.api.EvaluationType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
61624
|
-
};
|
|
61625
|
-
|
|
61626
|
-
|
|
61627
|
-
/**
|
|
61628
|
-
* @param {!proto.clarifai.api.EvaluationType} value
|
|
61629
|
-
* @return {!proto.clarifai.api.PostAnnotationSearchMetricsRequest} returns this
|
|
61630
|
-
*/
|
|
61631
|
-
proto.clarifai.api.PostAnnotationSearchMetricsRequest.prototype.setEvaluationType = function(value) {
|
|
61632
|
-
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
61633
|
-
};
|
|
61634
|
-
|
|
61635
|
-
|
|
61636
|
-
|
|
61637
|
-
|
|
61638
|
-
|
|
61639
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61640
|
-
/**
|
|
61641
|
-
* Creates an object representation of this proto.
|
|
61642
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
61643
|
-
* Optional fields that are not set will be set to undefined.
|
|
61644
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
61645
|
-
* For the list of reserved names please see:
|
|
61646
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61647
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
61648
|
-
* JSPB instance for transitional soy proto support:
|
|
61649
|
-
* http://goto/soy-param-migration
|
|
61650
|
-
* @return {!Object}
|
|
61651
|
-
*/
|
|
61652
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
61653
|
-
return proto.clarifai.api.GetAnnotationSearchMetricsRequest.toObject(opt_includeInstance, this);
|
|
61654
|
-
};
|
|
61655
|
-
|
|
61656
|
-
|
|
61657
|
-
/**
|
|
61658
|
-
* Static version of the {@see toObject} method.
|
|
61659
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
61660
|
-
* the JSPB instance for transitional soy proto support:
|
|
61661
|
-
* http://goto/soy-param-migration
|
|
61662
|
-
* @param {!proto.clarifai.api.GetAnnotationSearchMetricsRequest} msg The msg instance to transform.
|
|
61663
|
-
* @return {!Object}
|
|
61664
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61665
|
-
*/
|
|
61666
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.toObject = function(includeInstance, msg) {
|
|
61667
|
-
var f, obj = {
|
|
61668
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
61669
|
-
id: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
61670
|
-
};
|
|
61671
|
-
|
|
61672
|
-
if (includeInstance) {
|
|
61673
|
-
obj.$jspbMessageInstance = msg;
|
|
61674
|
-
}
|
|
61675
|
-
return obj;
|
|
61676
|
-
};
|
|
61677
|
-
}
|
|
61678
|
-
|
|
61679
|
-
|
|
61680
|
-
/**
|
|
61681
|
-
* Deserializes binary data (in protobuf wire format).
|
|
61682
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
61683
|
-
* @return {!proto.clarifai.api.GetAnnotationSearchMetricsRequest}
|
|
61684
|
-
*/
|
|
61685
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.deserializeBinary = function(bytes) {
|
|
61686
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
61687
|
-
var msg = new proto.clarifai.api.GetAnnotationSearchMetricsRequest;
|
|
61688
|
-
return proto.clarifai.api.GetAnnotationSearchMetricsRequest.deserializeBinaryFromReader(msg, reader);
|
|
61689
|
-
};
|
|
61690
|
-
|
|
61691
|
-
|
|
61692
|
-
/**
|
|
61693
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
61694
|
-
* given reader into the given message object.
|
|
61695
|
-
* @param {!proto.clarifai.api.GetAnnotationSearchMetricsRequest} msg The message object to deserialize into.
|
|
61696
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
61697
|
-
* @return {!proto.clarifai.api.GetAnnotationSearchMetricsRequest}
|
|
61698
|
-
*/
|
|
61699
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
61700
|
-
while (reader.nextField()) {
|
|
61701
|
-
if (reader.isEndGroup()) {
|
|
61702
|
-
break;
|
|
61703
|
-
}
|
|
61704
|
-
var field = reader.getFieldNumber();
|
|
61705
|
-
switch (field) {
|
|
61706
|
-
case 1:
|
|
61707
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
61708
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
61709
|
-
msg.setUserAppId(value);
|
|
61710
|
-
break;
|
|
61711
|
-
case 2:
|
|
61712
|
-
var value = /** @type {string} */ (reader.readString());
|
|
61713
|
-
msg.setId(value);
|
|
61714
|
-
break;
|
|
61715
|
-
default:
|
|
61716
|
-
reader.skipField();
|
|
61717
|
-
break;
|
|
61718
|
-
}
|
|
61719
|
-
}
|
|
61720
|
-
return msg;
|
|
61721
|
-
};
|
|
61722
|
-
|
|
61723
|
-
|
|
61724
|
-
/**
|
|
61725
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
61726
|
-
* @return {!Uint8Array}
|
|
61727
|
-
*/
|
|
61728
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.serializeBinary = function() {
|
|
61729
|
-
var writer = new jspb.BinaryWriter();
|
|
61730
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.serializeBinaryToWriter(this, writer);
|
|
61731
|
-
return writer.getResultBuffer();
|
|
61732
|
-
};
|
|
61733
|
-
|
|
61734
|
-
|
|
61735
|
-
/**
|
|
61736
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
61737
|
-
* format), writing to the given BinaryWriter.
|
|
61738
|
-
* @param {!proto.clarifai.api.GetAnnotationSearchMetricsRequest} message
|
|
61739
|
-
* @param {!jspb.BinaryWriter} writer
|
|
61740
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61741
|
-
*/
|
|
61742
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
61743
|
-
var f = undefined;
|
|
61744
|
-
f = message.getUserAppId();
|
|
61745
|
-
if (f != null) {
|
|
61746
|
-
writer.writeMessage(
|
|
61747
|
-
1,
|
|
61748
|
-
f,
|
|
61749
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
61750
|
-
);
|
|
61751
|
-
}
|
|
61752
|
-
f = message.getId();
|
|
61753
|
-
if (f.length > 0) {
|
|
61754
|
-
writer.writeString(
|
|
61755
|
-
2,
|
|
61756
|
-
f
|
|
61757
|
-
);
|
|
61758
|
-
}
|
|
61759
|
-
};
|
|
61760
|
-
|
|
61761
|
-
|
|
61762
|
-
/**
|
|
61763
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
61764
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
61765
|
-
*/
|
|
61766
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.getUserAppId = function() {
|
|
61767
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
61768
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
61769
|
-
};
|
|
61770
|
-
|
|
61771
|
-
|
|
61772
|
-
/**
|
|
61773
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
61774
|
-
* @return {!proto.clarifai.api.GetAnnotationSearchMetricsRequest} returns this
|
|
61775
|
-
*/
|
|
61776
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.setUserAppId = function(value) {
|
|
61777
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
61778
|
-
};
|
|
61779
|
-
|
|
61780
|
-
|
|
61781
|
-
/**
|
|
61782
|
-
* Clears the message field making it undefined.
|
|
61783
|
-
* @return {!proto.clarifai.api.GetAnnotationSearchMetricsRequest} returns this
|
|
61784
|
-
*/
|
|
61785
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.clearUserAppId = function() {
|
|
61786
|
-
return this.setUserAppId(undefined);
|
|
61787
|
-
};
|
|
61788
|
-
|
|
61789
|
-
|
|
61790
|
-
/**
|
|
61791
|
-
* Returns whether this field is set.
|
|
61792
|
-
* @return {boolean}
|
|
61793
|
-
*/
|
|
61794
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.hasUserAppId = function() {
|
|
61795
|
-
return jspb.Message.getField(this, 1) != null;
|
|
61796
|
-
};
|
|
61797
|
-
|
|
61798
|
-
|
|
61799
|
-
/**
|
|
61800
|
-
* optional string id = 2;
|
|
61801
|
-
* @return {string}
|
|
61802
|
-
*/
|
|
61803
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.getId = function() {
|
|
61804
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
61805
|
-
};
|
|
61806
|
-
|
|
61807
|
-
|
|
61808
|
-
/**
|
|
61809
|
-
* @param {string} value
|
|
61810
|
-
* @return {!proto.clarifai.api.GetAnnotationSearchMetricsRequest} returns this
|
|
61811
|
-
*/
|
|
61812
|
-
proto.clarifai.api.GetAnnotationSearchMetricsRequest.prototype.setId = function(value) {
|
|
61813
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
61814
|
-
};
|
|
61815
|
-
|
|
61816
|
-
|
|
61817
|
-
|
|
61818
|
-
|
|
61819
|
-
|
|
61820
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61821
|
-
/**
|
|
61822
|
-
* Creates an object representation of this proto.
|
|
61823
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
61824
|
-
* Optional fields that are not set will be set to undefined.
|
|
61825
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
61826
|
-
* For the list of reserved names please see:
|
|
61827
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61828
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
61829
|
-
* JSPB instance for transitional soy proto support:
|
|
61830
|
-
* http://goto/soy-param-migration
|
|
61831
|
-
* @return {!Object}
|
|
61832
|
-
*/
|
|
61833
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
61834
|
-
return proto.clarifai.api.ListAnnotationSearchMetricsRequest.toObject(opt_includeInstance, this);
|
|
61835
|
-
};
|
|
61836
|
-
|
|
61837
|
-
|
|
61838
|
-
/**
|
|
61839
|
-
* Static version of the {@see toObject} method.
|
|
61840
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
61841
|
-
* the JSPB instance for transitional soy proto support:
|
|
61842
|
-
* http://goto/soy-param-migration
|
|
61843
|
-
* @param {!proto.clarifai.api.ListAnnotationSearchMetricsRequest} msg The msg instance to transform.
|
|
61844
|
-
* @return {!Object}
|
|
61845
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61846
|
-
*/
|
|
61847
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.toObject = function(includeInstance, msg) {
|
|
61848
|
-
var f, obj = {
|
|
61849
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f)
|
|
61850
|
-
};
|
|
61851
|
-
|
|
61852
|
-
if (includeInstance) {
|
|
61853
|
-
obj.$jspbMessageInstance = msg;
|
|
61854
|
-
}
|
|
61855
|
-
return obj;
|
|
61856
|
-
};
|
|
61857
|
-
}
|
|
61858
|
-
|
|
61859
|
-
|
|
61860
|
-
/**
|
|
61861
|
-
* Deserializes binary data (in protobuf wire format).
|
|
61862
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
61863
|
-
* @return {!proto.clarifai.api.ListAnnotationSearchMetricsRequest}
|
|
61864
|
-
*/
|
|
61865
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.deserializeBinary = function(bytes) {
|
|
61866
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
61867
|
-
var msg = new proto.clarifai.api.ListAnnotationSearchMetricsRequest;
|
|
61868
|
-
return proto.clarifai.api.ListAnnotationSearchMetricsRequest.deserializeBinaryFromReader(msg, reader);
|
|
61869
|
-
};
|
|
61870
|
-
|
|
61871
|
-
|
|
61872
|
-
/**
|
|
61873
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
61874
|
-
* given reader into the given message object.
|
|
61875
|
-
* @param {!proto.clarifai.api.ListAnnotationSearchMetricsRequest} msg The message object to deserialize into.
|
|
61876
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
61877
|
-
* @return {!proto.clarifai.api.ListAnnotationSearchMetricsRequest}
|
|
61878
|
-
*/
|
|
61879
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
61880
|
-
while (reader.nextField()) {
|
|
61881
|
-
if (reader.isEndGroup()) {
|
|
61882
|
-
break;
|
|
61883
|
-
}
|
|
61884
|
-
var field = reader.getFieldNumber();
|
|
61885
|
-
switch (field) {
|
|
61886
|
-
case 1:
|
|
61887
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
61888
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
61889
|
-
msg.setUserAppId(value);
|
|
61890
|
-
break;
|
|
61891
|
-
default:
|
|
61892
|
-
reader.skipField();
|
|
61893
|
-
break;
|
|
61894
|
-
}
|
|
61895
|
-
}
|
|
61896
|
-
return msg;
|
|
61897
|
-
};
|
|
61898
|
-
|
|
61899
|
-
|
|
61900
|
-
/**
|
|
61901
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
61902
|
-
* @return {!Uint8Array}
|
|
61903
|
-
*/
|
|
61904
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.prototype.serializeBinary = function() {
|
|
61905
|
-
var writer = new jspb.BinaryWriter();
|
|
61906
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.serializeBinaryToWriter(this, writer);
|
|
61907
|
-
return writer.getResultBuffer();
|
|
61908
|
-
};
|
|
61909
|
-
|
|
61910
|
-
|
|
61911
|
-
/**
|
|
61912
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
61913
|
-
* format), writing to the given BinaryWriter.
|
|
61914
|
-
* @param {!proto.clarifai.api.ListAnnotationSearchMetricsRequest} message
|
|
61915
|
-
* @param {!jspb.BinaryWriter} writer
|
|
61916
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
61917
|
-
*/
|
|
61918
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
61919
|
-
var f = undefined;
|
|
61920
|
-
f = message.getUserAppId();
|
|
61921
|
-
if (f != null) {
|
|
61922
|
-
writer.writeMessage(
|
|
61923
|
-
1,
|
|
61924
|
-
f,
|
|
61925
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
61926
|
-
);
|
|
61927
|
-
}
|
|
61928
|
-
};
|
|
61929
|
-
|
|
61930
|
-
|
|
61931
|
-
/**
|
|
61932
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
61933
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
61934
|
-
*/
|
|
61935
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.prototype.getUserAppId = function() {
|
|
61936
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
61937
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
61938
|
-
};
|
|
61939
|
-
|
|
61940
|
-
|
|
61941
|
-
/**
|
|
61942
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
61943
|
-
* @return {!proto.clarifai.api.ListAnnotationSearchMetricsRequest} returns this
|
|
61944
|
-
*/
|
|
61945
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.prototype.setUserAppId = function(value) {
|
|
61946
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
61947
|
-
};
|
|
61948
|
-
|
|
61949
|
-
|
|
61950
|
-
/**
|
|
61951
|
-
* Clears the message field making it undefined.
|
|
61952
|
-
* @return {!proto.clarifai.api.ListAnnotationSearchMetricsRequest} returns this
|
|
61953
|
-
*/
|
|
61954
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.prototype.clearUserAppId = function() {
|
|
61955
|
-
return this.setUserAppId(undefined);
|
|
61956
|
-
};
|
|
61957
|
-
|
|
61958
|
-
|
|
61959
|
-
/**
|
|
61960
|
-
* Returns whether this field is set.
|
|
61961
|
-
* @return {boolean}
|
|
61962
|
-
*/
|
|
61963
|
-
proto.clarifai.api.ListAnnotationSearchMetricsRequest.prototype.hasUserAppId = function() {
|
|
61964
|
-
return jspb.Message.getField(this, 1) != null;
|
|
61965
|
-
};
|
|
61966
|
-
|
|
61967
|
-
|
|
61968
|
-
|
|
61969
|
-
/**
|
|
61970
|
-
* List of repeated fields within this message type.
|
|
61971
|
-
* @private {!Array<number>}
|
|
61972
|
-
* @const
|
|
61973
|
-
*/
|
|
61974
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.repeatedFields_ = [2];
|
|
61975
|
-
|
|
61976
|
-
|
|
61977
|
-
|
|
61978
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61979
|
-
/**
|
|
61980
|
-
* Creates an object representation of this proto.
|
|
61981
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
61982
|
-
* Optional fields that are not set will be set to undefined.
|
|
61983
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
61984
|
-
* For the list of reserved names please see:
|
|
61985
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
61986
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
61987
|
-
* JSPB instance for transitional soy proto support:
|
|
61988
|
-
* http://goto/soy-param-migration
|
|
61989
|
-
* @return {!Object}
|
|
61990
|
-
*/
|
|
61991
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.toObject = function(opt_includeInstance) {
|
|
61992
|
-
return proto.clarifai.api.MultiAnnotationSearchMetricsResponse.toObject(opt_includeInstance, this);
|
|
61993
|
-
};
|
|
61994
|
-
|
|
61995
|
-
|
|
61996
|
-
/**
|
|
61997
|
-
* Static version of the {@see toObject} method.
|
|
61998
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
61999
|
-
* the JSPB instance for transitional soy proto support:
|
|
62000
|
-
* http://goto/soy-param-migration
|
|
62001
|
-
* @param {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} msg The msg instance to transform.
|
|
62002
|
-
* @return {!Object}
|
|
62003
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62004
|
-
*/
|
|
62005
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.toObject = function(includeInstance, msg) {
|
|
62006
|
-
var f, obj = {
|
|
62007
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
62008
|
-
annotationSearchMetricsList: jspb.Message.toObjectList(msg.getAnnotationSearchMetricsList(),
|
|
62009
|
-
proto_clarifai_api_resources_pb.AnnotationSearchMetrics.toObject, includeInstance)
|
|
62010
|
-
};
|
|
62011
|
-
|
|
62012
|
-
if (includeInstance) {
|
|
62013
|
-
obj.$jspbMessageInstance = msg;
|
|
62014
|
-
}
|
|
62015
|
-
return obj;
|
|
62016
|
-
};
|
|
62017
|
-
}
|
|
62018
|
-
|
|
62019
|
-
|
|
62020
|
-
/**
|
|
62021
|
-
* Deserializes binary data (in protobuf wire format).
|
|
62022
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
62023
|
-
* @return {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse}
|
|
62024
|
-
*/
|
|
62025
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.deserializeBinary = function(bytes) {
|
|
62026
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
62027
|
-
var msg = new proto.clarifai.api.MultiAnnotationSearchMetricsResponse;
|
|
62028
|
-
return proto.clarifai.api.MultiAnnotationSearchMetricsResponse.deserializeBinaryFromReader(msg, reader);
|
|
62029
|
-
};
|
|
62030
|
-
|
|
62031
|
-
|
|
62032
|
-
/**
|
|
62033
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
62034
|
-
* given reader into the given message object.
|
|
62035
|
-
* @param {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} msg The message object to deserialize into.
|
|
62036
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
62037
|
-
* @return {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse}
|
|
62038
|
-
*/
|
|
62039
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
62040
|
-
while (reader.nextField()) {
|
|
62041
|
-
if (reader.isEndGroup()) {
|
|
62042
|
-
break;
|
|
62043
|
-
}
|
|
62044
|
-
var field = reader.getFieldNumber();
|
|
62045
|
-
switch (field) {
|
|
62046
|
-
case 1:
|
|
62047
|
-
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
62048
|
-
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
62049
|
-
msg.setStatus(value);
|
|
62050
|
-
break;
|
|
62051
|
-
case 2:
|
|
62052
|
-
var value = new proto_clarifai_api_resources_pb.AnnotationSearchMetrics;
|
|
62053
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.AnnotationSearchMetrics.deserializeBinaryFromReader);
|
|
62054
|
-
msg.addAnnotationSearchMetrics(value);
|
|
62055
|
-
break;
|
|
62056
|
-
default:
|
|
62057
|
-
reader.skipField();
|
|
62058
|
-
break;
|
|
62059
|
-
}
|
|
62060
|
-
}
|
|
62061
|
-
return msg;
|
|
62062
|
-
};
|
|
62063
|
-
|
|
62064
|
-
|
|
62065
|
-
/**
|
|
62066
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
62067
|
-
* @return {!Uint8Array}
|
|
62068
|
-
*/
|
|
62069
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.serializeBinary = function() {
|
|
62070
|
-
var writer = new jspb.BinaryWriter();
|
|
62071
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.serializeBinaryToWriter(this, writer);
|
|
62072
|
-
return writer.getResultBuffer();
|
|
62073
|
-
};
|
|
62074
|
-
|
|
62075
|
-
|
|
62076
|
-
/**
|
|
62077
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
62078
|
-
* format), writing to the given BinaryWriter.
|
|
62079
|
-
* @param {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} message
|
|
62080
|
-
* @param {!jspb.BinaryWriter} writer
|
|
62081
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62082
|
-
*/
|
|
62083
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.serializeBinaryToWriter = function(message, writer) {
|
|
62084
|
-
var f = undefined;
|
|
62085
|
-
f = message.getStatus();
|
|
62086
|
-
if (f != null) {
|
|
62087
|
-
writer.writeMessage(
|
|
62088
|
-
1,
|
|
62089
|
-
f,
|
|
62090
|
-
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
62091
|
-
);
|
|
62092
|
-
}
|
|
62093
|
-
f = message.getAnnotationSearchMetricsList();
|
|
62094
|
-
if (f.length > 0) {
|
|
62095
|
-
writer.writeRepeatedMessage(
|
|
62096
|
-
2,
|
|
62097
|
-
f,
|
|
62098
|
-
proto_clarifai_api_resources_pb.AnnotationSearchMetrics.serializeBinaryToWriter
|
|
62099
|
-
);
|
|
62100
|
-
}
|
|
62101
|
-
};
|
|
62102
|
-
|
|
62103
|
-
|
|
62104
|
-
/**
|
|
62105
|
-
* optional status.Status status = 1;
|
|
62106
|
-
* @return {?proto.clarifai.api.status.Status}
|
|
62107
|
-
*/
|
|
62108
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.getStatus = function() {
|
|
62109
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
62110
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
62111
|
-
};
|
|
62112
|
-
|
|
62113
|
-
|
|
62114
|
-
/**
|
|
62115
|
-
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
62116
|
-
* @return {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} returns this
|
|
62117
|
-
*/
|
|
62118
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.setStatus = function(value) {
|
|
62119
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
62120
|
-
};
|
|
62121
|
-
|
|
62122
|
-
|
|
62123
|
-
/**
|
|
62124
|
-
* Clears the message field making it undefined.
|
|
62125
|
-
* @return {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} returns this
|
|
62126
|
-
*/
|
|
62127
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.clearStatus = function() {
|
|
62128
|
-
return this.setStatus(undefined);
|
|
62129
|
-
};
|
|
62130
|
-
|
|
62131
|
-
|
|
62132
|
-
/**
|
|
62133
|
-
* Returns whether this field is set.
|
|
62134
|
-
* @return {boolean}
|
|
62135
|
-
*/
|
|
62136
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.hasStatus = function() {
|
|
62137
|
-
return jspb.Message.getField(this, 1) != null;
|
|
62138
|
-
};
|
|
62139
|
-
|
|
62140
|
-
|
|
62141
|
-
/**
|
|
62142
|
-
* repeated AnnotationSearchMetrics annotation_search_metrics = 2;
|
|
62143
|
-
* @return {!Array<!proto.clarifai.api.AnnotationSearchMetrics>}
|
|
62144
|
-
*/
|
|
62145
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.getAnnotationSearchMetricsList = function() {
|
|
62146
|
-
return /** @type{!Array<!proto.clarifai.api.AnnotationSearchMetrics>} */ (
|
|
62147
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.AnnotationSearchMetrics, 2));
|
|
62148
|
-
};
|
|
62149
|
-
|
|
62150
|
-
|
|
62151
|
-
/**
|
|
62152
|
-
* @param {!Array<!proto.clarifai.api.AnnotationSearchMetrics>} value
|
|
62153
|
-
* @return {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} returns this
|
|
62154
|
-
*/
|
|
62155
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.setAnnotationSearchMetricsList = function(value) {
|
|
62156
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
62157
|
-
};
|
|
62158
|
-
|
|
62159
|
-
|
|
62160
|
-
/**
|
|
62161
|
-
* @param {!proto.clarifai.api.AnnotationSearchMetrics=} opt_value
|
|
62162
|
-
* @param {number=} opt_index
|
|
62163
|
-
* @return {!proto.clarifai.api.AnnotationSearchMetrics}
|
|
62164
|
-
*/
|
|
62165
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.addAnnotationSearchMetrics = function(opt_value, opt_index) {
|
|
62166
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.AnnotationSearchMetrics, opt_index);
|
|
62167
|
-
};
|
|
62168
|
-
|
|
62169
|
-
|
|
62170
|
-
/**
|
|
62171
|
-
* Clears the list making it empty but non-null.
|
|
62172
|
-
* @return {!proto.clarifai.api.MultiAnnotationSearchMetricsResponse} returns this
|
|
62173
|
-
*/
|
|
62174
|
-
proto.clarifai.api.MultiAnnotationSearchMetricsResponse.prototype.clearAnnotationSearchMetricsList = function() {
|
|
62175
|
-
return this.setAnnotationSearchMetricsList([]);
|
|
62176
|
-
};
|
|
62177
|
-
|
|
62178
|
-
|
|
62179
|
-
|
|
62180
|
-
|
|
62181
|
-
|
|
62182
60984
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62183
60985
|
/**
|
|
62184
60986
|
* Creates an object representation of this proto.
|