clarifai-web-grpc 10.3.0 → 10.3.2
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 +512 -3
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +38 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +311 -29
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +4 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +512 -3
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +38 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +311 -29
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +4 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +88 -0
- package/proto/clarifai/api/resources_pb.js +634 -3
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +10 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +56 -0
- package/proto/clarifai/api/service_pb.d.ts +58 -8
- package/proto/clarifai/api/service_pb.js +388 -29
- package/proto/clarifai/api/status/status_code_pb.d.ts +4 -0
- package/proto/clarifai/api/status/status_code_pb.js +4 -0
|
@@ -1750,6 +1750,44 @@ proto.clarifai.api.V2PromiseClient.prototype.postModelOutputs =
|
|
|
1750
1750
|
return this.client_.unaryCall(this.hostname_ +
|
|
1751
1751
|
'/clarifai.api.V2/PostModelOutputs', request, metadata || {}, methodDescriptor_V2_PostModelOutputs);
|
|
1752
1752
|
};
|
|
1753
|
+
/**
|
|
1754
|
+
* @const
|
|
1755
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1756
|
+
* !proto.clarifai.api.PostModelOutputsRequest,
|
|
1757
|
+
* !proto.clarifai.api.MultiOutputResponse>}
|
|
1758
|
+
*/
|
|
1759
|
+
const methodDescriptor_V2_GenerateModelOutputs = new grpc.web.MethodDescriptor('/clarifai.api.V2/GenerateModelOutputs', grpc.web.MethodType.SERVER_STREAMING, proto.clarifai.api.PostModelOutputsRequest, proto.clarifai.api.MultiOutputResponse,
|
|
1760
|
+
/**
|
|
1761
|
+
* @param {!proto.clarifai.api.PostModelOutputsRequest} request
|
|
1762
|
+
* @return {!Uint8Array}
|
|
1763
|
+
*/
|
|
1764
|
+
function (request) {
|
|
1765
|
+
return request.serializeBinary();
|
|
1766
|
+
}, proto.clarifai.api.MultiOutputResponse.deserializeBinary);
|
|
1767
|
+
/**
|
|
1768
|
+
* @param {!proto.clarifai.api.PostModelOutputsRequest} request The request proto
|
|
1769
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1770
|
+
* call metadata
|
|
1771
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiOutputResponse>}
|
|
1772
|
+
* The XHR Node Readable Stream
|
|
1773
|
+
*/
|
|
1774
|
+
proto.clarifai.api.V2Client.prototype.generateModelOutputs =
|
|
1775
|
+
function (request, metadata) {
|
|
1776
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
1777
|
+
'/clarifai.api.V2/GenerateModelOutputs', request, metadata || {}, methodDescriptor_V2_GenerateModelOutputs);
|
|
1778
|
+
};
|
|
1779
|
+
/**
|
|
1780
|
+
* @param {!proto.clarifai.api.PostModelOutputsRequest} request The request proto
|
|
1781
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1782
|
+
* call metadata
|
|
1783
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiOutputResponse>}
|
|
1784
|
+
* The XHR Node Readable Stream
|
|
1785
|
+
*/
|
|
1786
|
+
proto.clarifai.api.V2PromiseClient.prototype.generateModelOutputs =
|
|
1787
|
+
function (request, metadata) {
|
|
1788
|
+
return this.client_.serverStreaming(this.hostname_ +
|
|
1789
|
+
'/clarifai.api.V2/GenerateModelOutputs', request, metadata || {}, methodDescriptor_V2_GenerateModelOutputs);
|
|
1790
|
+
};
|
|
1753
1791
|
/**
|
|
1754
1792
|
* @const
|
|
1755
1793
|
* @type {!grpc.web.MethodDescriptor<
|
|
@@ -343,7 +343,9 @@ goog.exportSymbol('proto.clarifai.api.ReviewApproveConfig', null, global);
|
|
|
343
343
|
goog.exportSymbol('proto.clarifai.api.ReviewRejectConfig', null, global);
|
|
344
344
|
goog.exportSymbol('proto.clarifai.api.ReviewRequestChangesConfig', null, global);
|
|
345
345
|
goog.exportSymbol('proto.clarifai.api.RunnerItem', null, global);
|
|
346
|
+
goog.exportSymbol('proto.clarifai.api.RunnerItem.RequestCase', null, global);
|
|
346
347
|
goog.exportSymbol('proto.clarifai.api.RunnerItemOutput', null, global);
|
|
348
|
+
goog.exportSymbol('proto.clarifai.api.RunnerItemOutput.ResponseCase', null, global);
|
|
347
349
|
goog.exportSymbol('proto.clarifai.api.SingleAnnotationFilterResponse', null, global);
|
|
348
350
|
goog.exportSymbol('proto.clarifai.api.SingleAnnotationResponse', null, global);
|
|
349
351
|
goog.exportSymbol('proto.clarifai.api.SingleAppDuplicationResponse', null, global);
|
|
@@ -2243,7 +2245,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
2243
2245
|
* @constructor
|
|
2244
2246
|
*/
|
|
2245
2247
|
proto.clarifai.api.ListDatasetVersionsRequest = function (opt_data) {
|
|
2246
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
2248
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListDatasetVersionsRequest.repeatedFields_, null);
|
|
2247
2249
|
};
|
|
2248
2250
|
goog.inherits(proto.clarifai.api.ListDatasetVersionsRequest, jspb.Message);
|
|
2249
2251
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -7304,7 +7306,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7304
7306
|
* @constructor
|
|
7305
7307
|
*/
|
|
7306
7308
|
proto.clarifai.api.RunnerItem = function (opt_data) {
|
|
7307
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
7309
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.RunnerItem.oneofGroups_);
|
|
7308
7310
|
};
|
|
7309
7311
|
goog.inherits(proto.clarifai.api.RunnerItem, jspb.Message);
|
|
7310
7312
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -7325,7 +7327,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7325
7327
|
* @constructor
|
|
7326
7328
|
*/
|
|
7327
7329
|
proto.clarifai.api.RunnerItemOutput = function (opt_data) {
|
|
7328
|
-
jspb.Message.initialize(this, opt_data, 0, -1, null,
|
|
7330
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, proto.clarifai.api.RunnerItemOutput.oneofGroups_);
|
|
7329
7331
|
};
|
|
7330
7332
|
goog.inherits(proto.clarifai.api.RunnerItemOutput, jspb.Message);
|
|
7331
7333
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -7701,7 +7703,7 @@ proto.clarifai.api.GetAnnotationRequest.prototype.setInputId = function (value)
|
|
|
7701
7703
|
* @private {!Array<number>}
|
|
7702
7704
|
* @const
|
|
7703
7705
|
*/
|
|
7704
|
-
proto.clarifai.api.ListAnnotationsRequest.repeatedFields_ = [2, 3, 9, 10, 5];
|
|
7706
|
+
proto.clarifai.api.ListAnnotationsRequest.repeatedFields_ = [2, 3, 9, 10, 13, 5];
|
|
7705
7707
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
7706
7708
|
/**
|
|
7707
7709
|
* Creates an object representation of this proto.
|
|
@@ -7734,6 +7736,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
7734
7736
|
inputIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
7735
7737
|
userIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
7736
7738
|
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 10)) == null ? undefined : f,
|
|
7739
|
+
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 13)) == null ? undefined : f,
|
|
7737
7740
|
statusesList: jspb.Message.toObjectList(msg.getStatusesList(), proto_clarifai_api_status_status_pb.Status.toObject, includeInstance),
|
|
7738
7741
|
listAllAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 6, false),
|
|
7739
7742
|
returnModelOutput: jspb.Message.getBooleanFieldWithDefault(msg, 12, false),
|
|
@@ -7792,6 +7795,10 @@ proto.clarifai.api.ListAnnotationsRequest.deserializeBinaryFromReader = function
|
|
|
7792
7795
|
var value = /** @type {string} */ (reader.readString());
|
|
7793
7796
|
msg.addModelVersionIds(value);
|
|
7794
7797
|
break;
|
|
7798
|
+
case 13:
|
|
7799
|
+
var value = /** @type {string} */ (reader.readString());
|
|
7800
|
+
msg.addWorkflowVersionIds(value);
|
|
7801
|
+
break;
|
|
7795
7802
|
case 5:
|
|
7796
7803
|
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
7797
7804
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
@@ -7862,6 +7869,10 @@ proto.clarifai.api.ListAnnotationsRequest.serializeBinaryToWriter = function (me
|
|
|
7862
7869
|
if (f.length > 0) {
|
|
7863
7870
|
writer.writeRepeatedString(10, f);
|
|
7864
7871
|
}
|
|
7872
|
+
f = message.getWorkflowVersionIdsList();
|
|
7873
|
+
if (f.length > 0) {
|
|
7874
|
+
writer.writeRepeatedString(13, f);
|
|
7875
|
+
}
|
|
7865
7876
|
f = message.getStatusesList();
|
|
7866
7877
|
if (f.length > 0) {
|
|
7867
7878
|
writer.writeRepeatedMessage(5, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
@@ -8031,6 +8042,35 @@ proto.clarifai.api.ListAnnotationsRequest.prototype.addModelVersionIds = functio
|
|
|
8031
8042
|
proto.clarifai.api.ListAnnotationsRequest.prototype.clearModelVersionIdsList = function () {
|
|
8032
8043
|
return this.setModelVersionIdsList([]);
|
|
8033
8044
|
};
|
|
8045
|
+
/**
|
|
8046
|
+
* repeated string workflow_version_ids = 13;
|
|
8047
|
+
* @return {!Array<string>}
|
|
8048
|
+
*/
|
|
8049
|
+
proto.clarifai.api.ListAnnotationsRequest.prototype.getWorkflowVersionIdsList = function () {
|
|
8050
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 13));
|
|
8051
|
+
};
|
|
8052
|
+
/**
|
|
8053
|
+
* @param {!Array<string>} value
|
|
8054
|
+
* @return {!proto.clarifai.api.ListAnnotationsRequest} returns this
|
|
8055
|
+
*/
|
|
8056
|
+
proto.clarifai.api.ListAnnotationsRequest.prototype.setWorkflowVersionIdsList = function (value) {
|
|
8057
|
+
return jspb.Message.setField(this, 13, value || []);
|
|
8058
|
+
};
|
|
8059
|
+
/**
|
|
8060
|
+
* @param {string} value
|
|
8061
|
+
* @param {number=} opt_index
|
|
8062
|
+
* @return {!proto.clarifai.api.ListAnnotationsRequest} returns this
|
|
8063
|
+
*/
|
|
8064
|
+
proto.clarifai.api.ListAnnotationsRequest.prototype.addWorkflowVersionIds = function (value, opt_index) {
|
|
8065
|
+
return jspb.Message.addToRepeatedField(this, 13, value, opt_index);
|
|
8066
|
+
};
|
|
8067
|
+
/**
|
|
8068
|
+
* Clears the list making it empty but non-null.
|
|
8069
|
+
* @return {!proto.clarifai.api.ListAnnotationsRequest} returns this
|
|
8070
|
+
*/
|
|
8071
|
+
proto.clarifai.api.ListAnnotationsRequest.prototype.clearWorkflowVersionIdsList = function () {
|
|
8072
|
+
return this.setWorkflowVersionIdsList([]);
|
|
8073
|
+
};
|
|
8034
8074
|
/**
|
|
8035
8075
|
* repeated status.Status statuses = 5;
|
|
8036
8076
|
* @return {!Array<!proto.clarifai.api.status.Status>}
|
|
@@ -24010,6 +24050,12 @@ proto.clarifai.api.SingleDatasetInputResponse.prototype.clearDatasetInput = func
|
|
|
24010
24050
|
proto.clarifai.api.SingleDatasetInputResponse.prototype.hasDatasetInput = function () {
|
|
24011
24051
|
return jspb.Message.getField(this, 2) != null;
|
|
24012
24052
|
};
|
|
24053
|
+
/**
|
|
24054
|
+
* List of repeated fields within this message type.
|
|
24055
|
+
* @private {!Array<number>}
|
|
24056
|
+
* @const
|
|
24057
|
+
*/
|
|
24058
|
+
proto.clarifai.api.ListDatasetVersionsRequest.repeatedFields_ = [5];
|
|
24013
24059
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24014
24060
|
/**
|
|
24015
24061
|
* Creates an object representation of this proto.
|
|
@@ -24040,7 +24086,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
24040
24086
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
24041
24087
|
datasetId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
24042
24088
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
24043
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
24089
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
24090
|
+
requestOriginsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
24044
24091
|
};
|
|
24045
24092
|
if (includeInstance) {
|
|
24046
24093
|
obj.$jspbMessageInstance = msg;
|
|
@@ -24089,6 +24136,12 @@ proto.clarifai.api.ListDatasetVersionsRequest.deserializeBinaryFromReader = func
|
|
|
24089
24136
|
var value = /** @type {number} */ (reader.readUint32());
|
|
24090
24137
|
msg.setPerPage(value);
|
|
24091
24138
|
break;
|
|
24139
|
+
case 5:
|
|
24140
|
+
var values = /** @type {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
24141
|
+
for (var i = 0; i < values.length; i++) {
|
|
24142
|
+
msg.addRequestOrigins(values[i]);
|
|
24143
|
+
}
|
|
24144
|
+
break;
|
|
24092
24145
|
default:
|
|
24093
24146
|
reader.skipField();
|
|
24094
24147
|
break;
|
|
@@ -24130,6 +24183,10 @@ proto.clarifai.api.ListDatasetVersionsRequest.serializeBinaryToWriter = function
|
|
|
24130
24183
|
if (f !== 0) {
|
|
24131
24184
|
writer.writeUint32(4, f);
|
|
24132
24185
|
}
|
|
24186
|
+
f = message.getRequestOriginsList();
|
|
24187
|
+
if (f.length > 0) {
|
|
24188
|
+
writer.writePackedEnum(5, f);
|
|
24189
|
+
}
|
|
24133
24190
|
};
|
|
24134
24191
|
/**
|
|
24135
24192
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -24201,6 +24258,35 @@ proto.clarifai.api.ListDatasetVersionsRequest.prototype.getPerPage = function ()
|
|
|
24201
24258
|
proto.clarifai.api.ListDatasetVersionsRequest.prototype.setPerPage = function (value) {
|
|
24202
24259
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
24203
24260
|
};
|
|
24261
|
+
/**
|
|
24262
|
+
* repeated DatasetVersionRequestOrigin request_origins = 5;
|
|
24263
|
+
* @return {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>}
|
|
24264
|
+
*/
|
|
24265
|
+
proto.clarifai.api.ListDatasetVersionsRequest.prototype.getRequestOriginsList = function () {
|
|
24266
|
+
return /** @type {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
24267
|
+
};
|
|
24268
|
+
/**
|
|
24269
|
+
* @param {!Array<!proto.clarifai.api.DatasetVersionRequestOrigin>} value
|
|
24270
|
+
* @return {!proto.clarifai.api.ListDatasetVersionsRequest} returns this
|
|
24271
|
+
*/
|
|
24272
|
+
proto.clarifai.api.ListDatasetVersionsRequest.prototype.setRequestOriginsList = function (value) {
|
|
24273
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
24274
|
+
};
|
|
24275
|
+
/**
|
|
24276
|
+
* @param {!proto.clarifai.api.DatasetVersionRequestOrigin} value
|
|
24277
|
+
* @param {number=} opt_index
|
|
24278
|
+
* @return {!proto.clarifai.api.ListDatasetVersionsRequest} returns this
|
|
24279
|
+
*/
|
|
24280
|
+
proto.clarifai.api.ListDatasetVersionsRequest.prototype.addRequestOrigins = function (value, opt_index) {
|
|
24281
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
24282
|
+
};
|
|
24283
|
+
/**
|
|
24284
|
+
* Clears the list making it empty but non-null.
|
|
24285
|
+
* @return {!proto.clarifai.api.ListDatasetVersionsRequest} returns this
|
|
24286
|
+
*/
|
|
24287
|
+
proto.clarifai.api.ListDatasetVersionsRequest.prototype.clearRequestOriginsList = function () {
|
|
24288
|
+
return this.setRequestOriginsList([]);
|
|
24289
|
+
};
|
|
24204
24290
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
24205
24291
|
/**
|
|
24206
24292
|
* Creates an object representation of this proto.
|
|
@@ -54046,7 +54132,7 @@ proto.clarifai.api.SingleTaskResponse.prototype.hasTask = function () {
|
|
|
54046
54132
|
* @private {!Array<number>}
|
|
54047
54133
|
* @const
|
|
54048
54134
|
*/
|
|
54049
|
-
proto.clarifai.api.GetTaskCountRequest.repeatedFields_ = [3];
|
|
54135
|
+
proto.clarifai.api.GetTaskCountRequest.repeatedFields_ = [3, 4, 5];
|
|
54050
54136
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
54051
54137
|
/**
|
|
54052
54138
|
* Creates an object representation of this proto.
|
|
@@ -54076,7 +54162,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
54076
54162
|
var f, obj = {
|
|
54077
54163
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
54078
54164
|
taskId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
54079
|
-
userIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
54165
|
+
userIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
54166
|
+
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
54167
|
+
workflowVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f
|
|
54080
54168
|
};
|
|
54081
54169
|
if (includeInstance) {
|
|
54082
54170
|
obj.$jspbMessageInstance = msg;
|
|
@@ -54121,6 +54209,14 @@ proto.clarifai.api.GetTaskCountRequest.deserializeBinaryFromReader = function (m
|
|
|
54121
54209
|
var value = /** @type {string} */ (reader.readString());
|
|
54122
54210
|
msg.addUserIds(value);
|
|
54123
54211
|
break;
|
|
54212
|
+
case 4:
|
|
54213
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54214
|
+
msg.addModelVersionIds(value);
|
|
54215
|
+
break;
|
|
54216
|
+
case 5:
|
|
54217
|
+
var value = /** @type {string} */ (reader.readString());
|
|
54218
|
+
msg.addWorkflowVersionIds(value);
|
|
54219
|
+
break;
|
|
54124
54220
|
default:
|
|
54125
54221
|
reader.skipField();
|
|
54126
54222
|
break;
|
|
@@ -54158,6 +54254,14 @@ proto.clarifai.api.GetTaskCountRequest.serializeBinaryToWriter = function (messa
|
|
|
54158
54254
|
if (f.length > 0) {
|
|
54159
54255
|
writer.writeRepeatedString(3, f);
|
|
54160
54256
|
}
|
|
54257
|
+
f = message.getModelVersionIdsList();
|
|
54258
|
+
if (f.length > 0) {
|
|
54259
|
+
writer.writeRepeatedString(4, f);
|
|
54260
|
+
}
|
|
54261
|
+
f = message.getWorkflowVersionIdsList();
|
|
54262
|
+
if (f.length > 0) {
|
|
54263
|
+
writer.writeRepeatedString(5, f);
|
|
54264
|
+
}
|
|
54161
54265
|
};
|
|
54162
54266
|
/**
|
|
54163
54267
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -54230,6 +54334,64 @@ proto.clarifai.api.GetTaskCountRequest.prototype.addUserIds = function (value, o
|
|
|
54230
54334
|
proto.clarifai.api.GetTaskCountRequest.prototype.clearUserIdsList = function () {
|
|
54231
54335
|
return this.setUserIdsList([]);
|
|
54232
54336
|
};
|
|
54337
|
+
/**
|
|
54338
|
+
* repeated string model_version_ids = 4;
|
|
54339
|
+
* @return {!Array<string>}
|
|
54340
|
+
*/
|
|
54341
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.getModelVersionIdsList = function () {
|
|
54342
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
54343
|
+
};
|
|
54344
|
+
/**
|
|
54345
|
+
* @param {!Array<string>} value
|
|
54346
|
+
* @return {!proto.clarifai.api.GetTaskCountRequest} returns this
|
|
54347
|
+
*/
|
|
54348
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.setModelVersionIdsList = function (value) {
|
|
54349
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
54350
|
+
};
|
|
54351
|
+
/**
|
|
54352
|
+
* @param {string} value
|
|
54353
|
+
* @param {number=} opt_index
|
|
54354
|
+
* @return {!proto.clarifai.api.GetTaskCountRequest} returns this
|
|
54355
|
+
*/
|
|
54356
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.addModelVersionIds = function (value, opt_index) {
|
|
54357
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
54358
|
+
};
|
|
54359
|
+
/**
|
|
54360
|
+
* Clears the list making it empty but non-null.
|
|
54361
|
+
* @return {!proto.clarifai.api.GetTaskCountRequest} returns this
|
|
54362
|
+
*/
|
|
54363
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.clearModelVersionIdsList = function () {
|
|
54364
|
+
return this.setModelVersionIdsList([]);
|
|
54365
|
+
};
|
|
54366
|
+
/**
|
|
54367
|
+
* repeated string workflow_version_ids = 5;
|
|
54368
|
+
* @return {!Array<string>}
|
|
54369
|
+
*/
|
|
54370
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.getWorkflowVersionIdsList = function () {
|
|
54371
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
54372
|
+
};
|
|
54373
|
+
/**
|
|
54374
|
+
* @param {!Array<string>} value
|
|
54375
|
+
* @return {!proto.clarifai.api.GetTaskCountRequest} returns this
|
|
54376
|
+
*/
|
|
54377
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.setWorkflowVersionIdsList = function (value) {
|
|
54378
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
54379
|
+
};
|
|
54380
|
+
/**
|
|
54381
|
+
* @param {string} value
|
|
54382
|
+
* @param {number=} opt_index
|
|
54383
|
+
* @return {!proto.clarifai.api.GetTaskCountRequest} returns this
|
|
54384
|
+
*/
|
|
54385
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.addWorkflowVersionIds = function (value, opt_index) {
|
|
54386
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
54387
|
+
};
|
|
54388
|
+
/**
|
|
54389
|
+
* Clears the list making it empty but non-null.
|
|
54390
|
+
* @return {!proto.clarifai.api.GetTaskCountRequest} returns this
|
|
54391
|
+
*/
|
|
54392
|
+
proto.clarifai.api.GetTaskCountRequest.prototype.clearWorkflowVersionIdsList = function () {
|
|
54393
|
+
return this.setWorkflowVersionIdsList([]);
|
|
54394
|
+
};
|
|
54233
54395
|
/**
|
|
54234
54396
|
* List of repeated fields within this message type.
|
|
54235
54397
|
* @private {!Array<number>}
|
|
@@ -68996,8 +69158,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
68996
69158
|
var f, obj = {
|
|
68997
69159
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
68998
69160
|
runnerId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
68999
|
-
|
|
69000
|
-
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance)
|
|
69161
|
+
runnerItemId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
69162
|
+
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
69163
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
69001
69164
|
};
|
|
69002
69165
|
if (includeInstance) {
|
|
69003
69166
|
obj.$jspbMessageInstance = msg;
|
|
@@ -69040,13 +69203,18 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
69040
69203
|
break;
|
|
69041
69204
|
case 3:
|
|
69042
69205
|
var value = /** @type {string} */ (reader.readString());
|
|
69043
|
-
msg.
|
|
69206
|
+
msg.setRunnerItemId(value);
|
|
69044
69207
|
break;
|
|
69045
69208
|
case 4:
|
|
69046
69209
|
var value = new proto.clarifai.api.RunnerItemOutput;
|
|
69047
69210
|
reader.readMessage(value, proto.clarifai.api.RunnerItemOutput.deserializeBinaryFromReader);
|
|
69048
69211
|
msg.addRunnerItemOutputs(value);
|
|
69049
69212
|
break;
|
|
69213
|
+
case 5:
|
|
69214
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
69215
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
69216
|
+
msg.setStatus(value);
|
|
69217
|
+
break;
|
|
69050
69218
|
default:
|
|
69051
69219
|
reader.skipField();
|
|
69052
69220
|
break;
|
|
@@ -69080,7 +69248,7 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
69080
69248
|
if (f.length > 0) {
|
|
69081
69249
|
writer.writeString(2, f);
|
|
69082
69250
|
}
|
|
69083
|
-
f = message.
|
|
69251
|
+
f = message.getRunnerItemId();
|
|
69084
69252
|
if (f.length > 0) {
|
|
69085
69253
|
writer.writeString(3, f);
|
|
69086
69254
|
}
|
|
@@ -69088,6 +69256,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
69088
69256
|
if (f.length > 0) {
|
|
69089
69257
|
writer.writeRepeatedMessage(4, f, proto.clarifai.api.RunnerItemOutput.serializeBinaryToWriter);
|
|
69090
69258
|
}
|
|
69259
|
+
f = message.getStatus();
|
|
69260
|
+
if (f != null) {
|
|
69261
|
+
writer.writeMessage(5, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
69262
|
+
}
|
|
69091
69263
|
};
|
|
69092
69264
|
/**
|
|
69093
69265
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -69132,17 +69304,17 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerId = function
|
|
|
69132
69304
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69133
69305
|
};
|
|
69134
69306
|
/**
|
|
69135
|
-
* optional string
|
|
69307
|
+
* optional string runner_item_id = 3;
|
|
69136
69308
|
* @return {string}
|
|
69137
69309
|
*/
|
|
69138
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69310
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRunnerItemId = function () {
|
|
69139
69311
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
69140
69312
|
};
|
|
69141
69313
|
/**
|
|
69142
69314
|
* @param {string} value
|
|
69143
69315
|
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69144
69316
|
*/
|
|
69145
|
-
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.
|
|
69317
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerItemId = function (value) {
|
|
69146
69318
|
return jspb.Message.setProto3StringField(this, 3, value);
|
|
69147
69319
|
};
|
|
69148
69320
|
/**
|
|
@@ -69174,6 +69346,34 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.addRunnerItemOutputs =
|
|
|
69174
69346
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearRunnerItemOutputsList = function () {
|
|
69175
69347
|
return this.setRunnerItemOutputsList([]);
|
|
69176
69348
|
};
|
|
69349
|
+
/**
|
|
69350
|
+
* optional status.Status status = 5;
|
|
69351
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
69352
|
+
*/
|
|
69353
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getStatus = function () {
|
|
69354
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 5));
|
|
69355
|
+
};
|
|
69356
|
+
/**
|
|
69357
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
69358
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69359
|
+
*/
|
|
69360
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setStatus = function (value) {
|
|
69361
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
69362
|
+
};
|
|
69363
|
+
/**
|
|
69364
|
+
* Clears the message field making it undefined.
|
|
69365
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
69366
|
+
*/
|
|
69367
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.clearStatus = function () {
|
|
69368
|
+
return this.setStatus(undefined);
|
|
69369
|
+
};
|
|
69370
|
+
/**
|
|
69371
|
+
* Returns whether this field is set.
|
|
69372
|
+
* @return {boolean}
|
|
69373
|
+
*/
|
|
69374
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.hasStatus = function () {
|
|
69375
|
+
return jspb.Message.getField(this, 5) != null;
|
|
69376
|
+
};
|
|
69177
69377
|
/**
|
|
69178
69378
|
* List of repeated fields within this message type.
|
|
69179
69379
|
* @private {!Array<number>}
|
|
@@ -69208,7 +69408,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69208
69408
|
proto.clarifai.api.MultiRunnerItemResponse.toObject = function (includeInstance, msg) {
|
|
69209
69409
|
var f, obj = {
|
|
69210
69410
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
69211
|
-
|
|
69411
|
+
runnerItemsList: jspb.Message.toObjectList(msg.getRunnerItemsList(), proto.clarifai.api.RunnerItem.toObject, includeInstance)
|
|
69212
69412
|
};
|
|
69213
69413
|
if (includeInstance) {
|
|
69214
69414
|
obj.$jspbMessageInstance = msg;
|
|
@@ -69248,7 +69448,7 @@ proto.clarifai.api.MultiRunnerItemResponse.deserializeBinaryFromReader = functio
|
|
|
69248
69448
|
case 2:
|
|
69249
69449
|
var value = new proto.clarifai.api.RunnerItem;
|
|
69250
69450
|
reader.readMessage(value, proto.clarifai.api.RunnerItem.deserializeBinaryFromReader);
|
|
69251
|
-
msg.
|
|
69451
|
+
msg.addRunnerItems(value);
|
|
69252
69452
|
break;
|
|
69253
69453
|
default:
|
|
69254
69454
|
reader.skipField();
|
|
@@ -69279,7 +69479,7 @@ proto.clarifai.api.MultiRunnerItemResponse.serializeBinaryToWriter = function (m
|
|
|
69279
69479
|
if (f != null) {
|
|
69280
69480
|
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
69281
69481
|
}
|
|
69282
|
-
f = message.
|
|
69482
|
+
f = message.getRunnerItemsList();
|
|
69283
69483
|
if (f.length > 0) {
|
|
69284
69484
|
writer.writeRepeatedMessage(2, f, proto.clarifai.api.RunnerItem.serializeBinaryToWriter);
|
|
69285
69485
|
}
|
|
@@ -69313,17 +69513,17 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.hasStatus = function () {
|
|
|
69313
69513
|
return jspb.Message.getField(this, 1) != null;
|
|
69314
69514
|
};
|
|
69315
69515
|
/**
|
|
69316
|
-
* repeated RunnerItem
|
|
69516
|
+
* repeated RunnerItem runner_items = 2;
|
|
69317
69517
|
* @return {!Array<!proto.clarifai.api.RunnerItem>}
|
|
69318
69518
|
*/
|
|
69319
|
-
proto.clarifai.api.MultiRunnerItemResponse.prototype.
|
|
69519
|
+
proto.clarifai.api.MultiRunnerItemResponse.prototype.getRunnerItemsList = function () {
|
|
69320
69520
|
return /** @type{!Array<!proto.clarifai.api.RunnerItem>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.RunnerItem, 2));
|
|
69321
69521
|
};
|
|
69322
69522
|
/**
|
|
69323
69523
|
* @param {!Array<!proto.clarifai.api.RunnerItem>} value
|
|
69324
69524
|
* @return {!proto.clarifai.api.MultiRunnerItemResponse} returns this
|
|
69325
69525
|
*/
|
|
69326
|
-
proto.clarifai.api.MultiRunnerItemResponse.prototype.
|
|
69526
|
+
proto.clarifai.api.MultiRunnerItemResponse.prototype.setRunnerItemsList = function (value) {
|
|
69327
69527
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
69328
69528
|
};
|
|
69329
69529
|
/**
|
|
@@ -69331,15 +69531,37 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.setItemsList = function (va
|
|
|
69331
69531
|
* @param {number=} opt_index
|
|
69332
69532
|
* @return {!proto.clarifai.api.RunnerItem}
|
|
69333
69533
|
*/
|
|
69334
|
-
proto.clarifai.api.MultiRunnerItemResponse.prototype.
|
|
69534
|
+
proto.clarifai.api.MultiRunnerItemResponse.prototype.addRunnerItems = function (opt_value, opt_index) {
|
|
69335
69535
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.RunnerItem, opt_index);
|
|
69336
69536
|
};
|
|
69337
69537
|
/**
|
|
69338
69538
|
* Clears the list making it empty but non-null.
|
|
69339
69539
|
* @return {!proto.clarifai.api.MultiRunnerItemResponse} returns this
|
|
69340
69540
|
*/
|
|
69341
|
-
proto.clarifai.api.MultiRunnerItemResponse.prototype.
|
|
69342
|
-
return this.
|
|
69541
|
+
proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = function () {
|
|
69542
|
+
return this.setRunnerItemsList([]);
|
|
69543
|
+
};
|
|
69544
|
+
/**
|
|
69545
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
69546
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
69547
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
69548
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
69549
|
+
* @private {!Array<!Array<number>>}
|
|
69550
|
+
* @const
|
|
69551
|
+
*/
|
|
69552
|
+
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4]];
|
|
69553
|
+
/**
|
|
69554
|
+
* @enum {number}
|
|
69555
|
+
*/
|
|
69556
|
+
proto.clarifai.api.RunnerItem.RequestCase = {
|
|
69557
|
+
REQUEST_NOT_SET: 0,
|
|
69558
|
+
POST_MODEL_OUTPUTS_REQUEST: 4
|
|
69559
|
+
};
|
|
69560
|
+
/**
|
|
69561
|
+
* @return {proto.clarifai.api.RunnerItem.RequestCase}
|
|
69562
|
+
*/
|
|
69563
|
+
proto.clarifai.api.RunnerItem.prototype.getRequestCase = function () {
|
|
69564
|
+
return /** @type {proto.clarifai.api.RunnerItem.RequestCase} */ (jspb.Message.computeOneofCase(this, proto.clarifai.api.RunnerItem.oneofGroups_[0]));
|
|
69343
69565
|
};
|
|
69344
69566
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69345
69567
|
/**
|
|
@@ -69370,6 +69592,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
69370
69592
|
var f, obj = {
|
|
69371
69593
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
69372
69594
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
69595
|
+
processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
|
|
69373
69596
|
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f)
|
|
69374
69597
|
};
|
|
69375
69598
|
if (includeInstance) {
|
|
@@ -69411,6 +69634,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function (msg, reade
|
|
|
69411
69634
|
msg.setDescription(value);
|
|
69412
69635
|
break;
|
|
69413
69636
|
case 3:
|
|
69637
|
+
var value = new proto_clarifai_api_resources_pb.ProcessingInfo;
|
|
69638
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ProcessingInfo.deserializeBinaryFromReader);
|
|
69639
|
+
msg.setProcessingInfo(value);
|
|
69640
|
+
break;
|
|
69641
|
+
case 4:
|
|
69414
69642
|
var value = new proto.clarifai.api.PostModelOutputsRequest;
|
|
69415
69643
|
reader.readMessage(value, proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
|
|
69416
69644
|
msg.setPostModelOutputsRequest(value);
|
|
@@ -69448,9 +69676,13 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function (message, write
|
|
|
69448
69676
|
if (f.length > 0) {
|
|
69449
69677
|
writer.writeString(2, f);
|
|
69450
69678
|
}
|
|
69679
|
+
f = message.getProcessingInfo();
|
|
69680
|
+
if (f != null) {
|
|
69681
|
+
writer.writeMessage(3, f, proto_clarifai_api_resources_pb.ProcessingInfo.serializeBinaryToWriter);
|
|
69682
|
+
}
|
|
69451
69683
|
f = message.getPostModelOutputsRequest();
|
|
69452
69684
|
if (f != null) {
|
|
69453
|
-
writer.writeMessage(
|
|
69685
|
+
writer.writeMessage(4, f, proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter);
|
|
69454
69686
|
}
|
|
69455
69687
|
};
|
|
69456
69688
|
/**
|
|
@@ -69482,18 +69714,46 @@ proto.clarifai.api.RunnerItem.prototype.setDescription = function (value) {
|
|
|
69482
69714
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
69483
69715
|
};
|
|
69484
69716
|
/**
|
|
69485
|
-
* optional
|
|
69717
|
+
* optional ProcessingInfo processing_info = 3;
|
|
69718
|
+
* @return {?proto.clarifai.api.ProcessingInfo}
|
|
69719
|
+
*/
|
|
69720
|
+
proto.clarifai.api.RunnerItem.prototype.getProcessingInfo = function () {
|
|
69721
|
+
return /** @type{?proto.clarifai.api.ProcessingInfo} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.ProcessingInfo, 3));
|
|
69722
|
+
};
|
|
69723
|
+
/**
|
|
69724
|
+
* @param {?proto.clarifai.api.ProcessingInfo|undefined} value
|
|
69725
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
69726
|
+
*/
|
|
69727
|
+
proto.clarifai.api.RunnerItem.prototype.setProcessingInfo = function (value) {
|
|
69728
|
+
return jspb.Message.setWrapperField(this, 3, value);
|
|
69729
|
+
};
|
|
69730
|
+
/**
|
|
69731
|
+
* Clears the message field making it undefined.
|
|
69732
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
69733
|
+
*/
|
|
69734
|
+
proto.clarifai.api.RunnerItem.prototype.clearProcessingInfo = function () {
|
|
69735
|
+
return this.setProcessingInfo(undefined);
|
|
69736
|
+
};
|
|
69737
|
+
/**
|
|
69738
|
+
* Returns whether this field is set.
|
|
69739
|
+
* @return {boolean}
|
|
69740
|
+
*/
|
|
69741
|
+
proto.clarifai.api.RunnerItem.prototype.hasProcessingInfo = function () {
|
|
69742
|
+
return jspb.Message.getField(this, 3) != null;
|
|
69743
|
+
};
|
|
69744
|
+
/**
|
|
69745
|
+
* optional PostModelOutputsRequest post_model_outputs_request = 4;
|
|
69486
69746
|
* @return {?proto.clarifai.api.PostModelOutputsRequest}
|
|
69487
69747
|
*/
|
|
69488
69748
|
proto.clarifai.api.RunnerItem.prototype.getPostModelOutputsRequest = function () {
|
|
69489
|
-
return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest,
|
|
69749
|
+
return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 4));
|
|
69490
69750
|
};
|
|
69491
69751
|
/**
|
|
69492
69752
|
* @param {?proto.clarifai.api.PostModelOutputsRequest|undefined} value
|
|
69493
69753
|
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
69494
69754
|
*/
|
|
69495
69755
|
proto.clarifai.api.RunnerItem.prototype.setPostModelOutputsRequest = function (value) {
|
|
69496
|
-
return jspb.Message.
|
|
69756
|
+
return jspb.Message.setOneofWrapperField(this, 4, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
|
|
69497
69757
|
};
|
|
69498
69758
|
/**
|
|
69499
69759
|
* Clears the message field making it undefined.
|
|
@@ -69507,7 +69767,29 @@ proto.clarifai.api.RunnerItem.prototype.clearPostModelOutputsRequest = function
|
|
|
69507
69767
|
* @return {boolean}
|
|
69508
69768
|
*/
|
|
69509
69769
|
proto.clarifai.api.RunnerItem.prototype.hasPostModelOutputsRequest = function () {
|
|
69510
|
-
return jspb.Message.getField(this,
|
|
69770
|
+
return jspb.Message.getField(this, 4) != null;
|
|
69771
|
+
};
|
|
69772
|
+
/**
|
|
69773
|
+
* Oneof group definitions for this message. Each group defines the field
|
|
69774
|
+
* numbers belonging to that group. When of these fields' value is set, all
|
|
69775
|
+
* other fields in the group are cleared. During deserialization, if multiple
|
|
69776
|
+
* fields are encountered for a group, only the last value seen will be kept.
|
|
69777
|
+
* @private {!Array<!Array<number>>}
|
|
69778
|
+
* @const
|
|
69779
|
+
*/
|
|
69780
|
+
proto.clarifai.api.RunnerItemOutput.oneofGroups_ = [[1]];
|
|
69781
|
+
/**
|
|
69782
|
+
* @enum {number}
|
|
69783
|
+
*/
|
|
69784
|
+
proto.clarifai.api.RunnerItemOutput.ResponseCase = {
|
|
69785
|
+
RESPONSE_NOT_SET: 0,
|
|
69786
|
+
MULTI_OUTPUT_RESPONSE: 1
|
|
69787
|
+
};
|
|
69788
|
+
/**
|
|
69789
|
+
* @return {proto.clarifai.api.RunnerItemOutput.ResponseCase}
|
|
69790
|
+
*/
|
|
69791
|
+
proto.clarifai.api.RunnerItemOutput.prototype.getResponseCase = function () {
|
|
69792
|
+
return /** @type {proto.clarifai.api.RunnerItemOutput.ResponseCase} */ (jspb.Message.computeOneofCase(this, proto.clarifai.api.RunnerItemOutput.oneofGroups_[0]));
|
|
69511
69793
|
};
|
|
69512
69794
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
69513
69795
|
/**
|
|
@@ -69615,7 +69897,7 @@ proto.clarifai.api.RunnerItemOutput.prototype.getMultiOutputResponse = function
|
|
|
69615
69897
|
* @return {!proto.clarifai.api.RunnerItemOutput} returns this
|
|
69616
69898
|
*/
|
|
69617
69899
|
proto.clarifai.api.RunnerItemOutput.prototype.setMultiOutputResponse = function (value) {
|
|
69618
|
-
return jspb.Message.
|
|
69900
|
+
return jspb.Message.setOneofWrapperField(this, 1, proto.clarifai.api.RunnerItemOutput.oneofGroups_[0], value);
|
|
69619
69901
|
};
|
|
69620
69902
|
/**
|
|
69621
69903
|
* Clears the message field making it undefined.
|
|
@@ -165,6 +165,10 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
165
165
|
RUNNER_INVALID_ARGUMENT: 25602,
|
|
166
166
|
RUNNER_INVALID_REQUEST: 25603,
|
|
167
167
|
RUNNER_NEEDS_RETRY: 25604,
|
|
168
|
+
RUNNER_STREAM_START: 25605,
|
|
169
|
+
RUNNER_STREAM_END: 25606,
|
|
170
|
+
RUNNER_ITEM_CANCELLED: 25607,
|
|
171
|
+
RUNNER_PROCESSING_FAILED: 25608,
|
|
168
172
|
INPUT_DOWNLOAD_SUCCESS: 30000,
|
|
169
173
|
INPUT_DOWNLOAD_PENDING: 30001,
|
|
170
174
|
INPUT_DOWNLOAD_FAILED: 30002,
|