clarifai-web-grpc 11.3.1 → 11.3.3
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 +412 -105
- package/dist/cjs/proto/clarifai/api/service_pb.js +72 -3
- package/dist/esm/proto/clarifai/api/resources_pb.js +412 -105
- package/dist/esm/proto/clarifai/api/service_pb.js +72 -3
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +85 -28
- package/proto/clarifai/api/resources_pb.js +526 -116
- package/proto/clarifai/api/service_pb.d.ts +12 -0
- package/proto/clarifai/api/service_pb.js +93 -3
|
@@ -25284,7 +25284,8 @@ proto.clarifai.api.Model.toObject = function(includeInstance, msg) {
|
|
|
25284
25284
|
source: jspb.Message.getFieldWithDefault(msg, 36, 0),
|
|
25285
25285
|
creator: jspb.Message.getFieldWithDefault(msg, 37, ""),
|
|
25286
25286
|
versionCount: jspb.Message.getFieldWithDefault(msg, 38, 0),
|
|
25287
|
-
billingType: jspb.Message.getFieldWithDefault(msg, 40, 0)
|
|
25287
|
+
billingType: jspb.Message.getFieldWithDefault(msg, 40, 0),
|
|
25288
|
+
featuredOrder: (f = msg.getFeaturedOrder()) && google_protobuf_wrappers_pb.Int32Value.toObject(includeInstance, f)
|
|
25288
25289
|
};
|
|
25289
25290
|
|
|
25290
25291
|
if (includeInstance) {
|
|
@@ -25461,6 +25462,11 @@ proto.clarifai.api.Model.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
25461
25462
|
var value = /** @type {!proto.clarifai.api.Model.BillingType} */ (reader.readEnum());
|
|
25462
25463
|
msg.setBillingType(value);
|
|
25463
25464
|
break;
|
|
25465
|
+
case 41:
|
|
25466
|
+
var value = new google_protobuf_wrappers_pb.Int32Value;
|
|
25467
|
+
reader.readMessage(value,google_protobuf_wrappers_pb.Int32Value.deserializeBinaryFromReader);
|
|
25468
|
+
msg.setFeaturedOrder(value);
|
|
25469
|
+
break;
|
|
25464
25470
|
default:
|
|
25465
25471
|
reader.skipField();
|
|
25466
25472
|
break;
|
|
@@ -25726,6 +25732,14 @@ proto.clarifai.api.Model.serializeBinaryToWriter = function(message, writer) {
|
|
|
25726
25732
|
f
|
|
25727
25733
|
);
|
|
25728
25734
|
}
|
|
25735
|
+
f = message.getFeaturedOrder();
|
|
25736
|
+
if (f != null) {
|
|
25737
|
+
writer.writeMessage(
|
|
25738
|
+
41,
|
|
25739
|
+
f,
|
|
25740
|
+
google_protobuf_wrappers_pb.Int32Value.serializeBinaryToWriter
|
|
25741
|
+
);
|
|
25742
|
+
}
|
|
25729
25743
|
};
|
|
25730
25744
|
|
|
25731
25745
|
|
|
@@ -26628,6 +26642,43 @@ proto.clarifai.api.Model.prototype.setBillingType = function(value) {
|
|
|
26628
26642
|
};
|
|
26629
26643
|
|
|
26630
26644
|
|
|
26645
|
+
/**
|
|
26646
|
+
* optional google.protobuf.Int32Value featured_order = 41;
|
|
26647
|
+
* @return {?proto.google.protobuf.Int32Value}
|
|
26648
|
+
*/
|
|
26649
|
+
proto.clarifai.api.Model.prototype.getFeaturedOrder = function() {
|
|
26650
|
+
return /** @type{?proto.google.protobuf.Int32Value} */ (
|
|
26651
|
+
jspb.Message.getWrapperField(this, google_protobuf_wrappers_pb.Int32Value, 41));
|
|
26652
|
+
};
|
|
26653
|
+
|
|
26654
|
+
|
|
26655
|
+
/**
|
|
26656
|
+
* @param {?proto.google.protobuf.Int32Value|undefined} value
|
|
26657
|
+
* @return {!proto.clarifai.api.Model} returns this
|
|
26658
|
+
*/
|
|
26659
|
+
proto.clarifai.api.Model.prototype.setFeaturedOrder = function(value) {
|
|
26660
|
+
return jspb.Message.setWrapperField(this, 41, value);
|
|
26661
|
+
};
|
|
26662
|
+
|
|
26663
|
+
|
|
26664
|
+
/**
|
|
26665
|
+
* Clears the message field making it undefined.
|
|
26666
|
+
* @return {!proto.clarifai.api.Model} returns this
|
|
26667
|
+
*/
|
|
26668
|
+
proto.clarifai.api.Model.prototype.clearFeaturedOrder = function() {
|
|
26669
|
+
return this.setFeaturedOrder(undefined);
|
|
26670
|
+
};
|
|
26671
|
+
|
|
26672
|
+
|
|
26673
|
+
/**
|
|
26674
|
+
* Returns whether this field is set.
|
|
26675
|
+
* @return {boolean}
|
|
26676
|
+
*/
|
|
26677
|
+
proto.clarifai.api.Model.prototype.hasFeaturedOrder = function() {
|
|
26678
|
+
return jspb.Message.getField(this, 41) != null;
|
|
26679
|
+
};
|
|
26680
|
+
|
|
26681
|
+
|
|
26631
26682
|
|
|
26632
26683
|
|
|
26633
26684
|
|
|
@@ -30354,7 +30405,8 @@ proto.clarifai.api.ModelTypeField.toObject = function(includeInstance, msg) {
|
|
|
30354
30405
|
typeArgsList: jspb.Message.toObjectList(msg.getTypeArgsList(),
|
|
30355
30406
|
proto.clarifai.api.ModelTypeField.toObject, includeInstance),
|
|
30356
30407
|
iterator: jspb.Message.getBooleanFieldWithDefault(msg, 13, false),
|
|
30357
|
-
pb_default: jspb.Message.getFieldWithDefault(msg, 14, "")
|
|
30408
|
+
pb_default: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
30409
|
+
isParam: jspb.Message.getBooleanFieldWithDefault(msg, 15, false)
|
|
30358
30410
|
};
|
|
30359
30411
|
|
|
30360
30412
|
if (includeInstance) {
|
|
@@ -30451,6 +30503,10 @@ proto.clarifai.api.ModelTypeField.deserializeBinaryFromReader = function(msg, re
|
|
|
30451
30503
|
var value = /** @type {string} */ (reader.readString());
|
|
30452
30504
|
msg.setDefault(value);
|
|
30453
30505
|
break;
|
|
30506
|
+
case 15:
|
|
30507
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
30508
|
+
msg.setIsParam(value);
|
|
30509
|
+
break;
|
|
30454
30510
|
default:
|
|
30455
30511
|
reader.skipField();
|
|
30456
30512
|
break;
|
|
@@ -30582,6 +30638,13 @@ proto.clarifai.api.ModelTypeField.serializeBinaryToWriter = function(message, wr
|
|
|
30582
30638
|
f
|
|
30583
30639
|
);
|
|
30584
30640
|
}
|
|
30641
|
+
f = message.getIsParam();
|
|
30642
|
+
if (f) {
|
|
30643
|
+
writer.writeBool(
|
|
30644
|
+
15,
|
|
30645
|
+
f
|
|
30646
|
+
);
|
|
30647
|
+
}
|
|
30585
30648
|
};
|
|
30586
30649
|
|
|
30587
30650
|
|
|
@@ -30632,9 +30695,9 @@ proto.clarifai.api.ModelTypeField.DataType = {
|
|
|
30632
30695
|
FRAME: 12,
|
|
30633
30696
|
AUDIO: 13,
|
|
30634
30697
|
VIDEO: 14,
|
|
30635
|
-
NAMED_FIELDS:
|
|
30636
|
-
TUPLE:
|
|
30637
|
-
LIST:
|
|
30698
|
+
NAMED_FIELDS: 15,
|
|
30699
|
+
TUPLE: 16,
|
|
30700
|
+
LIST: 17
|
|
30638
30701
|
};
|
|
30639
30702
|
|
|
30640
30703
|
/**
|
|
@@ -30967,6 +31030,24 @@ proto.clarifai.api.ModelTypeField.prototype.setDefault = function(value) {
|
|
|
30967
31030
|
};
|
|
30968
31031
|
|
|
30969
31032
|
|
|
31033
|
+
/**
|
|
31034
|
+
* optional bool is_param = 15;
|
|
31035
|
+
* @return {boolean}
|
|
31036
|
+
*/
|
|
31037
|
+
proto.clarifai.api.ModelTypeField.prototype.getIsParam = function() {
|
|
31038
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 15, false));
|
|
31039
|
+
};
|
|
31040
|
+
|
|
31041
|
+
|
|
31042
|
+
/**
|
|
31043
|
+
* @param {boolean} value
|
|
31044
|
+
* @return {!proto.clarifai.api.ModelTypeField} returns this
|
|
31045
|
+
*/
|
|
31046
|
+
proto.clarifai.api.ModelTypeField.prototype.setIsParam = function(value) {
|
|
31047
|
+
return jspb.Message.setProto3BooleanField(this, 15, value);
|
|
31048
|
+
};
|
|
31049
|
+
|
|
31050
|
+
|
|
30970
31051
|
|
|
30971
31052
|
|
|
30972
31053
|
|
|
@@ -47757,7 +47838,8 @@ proto.clarifai.api.WorkflowVersion.toObject = function(includeInstance, msg) {
|
|
|
47757
47838
|
appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
47758
47839
|
userId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
47759
47840
|
description: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
47760
|
-
license: jspb.Message.getFieldWithDefault(msg, 11, "")
|
|
47841
|
+
license: jspb.Message.getFieldWithDefault(msg, 11, ""),
|
|
47842
|
+
isDeprecated: jspb.Message.getBooleanFieldWithDefault(msg, 12, false)
|
|
47761
47843
|
};
|
|
47762
47844
|
|
|
47763
47845
|
if (includeInstance) {
|
|
@@ -47843,6 +47925,10 @@ proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader = function(msg, r
|
|
|
47843
47925
|
var value = /** @type {string} */ (reader.readString());
|
|
47844
47926
|
msg.setLicense(value);
|
|
47845
47927
|
break;
|
|
47928
|
+
case 12:
|
|
47929
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
47930
|
+
msg.setIsDeprecated(value);
|
|
47931
|
+
break;
|
|
47846
47932
|
default:
|
|
47847
47933
|
reader.skipField();
|
|
47848
47934
|
break;
|
|
@@ -47954,6 +48040,13 @@ proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter = function(message, w
|
|
|
47954
48040
|
f
|
|
47955
48041
|
);
|
|
47956
48042
|
}
|
|
48043
|
+
f = message.getIsDeprecated();
|
|
48044
|
+
if (f) {
|
|
48045
|
+
writer.writeBool(
|
|
48046
|
+
12,
|
|
48047
|
+
f
|
|
48048
|
+
);
|
|
48049
|
+
}
|
|
47957
48050
|
};
|
|
47958
48051
|
|
|
47959
48052
|
|
|
@@ -48251,6 +48344,24 @@ proto.clarifai.api.WorkflowVersion.prototype.setLicense = function(value) {
|
|
|
48251
48344
|
};
|
|
48252
48345
|
|
|
48253
48346
|
|
|
48347
|
+
/**
|
|
48348
|
+
* optional bool is_deprecated = 12;
|
|
48349
|
+
* @return {boolean}
|
|
48350
|
+
*/
|
|
48351
|
+
proto.clarifai.api.WorkflowVersion.prototype.getIsDeprecated = function() {
|
|
48352
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 12, false));
|
|
48353
|
+
};
|
|
48354
|
+
|
|
48355
|
+
|
|
48356
|
+
/**
|
|
48357
|
+
* @param {boolean} value
|
|
48358
|
+
* @return {!proto.clarifai.api.WorkflowVersion} returns this
|
|
48359
|
+
*/
|
|
48360
|
+
proto.clarifai.api.WorkflowVersion.prototype.setIsDeprecated = function(value) {
|
|
48361
|
+
return jspb.Message.setProto3BooleanField(this, 12, value);
|
|
48362
|
+
};
|
|
48363
|
+
|
|
48364
|
+
|
|
48254
48365
|
|
|
48255
48366
|
/**
|
|
48256
48367
|
* List of repeated fields within this message type.
|
|
@@ -70516,7 +70627,9 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
|
|
|
70516
70627
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
70517
70628
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
70518
70629
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
70519
|
-
price: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
70630
|
+
price: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
70631
|
+
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
70632
|
+
region: jspb.Message.getFieldWithDefault(msg, 6, "")
|
|
70520
70633
|
};
|
|
70521
70634
|
|
|
70522
70635
|
if (includeInstance) {
|
|
@@ -70570,6 +70683,15 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
|
|
|
70570
70683
|
var value = /** @type {string} */ (reader.readString());
|
|
70571
70684
|
msg.setPrice(value);
|
|
70572
70685
|
break;
|
|
70686
|
+
case 5:
|
|
70687
|
+
var value = new proto.clarifai.api.CloudProvider;
|
|
70688
|
+
reader.readMessage(value,proto.clarifai.api.CloudProvider.deserializeBinaryFromReader);
|
|
70689
|
+
msg.setCloudProvider(value);
|
|
70690
|
+
break;
|
|
70691
|
+
case 6:
|
|
70692
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70693
|
+
msg.setRegion(value);
|
|
70694
|
+
break;
|
|
70573
70695
|
default:
|
|
70574
70696
|
reader.skipField();
|
|
70575
70697
|
break;
|
|
@@ -70628,6 +70750,21 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
|
|
|
70628
70750
|
f
|
|
70629
70751
|
);
|
|
70630
70752
|
}
|
|
70753
|
+
f = message.getCloudProvider();
|
|
70754
|
+
if (f != null) {
|
|
70755
|
+
writer.writeMessage(
|
|
70756
|
+
5,
|
|
70757
|
+
f,
|
|
70758
|
+
proto.clarifai.api.CloudProvider.serializeBinaryToWriter
|
|
70759
|
+
);
|
|
70760
|
+
}
|
|
70761
|
+
f = message.getRegion();
|
|
70762
|
+
if (f.length > 0) {
|
|
70763
|
+
writer.writeString(
|
|
70764
|
+
6,
|
|
70765
|
+
f
|
|
70766
|
+
);
|
|
70767
|
+
}
|
|
70631
70768
|
};
|
|
70632
70769
|
|
|
70633
70770
|
|
|
@@ -70722,6 +70859,61 @@ proto.clarifai.api.InstanceType.prototype.setPrice = function(value) {
|
|
|
70722
70859
|
};
|
|
70723
70860
|
|
|
70724
70861
|
|
|
70862
|
+
/**
|
|
70863
|
+
* optional CloudProvider cloud_provider = 5;
|
|
70864
|
+
* @return {?proto.clarifai.api.CloudProvider}
|
|
70865
|
+
*/
|
|
70866
|
+
proto.clarifai.api.InstanceType.prototype.getCloudProvider = function() {
|
|
70867
|
+
return /** @type{?proto.clarifai.api.CloudProvider} */ (
|
|
70868
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.CloudProvider, 5));
|
|
70869
|
+
};
|
|
70870
|
+
|
|
70871
|
+
|
|
70872
|
+
/**
|
|
70873
|
+
* @param {?proto.clarifai.api.CloudProvider|undefined} value
|
|
70874
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70875
|
+
*/
|
|
70876
|
+
proto.clarifai.api.InstanceType.prototype.setCloudProvider = function(value) {
|
|
70877
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
70878
|
+
};
|
|
70879
|
+
|
|
70880
|
+
|
|
70881
|
+
/**
|
|
70882
|
+
* Clears the message field making it undefined.
|
|
70883
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70884
|
+
*/
|
|
70885
|
+
proto.clarifai.api.InstanceType.prototype.clearCloudProvider = function() {
|
|
70886
|
+
return this.setCloudProvider(undefined);
|
|
70887
|
+
};
|
|
70888
|
+
|
|
70889
|
+
|
|
70890
|
+
/**
|
|
70891
|
+
* Returns whether this field is set.
|
|
70892
|
+
* @return {boolean}
|
|
70893
|
+
*/
|
|
70894
|
+
proto.clarifai.api.InstanceType.prototype.hasCloudProvider = function() {
|
|
70895
|
+
return jspb.Message.getField(this, 5) != null;
|
|
70896
|
+
};
|
|
70897
|
+
|
|
70898
|
+
|
|
70899
|
+
/**
|
|
70900
|
+
* optional string region = 6;
|
|
70901
|
+
* @return {string}
|
|
70902
|
+
*/
|
|
70903
|
+
proto.clarifai.api.InstanceType.prototype.getRegion = function() {
|
|
70904
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
70905
|
+
};
|
|
70906
|
+
|
|
70907
|
+
|
|
70908
|
+
/**
|
|
70909
|
+
* @param {string} value
|
|
70910
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
70911
|
+
*/
|
|
70912
|
+
proto.clarifai.api.InstanceType.prototype.setRegion = function(value) {
|
|
70913
|
+
return jspb.Message.setProto3StringField(this, 6, value);
|
|
70914
|
+
};
|
|
70915
|
+
|
|
70916
|
+
|
|
70725
70917
|
|
|
70726
70918
|
|
|
70727
70919
|
|
|
@@ -73077,7 +73269,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
|
|
|
73077
73269
|
* @private {!Array<!Array<number>>}
|
|
73078
73270
|
* @const
|
|
73079
73271
|
*/
|
|
73080
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10]];
|
|
73272
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10,11,12,13]];
|
|
73081
73273
|
|
|
73082
73274
|
/**
|
|
73083
73275
|
* @enum {number}
|
|
@@ -73093,7 +73285,10 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
73093
73285
|
WORKFLOW: 7,
|
|
73094
73286
|
WORKFLOW_VERSION: 8,
|
|
73095
73287
|
MODEL: 9,
|
|
73096
|
-
MODEL_VERSION: 10
|
|
73288
|
+
MODEL_VERSION: 10,
|
|
73289
|
+
COMPUTE_CLUSTER: 11,
|
|
73290
|
+
NODEPOOL: 12,
|
|
73291
|
+
DEPLOYMENT: 13
|
|
73097
73292
|
};
|
|
73098
73293
|
|
|
73099
73294
|
/**
|
|
@@ -73143,7 +73338,10 @@ proto.clarifai.api.AuditLogTarget.toObject = function(includeInstance, msg) {
|
|
|
73143
73338
|
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
73144
73339
|
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
|
|
73145
73340
|
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
73146
|
-
modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f)
|
|
73341
|
+
modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f),
|
|
73342
|
+
computeCluster: (f = msg.getComputeCluster()) && proto.clarifai.api.ComputeCluster.toObject(includeInstance, f),
|
|
73343
|
+
nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
|
|
73344
|
+
deployment: (f = msg.getDeployment()) && proto.clarifai.api.Deployment.toObject(includeInstance, f)
|
|
73147
73345
|
};
|
|
73148
73346
|
|
|
73149
73347
|
if (includeInstance) {
|
|
@@ -73230,6 +73428,21 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function(msg, re
|
|
|
73230
73428
|
reader.readMessage(value,proto.clarifai.api.ModelVersion.deserializeBinaryFromReader);
|
|
73231
73429
|
msg.setModelVersion(value);
|
|
73232
73430
|
break;
|
|
73431
|
+
case 11:
|
|
73432
|
+
var value = new proto.clarifai.api.ComputeCluster;
|
|
73433
|
+
reader.readMessage(value,proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader);
|
|
73434
|
+
msg.setComputeCluster(value);
|
|
73435
|
+
break;
|
|
73436
|
+
case 12:
|
|
73437
|
+
var value = new proto.clarifai.api.Nodepool;
|
|
73438
|
+
reader.readMessage(value,proto.clarifai.api.Nodepool.deserializeBinaryFromReader);
|
|
73439
|
+
msg.setNodepool(value);
|
|
73440
|
+
break;
|
|
73441
|
+
case 13:
|
|
73442
|
+
var value = new proto.clarifai.api.Deployment;
|
|
73443
|
+
reader.readMessage(value,proto.clarifai.api.Deployment.deserializeBinaryFromReader);
|
|
73444
|
+
msg.setDeployment(value);
|
|
73445
|
+
break;
|
|
73233
73446
|
default:
|
|
73234
73447
|
reader.skipField();
|
|
73235
73448
|
break;
|
|
@@ -73339,6 +73552,30 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function(message, wr
|
|
|
73339
73552
|
proto.clarifai.api.ModelVersion.serializeBinaryToWriter
|
|
73340
73553
|
);
|
|
73341
73554
|
}
|
|
73555
|
+
f = message.getComputeCluster();
|
|
73556
|
+
if (f != null) {
|
|
73557
|
+
writer.writeMessage(
|
|
73558
|
+
11,
|
|
73559
|
+
f,
|
|
73560
|
+
proto.clarifai.api.ComputeCluster.serializeBinaryToWriter
|
|
73561
|
+
);
|
|
73562
|
+
}
|
|
73563
|
+
f = message.getNodepool();
|
|
73564
|
+
if (f != null) {
|
|
73565
|
+
writer.writeMessage(
|
|
73566
|
+
12,
|
|
73567
|
+
f,
|
|
73568
|
+
proto.clarifai.api.Nodepool.serializeBinaryToWriter
|
|
73569
|
+
);
|
|
73570
|
+
}
|
|
73571
|
+
f = message.getDeployment();
|
|
73572
|
+
if (f != null) {
|
|
73573
|
+
writer.writeMessage(
|
|
73574
|
+
13,
|
|
73575
|
+
f,
|
|
73576
|
+
proto.clarifai.api.Deployment.serializeBinaryToWriter
|
|
73577
|
+
);
|
|
73578
|
+
}
|
|
73342
73579
|
};
|
|
73343
73580
|
|
|
73344
73581
|
|
|
@@ -73712,6 +73949,117 @@ proto.clarifai.api.AuditLogTarget.prototype.hasModelVersion = function() {
|
|
|
73712
73949
|
};
|
|
73713
73950
|
|
|
73714
73951
|
|
|
73952
|
+
/**
|
|
73953
|
+
* optional ComputeCluster compute_cluster = 11;
|
|
73954
|
+
* @return {?proto.clarifai.api.ComputeCluster}
|
|
73955
|
+
*/
|
|
73956
|
+
proto.clarifai.api.AuditLogTarget.prototype.getComputeCluster = function() {
|
|
73957
|
+
return /** @type{?proto.clarifai.api.ComputeCluster} */ (
|
|
73958
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.ComputeCluster, 11));
|
|
73959
|
+
};
|
|
73960
|
+
|
|
73961
|
+
|
|
73962
|
+
/**
|
|
73963
|
+
* @param {?proto.clarifai.api.ComputeCluster|undefined} value
|
|
73964
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
73965
|
+
*/
|
|
73966
|
+
proto.clarifai.api.AuditLogTarget.prototype.setComputeCluster = function(value) {
|
|
73967
|
+
return jspb.Message.setOneofWrapperField(this, 11, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
73968
|
+
};
|
|
73969
|
+
|
|
73970
|
+
|
|
73971
|
+
/**
|
|
73972
|
+
* Clears the message field making it undefined.
|
|
73973
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
73974
|
+
*/
|
|
73975
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearComputeCluster = function() {
|
|
73976
|
+
return this.setComputeCluster(undefined);
|
|
73977
|
+
};
|
|
73978
|
+
|
|
73979
|
+
|
|
73980
|
+
/**
|
|
73981
|
+
* Returns whether this field is set.
|
|
73982
|
+
* @return {boolean}
|
|
73983
|
+
*/
|
|
73984
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasComputeCluster = function() {
|
|
73985
|
+
return jspb.Message.getField(this, 11) != null;
|
|
73986
|
+
};
|
|
73987
|
+
|
|
73988
|
+
|
|
73989
|
+
/**
|
|
73990
|
+
* optional Nodepool nodepool = 12;
|
|
73991
|
+
* @return {?proto.clarifai.api.Nodepool}
|
|
73992
|
+
*/
|
|
73993
|
+
proto.clarifai.api.AuditLogTarget.prototype.getNodepool = function() {
|
|
73994
|
+
return /** @type{?proto.clarifai.api.Nodepool} */ (
|
|
73995
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Nodepool, 12));
|
|
73996
|
+
};
|
|
73997
|
+
|
|
73998
|
+
|
|
73999
|
+
/**
|
|
74000
|
+
* @param {?proto.clarifai.api.Nodepool|undefined} value
|
|
74001
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
74002
|
+
*/
|
|
74003
|
+
proto.clarifai.api.AuditLogTarget.prototype.setNodepool = function(value) {
|
|
74004
|
+
return jspb.Message.setOneofWrapperField(this, 12, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
74005
|
+
};
|
|
74006
|
+
|
|
74007
|
+
|
|
74008
|
+
/**
|
|
74009
|
+
* Clears the message field making it undefined.
|
|
74010
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
74011
|
+
*/
|
|
74012
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearNodepool = function() {
|
|
74013
|
+
return this.setNodepool(undefined);
|
|
74014
|
+
};
|
|
74015
|
+
|
|
74016
|
+
|
|
74017
|
+
/**
|
|
74018
|
+
* Returns whether this field is set.
|
|
74019
|
+
* @return {boolean}
|
|
74020
|
+
*/
|
|
74021
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasNodepool = function() {
|
|
74022
|
+
return jspb.Message.getField(this, 12) != null;
|
|
74023
|
+
};
|
|
74024
|
+
|
|
74025
|
+
|
|
74026
|
+
/**
|
|
74027
|
+
* optional Deployment deployment = 13;
|
|
74028
|
+
* @return {?proto.clarifai.api.Deployment}
|
|
74029
|
+
*/
|
|
74030
|
+
proto.clarifai.api.AuditLogTarget.prototype.getDeployment = function() {
|
|
74031
|
+
return /** @type{?proto.clarifai.api.Deployment} */ (
|
|
74032
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Deployment, 13));
|
|
74033
|
+
};
|
|
74034
|
+
|
|
74035
|
+
|
|
74036
|
+
/**
|
|
74037
|
+
* @param {?proto.clarifai.api.Deployment|undefined} value
|
|
74038
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
74039
|
+
*/
|
|
74040
|
+
proto.clarifai.api.AuditLogTarget.prototype.setDeployment = function(value) {
|
|
74041
|
+
return jspb.Message.setOneofWrapperField(this, 13, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
74042
|
+
};
|
|
74043
|
+
|
|
74044
|
+
|
|
74045
|
+
/**
|
|
74046
|
+
* Clears the message field making it undefined.
|
|
74047
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
74048
|
+
*/
|
|
74049
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearDeployment = function() {
|
|
74050
|
+
return this.setDeployment(undefined);
|
|
74051
|
+
};
|
|
74052
|
+
|
|
74053
|
+
|
|
74054
|
+
/**
|
|
74055
|
+
* Returns whether this field is set.
|
|
74056
|
+
* @return {boolean}
|
|
74057
|
+
*/
|
|
74058
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasDeployment = function() {
|
|
74059
|
+
return jspb.Message.getField(this, 13) != null;
|
|
74060
|
+
};
|
|
74061
|
+
|
|
74062
|
+
|
|
73715
74063
|
|
|
73716
74064
|
/**
|
|
73717
74065
|
* List of repeated fields within this message type.
|
|
@@ -76953,18 +77301,17 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.toObject = function(opt_i
|
|
|
76953
77301
|
proto.clarifai.api.WorkflowVersionEvaluation.toObject = function(includeInstance, msg) {
|
|
76954
77302
|
var f, obj = {
|
|
76955
77303
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
76956
|
-
|
|
76957
|
-
|
|
76958
|
-
|
|
76959
|
-
|
|
76960
|
-
|
|
76961
|
-
|
|
76962
|
-
|
|
77304
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
|
|
77305
|
+
targetNodeId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
77306
|
+
groundTruthDatasetVersion: (f = msg.getGroundTruthDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
|
|
77307
|
+
predictionsDatasetVersion: (f = msg.getPredictionsDatasetVersion()) && proto.clarifai.api.DatasetVersion.toObject(includeInstance, f),
|
|
77308
|
+
workflowVersionEvaluationTemplate: (f = msg.getWorkflowVersionEvaluationTemplate()) && proto.clarifai.api.WorkflowVersionEvaluationTemplate.toObject(includeInstance, f),
|
|
77309
|
+
userId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
77310
|
+
appId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
76963
77311
|
workflowEvaluationResult: (f = msg.getWorkflowEvaluationResult()) && proto.clarifai.api.WorkflowEvaluationResult.toObject(includeInstance, f),
|
|
76964
77312
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
76965
77313
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
76966
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
76967
|
-
targetNodeId: jspb.Message.getFieldWithDefault(msg, 13, "")
|
|
77314
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
76968
77315
|
};
|
|
76969
77316
|
|
|
76970
77317
|
if (includeInstance) {
|
|
@@ -77006,32 +77353,36 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
|
|
|
77006
77353
|
msg.setId(value);
|
|
77007
77354
|
break;
|
|
77008
77355
|
case 2:
|
|
77009
|
-
var value =
|
|
77010
|
-
|
|
77356
|
+
var value = new proto.clarifai.api.WorkflowVersion;
|
|
77357
|
+
reader.readMessage(value,proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
77358
|
+
msg.setWorkflowVersion(value);
|
|
77011
77359
|
break;
|
|
77012
77360
|
case 3:
|
|
77013
77361
|
var value = /** @type {string} */ (reader.readString());
|
|
77014
|
-
msg.
|
|
77362
|
+
msg.setTargetNodeId(value);
|
|
77015
77363
|
break;
|
|
77016
77364
|
case 4:
|
|
77017
|
-
var value =
|
|
77018
|
-
|
|
77365
|
+
var value = new proto.clarifai.api.DatasetVersion;
|
|
77366
|
+
reader.readMessage(value,proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
|
|
77367
|
+
msg.setGroundTruthDatasetVersion(value);
|
|
77019
77368
|
break;
|
|
77020
77369
|
case 5:
|
|
77021
|
-
var value =
|
|
77022
|
-
|
|
77370
|
+
var value = new proto.clarifai.api.DatasetVersion;
|
|
77371
|
+
reader.readMessage(value,proto.clarifai.api.DatasetVersion.deserializeBinaryFromReader);
|
|
77372
|
+
msg.setPredictionsDatasetVersion(value);
|
|
77023
77373
|
break;
|
|
77024
77374
|
case 6:
|
|
77025
|
-
var value =
|
|
77026
|
-
|
|
77375
|
+
var value = new proto.clarifai.api.WorkflowVersionEvaluationTemplate;
|
|
77376
|
+
reader.readMessage(value,proto.clarifai.api.WorkflowVersionEvaluationTemplate.deserializeBinaryFromReader);
|
|
77377
|
+
msg.setWorkflowVersionEvaluationTemplate(value);
|
|
77027
77378
|
break;
|
|
77028
77379
|
case 7:
|
|
77029
77380
|
var value = /** @type {string} */ (reader.readString());
|
|
77030
|
-
msg.
|
|
77381
|
+
msg.setUserId(value);
|
|
77031
77382
|
break;
|
|
77032
77383
|
case 8:
|
|
77033
77384
|
var value = /** @type {string} */ (reader.readString());
|
|
77034
|
-
msg.
|
|
77385
|
+
msg.setAppId(value);
|
|
77035
77386
|
break;
|
|
77036
77387
|
case 9:
|
|
77037
77388
|
var value = new proto.clarifai.api.WorkflowEvaluationResult;
|
|
@@ -77053,10 +77404,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.deserializeBinaryFromReader = funct
|
|
|
77053
77404
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
77054
77405
|
msg.setModifiedAt(value);
|
|
77055
77406
|
break;
|
|
77056
|
-
case 13:
|
|
77057
|
-
var value = /** @type {string} */ (reader.readString());
|
|
77058
|
-
msg.setTargetNodeId(value);
|
|
77059
|
-
break;
|
|
77060
77407
|
default:
|
|
77061
77408
|
reader.skipField();
|
|
77062
77409
|
break;
|
|
@@ -77093,49 +77440,53 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function(
|
|
|
77093
77440
|
f
|
|
77094
77441
|
);
|
|
77095
77442
|
}
|
|
77096
|
-
f = message.
|
|
77097
|
-
if (f
|
|
77098
|
-
writer.
|
|
77443
|
+
f = message.getWorkflowVersion();
|
|
77444
|
+
if (f != null) {
|
|
77445
|
+
writer.writeMessage(
|
|
77099
77446
|
2,
|
|
77100
|
-
f
|
|
77447
|
+
f,
|
|
77448
|
+
proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter
|
|
77101
77449
|
);
|
|
77102
77450
|
}
|
|
77103
|
-
f = message.
|
|
77451
|
+
f = message.getTargetNodeId();
|
|
77104
77452
|
if (f.length > 0) {
|
|
77105
77453
|
writer.writeString(
|
|
77106
77454
|
3,
|
|
77107
77455
|
f
|
|
77108
77456
|
);
|
|
77109
77457
|
}
|
|
77110
|
-
f = message.
|
|
77111
|
-
if (f
|
|
77112
|
-
writer.
|
|
77458
|
+
f = message.getGroundTruthDatasetVersion();
|
|
77459
|
+
if (f != null) {
|
|
77460
|
+
writer.writeMessage(
|
|
77113
77461
|
4,
|
|
77114
|
-
f
|
|
77462
|
+
f,
|
|
77463
|
+
proto.clarifai.api.DatasetVersion.serializeBinaryToWriter
|
|
77115
77464
|
);
|
|
77116
77465
|
}
|
|
77117
|
-
f = message.
|
|
77118
|
-
if (f
|
|
77119
|
-
writer.
|
|
77466
|
+
f = message.getPredictionsDatasetVersion();
|
|
77467
|
+
if (f != null) {
|
|
77468
|
+
writer.writeMessage(
|
|
77120
77469
|
5,
|
|
77121
|
-
f
|
|
77470
|
+
f,
|
|
77471
|
+
proto.clarifai.api.DatasetVersion.serializeBinaryToWriter
|
|
77122
77472
|
);
|
|
77123
77473
|
}
|
|
77124
|
-
f = message.
|
|
77125
|
-
if (f
|
|
77126
|
-
writer.
|
|
77474
|
+
f = message.getWorkflowVersionEvaluationTemplate();
|
|
77475
|
+
if (f != null) {
|
|
77476
|
+
writer.writeMessage(
|
|
77127
77477
|
6,
|
|
77128
|
-
f
|
|
77478
|
+
f,
|
|
77479
|
+
proto.clarifai.api.WorkflowVersionEvaluationTemplate.serializeBinaryToWriter
|
|
77129
77480
|
);
|
|
77130
77481
|
}
|
|
77131
|
-
f = message.
|
|
77482
|
+
f = message.getUserId();
|
|
77132
77483
|
if (f.length > 0) {
|
|
77133
77484
|
writer.writeString(
|
|
77134
77485
|
7,
|
|
77135
77486
|
f
|
|
77136
77487
|
);
|
|
77137
77488
|
}
|
|
77138
|
-
f = message.
|
|
77489
|
+
f = message.getAppId();
|
|
77139
77490
|
if (f.length > 0) {
|
|
77140
77491
|
writer.writeString(
|
|
77141
77492
|
8,
|
|
@@ -77174,13 +77525,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.serializeBinaryToWriter = function(
|
|
|
77174
77525
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
77175
77526
|
);
|
|
77176
77527
|
}
|
|
77177
|
-
f = message.getTargetNodeId();
|
|
77178
|
-
if (f.length > 0) {
|
|
77179
|
-
writer.writeString(
|
|
77180
|
-
13,
|
|
77181
|
-
f
|
|
77182
|
-
);
|
|
77183
|
-
}
|
|
77184
77528
|
};
|
|
77185
77529
|
|
|
77186
77530
|
|
|
@@ -77203,28 +77547,47 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.setId = function(value) {
|
|
|
77203
77547
|
|
|
77204
77548
|
|
|
77205
77549
|
/**
|
|
77206
|
-
* optional
|
|
77207
|
-
* @return {
|
|
77550
|
+
* optional WorkflowVersion workflow_version = 2;
|
|
77551
|
+
* @return {?proto.clarifai.api.WorkflowVersion}
|
|
77208
77552
|
*/
|
|
77209
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77210
|
-
return /** @type
|
|
77553
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersion = function() {
|
|
77554
|
+
return /** @type{?proto.clarifai.api.WorkflowVersion} */ (
|
|
77555
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersion, 2));
|
|
77211
77556
|
};
|
|
77212
77557
|
|
|
77213
77558
|
|
|
77214
77559
|
/**
|
|
77215
|
-
* @param {
|
|
77560
|
+
* @param {?proto.clarifai.api.WorkflowVersion|undefined} value
|
|
77561
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77562
|
+
*/
|
|
77563
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersion = function(value) {
|
|
77564
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
77565
|
+
};
|
|
77566
|
+
|
|
77567
|
+
|
|
77568
|
+
/**
|
|
77569
|
+
* Clears the message field making it undefined.
|
|
77216
77570
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77217
77571
|
*/
|
|
77218
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77219
|
-
return
|
|
77572
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersion = function() {
|
|
77573
|
+
return this.setWorkflowVersion(undefined);
|
|
77574
|
+
};
|
|
77575
|
+
|
|
77576
|
+
|
|
77577
|
+
/**
|
|
77578
|
+
* Returns whether this field is set.
|
|
77579
|
+
* @return {boolean}
|
|
77580
|
+
*/
|
|
77581
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersion = function() {
|
|
77582
|
+
return jspb.Message.getField(this, 2) != null;
|
|
77220
77583
|
};
|
|
77221
77584
|
|
|
77222
77585
|
|
|
77223
77586
|
/**
|
|
77224
|
-
* optional string
|
|
77587
|
+
* optional string target_node_id = 3;
|
|
77225
77588
|
* @return {string}
|
|
77226
77589
|
*/
|
|
77227
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77590
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function() {
|
|
77228
77591
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
77229
77592
|
};
|
|
77230
77593
|
|
|
@@ -77233,70 +77596,127 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionId = fu
|
|
|
77233
77596
|
* @param {string} value
|
|
77234
77597
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77235
77598
|
*/
|
|
77236
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77599
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function(value) {
|
|
77237
77600
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
77238
77601
|
};
|
|
77239
77602
|
|
|
77240
77603
|
|
|
77241
77604
|
/**
|
|
77242
|
-
* optional
|
|
77243
|
-
* @return {
|
|
77605
|
+
* optional DatasetVersion ground_truth_dataset_version = 4;
|
|
77606
|
+
* @return {?proto.clarifai.api.DatasetVersion}
|
|
77244
77607
|
*/
|
|
77245
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77246
|
-
return /** @type
|
|
77608
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getGroundTruthDatasetVersion = function() {
|
|
77609
|
+
return /** @type{?proto.clarifai.api.DatasetVersion} */ (
|
|
77610
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 4));
|
|
77247
77611
|
};
|
|
77248
77612
|
|
|
77249
77613
|
|
|
77250
77614
|
/**
|
|
77251
|
-
* @param {
|
|
77615
|
+
* @param {?proto.clarifai.api.DatasetVersion|undefined} value
|
|
77616
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77617
|
+
*/
|
|
77618
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setGroundTruthDatasetVersion = function(value) {
|
|
77619
|
+
return jspb.Message.setWrapperField(this, 4, value);
|
|
77620
|
+
};
|
|
77621
|
+
|
|
77622
|
+
|
|
77623
|
+
/**
|
|
77624
|
+
* Clears the message field making it undefined.
|
|
77252
77625
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77253
77626
|
*/
|
|
77254
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77255
|
-
return
|
|
77627
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearGroundTruthDatasetVersion = function() {
|
|
77628
|
+
return this.setGroundTruthDatasetVersion(undefined);
|
|
77256
77629
|
};
|
|
77257
77630
|
|
|
77258
77631
|
|
|
77259
77632
|
/**
|
|
77260
|
-
*
|
|
77261
|
-
* @return {
|
|
77633
|
+
* Returns whether this field is set.
|
|
77634
|
+
* @return {boolean}
|
|
77262
77635
|
*/
|
|
77263
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77264
|
-
return
|
|
77636
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasGroundTruthDatasetVersion = function() {
|
|
77637
|
+
return jspb.Message.getField(this, 4) != null;
|
|
77265
77638
|
};
|
|
77266
77639
|
|
|
77267
77640
|
|
|
77268
77641
|
/**
|
|
77269
|
-
*
|
|
77642
|
+
* optional DatasetVersion predictions_dataset_version = 5;
|
|
77643
|
+
* @return {?proto.clarifai.api.DatasetVersion}
|
|
77644
|
+
*/
|
|
77645
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVersion = function() {
|
|
77646
|
+
return /** @type{?proto.clarifai.api.DatasetVersion} */ (
|
|
77647
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.DatasetVersion, 5));
|
|
77648
|
+
};
|
|
77649
|
+
|
|
77650
|
+
|
|
77651
|
+
/**
|
|
77652
|
+
* @param {?proto.clarifai.api.DatasetVersion|undefined} value
|
|
77653
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77654
|
+
*/
|
|
77655
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setPredictionsDatasetVersion = function(value) {
|
|
77656
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
77657
|
+
};
|
|
77658
|
+
|
|
77659
|
+
|
|
77660
|
+
/**
|
|
77661
|
+
* Clears the message field making it undefined.
|
|
77270
77662
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77271
77663
|
*/
|
|
77272
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77273
|
-
return
|
|
77664
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearPredictionsDatasetVersion = function() {
|
|
77665
|
+
return this.setPredictionsDatasetVersion(undefined);
|
|
77274
77666
|
};
|
|
77275
77667
|
|
|
77276
77668
|
|
|
77277
77669
|
/**
|
|
77278
|
-
*
|
|
77279
|
-
* @return {
|
|
77670
|
+
* Returns whether this field is set.
|
|
77671
|
+
* @return {boolean}
|
|
77280
77672
|
*/
|
|
77281
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77282
|
-
return
|
|
77673
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasPredictionsDatasetVersion = function() {
|
|
77674
|
+
return jspb.Message.getField(this, 5) != null;
|
|
77283
77675
|
};
|
|
77284
77676
|
|
|
77285
77677
|
|
|
77286
77678
|
/**
|
|
77287
|
-
*
|
|
77679
|
+
* optional WorkflowVersionEvaluationTemplate workflow_version_evaluation_template = 6;
|
|
77680
|
+
* @return {?proto.clarifai.api.WorkflowVersionEvaluationTemplate}
|
|
77681
|
+
*/
|
|
77682
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getWorkflowVersionEvaluationTemplate = function() {
|
|
77683
|
+
return /** @type{?proto.clarifai.api.WorkflowVersionEvaluationTemplate} */ (
|
|
77684
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.WorkflowVersionEvaluationTemplate, 6));
|
|
77685
|
+
};
|
|
77686
|
+
|
|
77687
|
+
|
|
77688
|
+
/**
|
|
77689
|
+
* @param {?proto.clarifai.api.WorkflowVersionEvaluationTemplate|undefined} value
|
|
77690
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77691
|
+
*/
|
|
77692
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setWorkflowVersionEvaluationTemplate = function(value) {
|
|
77693
|
+
return jspb.Message.setWrapperField(this, 6, value);
|
|
77694
|
+
};
|
|
77695
|
+
|
|
77696
|
+
|
|
77697
|
+
/**
|
|
77698
|
+
* Clears the message field making it undefined.
|
|
77288
77699
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77289
77700
|
*/
|
|
77290
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77291
|
-
return
|
|
77701
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.clearWorkflowVersionEvaluationTemplate = function() {
|
|
77702
|
+
return this.setWorkflowVersionEvaluationTemplate(undefined);
|
|
77703
|
+
};
|
|
77704
|
+
|
|
77705
|
+
|
|
77706
|
+
/**
|
|
77707
|
+
* Returns whether this field is set.
|
|
77708
|
+
* @return {boolean}
|
|
77709
|
+
*/
|
|
77710
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasWorkflowVersionEvaluationTemplate = function() {
|
|
77711
|
+
return jspb.Message.getField(this, 6) != null;
|
|
77292
77712
|
};
|
|
77293
77713
|
|
|
77294
77714
|
|
|
77295
77715
|
/**
|
|
77296
|
-
* optional string
|
|
77716
|
+
* optional string user_id = 7;
|
|
77297
77717
|
* @return {string}
|
|
77298
77718
|
*/
|
|
77299
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77719
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getUserId = function() {
|
|
77300
77720
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
77301
77721
|
};
|
|
77302
77722
|
|
|
@@ -77305,16 +77725,16 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getPredictionsDatasetVers
|
|
|
77305
77725
|
* @param {string} value
|
|
77306
77726
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77307
77727
|
*/
|
|
77308
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77728
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setUserId = function(value) {
|
|
77309
77729
|
return jspb.Message.setProto3StringField(this, 7, value);
|
|
77310
77730
|
};
|
|
77311
77731
|
|
|
77312
77732
|
|
|
77313
77733
|
/**
|
|
77314
|
-
* optional string
|
|
77734
|
+
* optional string app_id = 8;
|
|
77315
77735
|
* @return {string}
|
|
77316
77736
|
*/
|
|
77317
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77737
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getAppId = function() {
|
|
77318
77738
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
77319
77739
|
};
|
|
77320
77740
|
|
|
@@ -77323,7 +77743,7 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.getEvaluationTemplateId =
|
|
|
77323
77743
|
* @param {string} value
|
|
77324
77744
|
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77325
77745
|
*/
|
|
77326
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.
|
|
77746
|
+
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setAppId = function(value) {
|
|
77327
77747
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
77328
77748
|
};
|
|
77329
77749
|
|
|
@@ -77476,24 +77896,6 @@ proto.clarifai.api.WorkflowVersionEvaluation.prototype.hasModifiedAt = function(
|
|
|
77476
77896
|
};
|
|
77477
77897
|
|
|
77478
77898
|
|
|
77479
|
-
/**
|
|
77480
|
-
* optional string target_node_id = 13;
|
|
77481
|
-
* @return {string}
|
|
77482
|
-
*/
|
|
77483
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.getTargetNodeId = function() {
|
|
77484
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 13, ""));
|
|
77485
|
-
};
|
|
77486
|
-
|
|
77487
|
-
|
|
77488
|
-
/**
|
|
77489
|
-
* @param {string} value
|
|
77490
|
-
* @return {!proto.clarifai.api.WorkflowVersionEvaluation} returns this
|
|
77491
|
-
*/
|
|
77492
|
-
proto.clarifai.api.WorkflowVersionEvaluation.prototype.setTargetNodeId = function(value) {
|
|
77493
|
-
return jspb.Message.setProto3StringField(this, 13, value);
|
|
77494
|
-
};
|
|
77495
|
-
|
|
77496
|
-
|
|
77497
77899
|
|
|
77498
77900
|
|
|
77499
77901
|
|
|
@@ -80118,7 +80520,15 @@ proto.clarifai.api.EventType = {
|
|
|
80118
80520
|
COLLABORATOR_ADD: 700,
|
|
80119
80521
|
COLLABORATOR_UPDATE: 701,
|
|
80120
80522
|
COLLABORATOR_REMOVE: 702,
|
|
80121
|
-
USER_UPDATE: 800
|
|
80523
|
+
USER_UPDATE: 800,
|
|
80524
|
+
COMPUTE_CLUSTER_CREATE: 900,
|
|
80525
|
+
COMPUTE_CLUSTER_DELETE: 901,
|
|
80526
|
+
NODEPOOL_CREATE: 1000,
|
|
80527
|
+
NODEPOOL_UPDATE: 1001,
|
|
80528
|
+
NODEPOOL_DELETE: 1002,
|
|
80529
|
+
DEPLOYMENT_CREATE: 1100,
|
|
80530
|
+
DEPLOYMENT_UPDATE: 1101,
|
|
80531
|
+
DEPLOYMENT_DELETE: 1102
|
|
80122
80532
|
};
|
|
80123
80533
|
|
|
80124
80534
|
goog.object.extend(exports, proto.clarifai.api);
|