clarifai-web-grpc 11.3.3 → 11.4.1
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 +156 -3
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +84 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +864 -4
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +156 -3
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +84 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +864 -4
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +26 -0
- package/proto/clarifai/api/resources_pb.js +204 -3
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +24 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +122 -0
- package/proto/clarifai/api/service_pb.d.ts +132 -0
- package/proto/clarifai/api/service_pb.js +1087 -4
- package/proto/clarifai/api/status/status_code_pb.d.ts +14 -0
- package/proto/clarifai/api/status/status_code_pb.js +14 -0
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -32,6 +32,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
32
32
|
NOT_IMPLEMENTED: 10040,
|
|
33
33
|
MOVED: 10050,
|
|
34
34
|
TEAPOT: 10060,
|
|
35
|
+
ACCEPTED: 10070,
|
|
35
36
|
CONN_ACCOUNT_ISSUES: 11000,
|
|
36
37
|
CONN_TOKEN_INVALID: 11001,
|
|
37
38
|
CONN_CREDENTIALS_INVALID: 11002,
|
|
@@ -188,6 +189,16 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
188
189
|
INSTANCE_TYPE_INVALID_ARGUMENT: 26001,
|
|
189
190
|
INSTANCE_TYPE_INVALID_REQUEST: 26002,
|
|
190
191
|
COMPUTE_PLANE_METRICS_INVALID_REQUEST: 26100,
|
|
192
|
+
PIPELINE_STEP_DOES_NOT_EXIST: 26200,
|
|
193
|
+
PIPELINE_STEP_INVALID_ARGUMENT: 26201,
|
|
194
|
+
PIPELINE_STEP_INVALID_REQUEST: 26202,
|
|
195
|
+
PIPELINE_STEP_UPLOADING: 26203,
|
|
196
|
+
PIPELINE_STEP_UPLOADING_FAILED: 26204,
|
|
197
|
+
PIPELINE_STEP_BUILDING: 26205,
|
|
198
|
+
PIPELINE_STEP_BUILDING_FAILED: 26206,
|
|
199
|
+
PIPELINE_STEP_BUILD_UNEXPECTED_ERROR: 26207,
|
|
200
|
+
PIPELINE_STEP_READY: 26208,
|
|
201
|
+
PIPELINE_STEP_NOT_READY: 26209,
|
|
191
202
|
INPUT_SUCCESS: 30000,
|
|
192
203
|
INPUT_PENDING: 30001,
|
|
193
204
|
INPUT_FAILED: 30002,
|
|
@@ -394,6 +405,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
394
405
|
UPLOAD_CANCELED: 68005,
|
|
395
406
|
UPLOAD_CONFLICT: 68006,
|
|
396
407
|
BILLING_INVALID_INFO: 69000,
|
|
408
|
+
BILLING_MISSING_TOKENS: 69001,
|
|
397
409
|
LOG_ENTRIES_INVALID_REQUEST: 70000,
|
|
398
410
|
INTERNAL_SERVER_ISSUE: 98004,
|
|
399
411
|
INTERNAL_FETCHING_ISSUE: 98005,
|
|
@@ -409,6 +421,8 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
409
421
|
INTERNAL_AWS_UNCATEGORIZED: 98016,
|
|
410
422
|
INTERNAL_AZURE_UNCATEGORIZED: 98017,
|
|
411
423
|
INTERNAL_VECTORDB_UNCATEGORIZED: 98018,
|
|
424
|
+
INTERNAL_ORACLE_UNCATEGORIZED: 98019,
|
|
425
|
+
INTERNAL_VULTR_UNCATEGORIZED: 98020,
|
|
412
426
|
CONN_UNCATEGORIZED: 99001,
|
|
413
427
|
MODEL_UNCATEGORIZED: 99002,
|
|
414
428
|
INPUT_UNCATEGORIZED: 99003,
|
|
@@ -323,7 +323,10 @@ proto.clarifai.auth.scope.S = {
|
|
|
323
323
|
WORKFLOWVERSIONEVALUATIONS_GET: 152,
|
|
324
324
|
WORKFLOWVERSIONEVALUATIONS_ADD: 153,
|
|
325
325
|
PIPELINE_GET: 154,
|
|
326
|
-
PIPELINE_ADD: 155
|
|
326
|
+
PIPELINE_ADD: 155,
|
|
327
|
+
PIPELINESTEP_GET: 157,
|
|
328
|
+
PIPELINESTEP_ADD: 158,
|
|
329
|
+
PIPELINESTEP_PULL: 159
|
|
327
330
|
};
|
|
328
331
|
/**
|
|
329
332
|
* A tuple of {field number, class constructor} for the extension
|
|
@@ -56518,7 +56518,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56518
56518
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
56519
56519
|
price: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
56520
56520
|
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
56521
|
-
region: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
56521
|
+
region: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
56522
|
+
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f)
|
|
56522
56523
|
};
|
|
56523
56524
|
if (includeInstance) {
|
|
56524
56525
|
obj.$jspbMessageInstance = msg;
|
|
@@ -56576,6 +56577,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function (msg, rea
|
|
|
56576
56577
|
var value = /** @type {string} */ (reader.readString());
|
|
56577
56578
|
msg.setRegion(value);
|
|
56578
56579
|
break;
|
|
56580
|
+
case 7:
|
|
56581
|
+
var value = new proto.clarifai.api.NodeCapacityType;
|
|
56582
|
+
reader.readMessage(value, proto.clarifai.api.NodeCapacityType.deserializeBinaryFromReader);
|
|
56583
|
+
msg.setAllowedCapacityTypes(value);
|
|
56584
|
+
break;
|
|
56579
56585
|
default:
|
|
56580
56586
|
reader.skipField();
|
|
56581
56587
|
break;
|
|
@@ -56625,6 +56631,10 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function (message, wri
|
|
|
56625
56631
|
if (f.length > 0) {
|
|
56626
56632
|
writer.writeString(6, f);
|
|
56627
56633
|
}
|
|
56634
|
+
f = message.getAllowedCapacityTypes();
|
|
56635
|
+
if (f != null) {
|
|
56636
|
+
writer.writeMessage(7, f, proto.clarifai.api.NodeCapacityType.serializeBinaryToWriter);
|
|
56637
|
+
}
|
|
56628
56638
|
};
|
|
56629
56639
|
/**
|
|
56630
56640
|
* optional string id = 1;
|
|
@@ -56738,6 +56748,34 @@ proto.clarifai.api.InstanceType.prototype.getRegion = function () {
|
|
|
56738
56748
|
proto.clarifai.api.InstanceType.prototype.setRegion = function (value) {
|
|
56739
56749
|
return jspb.Message.setProto3StringField(this, 6, value);
|
|
56740
56750
|
};
|
|
56751
|
+
/**
|
|
56752
|
+
* optional NodeCapacityType allowed_capacity_types = 7;
|
|
56753
|
+
* @return {?proto.clarifai.api.NodeCapacityType}
|
|
56754
|
+
*/
|
|
56755
|
+
proto.clarifai.api.InstanceType.prototype.getAllowedCapacityTypes = function () {
|
|
56756
|
+
return /** @type{?proto.clarifai.api.NodeCapacityType} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.NodeCapacityType, 7));
|
|
56757
|
+
};
|
|
56758
|
+
/**
|
|
56759
|
+
* @param {?proto.clarifai.api.NodeCapacityType|undefined} value
|
|
56760
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56761
|
+
*/
|
|
56762
|
+
proto.clarifai.api.InstanceType.prototype.setAllowedCapacityTypes = function (value) {
|
|
56763
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
56764
|
+
};
|
|
56765
|
+
/**
|
|
56766
|
+
* Clears the message field making it undefined.
|
|
56767
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
56768
|
+
*/
|
|
56769
|
+
proto.clarifai.api.InstanceType.prototype.clearAllowedCapacityTypes = function () {
|
|
56770
|
+
return this.setAllowedCapacityTypes(undefined);
|
|
56771
|
+
};
|
|
56772
|
+
/**
|
|
56773
|
+
* Returns whether this field is set.
|
|
56774
|
+
* @return {boolean}
|
|
56775
|
+
*/
|
|
56776
|
+
proto.clarifai.api.InstanceType.prototype.hasAllowedCapacityTypes = function () {
|
|
56777
|
+
return jspb.Message.getField(this, 7) != null;
|
|
56778
|
+
};
|
|
56741
56779
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
56742
56780
|
/**
|
|
56743
56781
|
* Creates an object representation of this proto.
|
|
@@ -57315,6 +57353,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
57315
57353
|
var f, obj = {
|
|
57316
57354
|
cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
57317
57355
|
cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
57356
|
+
cpuRequests: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
57357
|
+
cpuMemoryRequests: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
57318
57358
|
numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
57319
57359
|
acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
57320
57360
|
acceleratorTypeList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
@@ -57357,6 +57397,14 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function (msg, read
|
|
|
57357
57397
|
var value = /** @type {string} */ (reader.readString());
|
|
57358
57398
|
msg.setCpuMemory(value);
|
|
57359
57399
|
break;
|
|
57400
|
+
case 7:
|
|
57401
|
+
var value = /** @type {string} */ (reader.readString());
|
|
57402
|
+
msg.setCpuRequests(value);
|
|
57403
|
+
break;
|
|
57404
|
+
case 8:
|
|
57405
|
+
var value = /** @type {string} */ (reader.readString());
|
|
57406
|
+
msg.setCpuMemoryRequests(value);
|
|
57407
|
+
break;
|
|
57360
57408
|
case 3:
|
|
57361
57409
|
var value = /** @type {number} */ (reader.readUint32());
|
|
57362
57410
|
msg.setNumAccelerators(value);
|
|
@@ -57402,6 +57450,14 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function (message, writ
|
|
|
57402
57450
|
if (f.length > 0) {
|
|
57403
57451
|
writer.writeString(2, f);
|
|
57404
57452
|
}
|
|
57453
|
+
f = message.getCpuRequests();
|
|
57454
|
+
if (f.length > 0) {
|
|
57455
|
+
writer.writeString(7, f);
|
|
57456
|
+
}
|
|
57457
|
+
f = message.getCpuMemoryRequests();
|
|
57458
|
+
if (f.length > 0) {
|
|
57459
|
+
writer.writeString(8, f);
|
|
57460
|
+
}
|
|
57405
57461
|
f = message.getNumAccelerators();
|
|
57406
57462
|
if (f !== 0) {
|
|
57407
57463
|
writer.writeUint32(3, f);
|
|
@@ -57443,6 +57499,34 @@ proto.clarifai.api.ComputeInfo.prototype.getCpuMemory = function () {
|
|
|
57443
57499
|
proto.clarifai.api.ComputeInfo.prototype.setCpuMemory = function (value) {
|
|
57444
57500
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
57445
57501
|
};
|
|
57502
|
+
/**
|
|
57503
|
+
* optional string cpu_requests = 7;
|
|
57504
|
+
* @return {string}
|
|
57505
|
+
*/
|
|
57506
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuRequests = function () {
|
|
57507
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
57508
|
+
};
|
|
57509
|
+
/**
|
|
57510
|
+
* @param {string} value
|
|
57511
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
57512
|
+
*/
|
|
57513
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuRequests = function (value) {
|
|
57514
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
57515
|
+
};
|
|
57516
|
+
/**
|
|
57517
|
+
* optional string cpu_memory_requests = 8;
|
|
57518
|
+
* @return {string}
|
|
57519
|
+
*/
|
|
57520
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuMemoryRequests = function () {
|
|
57521
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
57522
|
+
};
|
|
57523
|
+
/**
|
|
57524
|
+
* @param {string} value
|
|
57525
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
57526
|
+
*/
|
|
57527
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuMemoryRequests = function (value) {
|
|
57528
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
57529
|
+
};
|
|
57446
57530
|
/**
|
|
57447
57531
|
* optional uint32 num_accelerators = 3;
|
|
57448
57532
|
* @return {number}
|
|
@@ -57788,7 +57872,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
57788
57872
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
57789
57873
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
57790
57874
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
57791
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
57875
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
57876
|
+
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
57792
57877
|
};
|
|
57793
57878
|
if (includeInstance) {
|
|
57794
57879
|
obj.$jspbMessageInstance = msg;
|
|
@@ -57871,6 +57956,10 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function (msg, reade
|
|
|
57871
57956
|
reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
57872
57957
|
msg.setModifiedAt(value);
|
|
57873
57958
|
break;
|
|
57959
|
+
case 14:
|
|
57960
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
57961
|
+
msg.setDeployLatestVersion(value);
|
|
57962
|
+
break;
|
|
57874
57963
|
default:
|
|
57875
57964
|
reader.skipField();
|
|
57876
57965
|
break;
|
|
@@ -57940,6 +58029,10 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function (message, write
|
|
|
57940
58029
|
if (f != null) {
|
|
57941
58030
|
writer.writeMessage(13, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
|
|
57942
58031
|
}
|
|
58032
|
+
f = message.getDeployLatestVersion();
|
|
58033
|
+
if (f) {
|
|
58034
|
+
writer.writeBool(14, f);
|
|
58035
|
+
}
|
|
57943
58036
|
};
|
|
57944
58037
|
/**
|
|
57945
58038
|
* @enum {number}
|
|
@@ -58208,6 +58301,20 @@ proto.clarifai.api.Deployment.prototype.clearModifiedAt = function () {
|
|
|
58208
58301
|
proto.clarifai.api.Deployment.prototype.hasModifiedAt = function () {
|
|
58209
58302
|
return jspb.Message.getField(this, 13) != null;
|
|
58210
58303
|
};
|
|
58304
|
+
/**
|
|
58305
|
+
* optional bool deploy_latest_version = 14;
|
|
58306
|
+
* @return {boolean}
|
|
58307
|
+
*/
|
|
58308
|
+
proto.clarifai.api.Deployment.prototype.getDeployLatestVersion = function () {
|
|
58309
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
58310
|
+
};
|
|
58311
|
+
/**
|
|
58312
|
+
* @param {boolean} value
|
|
58313
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
58314
|
+
*/
|
|
58315
|
+
proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function (value) {
|
|
58316
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
58317
|
+
};
|
|
58211
58318
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
58212
58319
|
/**
|
|
58213
58320
|
* Creates an object representation of this proto.
|
|
@@ -61408,7 +61515,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
61408
61515
|
runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
61409
61516
|
pipelineId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
61410
61517
|
pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
61411
|
-
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
61518
|
+
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
61519
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
61520
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
61412
61521
|
};
|
|
61413
61522
|
if (includeInstance) {
|
|
61414
61523
|
obj.$jspbMessageInstance = msg;
|
|
@@ -61481,6 +61590,14 @@ proto.clarifai.api.ComputeSourceMetadata.deserializeBinaryFromReader = function
|
|
|
61481
61590
|
var value = /** @type {string} */ (reader.readString());
|
|
61482
61591
|
msg.setPipelineVersionRunId(value);
|
|
61483
61592
|
break;
|
|
61593
|
+
case 12:
|
|
61594
|
+
var value = /** @type {string} */ (reader.readString());
|
|
61595
|
+
msg.setPipelineStepId(value);
|
|
61596
|
+
break;
|
|
61597
|
+
case 13:
|
|
61598
|
+
var value = /** @type {string} */ (reader.readString());
|
|
61599
|
+
msg.setPipelineStepVersionId(value);
|
|
61600
|
+
break;
|
|
61484
61601
|
default:
|
|
61485
61602
|
reader.skipField();
|
|
61486
61603
|
break;
|
|
@@ -61546,6 +61663,14 @@ proto.clarifai.api.ComputeSourceMetadata.serializeBinaryToWriter = function (mes
|
|
|
61546
61663
|
if (f.length > 0) {
|
|
61547
61664
|
writer.writeString(11, f);
|
|
61548
61665
|
}
|
|
61666
|
+
f = message.getPipelineStepId();
|
|
61667
|
+
if (f.length > 0) {
|
|
61668
|
+
writer.writeString(12, f);
|
|
61669
|
+
}
|
|
61670
|
+
f = message.getPipelineStepVersionId();
|
|
61671
|
+
if (f.length > 0) {
|
|
61672
|
+
writer.writeString(13, f);
|
|
61673
|
+
}
|
|
61549
61674
|
};
|
|
61550
61675
|
/**
|
|
61551
61676
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -61701,6 +61826,34 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineVersionRunId = fun
|
|
|
61701
61826
|
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineVersionRunId = function (value) {
|
|
61702
61827
|
return jspb.Message.setProto3StringField(this, 11, value);
|
|
61703
61828
|
};
|
|
61829
|
+
/**
|
|
61830
|
+
* optional string pipeline_step_id = 12;
|
|
61831
|
+
* @return {string}
|
|
61832
|
+
*/
|
|
61833
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepId = function () {
|
|
61834
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
61835
|
+
};
|
|
61836
|
+
/**
|
|
61837
|
+
* @param {string} value
|
|
61838
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
61839
|
+
*/
|
|
61840
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepId = function (value) {
|
|
61841
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
61842
|
+
};
|
|
61843
|
+
/**
|
|
61844
|
+
* optional string pipeline_step_version_id = 13;
|
|
61845
|
+
* @return {string}
|
|
61846
|
+
*/
|
|
61847
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepVersionId = function () {
|
|
61848
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
61849
|
+
};
|
|
61850
|
+
/**
|
|
61851
|
+
* @param {string} value
|
|
61852
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
61853
|
+
*/
|
|
61854
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepVersionId = function (value) {
|
|
61855
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
61856
|
+
};
|
|
61704
61857
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
61705
61858
|
/**
|
|
61706
61859
|
* Creates an object representation of this proto.
|
|
@@ -10352,4 +10352,88 @@ proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowVersionEvaluations =
|
|
|
10352
10352
|
return this.client_.unaryCall(this.hostname_ +
|
|
10353
10353
|
'/clarifai.api.V2/PatchWorkflowVersionEvaluations', request, metadata || {}, methodDescriptor_V2_PatchWorkflowVersionEvaluations);
|
|
10354
10354
|
};
|
|
10355
|
+
/**
|
|
10356
|
+
* @const
|
|
10357
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10358
|
+
* !proto.clarifai.api.MCPRequest,
|
|
10359
|
+
* !proto.clarifai.api.SingleMCPResponse>}
|
|
10360
|
+
*/
|
|
10361
|
+
const methodDescriptor_V2_GetMCP = new grpc.web.MethodDescriptor('/clarifai.api.V2/GetMCP', grpc.web.MethodType.UNARY, proto.clarifai.api.MCPRequest, proto.clarifai.api.SingleMCPResponse,
|
|
10362
|
+
/**
|
|
10363
|
+
* @param {!proto.clarifai.api.MCPRequest} request
|
|
10364
|
+
* @return {!Uint8Array}
|
|
10365
|
+
*/
|
|
10366
|
+
function (request) {
|
|
10367
|
+
return request.serializeBinary();
|
|
10368
|
+
}, proto.clarifai.api.SingleMCPResponse.deserializeBinary);
|
|
10369
|
+
/**
|
|
10370
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
10371
|
+
* request proto
|
|
10372
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10373
|
+
* call metadata
|
|
10374
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleMCPResponse)}
|
|
10375
|
+
* callback The callback function(error, response)
|
|
10376
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleMCPResponse>|undefined}
|
|
10377
|
+
* The XHR Node Readable Stream
|
|
10378
|
+
*/
|
|
10379
|
+
proto.clarifai.api.V2Client.prototype.getMCP =
|
|
10380
|
+
function (request, metadata, callback) {
|
|
10381
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10382
|
+
'/clarifai.api.V2/GetMCP', request, metadata || {}, methodDescriptor_V2_GetMCP, callback);
|
|
10383
|
+
};
|
|
10384
|
+
/**
|
|
10385
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
10386
|
+
* request proto
|
|
10387
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10388
|
+
* call metadata
|
|
10389
|
+
* @return {!Promise<!proto.clarifai.api.SingleMCPResponse>}
|
|
10390
|
+
* Promise that resolves to the response
|
|
10391
|
+
*/
|
|
10392
|
+
proto.clarifai.api.V2PromiseClient.prototype.getMCP =
|
|
10393
|
+
function (request, metadata) {
|
|
10394
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10395
|
+
'/clarifai.api.V2/GetMCP', request, metadata || {}, methodDescriptor_V2_GetMCP);
|
|
10396
|
+
};
|
|
10397
|
+
/**
|
|
10398
|
+
* @const
|
|
10399
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
10400
|
+
* !proto.clarifai.api.MCPRequest,
|
|
10401
|
+
* !proto.clarifai.api.SingleMCPResponse>}
|
|
10402
|
+
*/
|
|
10403
|
+
const methodDescriptor_V2_PostMCP = new grpc.web.MethodDescriptor('/clarifai.api.V2/PostMCP', grpc.web.MethodType.UNARY, proto.clarifai.api.MCPRequest, proto.clarifai.api.SingleMCPResponse,
|
|
10404
|
+
/**
|
|
10405
|
+
* @param {!proto.clarifai.api.MCPRequest} request
|
|
10406
|
+
* @return {!Uint8Array}
|
|
10407
|
+
*/
|
|
10408
|
+
function (request) {
|
|
10409
|
+
return request.serializeBinary();
|
|
10410
|
+
}, proto.clarifai.api.SingleMCPResponse.deserializeBinary);
|
|
10411
|
+
/**
|
|
10412
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
10413
|
+
* request proto
|
|
10414
|
+
* @param {?Object<string, string>} metadata User defined
|
|
10415
|
+
* call metadata
|
|
10416
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleMCPResponse)}
|
|
10417
|
+
* callback The callback function(error, response)
|
|
10418
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleMCPResponse>|undefined}
|
|
10419
|
+
* The XHR Node Readable Stream
|
|
10420
|
+
*/
|
|
10421
|
+
proto.clarifai.api.V2Client.prototype.postMCP =
|
|
10422
|
+
function (request, metadata, callback) {
|
|
10423
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
10424
|
+
'/clarifai.api.V2/PostMCP', request, metadata || {}, methodDescriptor_V2_PostMCP, callback);
|
|
10425
|
+
};
|
|
10426
|
+
/**
|
|
10427
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
10428
|
+
* request proto
|
|
10429
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
10430
|
+
* call metadata
|
|
10431
|
+
* @return {!Promise<!proto.clarifai.api.SingleMCPResponse>}
|
|
10432
|
+
* Promise that resolves to the response
|
|
10433
|
+
*/
|
|
10434
|
+
proto.clarifai.api.V2PromiseClient.prototype.postMCP =
|
|
10435
|
+
function (request, metadata) {
|
|
10436
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
10437
|
+
'/clarifai.api.V2/PostMCP', request, metadata || {}, methodDescriptor_V2_PostMCP);
|
|
10438
|
+
};
|
|
10355
10439
|
module.exports = proto.clarifai.api;
|