clarifai-web-grpc 9.10.7 → 9.11.0
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 +0 -304
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +0 -42
- package/dist/cjs/proto/clarifai/api/service_pb.js +18 -367
- package/dist/esm/proto/clarifai/api/resources_pb.js +0 -304
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +0 -42
- package/dist/esm/proto/clarifai/api/service_pb.js +18 -367
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +0 -46
- package/proto/clarifai/api/resources_pb.js +0 -386
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +0 -12
- package/proto/clarifai/api/service_grpc_web_pb.js +0 -61
- package/proto/clarifai/api/service_pb.d.ts +5 -55
- package/proto/clarifai/api/service_pb.js +20 -447
|
@@ -85,7 +85,6 @@ goog.exportSymbol('proto.clarifai.api.GetConceptCountsRequest', null, global);
|
|
|
85
85
|
goog.exportSymbol('proto.clarifai.api.GetConceptLanguageRequest', null, global);
|
|
86
86
|
goog.exportSymbol('proto.clarifai.api.GetConceptRequest', null, global);
|
|
87
87
|
goog.exportSymbol('proto.clarifai.api.GetDatasetInputRequest', null, global);
|
|
88
|
-
goog.exportSymbol('proto.clarifai.api.GetDatasetInputsSearchAddJobRequest', null, global);
|
|
89
88
|
goog.exportSymbol('proto.clarifai.api.GetDatasetRequest', null, global);
|
|
90
89
|
goog.exportSymbol('proto.clarifai.api.GetDatasetVersionRequest', null, global);
|
|
91
90
|
goog.exportSymbol('proto.clarifai.api.GetEvaluationRequest', null, global);
|
|
@@ -341,7 +340,6 @@ goog.exportSymbol('proto.clarifai.api.SingleCollectorResponse', null, global);
|
|
|
341
340
|
goog.exportSymbol('proto.clarifai.api.SingleConceptLanguageResponse', null, global);
|
|
342
341
|
goog.exportSymbol('proto.clarifai.api.SingleConceptResponse', null, global);
|
|
343
342
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputResponse', null, global);
|
|
344
|
-
goog.exportSymbol('proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse', null, global);
|
|
345
343
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetResponse', null, global);
|
|
346
344
|
goog.exportSymbol('proto.clarifai.api.SingleDatasetVersionResponse', null, global);
|
|
347
345
|
goog.exportSymbol('proto.clarifai.api.SingleEvalMetricsResponse', null, global);
|
|
@@ -2450,48 +2448,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2450
2448
|
*/
|
|
2451
2449
|
proto.clarifai.api.SingleDatasetVersionResponse.displayName = 'proto.clarifai.api.SingleDatasetVersionResponse';
|
|
2452
2450
|
}
|
|
2453
|
-
/**
|
|
2454
|
-
* Generated by JsPbCodeGenerator.
|
|
2455
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2456
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2457
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2458
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2459
|
-
* valid.
|
|
2460
|
-
* @extends {jspb.Message}
|
|
2461
|
-
* @constructor
|
|
2462
|
-
*/
|
|
2463
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest = function(opt_data) {
|
|
2464
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2465
|
-
};
|
|
2466
|
-
goog.inherits(proto.clarifai.api.GetDatasetInputsSearchAddJobRequest, jspb.Message);
|
|
2467
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2468
|
-
/**
|
|
2469
|
-
* @public
|
|
2470
|
-
* @override
|
|
2471
|
-
*/
|
|
2472
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.displayName = 'proto.clarifai.api.GetDatasetInputsSearchAddJobRequest';
|
|
2473
|
-
}
|
|
2474
|
-
/**
|
|
2475
|
-
* Generated by JsPbCodeGenerator.
|
|
2476
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
2477
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
2478
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
2479
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
2480
|
-
* valid.
|
|
2481
|
-
* @extends {jspb.Message}
|
|
2482
|
-
* @constructor
|
|
2483
|
-
*/
|
|
2484
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse = function(opt_data) {
|
|
2485
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
2486
|
-
};
|
|
2487
|
-
goog.inherits(proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse, jspb.Message);
|
|
2488
|
-
if (goog.DEBUG && !COMPILED) {
|
|
2489
|
-
/**
|
|
2490
|
-
* @public
|
|
2491
|
-
* @override
|
|
2492
|
-
*/
|
|
2493
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.displayName = 'proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse';
|
|
2494
|
-
}
|
|
2495
2451
|
/**
|
|
2496
2452
|
* Generated by JsPbCodeGenerator.
|
|
2497
2453
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -27669,7 +27625,7 @@ proto.clarifai.api.MultiDatasetInputResponse.toObject = function(includeInstance
|
|
|
27669
27625
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
27670
27626
|
datasetInputsList: jspb.Message.toObjectList(msg.getDatasetInputsList(),
|
|
27671
27627
|
proto_clarifai_api_resources_pb.DatasetInput.toObject, includeInstance),
|
|
27672
|
-
|
|
27628
|
+
bulkOperation: (f = msg.getBulkOperation()) && proto_clarifai_api_resources_pb.BulkOperation.toObject(includeInstance, f)
|
|
27673
27629
|
};
|
|
27674
27630
|
|
|
27675
27631
|
if (includeInstance) {
|
|
@@ -27716,10 +27672,10 @@ proto.clarifai.api.MultiDatasetInputResponse.deserializeBinaryFromReader = funct
|
|
|
27716
27672
|
reader.readMessage(value,proto_clarifai_api_resources_pb.DatasetInput.deserializeBinaryFromReader);
|
|
27717
27673
|
msg.addDatasetInputs(value);
|
|
27718
27674
|
break;
|
|
27719
|
-
case
|
|
27720
|
-
var value = new proto_clarifai_api_resources_pb.
|
|
27721
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.
|
|
27722
|
-
msg.
|
|
27675
|
+
case 4:
|
|
27676
|
+
var value = new proto_clarifai_api_resources_pb.BulkOperation;
|
|
27677
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.BulkOperation.deserializeBinaryFromReader);
|
|
27678
|
+
msg.setBulkOperation(value);
|
|
27723
27679
|
break;
|
|
27724
27680
|
default:
|
|
27725
27681
|
reader.skipField();
|
|
@@ -27766,12 +27722,12 @@ proto.clarifai.api.MultiDatasetInputResponse.serializeBinaryToWriter = function(
|
|
|
27766
27722
|
proto_clarifai_api_resources_pb.DatasetInput.serializeBinaryToWriter
|
|
27767
27723
|
);
|
|
27768
27724
|
}
|
|
27769
|
-
f = message.
|
|
27725
|
+
f = message.getBulkOperation();
|
|
27770
27726
|
if (f != null) {
|
|
27771
27727
|
writer.writeMessage(
|
|
27772
|
-
|
|
27728
|
+
4,
|
|
27773
27729
|
f,
|
|
27774
|
-
proto_clarifai_api_resources_pb.
|
|
27730
|
+
proto_clarifai_api_resources_pb.BulkOperation.serializeBinaryToWriter
|
|
27775
27731
|
);
|
|
27776
27732
|
}
|
|
27777
27733
|
};
|
|
@@ -27853,21 +27809,21 @@ proto.clarifai.api.MultiDatasetInputResponse.prototype.clearDatasetInputsList =
|
|
|
27853
27809
|
|
|
27854
27810
|
|
|
27855
27811
|
/**
|
|
27856
|
-
* optional
|
|
27857
|
-
* @return {?proto.clarifai.api.
|
|
27812
|
+
* optional BulkOperation bulk_operation = 4;
|
|
27813
|
+
* @return {?proto.clarifai.api.BulkOperation}
|
|
27858
27814
|
*/
|
|
27859
|
-
proto.clarifai.api.MultiDatasetInputResponse.prototype.
|
|
27860
|
-
return /** @type{?proto.clarifai.api.
|
|
27861
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.
|
|
27815
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.getBulkOperation = function() {
|
|
27816
|
+
return /** @type{?proto.clarifai.api.BulkOperation} */ (
|
|
27817
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.BulkOperation, 4));
|
|
27862
27818
|
};
|
|
27863
27819
|
|
|
27864
27820
|
|
|
27865
27821
|
/**
|
|
27866
|
-
* @param {?proto.clarifai.api.
|
|
27822
|
+
* @param {?proto.clarifai.api.BulkOperation|undefined} value
|
|
27867
27823
|
* @return {!proto.clarifai.api.MultiDatasetInputResponse} returns this
|
|
27868
27824
|
*/
|
|
27869
|
-
proto.clarifai.api.MultiDatasetInputResponse.prototype.
|
|
27870
|
-
return jspb.Message.setWrapperField(this,
|
|
27825
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.setBulkOperation = function(value) {
|
|
27826
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
27871
27827
|
};
|
|
27872
27828
|
|
|
27873
27829
|
|
|
@@ -27875,8 +27831,8 @@ proto.clarifai.api.MultiDatasetInputResponse.prototype.setDatasetInputsSearchAdd
|
|
|
27875
27831
|
* Clears the message field making it undefined.
|
|
27876
27832
|
* @return {!proto.clarifai.api.MultiDatasetInputResponse} returns this
|
|
27877
27833
|
*/
|
|
27878
|
-
proto.clarifai.api.MultiDatasetInputResponse.prototype.
|
|
27879
|
-
return this.
|
|
27834
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.clearBulkOperation = function() {
|
|
27835
|
+
return this.setBulkOperation(undefined);
|
|
27880
27836
|
};
|
|
27881
27837
|
|
|
27882
27838
|
|
|
@@ -27884,8 +27840,8 @@ proto.clarifai.api.MultiDatasetInputResponse.prototype.clearDatasetInputsSearchA
|
|
|
27884
27840
|
* Returns whether this field is set.
|
|
27885
27841
|
* @return {boolean}
|
|
27886
27842
|
*/
|
|
27887
|
-
proto.clarifai.api.MultiDatasetInputResponse.prototype.
|
|
27888
|
-
return jspb.Message.getField(this,
|
|
27843
|
+
proto.clarifai.api.MultiDatasetInputResponse.prototype.hasBulkOperation = function() {
|
|
27844
|
+
return jspb.Message.getField(this, 4) != null;
|
|
27889
27845
|
};
|
|
27890
27846
|
|
|
27891
27847
|
|
|
@@ -30830,389 +30786,6 @@ proto.clarifai.api.SingleDatasetVersionResponse.prototype.hasDatasetVersion = fu
|
|
|
30830
30786
|
|
|
30831
30787
|
|
|
30832
30788
|
|
|
30833
|
-
|
|
30834
|
-
|
|
30835
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
30836
|
-
/**
|
|
30837
|
-
* Creates an object representation of this proto.
|
|
30838
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
30839
|
-
* Optional fields that are not set will be set to undefined.
|
|
30840
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
30841
|
-
* For the list of reserved names please see:
|
|
30842
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
30843
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
30844
|
-
* JSPB instance for transitional soy proto support:
|
|
30845
|
-
* http://goto/soy-param-migration
|
|
30846
|
-
* @return {!Object}
|
|
30847
|
-
*/
|
|
30848
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.toObject = function(opt_includeInstance) {
|
|
30849
|
-
return proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.toObject(opt_includeInstance, this);
|
|
30850
|
-
};
|
|
30851
|
-
|
|
30852
|
-
|
|
30853
|
-
/**
|
|
30854
|
-
* Static version of the {@see toObject} method.
|
|
30855
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
30856
|
-
* the JSPB instance for transitional soy proto support:
|
|
30857
|
-
* http://goto/soy-param-migration
|
|
30858
|
-
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} msg The msg instance to transform.
|
|
30859
|
-
* @return {!Object}
|
|
30860
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30861
|
-
*/
|
|
30862
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.toObject = function(includeInstance, msg) {
|
|
30863
|
-
var f, obj = {
|
|
30864
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
30865
|
-
jobId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
30866
|
-
};
|
|
30867
|
-
|
|
30868
|
-
if (includeInstance) {
|
|
30869
|
-
obj.$jspbMessageInstance = msg;
|
|
30870
|
-
}
|
|
30871
|
-
return obj;
|
|
30872
|
-
};
|
|
30873
|
-
}
|
|
30874
|
-
|
|
30875
|
-
|
|
30876
|
-
/**
|
|
30877
|
-
* Deserializes binary data (in protobuf wire format).
|
|
30878
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
30879
|
-
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest}
|
|
30880
|
-
*/
|
|
30881
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.deserializeBinary = function(bytes) {
|
|
30882
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
30883
|
-
var msg = new proto.clarifai.api.GetDatasetInputsSearchAddJobRequest;
|
|
30884
|
-
return proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.deserializeBinaryFromReader(msg, reader);
|
|
30885
|
-
};
|
|
30886
|
-
|
|
30887
|
-
|
|
30888
|
-
/**
|
|
30889
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
30890
|
-
* given reader into the given message object.
|
|
30891
|
-
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} msg The message object to deserialize into.
|
|
30892
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
30893
|
-
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest}
|
|
30894
|
-
*/
|
|
30895
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
30896
|
-
while (reader.nextField()) {
|
|
30897
|
-
if (reader.isEndGroup()) {
|
|
30898
|
-
break;
|
|
30899
|
-
}
|
|
30900
|
-
var field = reader.getFieldNumber();
|
|
30901
|
-
switch (field) {
|
|
30902
|
-
case 1:
|
|
30903
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
30904
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
30905
|
-
msg.setUserAppId(value);
|
|
30906
|
-
break;
|
|
30907
|
-
case 2:
|
|
30908
|
-
var value = /** @type {string} */ (reader.readString());
|
|
30909
|
-
msg.setJobId(value);
|
|
30910
|
-
break;
|
|
30911
|
-
default:
|
|
30912
|
-
reader.skipField();
|
|
30913
|
-
break;
|
|
30914
|
-
}
|
|
30915
|
-
}
|
|
30916
|
-
return msg;
|
|
30917
|
-
};
|
|
30918
|
-
|
|
30919
|
-
|
|
30920
|
-
/**
|
|
30921
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
30922
|
-
* @return {!Uint8Array}
|
|
30923
|
-
*/
|
|
30924
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.serializeBinary = function() {
|
|
30925
|
-
var writer = new jspb.BinaryWriter();
|
|
30926
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.serializeBinaryToWriter(this, writer);
|
|
30927
|
-
return writer.getResultBuffer();
|
|
30928
|
-
};
|
|
30929
|
-
|
|
30930
|
-
|
|
30931
|
-
/**
|
|
30932
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
30933
|
-
* format), writing to the given BinaryWriter.
|
|
30934
|
-
* @param {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} message
|
|
30935
|
-
* @param {!jspb.BinaryWriter} writer
|
|
30936
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
30937
|
-
*/
|
|
30938
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.serializeBinaryToWriter = function(message, writer) {
|
|
30939
|
-
var f = undefined;
|
|
30940
|
-
f = message.getUserAppId();
|
|
30941
|
-
if (f != null) {
|
|
30942
|
-
writer.writeMessage(
|
|
30943
|
-
1,
|
|
30944
|
-
f,
|
|
30945
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
30946
|
-
);
|
|
30947
|
-
}
|
|
30948
|
-
f = message.getJobId();
|
|
30949
|
-
if (f.length > 0) {
|
|
30950
|
-
writer.writeString(
|
|
30951
|
-
2,
|
|
30952
|
-
f
|
|
30953
|
-
);
|
|
30954
|
-
}
|
|
30955
|
-
};
|
|
30956
|
-
|
|
30957
|
-
|
|
30958
|
-
/**
|
|
30959
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
30960
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
30961
|
-
*/
|
|
30962
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.getUserAppId = function() {
|
|
30963
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
30964
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
30965
|
-
};
|
|
30966
|
-
|
|
30967
|
-
|
|
30968
|
-
/**
|
|
30969
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
30970
|
-
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} returns this
|
|
30971
|
-
*/
|
|
30972
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.setUserAppId = function(value) {
|
|
30973
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
30974
|
-
};
|
|
30975
|
-
|
|
30976
|
-
|
|
30977
|
-
/**
|
|
30978
|
-
* Clears the message field making it undefined.
|
|
30979
|
-
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} returns this
|
|
30980
|
-
*/
|
|
30981
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.clearUserAppId = function() {
|
|
30982
|
-
return this.setUserAppId(undefined);
|
|
30983
|
-
};
|
|
30984
|
-
|
|
30985
|
-
|
|
30986
|
-
/**
|
|
30987
|
-
* Returns whether this field is set.
|
|
30988
|
-
* @return {boolean}
|
|
30989
|
-
*/
|
|
30990
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.hasUserAppId = function() {
|
|
30991
|
-
return jspb.Message.getField(this, 1) != null;
|
|
30992
|
-
};
|
|
30993
|
-
|
|
30994
|
-
|
|
30995
|
-
/**
|
|
30996
|
-
* optional string job_id = 2;
|
|
30997
|
-
* @return {string}
|
|
30998
|
-
*/
|
|
30999
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.getJobId = function() {
|
|
31000
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
31001
|
-
};
|
|
31002
|
-
|
|
31003
|
-
|
|
31004
|
-
/**
|
|
31005
|
-
* @param {string} value
|
|
31006
|
-
* @return {!proto.clarifai.api.GetDatasetInputsSearchAddJobRequest} returns this
|
|
31007
|
-
*/
|
|
31008
|
-
proto.clarifai.api.GetDatasetInputsSearchAddJobRequest.prototype.setJobId = function(value) {
|
|
31009
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
31010
|
-
};
|
|
31011
|
-
|
|
31012
|
-
|
|
31013
|
-
|
|
31014
|
-
|
|
31015
|
-
|
|
31016
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
31017
|
-
/**
|
|
31018
|
-
* Creates an object representation of this proto.
|
|
31019
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
31020
|
-
* Optional fields that are not set will be set to undefined.
|
|
31021
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
31022
|
-
* For the list of reserved names please see:
|
|
31023
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
31024
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
31025
|
-
* JSPB instance for transitional soy proto support:
|
|
31026
|
-
* http://goto/soy-param-migration
|
|
31027
|
-
* @return {!Object}
|
|
31028
|
-
*/
|
|
31029
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.toObject = function(opt_includeInstance) {
|
|
31030
|
-
return proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.toObject(opt_includeInstance, this);
|
|
31031
|
-
};
|
|
31032
|
-
|
|
31033
|
-
|
|
31034
|
-
/**
|
|
31035
|
-
* Static version of the {@see toObject} method.
|
|
31036
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
31037
|
-
* the JSPB instance for transitional soy proto support:
|
|
31038
|
-
* http://goto/soy-param-migration
|
|
31039
|
-
* @param {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} msg The msg instance to transform.
|
|
31040
|
-
* @return {!Object}
|
|
31041
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31042
|
-
*/
|
|
31043
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.toObject = function(includeInstance, msg) {
|
|
31044
|
-
var f, obj = {
|
|
31045
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
31046
|
-
job: (f = msg.getJob()) && proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.toObject(includeInstance, f)
|
|
31047
|
-
};
|
|
31048
|
-
|
|
31049
|
-
if (includeInstance) {
|
|
31050
|
-
obj.$jspbMessageInstance = msg;
|
|
31051
|
-
}
|
|
31052
|
-
return obj;
|
|
31053
|
-
};
|
|
31054
|
-
}
|
|
31055
|
-
|
|
31056
|
-
|
|
31057
|
-
/**
|
|
31058
|
-
* Deserializes binary data (in protobuf wire format).
|
|
31059
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
31060
|
-
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse}
|
|
31061
|
-
*/
|
|
31062
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinary = function(bytes) {
|
|
31063
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
31064
|
-
var msg = new proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse;
|
|
31065
|
-
return proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinaryFromReader(msg, reader);
|
|
31066
|
-
};
|
|
31067
|
-
|
|
31068
|
-
|
|
31069
|
-
/**
|
|
31070
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
31071
|
-
* given reader into the given message object.
|
|
31072
|
-
* @param {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} msg The message object to deserialize into.
|
|
31073
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
31074
|
-
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse}
|
|
31075
|
-
*/
|
|
31076
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
31077
|
-
while (reader.nextField()) {
|
|
31078
|
-
if (reader.isEndGroup()) {
|
|
31079
|
-
break;
|
|
31080
|
-
}
|
|
31081
|
-
var field = reader.getFieldNumber();
|
|
31082
|
-
switch (field) {
|
|
31083
|
-
case 1:
|
|
31084
|
-
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
31085
|
-
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
31086
|
-
msg.setStatus(value);
|
|
31087
|
-
break;
|
|
31088
|
-
case 2:
|
|
31089
|
-
var value = new proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob;
|
|
31090
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.deserializeBinaryFromReader);
|
|
31091
|
-
msg.setJob(value);
|
|
31092
|
-
break;
|
|
31093
|
-
default:
|
|
31094
|
-
reader.skipField();
|
|
31095
|
-
break;
|
|
31096
|
-
}
|
|
31097
|
-
}
|
|
31098
|
-
return msg;
|
|
31099
|
-
};
|
|
31100
|
-
|
|
31101
|
-
|
|
31102
|
-
/**
|
|
31103
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
31104
|
-
* @return {!Uint8Array}
|
|
31105
|
-
*/
|
|
31106
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.serializeBinary = function() {
|
|
31107
|
-
var writer = new jspb.BinaryWriter();
|
|
31108
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.serializeBinaryToWriter(this, writer);
|
|
31109
|
-
return writer.getResultBuffer();
|
|
31110
|
-
};
|
|
31111
|
-
|
|
31112
|
-
|
|
31113
|
-
/**
|
|
31114
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
31115
|
-
* format), writing to the given BinaryWriter.
|
|
31116
|
-
* @param {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} message
|
|
31117
|
-
* @param {!jspb.BinaryWriter} writer
|
|
31118
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
31119
|
-
*/
|
|
31120
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.serializeBinaryToWriter = function(message, writer) {
|
|
31121
|
-
var f = undefined;
|
|
31122
|
-
f = message.getStatus();
|
|
31123
|
-
if (f != null) {
|
|
31124
|
-
writer.writeMessage(
|
|
31125
|
-
1,
|
|
31126
|
-
f,
|
|
31127
|
-
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
31128
|
-
);
|
|
31129
|
-
}
|
|
31130
|
-
f = message.getJob();
|
|
31131
|
-
if (f != null) {
|
|
31132
|
-
writer.writeMessage(
|
|
31133
|
-
2,
|
|
31134
|
-
f,
|
|
31135
|
-
proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob.serializeBinaryToWriter
|
|
31136
|
-
);
|
|
31137
|
-
}
|
|
31138
|
-
};
|
|
31139
|
-
|
|
31140
|
-
|
|
31141
|
-
/**
|
|
31142
|
-
* optional status.Status status = 1;
|
|
31143
|
-
* @return {?proto.clarifai.api.status.Status}
|
|
31144
|
-
*/
|
|
31145
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.getStatus = function() {
|
|
31146
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
31147
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
31148
|
-
};
|
|
31149
|
-
|
|
31150
|
-
|
|
31151
|
-
/**
|
|
31152
|
-
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
31153
|
-
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
31154
|
-
*/
|
|
31155
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.setStatus = function(value) {
|
|
31156
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
31157
|
-
};
|
|
31158
|
-
|
|
31159
|
-
|
|
31160
|
-
/**
|
|
31161
|
-
* Clears the message field making it undefined.
|
|
31162
|
-
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
31163
|
-
*/
|
|
31164
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.clearStatus = function() {
|
|
31165
|
-
return this.setStatus(undefined);
|
|
31166
|
-
};
|
|
31167
|
-
|
|
31168
|
-
|
|
31169
|
-
/**
|
|
31170
|
-
* Returns whether this field is set.
|
|
31171
|
-
* @return {boolean}
|
|
31172
|
-
*/
|
|
31173
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.hasStatus = function() {
|
|
31174
|
-
return jspb.Message.getField(this, 1) != null;
|
|
31175
|
-
};
|
|
31176
|
-
|
|
31177
|
-
|
|
31178
|
-
/**
|
|
31179
|
-
* optional DatasetInputsSearchAddJob job = 2;
|
|
31180
|
-
* @return {?proto.clarifai.api.DatasetInputsSearchAddJob}
|
|
31181
|
-
*/
|
|
31182
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.getJob = function() {
|
|
31183
|
-
return /** @type{?proto.clarifai.api.DatasetInputsSearchAddJob} */ (
|
|
31184
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.DatasetInputsSearchAddJob, 2));
|
|
31185
|
-
};
|
|
31186
|
-
|
|
31187
|
-
|
|
31188
|
-
/**
|
|
31189
|
-
* @param {?proto.clarifai.api.DatasetInputsSearchAddJob|undefined} value
|
|
31190
|
-
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
31191
|
-
*/
|
|
31192
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.setJob = function(value) {
|
|
31193
|
-
return jspb.Message.setWrapperField(this, 2, value);
|
|
31194
|
-
};
|
|
31195
|
-
|
|
31196
|
-
|
|
31197
|
-
/**
|
|
31198
|
-
* Clears the message field making it undefined.
|
|
31199
|
-
* @return {!proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse} returns this
|
|
31200
|
-
*/
|
|
31201
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.clearJob = function() {
|
|
31202
|
-
return this.setJob(undefined);
|
|
31203
|
-
};
|
|
31204
|
-
|
|
31205
|
-
|
|
31206
|
-
/**
|
|
31207
|
-
* Returns whether this field is set.
|
|
31208
|
-
* @return {boolean}
|
|
31209
|
-
*/
|
|
31210
|
-
proto.clarifai.api.SingleDatasetInputsSearchAddJobResponse.prototype.hasJob = function() {
|
|
31211
|
-
return jspb.Message.getField(this, 2) != null;
|
|
31212
|
-
};
|
|
31213
|
-
|
|
31214
|
-
|
|
31215
|
-
|
|
31216
30789
|
/**
|
|
31217
30790
|
* List of repeated fields within this message type.
|
|
31218
30791
|
* @private {!Array<number>}
|