clarifai-web-grpc 11.2.3 → 11.2.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +9 -9
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +9 -9
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +5 -5
- package/proto/clarifai/api/resources_pb.js +9 -9
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
package/VERSION
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
11.2.
|
|
1
|
+
11.2.5
|
|
@@ -26112,7 +26112,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
26112
26112
|
trainLog: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
26113
26113
|
inferenceComputeInfo: (f = msg.getInferenceComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
26114
26114
|
buildInfo: (f = msg.getBuildInfo()) && proto.clarifai.api.BuildInfo.toObject(includeInstance, f),
|
|
26115
|
-
|
|
26115
|
+
methodSignaturesList: jspb.Message.toObjectList(msg.getMethodSignaturesList(), proto.clarifai.api.MethodSignature.toObject, includeInstance)
|
|
26116
26116
|
};
|
|
26117
26117
|
if (includeInstance) {
|
|
26118
26118
|
obj.$jspbMessageInstance = msg;
|
|
@@ -26249,7 +26249,7 @@ proto.clarifai.api.ModelVersion.deserializeBinaryFromReader = function (msg, rea
|
|
|
26249
26249
|
case 26:
|
|
26250
26250
|
var value = new proto.clarifai.api.MethodSignature;
|
|
26251
26251
|
reader.readMessage(value, proto.clarifai.api.MethodSignature.deserializeBinaryFromReader);
|
|
26252
|
-
msg.
|
|
26252
|
+
msg.addMethodSignatures(value);
|
|
26253
26253
|
break;
|
|
26254
26254
|
default:
|
|
26255
26255
|
reader.skipField();
|
|
@@ -26364,7 +26364,7 @@ proto.clarifai.api.ModelVersion.serializeBinaryToWriter = function (message, wri
|
|
|
26364
26364
|
if (f != null) {
|
|
26365
26365
|
writer.writeMessage(25, f, proto.clarifai.api.BuildInfo.serializeBinaryToWriter);
|
|
26366
26366
|
}
|
|
26367
|
-
f = message.
|
|
26367
|
+
f = message.getMethodSignaturesList();
|
|
26368
26368
|
if (f.length > 0) {
|
|
26369
26369
|
writer.writeRepeatedMessage(26, f, proto.clarifai.api.MethodSignature.serializeBinaryToWriter);
|
|
26370
26370
|
}
|
|
@@ -26874,17 +26874,17 @@ proto.clarifai.api.ModelVersion.prototype.hasBuildInfo = function () {
|
|
|
26874
26874
|
return jspb.Message.getField(this, 25) != null;
|
|
26875
26875
|
};
|
|
26876
26876
|
/**
|
|
26877
|
-
* repeated MethodSignature
|
|
26877
|
+
* repeated MethodSignature method_signatures = 26;
|
|
26878
26878
|
* @return {!Array<!proto.clarifai.api.MethodSignature>}
|
|
26879
26879
|
*/
|
|
26880
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26880
|
+
proto.clarifai.api.ModelVersion.prototype.getMethodSignaturesList = function () {
|
|
26881
26881
|
return /** @type{!Array<!proto.clarifai.api.MethodSignature>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.MethodSignature, 26));
|
|
26882
26882
|
};
|
|
26883
26883
|
/**
|
|
26884
26884
|
* @param {!Array<!proto.clarifai.api.MethodSignature>} value
|
|
26885
26885
|
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
26886
26886
|
*/
|
|
26887
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26887
|
+
proto.clarifai.api.ModelVersion.prototype.setMethodSignaturesList = function (value) {
|
|
26888
26888
|
return jspb.Message.setRepeatedWrapperField(this, 26, value);
|
|
26889
26889
|
};
|
|
26890
26890
|
/**
|
|
@@ -26892,15 +26892,15 @@ proto.clarifai.api.ModelVersion.prototype.setMethodSignatureList = function (val
|
|
|
26892
26892
|
* @param {number=} opt_index
|
|
26893
26893
|
* @return {!proto.clarifai.api.MethodSignature}
|
|
26894
26894
|
*/
|
|
26895
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26895
|
+
proto.clarifai.api.ModelVersion.prototype.addMethodSignatures = function (opt_value, opt_index) {
|
|
26896
26896
|
return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.clarifai.api.MethodSignature, opt_index);
|
|
26897
26897
|
};
|
|
26898
26898
|
/**
|
|
26899
26899
|
* Clears the list making it empty but non-null.
|
|
26900
26900
|
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
26901
26901
|
*/
|
|
26902
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26903
|
-
return this.
|
|
26902
|
+
proto.clarifai.api.ModelVersion.prototype.clearMethodSignaturesList = function () {
|
|
26903
|
+
return this.setMethodSignaturesList([]);
|
|
26904
26904
|
};
|
|
26905
26905
|
/**
|
|
26906
26906
|
* List of repeated fields within this message type.
|
|
@@ -360,6 +360,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
360
360
|
FEATUREFLAG_CONFIG_NOT_FOUND: 62000,
|
|
361
361
|
FEATUREFLAG_INVALID_ARGUMENT: 62001,
|
|
362
362
|
FEATUREFLAG_BLOCKED: 62002,
|
|
363
|
+
FEATUREFLAG_NOT_FOUND: 62003,
|
|
363
364
|
MAINTENANCE_SUCCESS: 63000,
|
|
364
365
|
MAINTENANCE_FAILED: 63001,
|
|
365
366
|
DATASET_VERSION_PENDING: 64005,
|
|
@@ -26112,7 +26112,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
26112
26112
|
trainLog: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
26113
26113
|
inferenceComputeInfo: (f = msg.getInferenceComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
26114
26114
|
buildInfo: (f = msg.getBuildInfo()) && proto.clarifai.api.BuildInfo.toObject(includeInstance, f),
|
|
26115
|
-
|
|
26115
|
+
methodSignaturesList: jspb.Message.toObjectList(msg.getMethodSignaturesList(), proto.clarifai.api.MethodSignature.toObject, includeInstance)
|
|
26116
26116
|
};
|
|
26117
26117
|
if (includeInstance) {
|
|
26118
26118
|
obj.$jspbMessageInstance = msg;
|
|
@@ -26249,7 +26249,7 @@ proto.clarifai.api.ModelVersion.deserializeBinaryFromReader = function (msg, rea
|
|
|
26249
26249
|
case 26:
|
|
26250
26250
|
var value = new proto.clarifai.api.MethodSignature;
|
|
26251
26251
|
reader.readMessage(value, proto.clarifai.api.MethodSignature.deserializeBinaryFromReader);
|
|
26252
|
-
msg.
|
|
26252
|
+
msg.addMethodSignatures(value);
|
|
26253
26253
|
break;
|
|
26254
26254
|
default:
|
|
26255
26255
|
reader.skipField();
|
|
@@ -26364,7 +26364,7 @@ proto.clarifai.api.ModelVersion.serializeBinaryToWriter = function (message, wri
|
|
|
26364
26364
|
if (f != null) {
|
|
26365
26365
|
writer.writeMessage(25, f, proto.clarifai.api.BuildInfo.serializeBinaryToWriter);
|
|
26366
26366
|
}
|
|
26367
|
-
f = message.
|
|
26367
|
+
f = message.getMethodSignaturesList();
|
|
26368
26368
|
if (f.length > 0) {
|
|
26369
26369
|
writer.writeRepeatedMessage(26, f, proto.clarifai.api.MethodSignature.serializeBinaryToWriter);
|
|
26370
26370
|
}
|
|
@@ -26874,17 +26874,17 @@ proto.clarifai.api.ModelVersion.prototype.hasBuildInfo = function () {
|
|
|
26874
26874
|
return jspb.Message.getField(this, 25) != null;
|
|
26875
26875
|
};
|
|
26876
26876
|
/**
|
|
26877
|
-
* repeated MethodSignature
|
|
26877
|
+
* repeated MethodSignature method_signatures = 26;
|
|
26878
26878
|
* @return {!Array<!proto.clarifai.api.MethodSignature>}
|
|
26879
26879
|
*/
|
|
26880
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26880
|
+
proto.clarifai.api.ModelVersion.prototype.getMethodSignaturesList = function () {
|
|
26881
26881
|
return /** @type{!Array<!proto.clarifai.api.MethodSignature>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.MethodSignature, 26));
|
|
26882
26882
|
};
|
|
26883
26883
|
/**
|
|
26884
26884
|
* @param {!Array<!proto.clarifai.api.MethodSignature>} value
|
|
26885
26885
|
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
26886
26886
|
*/
|
|
26887
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26887
|
+
proto.clarifai.api.ModelVersion.prototype.setMethodSignaturesList = function (value) {
|
|
26888
26888
|
return jspb.Message.setRepeatedWrapperField(this, 26, value);
|
|
26889
26889
|
};
|
|
26890
26890
|
/**
|
|
@@ -26892,15 +26892,15 @@ proto.clarifai.api.ModelVersion.prototype.setMethodSignatureList = function (val
|
|
|
26892
26892
|
* @param {number=} opt_index
|
|
26893
26893
|
* @return {!proto.clarifai.api.MethodSignature}
|
|
26894
26894
|
*/
|
|
26895
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26895
|
+
proto.clarifai.api.ModelVersion.prototype.addMethodSignatures = function (opt_value, opt_index) {
|
|
26896
26896
|
return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.clarifai.api.MethodSignature, opt_index);
|
|
26897
26897
|
};
|
|
26898
26898
|
/**
|
|
26899
26899
|
* Clears the list making it empty but non-null.
|
|
26900
26900
|
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
26901
26901
|
*/
|
|
26902
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
26903
|
-
return this.
|
|
26902
|
+
proto.clarifai.api.ModelVersion.prototype.clearMethodSignaturesList = function () {
|
|
26903
|
+
return this.setMethodSignaturesList([]);
|
|
26904
26904
|
};
|
|
26905
26905
|
/**
|
|
26906
26906
|
* List of repeated fields within this message type.
|
|
@@ -360,6 +360,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
360
360
|
FEATUREFLAG_CONFIG_NOT_FOUND: 62000,
|
|
361
361
|
FEATUREFLAG_INVALID_ARGUMENT: 62001,
|
|
362
362
|
FEATUREFLAG_BLOCKED: 62002,
|
|
363
|
+
FEATUREFLAG_NOT_FOUND: 62003,
|
|
363
364
|
MAINTENANCE_SUCCESS: 63000,
|
|
364
365
|
MAINTENANCE_FAILED: 63001,
|
|
365
366
|
DATASET_VERSION_PENDING: 64005,
|
package/package.json
CHANGED
|
@@ -3565,10 +3565,10 @@ export class ModelVersion extends jspb.Message {
|
|
|
3565
3565
|
hasBuildInfo(): boolean;
|
|
3566
3566
|
clearBuildInfo(): ModelVersion;
|
|
3567
3567
|
|
|
3568
|
-
|
|
3569
|
-
|
|
3570
|
-
|
|
3571
|
-
|
|
3568
|
+
getMethodSignaturesList(): Array<MethodSignature>;
|
|
3569
|
+
setMethodSignaturesList(value: Array<MethodSignature>): ModelVersion;
|
|
3570
|
+
clearMethodSignaturesList(): ModelVersion;
|
|
3571
|
+
addMethodSignatures(value?: MethodSignature, index?: number): MethodSignature;
|
|
3572
3572
|
|
|
3573
3573
|
serializeBinary(): Uint8Array;
|
|
3574
3574
|
toObject(includeInstance?: boolean): ModelVersion.AsObject;
|
|
@@ -3602,7 +3602,7 @@ export namespace ModelVersion {
|
|
|
3602
3602
|
trainLog: string,
|
|
3603
3603
|
inferenceComputeInfo?: ComputeInfo.AsObject,
|
|
3604
3604
|
buildInfo?: BuildInfo.AsObject,
|
|
3605
|
-
|
|
3605
|
+
methodSignaturesList: Array<MethodSignature.AsObject>,
|
|
3606
3606
|
}
|
|
3607
3607
|
}
|
|
3608
3608
|
|
|
@@ -31871,7 +31871,7 @@ proto.clarifai.api.ModelVersion.toObject = function(includeInstance, msg) {
|
|
|
31871
31871
|
trainLog: jspb.Message.getFieldWithDefault(msg, 23, ""),
|
|
31872
31872
|
inferenceComputeInfo: (f = msg.getInferenceComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
31873
31873
|
buildInfo: (f = msg.getBuildInfo()) && proto.clarifai.api.BuildInfo.toObject(includeInstance, f),
|
|
31874
|
-
|
|
31874
|
+
methodSignaturesList: jspb.Message.toObjectList(msg.getMethodSignaturesList(),
|
|
31875
31875
|
proto.clarifai.api.MethodSignature.toObject, includeInstance)
|
|
31876
31876
|
};
|
|
31877
31877
|
|
|
@@ -32014,7 +32014,7 @@ proto.clarifai.api.ModelVersion.deserializeBinaryFromReader = function(msg, read
|
|
|
32014
32014
|
case 26:
|
|
32015
32015
|
var value = new proto.clarifai.api.MethodSignature;
|
|
32016
32016
|
reader.readMessage(value,proto.clarifai.api.MethodSignature.deserializeBinaryFromReader);
|
|
32017
|
-
msg.
|
|
32017
|
+
msg.addMethodSignatures(value);
|
|
32018
32018
|
break;
|
|
32019
32019
|
default:
|
|
32020
32020
|
reader.skipField();
|
|
@@ -32213,7 +32213,7 @@ proto.clarifai.api.ModelVersion.serializeBinaryToWriter = function(message, writ
|
|
|
32213
32213
|
proto.clarifai.api.BuildInfo.serializeBinaryToWriter
|
|
32214
32214
|
);
|
|
32215
32215
|
}
|
|
32216
|
-
f = message.
|
|
32216
|
+
f = message.getMethodSignaturesList();
|
|
32217
32217
|
if (f.length > 0) {
|
|
32218
32218
|
writer.writeRepeatedMessage(
|
|
32219
32219
|
26,
|
|
@@ -32887,10 +32887,10 @@ proto.clarifai.api.ModelVersion.prototype.hasBuildInfo = function() {
|
|
|
32887
32887
|
|
|
32888
32888
|
|
|
32889
32889
|
/**
|
|
32890
|
-
* repeated MethodSignature
|
|
32890
|
+
* repeated MethodSignature method_signatures = 26;
|
|
32891
32891
|
* @return {!Array<!proto.clarifai.api.MethodSignature>}
|
|
32892
32892
|
*/
|
|
32893
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
32893
|
+
proto.clarifai.api.ModelVersion.prototype.getMethodSignaturesList = function() {
|
|
32894
32894
|
return /** @type{!Array<!proto.clarifai.api.MethodSignature>} */ (
|
|
32895
32895
|
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.MethodSignature, 26));
|
|
32896
32896
|
};
|
|
@@ -32900,7 +32900,7 @@ proto.clarifai.api.ModelVersion.prototype.getMethodSignatureList = function() {
|
|
|
32900
32900
|
* @param {!Array<!proto.clarifai.api.MethodSignature>} value
|
|
32901
32901
|
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
32902
32902
|
*/
|
|
32903
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
32903
|
+
proto.clarifai.api.ModelVersion.prototype.setMethodSignaturesList = function(value) {
|
|
32904
32904
|
return jspb.Message.setRepeatedWrapperField(this, 26, value);
|
|
32905
32905
|
};
|
|
32906
32906
|
|
|
@@ -32910,7 +32910,7 @@ proto.clarifai.api.ModelVersion.prototype.setMethodSignatureList = function(valu
|
|
|
32910
32910
|
* @param {number=} opt_index
|
|
32911
32911
|
* @return {!proto.clarifai.api.MethodSignature}
|
|
32912
32912
|
*/
|
|
32913
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
32913
|
+
proto.clarifai.api.ModelVersion.prototype.addMethodSignatures = function(opt_value, opt_index) {
|
|
32914
32914
|
return jspb.Message.addToRepeatedWrapperField(this, 26, opt_value, proto.clarifai.api.MethodSignature, opt_index);
|
|
32915
32915
|
};
|
|
32916
32916
|
|
|
@@ -32919,8 +32919,8 @@ proto.clarifai.api.ModelVersion.prototype.addMethodSignature = function(opt_valu
|
|
|
32919
32919
|
* Clears the list making it empty but non-null.
|
|
32920
32920
|
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
32921
32921
|
*/
|
|
32922
|
-
proto.clarifai.api.ModelVersion.prototype.
|
|
32923
|
-
return this.
|
|
32922
|
+
proto.clarifai.api.ModelVersion.prototype.clearMethodSignaturesList = function() {
|
|
32923
|
+
return this.setMethodSignaturesList([]);
|
|
32924
32924
|
};
|
|
32925
32925
|
|
|
32926
32926
|
|
|
@@ -339,6 +339,7 @@ export enum StatusCode {
|
|
|
339
339
|
FEATUREFLAG_CONFIG_NOT_FOUND = 62000,
|
|
340
340
|
FEATUREFLAG_INVALID_ARGUMENT = 62001,
|
|
341
341
|
FEATUREFLAG_BLOCKED = 62002,
|
|
342
|
+
FEATUREFLAG_NOT_FOUND = 62003,
|
|
342
343
|
MAINTENANCE_SUCCESS = 63000,
|
|
343
344
|
MAINTENANCE_FAILED = 63001,
|
|
344
345
|
DATASET_VERSION_PENDING = 64005,
|
|
@@ -362,6 +362,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
362
362
|
FEATUREFLAG_CONFIG_NOT_FOUND: 62000,
|
|
363
363
|
FEATUREFLAG_INVALID_ARGUMENT: 62001,
|
|
364
364
|
FEATUREFLAG_BLOCKED: 62002,
|
|
365
|
+
FEATUREFLAG_NOT_FOUND: 62003,
|
|
365
366
|
MAINTENANCE_SUCCESS: 63000,
|
|
366
367
|
MAINTENANCE_FAILED: 63001,
|
|
367
368
|
DATASET_VERSION_PENDING: 64005,
|