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
|
package/package.json
CHANGED
|
@@ -8575,6 +8575,11 @@ export class InstanceType extends jspb.Message {
|
|
|
8575
8575
|
getRegion(): string;
|
|
8576
8576
|
setRegion(value: string): InstanceType;
|
|
8577
8577
|
|
|
8578
|
+
getAllowedCapacityTypes(): NodeCapacityType | undefined;
|
|
8579
|
+
setAllowedCapacityTypes(value?: NodeCapacityType): InstanceType;
|
|
8580
|
+
hasAllowedCapacityTypes(): boolean;
|
|
8581
|
+
clearAllowedCapacityTypes(): InstanceType;
|
|
8582
|
+
|
|
8578
8583
|
serializeBinary(): Uint8Array;
|
|
8579
8584
|
toObject(includeInstance?: boolean): InstanceType.AsObject;
|
|
8580
8585
|
static toObject(includeInstance: boolean, msg: InstanceType): InstanceType.AsObject;
|
|
@@ -8591,6 +8596,7 @@ export namespace InstanceType {
|
|
|
8591
8596
|
price: string,
|
|
8592
8597
|
cloudProvider?: CloudProvider.AsObject,
|
|
8593
8598
|
region: string,
|
|
8599
|
+
allowedCapacityTypes?: NodeCapacityType.AsObject,
|
|
8594
8600
|
}
|
|
8595
8601
|
}
|
|
8596
8602
|
|
|
@@ -8691,6 +8697,12 @@ export class ComputeInfo extends jspb.Message {
|
|
|
8691
8697
|
getCpuMemory(): string;
|
|
8692
8698
|
setCpuMemory(value: string): ComputeInfo;
|
|
8693
8699
|
|
|
8700
|
+
getCpuRequests(): string;
|
|
8701
|
+
setCpuRequests(value: string): ComputeInfo;
|
|
8702
|
+
|
|
8703
|
+
getCpuMemoryRequests(): string;
|
|
8704
|
+
setCpuMemoryRequests(value: string): ComputeInfo;
|
|
8705
|
+
|
|
8694
8706
|
getNumAccelerators(): number;
|
|
8695
8707
|
setNumAccelerators(value: number): ComputeInfo;
|
|
8696
8708
|
|
|
@@ -8714,6 +8726,8 @@ export namespace ComputeInfo {
|
|
|
8714
8726
|
export type AsObject = {
|
|
8715
8727
|
cpuLimit: string,
|
|
8716
8728
|
cpuMemory: string,
|
|
8729
|
+
cpuRequests: string,
|
|
8730
|
+
cpuMemoryRequests: string,
|
|
8717
8731
|
numAccelerators: number,
|
|
8718
8732
|
acceleratorMemory: string,
|
|
8719
8733
|
acceleratorTypeList: Array<string>,
|
|
@@ -8810,6 +8824,9 @@ export class Deployment extends jspb.Message {
|
|
|
8810
8824
|
hasModifiedAt(): boolean;
|
|
8811
8825
|
clearModifiedAt(): Deployment;
|
|
8812
8826
|
|
|
8827
|
+
getDeployLatestVersion(): boolean;
|
|
8828
|
+
setDeployLatestVersion(value: boolean): Deployment;
|
|
8829
|
+
|
|
8813
8830
|
serializeBinary(): Uint8Array;
|
|
8814
8831
|
toObject(includeInstance?: boolean): Deployment.AsObject;
|
|
8815
8832
|
static toObject(includeInstance: boolean, msg: Deployment): Deployment.AsObject;
|
|
@@ -8831,6 +8848,7 @@ export namespace Deployment {
|
|
|
8831
8848
|
worker?: Worker.AsObject,
|
|
8832
8849
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8833
8850
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8851
|
+
deployLatestVersion: boolean,
|
|
8834
8852
|
}
|
|
8835
8853
|
|
|
8836
8854
|
export enum SchedulingChoice {
|
|
@@ -9421,6 +9439,12 @@ export class ComputeSourceMetadata extends jspb.Message {
|
|
|
9421
9439
|
getPipelineVersionRunId(): string;
|
|
9422
9440
|
setPipelineVersionRunId(value: string): ComputeSourceMetadata;
|
|
9423
9441
|
|
|
9442
|
+
getPipelineStepId(): string;
|
|
9443
|
+
setPipelineStepId(value: string): ComputeSourceMetadata;
|
|
9444
|
+
|
|
9445
|
+
getPipelineStepVersionId(): string;
|
|
9446
|
+
setPipelineStepVersionId(value: string): ComputeSourceMetadata;
|
|
9447
|
+
|
|
9424
9448
|
serializeBinary(): Uint8Array;
|
|
9425
9449
|
toObject(includeInstance?: boolean): ComputeSourceMetadata.AsObject;
|
|
9426
9450
|
static toObject(includeInstance: boolean, msg: ComputeSourceMetadata): ComputeSourceMetadata.AsObject;
|
|
@@ -9441,6 +9465,8 @@ export namespace ComputeSourceMetadata {
|
|
|
9441
9465
|
pipelineId: string,
|
|
9442
9466
|
pipelineVersionId: string,
|
|
9443
9467
|
pipelineVersionRunId: string,
|
|
9468
|
+
pipelineStepId: string,
|
|
9469
|
+
pipelineStepVersionId: string,
|
|
9444
9470
|
}
|
|
9445
9471
|
}
|
|
9446
9472
|
|
|
@@ -70629,7 +70629,8 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
|
|
|
70629
70629
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
70630
70630
|
price: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
70631
70631
|
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
70632
|
-
region: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
70632
|
+
region: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
70633
|
+
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f)
|
|
70633
70634
|
};
|
|
70634
70635
|
|
|
70635
70636
|
if (includeInstance) {
|
|
@@ -70692,6 +70693,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
|
|
|
70692
70693
|
var value = /** @type {string} */ (reader.readString());
|
|
70693
70694
|
msg.setRegion(value);
|
|
70694
70695
|
break;
|
|
70696
|
+
case 7:
|
|
70697
|
+
var value = new proto.clarifai.api.NodeCapacityType;
|
|
70698
|
+
reader.readMessage(value,proto.clarifai.api.NodeCapacityType.deserializeBinaryFromReader);
|
|
70699
|
+
msg.setAllowedCapacityTypes(value);
|
|
70700
|
+
break;
|
|
70695
70701
|
default:
|
|
70696
70702
|
reader.skipField();
|
|
70697
70703
|
break;
|
|
@@ -70765,6 +70771,14 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
|
|
|
70765
70771
|
f
|
|
70766
70772
|
);
|
|
70767
70773
|
}
|
|
70774
|
+
f = message.getAllowedCapacityTypes();
|
|
70775
|
+
if (f != null) {
|
|
70776
|
+
writer.writeMessage(
|
|
70777
|
+
7,
|
|
70778
|
+
f,
|
|
70779
|
+
proto.clarifai.api.NodeCapacityType.serializeBinaryToWriter
|
|
70780
|
+
);
|
|
70781
|
+
}
|
|
70768
70782
|
};
|
|
70769
70783
|
|
|
70770
70784
|
|
|
@@ -70914,6 +70928,43 @@ proto.clarifai.api.InstanceType.prototype.setRegion = function(value) {
|
|
|
70914
70928
|
};
|
|
70915
70929
|
|
|
70916
70930
|
|
|
70931
|
+
/**
|
|
70932
|
+
* optional NodeCapacityType allowed_capacity_types = 7;
|
|
70933
|
+
* @return {?proto.clarifai.api.NodeCapacityType}
|
|
70934
|
+
*/
|
|
70935
|
+
proto.clarifai.api.InstanceType.prototype.getAllowedCapacityTypes = function() {
|
|
70936
|
+
return /** @type{?proto.clarifai.api.NodeCapacityType} */ (
|
|
70937
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.NodeCapacityType, 7));
|
|
70938
|
+
};
|
|
70939
|
+
|
|
70940
|
+
|
|
70941
|
+
/**
|
|
70942
|
+
* @param {?proto.clarifai.api.NodeCapacityType|undefined} value
|
|
70943
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70944
|
+
*/
|
|
70945
|
+
proto.clarifai.api.InstanceType.prototype.setAllowedCapacityTypes = function(value) {
|
|
70946
|
+
return jspb.Message.setWrapperField(this, 7, value);
|
|
70947
|
+
};
|
|
70948
|
+
|
|
70949
|
+
|
|
70950
|
+
/**
|
|
70951
|
+
* Clears the message field making it undefined.
|
|
70952
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70953
|
+
*/
|
|
70954
|
+
proto.clarifai.api.InstanceType.prototype.clearAllowedCapacityTypes = function() {
|
|
70955
|
+
return this.setAllowedCapacityTypes(undefined);
|
|
70956
|
+
};
|
|
70957
|
+
|
|
70958
|
+
|
|
70959
|
+
/**
|
|
70960
|
+
* Returns whether this field is set.
|
|
70961
|
+
* @return {boolean}
|
|
70962
|
+
*/
|
|
70963
|
+
proto.clarifai.api.InstanceType.prototype.hasAllowedCapacityTypes = function() {
|
|
70964
|
+
return jspb.Message.getField(this, 7) != null;
|
|
70965
|
+
};
|
|
70966
|
+
|
|
70967
|
+
|
|
70917
70968
|
|
|
70918
70969
|
|
|
70919
70970
|
|
|
@@ -71650,6 +71701,8 @@ proto.clarifai.api.ComputeInfo.toObject = function(includeInstance, msg) {
|
|
|
71650
71701
|
var f, obj = {
|
|
71651
71702
|
cpuLimit: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
71652
71703
|
cpuMemory: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
71704
|
+
cpuRequests: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
71705
|
+
cpuMemoryRequests: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
71653
71706
|
numAccelerators: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
71654
71707
|
acceleratorMemory: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
71655
71708
|
acceleratorTypeList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
@@ -71697,6 +71750,14 @@ proto.clarifai.api.ComputeInfo.deserializeBinaryFromReader = function(msg, reade
|
|
|
71697
71750
|
var value = /** @type {string} */ (reader.readString());
|
|
71698
71751
|
msg.setCpuMemory(value);
|
|
71699
71752
|
break;
|
|
71753
|
+
case 7:
|
|
71754
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71755
|
+
msg.setCpuRequests(value);
|
|
71756
|
+
break;
|
|
71757
|
+
case 8:
|
|
71758
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71759
|
+
msg.setCpuMemoryRequests(value);
|
|
71760
|
+
break;
|
|
71700
71761
|
case 3:
|
|
71701
71762
|
var value = /** @type {number} */ (reader.readUint32());
|
|
71702
71763
|
msg.setNumAccelerators(value);
|
|
@@ -71752,6 +71813,20 @@ proto.clarifai.api.ComputeInfo.serializeBinaryToWriter = function(message, write
|
|
|
71752
71813
|
f
|
|
71753
71814
|
);
|
|
71754
71815
|
}
|
|
71816
|
+
f = message.getCpuRequests();
|
|
71817
|
+
if (f.length > 0) {
|
|
71818
|
+
writer.writeString(
|
|
71819
|
+
7,
|
|
71820
|
+
f
|
|
71821
|
+
);
|
|
71822
|
+
}
|
|
71823
|
+
f = message.getCpuMemoryRequests();
|
|
71824
|
+
if (f.length > 0) {
|
|
71825
|
+
writer.writeString(
|
|
71826
|
+
8,
|
|
71827
|
+
f
|
|
71828
|
+
);
|
|
71829
|
+
}
|
|
71755
71830
|
f = message.getNumAccelerators();
|
|
71756
71831
|
if (f !== 0) {
|
|
71757
71832
|
writer.writeUint32(
|
|
@@ -71812,6 +71887,42 @@ proto.clarifai.api.ComputeInfo.prototype.setCpuMemory = function(value) {
|
|
|
71812
71887
|
};
|
|
71813
71888
|
|
|
71814
71889
|
|
|
71890
|
+
/**
|
|
71891
|
+
* optional string cpu_requests = 7;
|
|
71892
|
+
* @return {string}
|
|
71893
|
+
*/
|
|
71894
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuRequests = function() {
|
|
71895
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
71896
|
+
};
|
|
71897
|
+
|
|
71898
|
+
|
|
71899
|
+
/**
|
|
71900
|
+
* @param {string} value
|
|
71901
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
71902
|
+
*/
|
|
71903
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuRequests = function(value) {
|
|
71904
|
+
return jspb.Message.setProto3StringField(this, 7, value);
|
|
71905
|
+
};
|
|
71906
|
+
|
|
71907
|
+
|
|
71908
|
+
/**
|
|
71909
|
+
* optional string cpu_memory_requests = 8;
|
|
71910
|
+
* @return {string}
|
|
71911
|
+
*/
|
|
71912
|
+
proto.clarifai.api.ComputeInfo.prototype.getCpuMemoryRequests = function() {
|
|
71913
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
71914
|
+
};
|
|
71915
|
+
|
|
71916
|
+
|
|
71917
|
+
/**
|
|
71918
|
+
* @param {string} value
|
|
71919
|
+
* @return {!proto.clarifai.api.ComputeInfo} returns this
|
|
71920
|
+
*/
|
|
71921
|
+
proto.clarifai.api.ComputeInfo.prototype.setCpuMemoryRequests = function(value) {
|
|
71922
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
71923
|
+
};
|
|
71924
|
+
|
|
71925
|
+
|
|
71815
71926
|
/**
|
|
71816
71927
|
* optional uint32 num_accelerators = 3;
|
|
71817
71928
|
* @return {number}
|
|
@@ -72245,7 +72356,8 @@ proto.clarifai.api.Deployment.toObject = function(includeInstance, msg) {
|
|
|
72245
72356
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
72246
72357
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
72247
72358
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
72248
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
72359
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
72360
|
+
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
72249
72361
|
};
|
|
72250
72362
|
|
|
72251
72363
|
if (includeInstance) {
|
|
@@ -72333,6 +72445,10 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function(msg, reader
|
|
|
72333
72445
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
72334
72446
|
msg.setModifiedAt(value);
|
|
72335
72447
|
break;
|
|
72448
|
+
case 14:
|
|
72449
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
72450
|
+
msg.setDeployLatestVersion(value);
|
|
72451
|
+
break;
|
|
72336
72452
|
default:
|
|
72337
72453
|
reader.skipField();
|
|
72338
72454
|
break;
|
|
@@ -72446,6 +72562,13 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function(message, writer
|
|
|
72446
72562
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
72447
72563
|
);
|
|
72448
72564
|
}
|
|
72565
|
+
f = message.getDeployLatestVersion();
|
|
72566
|
+
if (f) {
|
|
72567
|
+
writer.writeBool(
|
|
72568
|
+
14,
|
|
72569
|
+
f
|
|
72570
|
+
);
|
|
72571
|
+
}
|
|
72449
72572
|
};
|
|
72450
72573
|
|
|
72451
72574
|
|
|
@@ -72796,6 +72919,24 @@ proto.clarifai.api.Deployment.prototype.hasModifiedAt = function() {
|
|
|
72796
72919
|
};
|
|
72797
72920
|
|
|
72798
72921
|
|
|
72922
|
+
/**
|
|
72923
|
+
* optional bool deploy_latest_version = 14;
|
|
72924
|
+
* @return {boolean}
|
|
72925
|
+
*/
|
|
72926
|
+
proto.clarifai.api.Deployment.prototype.getDeployLatestVersion = function() {
|
|
72927
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 14, false));
|
|
72928
|
+
};
|
|
72929
|
+
|
|
72930
|
+
|
|
72931
|
+
/**
|
|
72932
|
+
* @param {boolean} value
|
|
72933
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
72934
|
+
*/
|
|
72935
|
+
proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function(value) {
|
|
72936
|
+
return jspb.Message.setProto3BooleanField(this, 14, value);
|
|
72937
|
+
};
|
|
72938
|
+
|
|
72939
|
+
|
|
72799
72940
|
|
|
72800
72941
|
|
|
72801
72942
|
|
|
@@ -76888,7 +77029,9 @@ proto.clarifai.api.ComputeSourceMetadata.toObject = function(includeInstance, ms
|
|
|
76888
77029
|
runnerId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
76889
77030
|
pipelineId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
76890
77031
|
pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
76891
|
-
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
77032
|
+
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
77033
|
+
pipelineStepId: jspb.Message.getFieldWithDefault(msg, 12, ""),
|
|
77034
|
+
pipelineStepVersionId: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
76892
77035
|
};
|
|
76893
77036
|
|
|
76894
77037
|
if (includeInstance) {
|
|
@@ -76966,6 +77109,14 @@ proto.clarifai.api.ComputeSourceMetadata.deserializeBinaryFromReader = function(
|
|
|
76966
77109
|
var value = /** @type {string} */ (reader.readString());
|
|
76967
77110
|
msg.setPipelineVersionRunId(value);
|
|
76968
77111
|
break;
|
|
77112
|
+
case 12:
|
|
77113
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77114
|
+
msg.setPipelineStepId(value);
|
|
77115
|
+
break;
|
|
77116
|
+
case 13:
|
|
77117
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77118
|
+
msg.setPipelineStepVersionId(value);
|
|
77119
|
+
break;
|
|
76969
77120
|
default:
|
|
76970
77121
|
reader.skipField();
|
|
76971
77122
|
break;
|
|
@@ -77066,6 +77217,20 @@ proto.clarifai.api.ComputeSourceMetadata.serializeBinaryToWriter = function(mess
|
|
|
77066
77217
|
f
|
|
77067
77218
|
);
|
|
77068
77219
|
}
|
|
77220
|
+
f = message.getPipelineStepId();
|
|
77221
|
+
if (f.length > 0) {
|
|
77222
|
+
writer.writeString(
|
|
77223
|
+
12,
|
|
77224
|
+
f
|
|
77225
|
+
);
|
|
77226
|
+
}
|
|
77227
|
+
f = message.getPipelineStepVersionId();
|
|
77228
|
+
if (f.length > 0) {
|
|
77229
|
+
writer.writeString(
|
|
77230
|
+
13,
|
|
77231
|
+
f
|
|
77232
|
+
);
|
|
77233
|
+
}
|
|
77069
77234
|
};
|
|
77070
77235
|
|
|
77071
77236
|
|
|
@@ -77268,6 +77433,42 @@ proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineVersionRunId = fun
|
|
|
77268
77433
|
};
|
|
77269
77434
|
|
|
77270
77435
|
|
|
77436
|
+
/**
|
|
77437
|
+
* optional string pipeline_step_id = 12;
|
|
77438
|
+
* @return {string}
|
|
77439
|
+
*/
|
|
77440
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepId = function() {
|
|
77441
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 12, ""));
|
|
77442
|
+
};
|
|
77443
|
+
|
|
77444
|
+
|
|
77445
|
+
/**
|
|
77446
|
+
* @param {string} value
|
|
77447
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
77448
|
+
*/
|
|
77449
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepId = function(value) {
|
|
77450
|
+
return jspb.Message.setProto3StringField(this, 12, value);
|
|
77451
|
+
};
|
|
77452
|
+
|
|
77453
|
+
|
|
77454
|
+
/**
|
|
77455
|
+
* optional string pipeline_step_version_id = 13;
|
|
77456
|
+
* @return {string}
|
|
77457
|
+
*/
|
|
77458
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.getPipelineStepVersionId = function() {
|
|
77459
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
77460
|
+
};
|
|
77461
|
+
|
|
77462
|
+
|
|
77463
|
+
/**
|
|
77464
|
+
* @param {string} value
|
|
77465
|
+
* @return {!proto.clarifai.api.ComputeSourceMetadata} returns this
|
|
77466
|
+
*/
|
|
77467
|
+
proto.clarifai.api.ComputeSourceMetadata.prototype.setPipelineStepVersionId = function(value) {
|
|
77468
|
+
return jspb.Message.setProto3StringField(this, 13, value);
|
|
77469
|
+
};
|
|
77470
|
+
|
|
77471
|
+
|
|
77271
77472
|
|
|
77272
77473
|
|
|
77273
77474
|
|
|
@@ -1720,6 +1720,20 @@ export class V2Client {
|
|
|
1720
1720
|
response: proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse) => void
|
|
1721
1721
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
1722
1722
|
|
|
1723
|
+
getMCP(
|
|
1724
|
+
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
1725
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1726
|
+
callback: (err: grpcWeb.RpcError,
|
|
1727
|
+
response: proto_clarifai_api_service_pb.SingleMCPResponse) => void
|
|
1728
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
1729
|
+
|
|
1730
|
+
postMCP(
|
|
1731
|
+
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
1732
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
1733
|
+
callback: (err: grpcWeb.RpcError,
|
|
1734
|
+
response: proto_clarifai_api_service_pb.SingleMCPResponse) => void
|
|
1735
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
1736
|
+
|
|
1723
1737
|
}
|
|
1724
1738
|
|
|
1725
1739
|
export class V2PromiseClient {
|
|
@@ -2952,5 +2966,15 @@ export class V2PromiseClient {
|
|
|
2952
2966
|
metadata?: grpcWeb.Metadata
|
|
2953
2967
|
): Promise<proto_clarifai_api_service_pb.MultiWorkflowVersionEvaluationResponse>;
|
|
2954
2968
|
|
|
2969
|
+
getMCP(
|
|
2970
|
+
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
2971
|
+
metadata?: grpcWeb.Metadata
|
|
2972
|
+
): Promise<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
2973
|
+
|
|
2974
|
+
postMCP(
|
|
2975
|
+
request: proto_clarifai_api_service_pb.MCPRequest,
|
|
2976
|
+
metadata?: grpcWeb.Metadata
|
|
2977
|
+
): Promise<proto_clarifai_api_service_pb.SingleMCPResponse>;
|
|
2978
|
+
|
|
2955
2979
|
}
|
|
2956
2980
|
|
|
@@ -15030,5 +15030,127 @@ proto.clarifai.api.V2PromiseClient.prototype.patchWorkflowVersionEvaluations =
|
|
|
15030
15030
|
};
|
|
15031
15031
|
|
|
15032
15032
|
|
|
15033
|
+
/**
|
|
15034
|
+
* @const
|
|
15035
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
15036
|
+
* !proto.clarifai.api.MCPRequest,
|
|
15037
|
+
* !proto.clarifai.api.SingleMCPResponse>}
|
|
15038
|
+
*/
|
|
15039
|
+
const methodDescriptor_V2_GetMCP = new grpc.web.MethodDescriptor(
|
|
15040
|
+
'/clarifai.api.V2/GetMCP',
|
|
15041
|
+
grpc.web.MethodType.UNARY,
|
|
15042
|
+
proto.clarifai.api.MCPRequest,
|
|
15043
|
+
proto.clarifai.api.SingleMCPResponse,
|
|
15044
|
+
/**
|
|
15045
|
+
* @param {!proto.clarifai.api.MCPRequest} request
|
|
15046
|
+
* @return {!Uint8Array}
|
|
15047
|
+
*/
|
|
15048
|
+
function(request) {
|
|
15049
|
+
return request.serializeBinary();
|
|
15050
|
+
},
|
|
15051
|
+
proto.clarifai.api.SingleMCPResponse.deserializeBinary
|
|
15052
|
+
);
|
|
15053
|
+
|
|
15054
|
+
|
|
15055
|
+
/**
|
|
15056
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15057
|
+
* request proto
|
|
15058
|
+
* @param {?Object<string, string>} metadata User defined
|
|
15059
|
+
* call metadata
|
|
15060
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleMCPResponse)}
|
|
15061
|
+
* callback The callback function(error, response)
|
|
15062
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleMCPResponse>|undefined}
|
|
15063
|
+
* The XHR Node Readable Stream
|
|
15064
|
+
*/
|
|
15065
|
+
proto.clarifai.api.V2Client.prototype.getMCP =
|
|
15066
|
+
function(request, metadata, callback) {
|
|
15067
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
15068
|
+
'/clarifai.api.V2/GetMCP',
|
|
15069
|
+
request,
|
|
15070
|
+
metadata || {},
|
|
15071
|
+
methodDescriptor_V2_GetMCP,
|
|
15072
|
+
callback);
|
|
15073
|
+
};
|
|
15074
|
+
|
|
15075
|
+
|
|
15076
|
+
/**
|
|
15077
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15078
|
+
* request proto
|
|
15079
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
15080
|
+
* call metadata
|
|
15081
|
+
* @return {!Promise<!proto.clarifai.api.SingleMCPResponse>}
|
|
15082
|
+
* Promise that resolves to the response
|
|
15083
|
+
*/
|
|
15084
|
+
proto.clarifai.api.V2PromiseClient.prototype.getMCP =
|
|
15085
|
+
function(request, metadata) {
|
|
15086
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
15087
|
+
'/clarifai.api.V2/GetMCP',
|
|
15088
|
+
request,
|
|
15089
|
+
metadata || {},
|
|
15090
|
+
methodDescriptor_V2_GetMCP);
|
|
15091
|
+
};
|
|
15092
|
+
|
|
15093
|
+
|
|
15094
|
+
/**
|
|
15095
|
+
* @const
|
|
15096
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
15097
|
+
* !proto.clarifai.api.MCPRequest,
|
|
15098
|
+
* !proto.clarifai.api.SingleMCPResponse>}
|
|
15099
|
+
*/
|
|
15100
|
+
const methodDescriptor_V2_PostMCP = new grpc.web.MethodDescriptor(
|
|
15101
|
+
'/clarifai.api.V2/PostMCP',
|
|
15102
|
+
grpc.web.MethodType.UNARY,
|
|
15103
|
+
proto.clarifai.api.MCPRequest,
|
|
15104
|
+
proto.clarifai.api.SingleMCPResponse,
|
|
15105
|
+
/**
|
|
15106
|
+
* @param {!proto.clarifai.api.MCPRequest} request
|
|
15107
|
+
* @return {!Uint8Array}
|
|
15108
|
+
*/
|
|
15109
|
+
function(request) {
|
|
15110
|
+
return request.serializeBinary();
|
|
15111
|
+
},
|
|
15112
|
+
proto.clarifai.api.SingleMCPResponse.deserializeBinary
|
|
15113
|
+
);
|
|
15114
|
+
|
|
15115
|
+
|
|
15116
|
+
/**
|
|
15117
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15118
|
+
* request proto
|
|
15119
|
+
* @param {?Object<string, string>} metadata User defined
|
|
15120
|
+
* call metadata
|
|
15121
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.SingleMCPResponse)}
|
|
15122
|
+
* callback The callback function(error, response)
|
|
15123
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.SingleMCPResponse>|undefined}
|
|
15124
|
+
* The XHR Node Readable Stream
|
|
15125
|
+
*/
|
|
15126
|
+
proto.clarifai.api.V2Client.prototype.postMCP =
|
|
15127
|
+
function(request, metadata, callback) {
|
|
15128
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
15129
|
+
'/clarifai.api.V2/PostMCP',
|
|
15130
|
+
request,
|
|
15131
|
+
metadata || {},
|
|
15132
|
+
methodDescriptor_V2_PostMCP,
|
|
15133
|
+
callback);
|
|
15134
|
+
};
|
|
15135
|
+
|
|
15136
|
+
|
|
15137
|
+
/**
|
|
15138
|
+
* @param {!proto.clarifai.api.MCPRequest} request The
|
|
15139
|
+
* request proto
|
|
15140
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
15141
|
+
* call metadata
|
|
15142
|
+
* @return {!Promise<!proto.clarifai.api.SingleMCPResponse>}
|
|
15143
|
+
* Promise that resolves to the response
|
|
15144
|
+
*/
|
|
15145
|
+
proto.clarifai.api.V2PromiseClient.prototype.postMCP =
|
|
15146
|
+
function(request, metadata) {
|
|
15147
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
15148
|
+
'/clarifai.api.V2/PostMCP',
|
|
15149
|
+
request,
|
|
15150
|
+
metadata || {},
|
|
15151
|
+
methodDescriptor_V2_PostMCP);
|
|
15152
|
+
};
|
|
15153
|
+
|
|
15154
|
+
|
|
15033
15155
|
module.exports = proto.clarifai.api;
|
|
15034
15156
|
|