clarifai-web-grpc 10.5.3 → 10.6.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 +123 -47
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +547 -7
- package/dist/esm/proto/clarifai/api/resources_pb.js +123 -47
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +547 -7
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +20 -8
- package/proto/clarifai/api/resources_pb.js +163 -61
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +81 -0
- package/proto/clarifai/api/service_pb.js +684 -7
package/package.json
CHANGED
|
@@ -7979,9 +7979,6 @@ export class Runner extends jspb.Message {
|
|
|
7979
7979
|
hasMetadata(): boolean;
|
|
7980
7980
|
clearMetadata(): Runner;
|
|
7981
7981
|
|
|
7982
|
-
getUserId(): string;
|
|
7983
|
-
setUserId(value: string): Runner;
|
|
7984
|
-
|
|
7985
7982
|
getLabelsList(): Array<string>;
|
|
7986
7983
|
setLabelsList(value: Array<string>): Runner;
|
|
7987
7984
|
clearLabelsList(): Runner;
|
|
@@ -8020,7 +8017,6 @@ export namespace Runner {
|
|
|
8020
8017
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8021
8018
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8022
8019
|
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
8023
|
-
userId: string,
|
|
8024
8020
|
labelsList: Array<string>,
|
|
8025
8021
|
worker?: Worker.AsObject,
|
|
8026
8022
|
nodepool?: Nodepool.AsObject,
|
|
@@ -8046,9 +8042,6 @@ export class Nodepool extends jspb.Message {
|
|
|
8046
8042
|
hasModifiedAt(): boolean;
|
|
8047
8043
|
clearModifiedAt(): Nodepool;
|
|
8048
8044
|
|
|
8049
|
-
getUserId(): string;
|
|
8050
|
-
setUserId(value: string): Nodepool;
|
|
8051
|
-
|
|
8052
8045
|
getComputeCluster(): ComputeCluster | undefined;
|
|
8053
8046
|
setComputeCluster(value?: ComputeCluster): Nodepool;
|
|
8054
8047
|
hasComputeCluster(): boolean;
|
|
@@ -8094,7 +8087,6 @@ export namespace Nodepool {
|
|
|
8094
8087
|
description: string,
|
|
8095
8088
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8096
8089
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8097
|
-
userId: string,
|
|
8098
8090
|
computeCluster?: ComputeCluster.AsObject,
|
|
8099
8091
|
nodeCapacityType?: NodeCapacityType.AsObject,
|
|
8100
8092
|
instanceTypesList: Array<InstanceType.AsObject>,
|
|
@@ -8209,6 +8201,22 @@ export class ComputeCluster extends jspb.Message {
|
|
|
8209
8201
|
hasModifiedAt(): boolean;
|
|
8210
8202
|
clearModifiedAt(): ComputeCluster;
|
|
8211
8203
|
|
|
8204
|
+
getVisibility(): Visibility | undefined;
|
|
8205
|
+
setVisibility(value?: Visibility): ComputeCluster;
|
|
8206
|
+
hasVisibility(): boolean;
|
|
8207
|
+
clearVisibility(): ComputeCluster;
|
|
8208
|
+
|
|
8209
|
+
getClusterType(): string;
|
|
8210
|
+
setClusterType(value: string): ComputeCluster;
|
|
8211
|
+
|
|
8212
|
+
getManagedBy(): string;
|
|
8213
|
+
setManagedBy(value: string): ComputeCluster;
|
|
8214
|
+
|
|
8215
|
+
getKey(): Key | undefined;
|
|
8216
|
+
setKey(value?: Key): ComputeCluster;
|
|
8217
|
+
hasKey(): boolean;
|
|
8218
|
+
clearKey(): ComputeCluster;
|
|
8219
|
+
|
|
8212
8220
|
serializeBinary(): Uint8Array;
|
|
8213
8221
|
toObject(includeInstance?: boolean): ComputeCluster.AsObject;
|
|
8214
8222
|
static toObject(includeInstance: boolean, msg: ComputeCluster): ComputeCluster.AsObject;
|
|
@@ -8226,6 +8234,10 @@ export namespace ComputeCluster {
|
|
|
8226
8234
|
userId: string,
|
|
8227
8235
|
createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8228
8236
|
modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
|
|
8237
|
+
visibility?: Visibility.AsObject,
|
|
8238
|
+
clusterType: string,
|
|
8239
|
+
managedBy: string,
|
|
8240
|
+
key?: Key.AsObject,
|
|
8229
8241
|
}
|
|
8230
8242
|
}
|
|
8231
8243
|
|
|
@@ -65820,7 +65820,6 @@ proto.clarifai.api.Runner.toObject = function(includeInstance, msg) {
|
|
|
65820
65820
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
65821
65821
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
65822
65822
|
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
65823
|
-
userId: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
65824
65823
|
labelsList: (f = jspb.Message.getRepeatedField(msg, 7)) == null ? undefined : f,
|
|
65825
65824
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
65826
65825
|
nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
|
|
@@ -65885,10 +65884,6 @@ proto.clarifai.api.Runner.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
65885
65884
|
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
65886
65885
|
msg.setMetadata(value);
|
|
65887
65886
|
break;
|
|
65888
|
-
case 6:
|
|
65889
|
-
var value = /** @type {string} */ (reader.readString());
|
|
65890
|
-
msg.setUserId(value);
|
|
65891
|
-
break;
|
|
65892
65887
|
case 7:
|
|
65893
65888
|
var value = /** @type {string} */ (reader.readString());
|
|
65894
65889
|
msg.addLabels(value);
|
|
@@ -65979,13 +65974,6 @@ proto.clarifai.api.Runner.serializeBinaryToWriter = function(message, writer) {
|
|
|
65979
65974
|
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
65980
65975
|
);
|
|
65981
65976
|
}
|
|
65982
|
-
f = message.getUserId();
|
|
65983
|
-
if (f.length > 0) {
|
|
65984
|
-
writer.writeString(
|
|
65985
|
-
6,
|
|
65986
|
-
f
|
|
65987
|
-
);
|
|
65988
|
-
}
|
|
65989
65977
|
f = message.getLabelsList();
|
|
65990
65978
|
if (f.length > 0) {
|
|
65991
65979
|
writer.writeRepeatedString(
|
|
@@ -66174,24 +66162,6 @@ proto.clarifai.api.Runner.prototype.hasMetadata = function() {
|
|
|
66174
66162
|
};
|
|
66175
66163
|
|
|
66176
66164
|
|
|
66177
|
-
/**
|
|
66178
|
-
* optional string user_id = 6;
|
|
66179
|
-
* @return {string}
|
|
66180
|
-
*/
|
|
66181
|
-
proto.clarifai.api.Runner.prototype.getUserId = function() {
|
|
66182
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 6, ""));
|
|
66183
|
-
};
|
|
66184
|
-
|
|
66185
|
-
|
|
66186
|
-
/**
|
|
66187
|
-
* @param {string} value
|
|
66188
|
-
* @return {!proto.clarifai.api.Runner} returns this
|
|
66189
|
-
*/
|
|
66190
|
-
proto.clarifai.api.Runner.prototype.setUserId = function(value) {
|
|
66191
|
-
return jspb.Message.setProto3StringField(this, 6, value);
|
|
66192
|
-
};
|
|
66193
|
-
|
|
66194
|
-
|
|
66195
66165
|
/**
|
|
66196
66166
|
* repeated string labels = 7;
|
|
66197
66167
|
* @return {!Array<string>}
|
|
@@ -66401,7 +66371,6 @@ proto.clarifai.api.Nodepool.toObject = function(includeInstance, msg) {
|
|
|
66401
66371
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
66402
66372
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
66403
66373
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
66404
|
-
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
66405
66374
|
computeCluster: (f = msg.getComputeCluster()) && proto.clarifai.api.ComputeCluster.toObject(includeInstance, f),
|
|
66406
66375
|
nodeCapacityType: (f = msg.getNodeCapacityType()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f),
|
|
66407
66376
|
instanceTypesList: jspb.Message.toObjectList(msg.getInstanceTypesList(),
|
|
@@ -66464,10 +66433,6 @@ proto.clarifai.api.Nodepool.deserializeBinaryFromReader = function(msg, reader)
|
|
|
66464
66433
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
66465
66434
|
msg.setModifiedAt(value);
|
|
66466
66435
|
break;
|
|
66467
|
-
case 5:
|
|
66468
|
-
var value = /** @type {string} */ (reader.readString());
|
|
66469
|
-
msg.setUserId(value);
|
|
66470
|
-
break;
|
|
66471
66436
|
case 6:
|
|
66472
66437
|
var value = new proto.clarifai.api.ComputeCluster;
|
|
66473
66438
|
reader.readMessage(value,proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader);
|
|
@@ -66560,13 +66525,6 @@ proto.clarifai.api.Nodepool.serializeBinaryToWriter = function(message, writer)
|
|
|
66560
66525
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
66561
66526
|
);
|
|
66562
66527
|
}
|
|
66563
|
-
f = message.getUserId();
|
|
66564
|
-
if (f.length > 0) {
|
|
66565
|
-
writer.writeString(
|
|
66566
|
-
5,
|
|
66567
|
-
f
|
|
66568
|
-
);
|
|
66569
|
-
}
|
|
66570
66528
|
f = message.getComputeCluster();
|
|
66571
66529
|
if (f != null) {
|
|
66572
66530
|
writer.writeMessage(
|
|
@@ -66734,24 +66692,6 @@ proto.clarifai.api.Nodepool.prototype.hasModifiedAt = function() {
|
|
|
66734
66692
|
};
|
|
66735
66693
|
|
|
66736
66694
|
|
|
66737
|
-
/**
|
|
66738
|
-
* optional string user_id = 5;
|
|
66739
|
-
* @return {string}
|
|
66740
|
-
*/
|
|
66741
|
-
proto.clarifai.api.Nodepool.prototype.getUserId = function() {
|
|
66742
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
66743
|
-
};
|
|
66744
|
-
|
|
66745
|
-
|
|
66746
|
-
/**
|
|
66747
|
-
* @param {string} value
|
|
66748
|
-
* @return {!proto.clarifai.api.Nodepool} returns this
|
|
66749
|
-
*/
|
|
66750
|
-
proto.clarifai.api.Nodepool.prototype.setUserId = function(value) {
|
|
66751
|
-
return jspb.Message.setProto3StringField(this, 5, value);
|
|
66752
|
-
};
|
|
66753
|
-
|
|
66754
|
-
|
|
66755
66695
|
/**
|
|
66756
66696
|
* optional ComputeCluster compute_cluster = 6;
|
|
66757
66697
|
* @return {?proto.clarifai.api.ComputeCluster}
|
|
@@ -67550,7 +67490,11 @@ proto.clarifai.api.ComputeCluster.toObject = function(includeInstance, msg) {
|
|
|
67550
67490
|
region: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
67551
67491
|
userId: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
67552
67492
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
67553
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
67493
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
67494
|
+
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
67495
|
+
clusterType: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
67496
|
+
managedBy: jspb.Message.getFieldWithDefault(msg, 10, ""),
|
|
67497
|
+
key: (f = msg.getKey()) && proto.clarifai.api.Key.toObject(includeInstance, f)
|
|
67554
67498
|
};
|
|
67555
67499
|
|
|
67556
67500
|
if (includeInstance) {
|
|
@@ -67618,6 +67562,24 @@ proto.clarifai.api.ComputeCluster.deserializeBinaryFromReader = function(msg, re
|
|
|
67618
67562
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
67619
67563
|
msg.setModifiedAt(value);
|
|
67620
67564
|
break;
|
|
67565
|
+
case 8:
|
|
67566
|
+
var value = new proto.clarifai.api.Visibility;
|
|
67567
|
+
reader.readMessage(value,proto.clarifai.api.Visibility.deserializeBinaryFromReader);
|
|
67568
|
+
msg.setVisibility(value);
|
|
67569
|
+
break;
|
|
67570
|
+
case 9:
|
|
67571
|
+
var value = /** @type {string} */ (reader.readString());
|
|
67572
|
+
msg.setClusterType(value);
|
|
67573
|
+
break;
|
|
67574
|
+
case 10:
|
|
67575
|
+
var value = /** @type {string} */ (reader.readString());
|
|
67576
|
+
msg.setManagedBy(value);
|
|
67577
|
+
break;
|
|
67578
|
+
case 11:
|
|
67579
|
+
var value = new proto.clarifai.api.Key;
|
|
67580
|
+
reader.readMessage(value,proto.clarifai.api.Key.deserializeBinaryFromReader);
|
|
67581
|
+
msg.setKey(value);
|
|
67582
|
+
break;
|
|
67621
67583
|
default:
|
|
67622
67584
|
reader.skipField();
|
|
67623
67585
|
break;
|
|
@@ -67699,6 +67661,36 @@ proto.clarifai.api.ComputeCluster.serializeBinaryToWriter = function(message, wr
|
|
|
67699
67661
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
67700
67662
|
);
|
|
67701
67663
|
}
|
|
67664
|
+
f = message.getVisibility();
|
|
67665
|
+
if (f != null) {
|
|
67666
|
+
writer.writeMessage(
|
|
67667
|
+
8,
|
|
67668
|
+
f,
|
|
67669
|
+
proto.clarifai.api.Visibility.serializeBinaryToWriter
|
|
67670
|
+
);
|
|
67671
|
+
}
|
|
67672
|
+
f = message.getClusterType();
|
|
67673
|
+
if (f.length > 0) {
|
|
67674
|
+
writer.writeString(
|
|
67675
|
+
9,
|
|
67676
|
+
f
|
|
67677
|
+
);
|
|
67678
|
+
}
|
|
67679
|
+
f = message.getManagedBy();
|
|
67680
|
+
if (f.length > 0) {
|
|
67681
|
+
writer.writeString(
|
|
67682
|
+
10,
|
|
67683
|
+
f
|
|
67684
|
+
);
|
|
67685
|
+
}
|
|
67686
|
+
f = message.getKey();
|
|
67687
|
+
if (f != null) {
|
|
67688
|
+
writer.writeMessage(
|
|
67689
|
+
11,
|
|
67690
|
+
f,
|
|
67691
|
+
proto.clarifai.api.Key.serializeBinaryToWriter
|
|
67692
|
+
);
|
|
67693
|
+
}
|
|
67702
67694
|
};
|
|
67703
67695
|
|
|
67704
67696
|
|
|
@@ -67885,6 +67877,116 @@ proto.clarifai.api.ComputeCluster.prototype.hasModifiedAt = function() {
|
|
|
67885
67877
|
};
|
|
67886
67878
|
|
|
67887
67879
|
|
|
67880
|
+
/**
|
|
67881
|
+
* optional Visibility visibility = 8;
|
|
67882
|
+
* @return {?proto.clarifai.api.Visibility}
|
|
67883
|
+
*/
|
|
67884
|
+
proto.clarifai.api.ComputeCluster.prototype.getVisibility = function() {
|
|
67885
|
+
return /** @type{?proto.clarifai.api.Visibility} */ (
|
|
67886
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Visibility, 8));
|
|
67887
|
+
};
|
|
67888
|
+
|
|
67889
|
+
|
|
67890
|
+
/**
|
|
67891
|
+
* @param {?proto.clarifai.api.Visibility|undefined} value
|
|
67892
|
+
* @return {!proto.clarifai.api.ComputeCluster} returns this
|
|
67893
|
+
*/
|
|
67894
|
+
proto.clarifai.api.ComputeCluster.prototype.setVisibility = function(value) {
|
|
67895
|
+
return jspb.Message.setWrapperField(this, 8, value);
|
|
67896
|
+
};
|
|
67897
|
+
|
|
67898
|
+
|
|
67899
|
+
/**
|
|
67900
|
+
* Clears the message field making it undefined.
|
|
67901
|
+
* @return {!proto.clarifai.api.ComputeCluster} returns this
|
|
67902
|
+
*/
|
|
67903
|
+
proto.clarifai.api.ComputeCluster.prototype.clearVisibility = function() {
|
|
67904
|
+
return this.setVisibility(undefined);
|
|
67905
|
+
};
|
|
67906
|
+
|
|
67907
|
+
|
|
67908
|
+
/**
|
|
67909
|
+
* Returns whether this field is set.
|
|
67910
|
+
* @return {boolean}
|
|
67911
|
+
*/
|
|
67912
|
+
proto.clarifai.api.ComputeCluster.prototype.hasVisibility = function() {
|
|
67913
|
+
return jspb.Message.getField(this, 8) != null;
|
|
67914
|
+
};
|
|
67915
|
+
|
|
67916
|
+
|
|
67917
|
+
/**
|
|
67918
|
+
* optional string cluster_type = 9;
|
|
67919
|
+
* @return {string}
|
|
67920
|
+
*/
|
|
67921
|
+
proto.clarifai.api.ComputeCluster.prototype.getClusterType = function() {
|
|
67922
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
67923
|
+
};
|
|
67924
|
+
|
|
67925
|
+
|
|
67926
|
+
/**
|
|
67927
|
+
* @param {string} value
|
|
67928
|
+
* @return {!proto.clarifai.api.ComputeCluster} returns this
|
|
67929
|
+
*/
|
|
67930
|
+
proto.clarifai.api.ComputeCluster.prototype.setClusterType = function(value) {
|
|
67931
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
67932
|
+
};
|
|
67933
|
+
|
|
67934
|
+
|
|
67935
|
+
/**
|
|
67936
|
+
* optional string managed_by = 10;
|
|
67937
|
+
* @return {string}
|
|
67938
|
+
*/
|
|
67939
|
+
proto.clarifai.api.ComputeCluster.prototype.getManagedBy = function() {
|
|
67940
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
67941
|
+
};
|
|
67942
|
+
|
|
67943
|
+
|
|
67944
|
+
/**
|
|
67945
|
+
* @param {string} value
|
|
67946
|
+
* @return {!proto.clarifai.api.ComputeCluster} returns this
|
|
67947
|
+
*/
|
|
67948
|
+
proto.clarifai.api.ComputeCluster.prototype.setManagedBy = function(value) {
|
|
67949
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
67950
|
+
};
|
|
67951
|
+
|
|
67952
|
+
|
|
67953
|
+
/**
|
|
67954
|
+
* optional Key key = 11;
|
|
67955
|
+
* @return {?proto.clarifai.api.Key}
|
|
67956
|
+
*/
|
|
67957
|
+
proto.clarifai.api.ComputeCluster.prototype.getKey = function() {
|
|
67958
|
+
return /** @type{?proto.clarifai.api.Key} */ (
|
|
67959
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Key, 11));
|
|
67960
|
+
};
|
|
67961
|
+
|
|
67962
|
+
|
|
67963
|
+
/**
|
|
67964
|
+
* @param {?proto.clarifai.api.Key|undefined} value
|
|
67965
|
+
* @return {!proto.clarifai.api.ComputeCluster} returns this
|
|
67966
|
+
*/
|
|
67967
|
+
proto.clarifai.api.ComputeCluster.prototype.setKey = function(value) {
|
|
67968
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
67969
|
+
};
|
|
67970
|
+
|
|
67971
|
+
|
|
67972
|
+
/**
|
|
67973
|
+
* Clears the message field making it undefined.
|
|
67974
|
+
* @return {!proto.clarifai.api.ComputeCluster} returns this
|
|
67975
|
+
*/
|
|
67976
|
+
proto.clarifai.api.ComputeCluster.prototype.clearKey = function() {
|
|
67977
|
+
return this.setKey(undefined);
|
|
67978
|
+
};
|
|
67979
|
+
|
|
67980
|
+
|
|
67981
|
+
/**
|
|
67982
|
+
* Returns whether this field is set.
|
|
67983
|
+
* @return {boolean}
|
|
67984
|
+
*/
|
|
67985
|
+
proto.clarifai.api.ComputeCluster.prototype.hasKey = function() {
|
|
67986
|
+
return jspb.Message.getField(this, 11) != null;
|
|
67987
|
+
};
|
|
67988
|
+
|
|
67989
|
+
|
|
67888
67990
|
|
|
67889
67991
|
/**
|
|
67890
67992
|
* List of repeated fields within this message type.
|
|
@@ -875,6 +875,13 @@ export class V2Client {
|
|
|
875
875
|
response: proto_clarifai_api_service_pb.MultiAppResponse) => void
|
|
876
876
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
877
877
|
|
|
878
|
+
patchAppsDetails(
|
|
879
|
+
request: proto_clarifai_api_service_pb.PatchAppsDetailsRequest,
|
|
880
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
881
|
+
callback: (err: grpcWeb.RpcError,
|
|
882
|
+
response: proto_clarifai_api_service_pb.MultiAppResponse) => void
|
|
883
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
884
|
+
|
|
878
885
|
patchAppsIds(
|
|
879
886
|
request: proto_clarifai_api_service_pb.PatchAppsIdsRequest,
|
|
880
887
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -2258,6 +2265,11 @@ export class V2PromiseClient {
|
|
|
2258
2265
|
metadata?: grpcWeb.Metadata
|
|
2259
2266
|
): Promise<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
2260
2267
|
|
|
2268
|
+
patchAppsDetails(
|
|
2269
|
+
request: proto_clarifai_api_service_pb.PatchAppsDetailsRequest,
|
|
2270
|
+
metadata?: grpcWeb.Metadata
|
|
2271
|
+
): Promise<proto_clarifai_api_service_pb.MultiAppResponse>;
|
|
2272
|
+
|
|
2261
2273
|
patchAppsIds(
|
|
2262
2274
|
request: proto_clarifai_api_service_pb.PatchAppsIdsRequest,
|
|
2263
2275
|
metadata?: grpcWeb.Metadata
|
|
@@ -7654,6 +7654,67 @@ proto.clarifai.api.V2PromiseClient.prototype.patchApps =
|
|
|
7654
7654
|
};
|
|
7655
7655
|
|
|
7656
7656
|
|
|
7657
|
+
/**
|
|
7658
|
+
* @const
|
|
7659
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
7660
|
+
* !proto.clarifai.api.PatchAppsDetailsRequest,
|
|
7661
|
+
* !proto.clarifai.api.MultiAppResponse>}
|
|
7662
|
+
*/
|
|
7663
|
+
const methodDescriptor_V2_PatchAppsDetails = new grpc.web.MethodDescriptor(
|
|
7664
|
+
'/clarifai.api.V2/PatchAppsDetails',
|
|
7665
|
+
grpc.web.MethodType.UNARY,
|
|
7666
|
+
proto.clarifai.api.PatchAppsDetailsRequest,
|
|
7667
|
+
proto.clarifai.api.MultiAppResponse,
|
|
7668
|
+
/**
|
|
7669
|
+
* @param {!proto.clarifai.api.PatchAppsDetailsRequest} request
|
|
7670
|
+
* @return {!Uint8Array}
|
|
7671
|
+
*/
|
|
7672
|
+
function(request) {
|
|
7673
|
+
return request.serializeBinary();
|
|
7674
|
+
},
|
|
7675
|
+
proto.clarifai.api.MultiAppResponse.deserializeBinary
|
|
7676
|
+
);
|
|
7677
|
+
|
|
7678
|
+
|
|
7679
|
+
/**
|
|
7680
|
+
* @param {!proto.clarifai.api.PatchAppsDetailsRequest} request The
|
|
7681
|
+
* request proto
|
|
7682
|
+
* @param {?Object<string, string>} metadata User defined
|
|
7683
|
+
* call metadata
|
|
7684
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAppResponse)}
|
|
7685
|
+
* callback The callback function(error, response)
|
|
7686
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAppResponse>|undefined}
|
|
7687
|
+
* The XHR Node Readable Stream
|
|
7688
|
+
*/
|
|
7689
|
+
proto.clarifai.api.V2Client.prototype.patchAppsDetails =
|
|
7690
|
+
function(request, metadata, callback) {
|
|
7691
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
7692
|
+
'/clarifai.api.V2/PatchAppsDetails',
|
|
7693
|
+
request,
|
|
7694
|
+
metadata || {},
|
|
7695
|
+
methodDescriptor_V2_PatchAppsDetails,
|
|
7696
|
+
callback);
|
|
7697
|
+
};
|
|
7698
|
+
|
|
7699
|
+
|
|
7700
|
+
/**
|
|
7701
|
+
* @param {!proto.clarifai.api.PatchAppsDetailsRequest} request The
|
|
7702
|
+
* request proto
|
|
7703
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
7704
|
+
* call metadata
|
|
7705
|
+
* @return {!Promise<!proto.clarifai.api.MultiAppResponse>}
|
|
7706
|
+
* Promise that resolves to the response
|
|
7707
|
+
*/
|
|
7708
|
+
proto.clarifai.api.V2PromiseClient.prototype.patchAppsDetails =
|
|
7709
|
+
function(request, metadata) {
|
|
7710
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
7711
|
+
'/clarifai.api.V2/PatchAppsDetails',
|
|
7712
|
+
request,
|
|
7713
|
+
metadata || {},
|
|
7714
|
+
methodDescriptor_V2_PatchAppsDetails);
|
|
7715
|
+
};
|
|
7716
|
+
|
|
7717
|
+
|
|
7657
7718
|
/**
|
|
7658
7719
|
* @const
|
|
7659
7720
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -652,6 +652,36 @@ export namespace PatchAppsRequest {
|
|
|
652
652
|
}
|
|
653
653
|
}
|
|
654
654
|
|
|
655
|
+
export class PatchAppsDetailsRequest extends jspb.Message {
|
|
656
|
+
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
657
|
+
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PatchAppsDetailsRequest;
|
|
658
|
+
hasUserAppId(): boolean;
|
|
659
|
+
clearUserAppId(): PatchAppsDetailsRequest;
|
|
660
|
+
|
|
661
|
+
getAppsList(): Array<proto_clarifai_api_resources_pb.App>;
|
|
662
|
+
setAppsList(value: Array<proto_clarifai_api_resources_pb.App>): PatchAppsDetailsRequest;
|
|
663
|
+
clearAppsList(): PatchAppsDetailsRequest;
|
|
664
|
+
addApps(value?: proto_clarifai_api_resources_pb.App, index?: number): proto_clarifai_api_resources_pb.App;
|
|
665
|
+
|
|
666
|
+
getAction(): string;
|
|
667
|
+
setAction(value: string): PatchAppsDetailsRequest;
|
|
668
|
+
|
|
669
|
+
serializeBinary(): Uint8Array;
|
|
670
|
+
toObject(includeInstance?: boolean): PatchAppsDetailsRequest.AsObject;
|
|
671
|
+
static toObject(includeInstance: boolean, msg: PatchAppsDetailsRequest): PatchAppsDetailsRequest.AsObject;
|
|
672
|
+
static serializeBinaryToWriter(message: PatchAppsDetailsRequest, writer: jspb.BinaryWriter): void;
|
|
673
|
+
static deserializeBinary(bytes: Uint8Array): PatchAppsDetailsRequest;
|
|
674
|
+
static deserializeBinaryFromReader(message: PatchAppsDetailsRequest, reader: jspb.BinaryReader): PatchAppsDetailsRequest;
|
|
675
|
+
}
|
|
676
|
+
|
|
677
|
+
export namespace PatchAppsDetailsRequest {
|
|
678
|
+
export type AsObject = {
|
|
679
|
+
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
680
|
+
appsList: Array<proto_clarifai_api_resources_pb.App.AsObject>,
|
|
681
|
+
action: string,
|
|
682
|
+
}
|
|
683
|
+
}
|
|
684
|
+
|
|
655
685
|
export class PatchAppRequest extends jspb.Message {
|
|
656
686
|
getUserAppId(): proto_clarifai_api_resources_pb.UserAppIDSet | undefined;
|
|
657
687
|
setUserAppId(value?: proto_clarifai_api_resources_pb.UserAppIDSet): PatchAppRequest;
|
|
@@ -9025,6 +9055,11 @@ export class PutTaskAssignmentsRequest extends jspb.Message {
|
|
|
9025
9055
|
hasLabelSubmitConfig(): boolean;
|
|
9026
9056
|
clearLabelSubmitConfig(): PutTaskAssignmentsRequest;
|
|
9027
9057
|
|
|
9058
|
+
getReviewStartConfig(): ReviewStartConfig | undefined;
|
|
9059
|
+
setReviewStartConfig(value?: ReviewStartConfig): PutTaskAssignmentsRequest;
|
|
9060
|
+
hasReviewStartConfig(): boolean;
|
|
9061
|
+
clearReviewStartConfig(): PutTaskAssignmentsRequest;
|
|
9062
|
+
|
|
9028
9063
|
getReviewApproveConfig(): ReviewApproveConfig | undefined;
|
|
9029
9064
|
setReviewApproveConfig(value?: ReviewApproveConfig): PutTaskAssignmentsRequest;
|
|
9030
9065
|
hasReviewApproveConfig(): boolean;
|
|
@@ -9057,6 +9092,7 @@ export namespace PutTaskAssignmentsRequest {
|
|
|
9057
9092
|
inputId: string,
|
|
9058
9093
|
action: PutTaskAssignmentsRequestAction,
|
|
9059
9094
|
labelSubmitConfig?: LabelSubmitConfig.AsObject,
|
|
9095
|
+
reviewStartConfig?: ReviewStartConfig.AsObject,
|
|
9060
9096
|
reviewApproveConfig?: ReviewApproveConfig.AsObject,
|
|
9061
9097
|
reviewRequestChangesConfig?: ReviewRequestChangesConfig.AsObject,
|
|
9062
9098
|
reviewRejectConfig?: ReviewRejectConfig.AsObject,
|
|
@@ -9065,6 +9101,7 @@ export namespace PutTaskAssignmentsRequest {
|
|
|
9065
9101
|
export enum ActionConfigCase {
|
|
9066
9102
|
ACTION_CONFIG_NOT_SET = 0,
|
|
9067
9103
|
LABEL_SUBMIT_CONFIG = 6,
|
|
9104
|
+
REVIEW_START_CONFIG = 10,
|
|
9068
9105
|
REVIEW_APPROVE_CONFIG = 7,
|
|
9069
9106
|
REVIEW_REQUEST_CHANGES_CONFIG = 8,
|
|
9070
9107
|
REVIEW_REJECT_CONFIG = 9,
|
|
@@ -9091,6 +9128,26 @@ export namespace LabelSubmitConfig {
|
|
|
9091
9128
|
}
|
|
9092
9129
|
}
|
|
9093
9130
|
|
|
9131
|
+
export class ReviewStartConfig extends jspb.Message {
|
|
9132
|
+
getWorkersList(): Array<proto_clarifai_api_resources_pb.Worker>;
|
|
9133
|
+
setWorkersList(value: Array<proto_clarifai_api_resources_pb.Worker>): ReviewStartConfig;
|
|
9134
|
+
clearWorkersList(): ReviewStartConfig;
|
|
9135
|
+
addWorkers(value?: proto_clarifai_api_resources_pb.Worker, index?: number): proto_clarifai_api_resources_pb.Worker;
|
|
9136
|
+
|
|
9137
|
+
serializeBinary(): Uint8Array;
|
|
9138
|
+
toObject(includeInstance?: boolean): ReviewStartConfig.AsObject;
|
|
9139
|
+
static toObject(includeInstance: boolean, msg: ReviewStartConfig): ReviewStartConfig.AsObject;
|
|
9140
|
+
static serializeBinaryToWriter(message: ReviewStartConfig, writer: jspb.BinaryWriter): void;
|
|
9141
|
+
static deserializeBinary(bytes: Uint8Array): ReviewStartConfig;
|
|
9142
|
+
static deserializeBinaryFromReader(message: ReviewStartConfig, reader: jspb.BinaryReader): ReviewStartConfig;
|
|
9143
|
+
}
|
|
9144
|
+
|
|
9145
|
+
export namespace ReviewStartConfig {
|
|
9146
|
+
export type AsObject = {
|
|
9147
|
+
workersList: Array<proto_clarifai_api_resources_pb.Worker.AsObject>,
|
|
9148
|
+
}
|
|
9149
|
+
}
|
|
9150
|
+
|
|
9094
9151
|
export class ReviewApproveConfig extends jspb.Message {
|
|
9095
9152
|
getTaskAssignmentsList(): Array<proto_clarifai_api_resources_pb.TaskAssignment>;
|
|
9096
9153
|
setTaskAssignmentsList(value: Array<proto_clarifai_api_resources_pb.TaskAssignment>): ReviewApproveConfig;
|
|
@@ -9711,6 +9768,9 @@ export class GetRunnerRequest extends jspb.Message {
|
|
|
9711
9768
|
getRunnerId(): string;
|
|
9712
9769
|
setRunnerId(value: string): GetRunnerRequest;
|
|
9713
9770
|
|
|
9771
|
+
getComputeClusterId(): string;
|
|
9772
|
+
setComputeClusterId(value: string): GetRunnerRequest;
|
|
9773
|
+
|
|
9714
9774
|
serializeBinary(): Uint8Array;
|
|
9715
9775
|
toObject(includeInstance?: boolean): GetRunnerRequest.AsObject;
|
|
9716
9776
|
static toObject(includeInstance: boolean, msg: GetRunnerRequest): GetRunnerRequest.AsObject;
|
|
@@ -9724,6 +9784,7 @@ export namespace GetRunnerRequest {
|
|
|
9724
9784
|
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
9725
9785
|
nodepoolId: string,
|
|
9726
9786
|
runnerId: string,
|
|
9787
|
+
computeClusterId: string,
|
|
9727
9788
|
}
|
|
9728
9789
|
}
|
|
9729
9790
|
|
|
@@ -9742,6 +9803,9 @@ export class ListRunnersRequest extends jspb.Message {
|
|
|
9742
9803
|
getPerPage(): number;
|
|
9743
9804
|
setPerPage(value: number): ListRunnersRequest;
|
|
9744
9805
|
|
|
9806
|
+
getComputeClusterId(): string;
|
|
9807
|
+
setComputeClusterId(value: string): ListRunnersRequest;
|
|
9808
|
+
|
|
9745
9809
|
serializeBinary(): Uint8Array;
|
|
9746
9810
|
toObject(includeInstance?: boolean): ListRunnersRequest.AsObject;
|
|
9747
9811
|
static toObject(includeInstance: boolean, msg: ListRunnersRequest): ListRunnersRequest.AsObject;
|
|
@@ -9756,6 +9820,7 @@ export namespace ListRunnersRequest {
|
|
|
9756
9820
|
nodepoolId: string,
|
|
9757
9821
|
page: number,
|
|
9758
9822
|
perPage: number,
|
|
9823
|
+
computeClusterId: string,
|
|
9759
9824
|
}
|
|
9760
9825
|
}
|
|
9761
9826
|
|
|
@@ -9773,6 +9838,9 @@ export class PostRunnersRequest extends jspb.Message {
|
|
|
9773
9838
|
clearRunnersList(): PostRunnersRequest;
|
|
9774
9839
|
addRunners(value?: proto_clarifai_api_resources_pb.Runner, index?: number): proto_clarifai_api_resources_pb.Runner;
|
|
9775
9840
|
|
|
9841
|
+
getComputeClusterId(): string;
|
|
9842
|
+
setComputeClusterId(value: string): PostRunnersRequest;
|
|
9843
|
+
|
|
9776
9844
|
serializeBinary(): Uint8Array;
|
|
9777
9845
|
toObject(includeInstance?: boolean): PostRunnersRequest.AsObject;
|
|
9778
9846
|
static toObject(includeInstance: boolean, msg: PostRunnersRequest): PostRunnersRequest.AsObject;
|
|
@@ -9786,6 +9854,7 @@ export namespace PostRunnersRequest {
|
|
|
9786
9854
|
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
9787
9855
|
nodepoolId: string,
|
|
9788
9856
|
runnersList: Array<proto_clarifai_api_resources_pb.Runner.AsObject>,
|
|
9857
|
+
computeClusterId: string,
|
|
9789
9858
|
}
|
|
9790
9859
|
}
|
|
9791
9860
|
|
|
@@ -9803,6 +9872,9 @@ export class DeleteRunnersRequest extends jspb.Message {
|
|
|
9803
9872
|
clearIdsList(): DeleteRunnersRequest;
|
|
9804
9873
|
addIds(value: string, index?: number): DeleteRunnersRequest;
|
|
9805
9874
|
|
|
9875
|
+
getComputeClusterId(): string;
|
|
9876
|
+
setComputeClusterId(value: string): DeleteRunnersRequest;
|
|
9877
|
+
|
|
9806
9878
|
serializeBinary(): Uint8Array;
|
|
9807
9879
|
toObject(includeInstance?: boolean): DeleteRunnersRequest.AsObject;
|
|
9808
9880
|
static toObject(includeInstance: boolean, msg: DeleteRunnersRequest): DeleteRunnersRequest.AsObject;
|
|
@@ -9816,6 +9888,7 @@ export namespace DeleteRunnersRequest {
|
|
|
9816
9888
|
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
9817
9889
|
nodepoolId: string,
|
|
9818
9890
|
idsList: Array<string>,
|
|
9891
|
+
computeClusterId: string,
|
|
9819
9892
|
}
|
|
9820
9893
|
}
|
|
9821
9894
|
|
|
@@ -9883,6 +9956,9 @@ export class ListRunnerItemsRequest extends jspb.Message {
|
|
|
9883
9956
|
getRunnerId(): string;
|
|
9884
9957
|
setRunnerId(value: string): ListRunnerItemsRequest;
|
|
9885
9958
|
|
|
9959
|
+
getComputeClusterId(): string;
|
|
9960
|
+
setComputeClusterId(value: string): ListRunnerItemsRequest;
|
|
9961
|
+
|
|
9886
9962
|
serializeBinary(): Uint8Array;
|
|
9887
9963
|
toObject(includeInstance?: boolean): ListRunnerItemsRequest.AsObject;
|
|
9888
9964
|
static toObject(includeInstance: boolean, msg: ListRunnerItemsRequest): ListRunnerItemsRequest.AsObject;
|
|
@@ -9896,6 +9972,7 @@ export namespace ListRunnerItemsRequest {
|
|
|
9896
9972
|
userAppId?: proto_clarifai_api_resources_pb.UserAppIDSet.AsObject,
|
|
9897
9973
|
nodepoolId: string,
|
|
9898
9974
|
runnerId: string,
|
|
9975
|
+
computeClusterId: string,
|
|
9899
9976
|
}
|
|
9900
9977
|
}
|
|
9901
9978
|
|
|
@@ -9927,6 +10004,9 @@ export class PostRunnerItemOutputsRequest extends jspb.Message {
|
|
|
9927
10004
|
getRunnerReplicaId(): string;
|
|
9928
10005
|
setRunnerReplicaId(value: string): PostRunnerItemOutputsRequest;
|
|
9929
10006
|
|
|
10007
|
+
getComputeClusterId(): string;
|
|
10008
|
+
setComputeClusterId(value: string): PostRunnerItemOutputsRequest;
|
|
10009
|
+
|
|
9930
10010
|
serializeBinary(): Uint8Array;
|
|
9931
10011
|
toObject(includeInstance?: boolean): PostRunnerItemOutputsRequest.AsObject;
|
|
9932
10012
|
static toObject(includeInstance: boolean, msg: PostRunnerItemOutputsRequest): PostRunnerItemOutputsRequest.AsObject;
|
|
@@ -9944,6 +10024,7 @@ export namespace PostRunnerItemOutputsRequest {
|
|
|
9944
10024
|
runnerItemOutputsList: Array<RunnerItemOutput.AsObject>,
|
|
9945
10025
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
9946
10026
|
runnerReplicaId: string,
|
|
10027
|
+
computeClusterId: string,
|
|
9947
10028
|
}
|
|
9948
10029
|
}
|
|
9949
10030
|
|