clarifai-web-grpc 11.1.2 → 11.2.0
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 +2772 -4
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +1884 -5
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -2
- package/dist/esm/proto/clarifai/api/resources_pb.js +2772 -4
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +210 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +1884 -5
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -2
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +425 -0
- package/proto/clarifai/api/resources_pb.js +3444 -4
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +60 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +305 -0
- package/proto/clarifai/api/service_pb.d.ts +277 -0
- package/proto/clarifai/api/service_pb.js +2350 -5
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -1
- package/proto/clarifai/auth/scope/scope_pb.js +3 -2
|
@@ -124,6 +124,7 @@ goog.exportSymbol('proto.clarifai.api.GetUserRequest', null, global);
|
|
|
124
124
|
goog.exportSymbol('proto.clarifai.api.GetVideoManifestRequest', null, global);
|
|
125
125
|
goog.exportSymbol('proto.clarifai.api.GetVideoManifestResponse', null, global);
|
|
126
126
|
goog.exportSymbol('proto.clarifai.api.GetWorkflowRequest', null, global);
|
|
127
|
+
goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionEvaluationRequest', null, global);
|
|
127
128
|
goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionRequest', null, global);
|
|
128
129
|
goog.exportSymbol('proto.clarifai.api.IdUpdateSource', null, global);
|
|
129
130
|
goog.exportSymbol('proto.clarifai.api.LabelSubmitConfig', null, global);
|
|
@@ -187,6 +188,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
|
|
|
187
188
|
goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
|
|
188
189
|
goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
|
|
189
190
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
|
|
191
|
+
goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionEvaluationsRequest', null, global);
|
|
190
192
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
|
|
191
193
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
|
|
192
194
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
|
|
@@ -257,6 +259,7 @@ goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
|
|
|
257
259
|
goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
|
|
258
260
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
|
|
259
261
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
|
|
262
|
+
goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionEvaluationResponse', null, global);
|
|
260
263
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
|
|
261
264
|
goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
|
|
262
265
|
goog.exportSymbol('proto.clarifai.api.MyScopesRootRequest', null, global);
|
|
@@ -296,6 +299,7 @@ goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
|
|
|
296
299
|
goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
|
|
297
300
|
goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
|
|
298
301
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
|
|
302
|
+
goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest', null, global);
|
|
299
303
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionsRequest', null, global);
|
|
300
304
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowsRequest', null, global);
|
|
301
305
|
goog.exportSymbol('proto.clarifai.api.PostAnnotationFiltersRequest', null, global);
|
|
@@ -330,6 +334,7 @@ goog.exportSymbol('proto.clarifai.api.PostKeysRequest', null, global);
|
|
|
330
334
|
goog.exportSymbol('proto.clarifai.api.PostKnowledgeGraphsRequest', null, global);
|
|
331
335
|
goog.exportSymbol('proto.clarifai.api.PostLabelOrdersRequest', null, global);
|
|
332
336
|
goog.exportSymbol('proto.clarifai.api.PostLogEntriesRequest', null, global);
|
|
337
|
+
goog.exportSymbol('proto.clarifai.api.PostModelMigrationRequest', null, global);
|
|
333
338
|
goog.exportSymbol('proto.clarifai.api.PostModelOutputsRequest', null, global);
|
|
334
339
|
goog.exportSymbol('proto.clarifai.api.PostModelVersionEvaluationsRequest', null, global);
|
|
335
340
|
goog.exportSymbol('proto.clarifai.api.PostModelVersionMetricsRequest', null, global);
|
|
@@ -357,6 +362,7 @@ goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
|
|
|
357
362
|
goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
|
|
358
363
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
|
|
359
364
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsResponse', null, global);
|
|
365
|
+
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionEvaluationsRequest', null, global);
|
|
360
366
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsPublishRequest', null, global);
|
|
361
367
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsUnPublishRequest', null, global);
|
|
362
368
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowsRequest', null, global);
|
|
@@ -413,9 +419,11 @@ goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
|
|
|
413
419
|
goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
|
|
414
420
|
goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
|
|
415
421
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
|
|
422
|
+
goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
|
|
416
423
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
|
|
417
424
|
goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
|
|
418
425
|
goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
|
|
426
|
+
goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
|
|
419
427
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
|
|
420
428
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
|
|
421
429
|
/**
|
|
@@ -7306,6 +7314,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7306
7314
|
*/
|
|
7307
7315
|
proto.clarifai.api.PostRunnerItemOutputsRequest.displayName = 'proto.clarifai.api.PostRunnerItemOutputsRequest';
|
|
7308
7316
|
}
|
|
7317
|
+
/**
|
|
7318
|
+
* Generated by JsPbCodeGenerator.
|
|
7319
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7320
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7321
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7322
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7323
|
+
* valid.
|
|
7324
|
+
* @extends {jspb.Message}
|
|
7325
|
+
* @constructor
|
|
7326
|
+
*/
|
|
7327
|
+
proto.clarifai.api.SyncStateRequest = function(opt_data) {
|
|
7328
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.SyncStateRequest.repeatedFields_, null);
|
|
7329
|
+
};
|
|
7330
|
+
goog.inherits(proto.clarifai.api.SyncStateRequest, jspb.Message);
|
|
7331
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7332
|
+
/**
|
|
7333
|
+
* @public
|
|
7334
|
+
* @override
|
|
7335
|
+
*/
|
|
7336
|
+
proto.clarifai.api.SyncStateRequest.displayName = 'proto.clarifai.api.SyncStateRequest';
|
|
7337
|
+
}
|
|
7309
7338
|
/**
|
|
7310
7339
|
* Generated by JsPbCodeGenerator.
|
|
7311
7340
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8062,6 +8091,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
8062
8091
|
*/
|
|
8063
8092
|
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
|
|
8064
8093
|
}
|
|
8094
|
+
/**
|
|
8095
|
+
* Generated by JsPbCodeGenerator.
|
|
8096
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8097
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8098
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8099
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8100
|
+
* valid.
|
|
8101
|
+
* @extends {jspb.Message}
|
|
8102
|
+
* @constructor
|
|
8103
|
+
*/
|
|
8104
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest = function(opt_data) {
|
|
8105
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_, null);
|
|
8106
|
+
};
|
|
8107
|
+
goog.inherits(proto.clarifai.api.PostWorkflowVersionEvaluationsRequest, jspb.Message);
|
|
8108
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8109
|
+
/**
|
|
8110
|
+
* @public
|
|
8111
|
+
* @override
|
|
8112
|
+
*/
|
|
8113
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PostWorkflowVersionEvaluationsRequest';
|
|
8114
|
+
}
|
|
8115
|
+
/**
|
|
8116
|
+
* Generated by JsPbCodeGenerator.
|
|
8117
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8118
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8119
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8120
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8121
|
+
* valid.
|
|
8122
|
+
* @extends {jspb.Message}
|
|
8123
|
+
* @constructor
|
|
8124
|
+
*/
|
|
8125
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest = function(opt_data) {
|
|
8126
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_, null);
|
|
8127
|
+
};
|
|
8128
|
+
goog.inherits(proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest, jspb.Message);
|
|
8129
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8130
|
+
/**
|
|
8131
|
+
* @public
|
|
8132
|
+
* @override
|
|
8133
|
+
*/
|
|
8134
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest';
|
|
8135
|
+
}
|
|
8136
|
+
/**
|
|
8137
|
+
* Generated by JsPbCodeGenerator.
|
|
8138
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8139
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8140
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8141
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8142
|
+
* valid.
|
|
8143
|
+
* @extends {jspb.Message}
|
|
8144
|
+
* @constructor
|
|
8145
|
+
*/
|
|
8146
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse = function(opt_data) {
|
|
8147
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_, null);
|
|
8148
|
+
};
|
|
8149
|
+
goog.inherits(proto.clarifai.api.MultiWorkflowVersionEvaluationResponse, jspb.Message);
|
|
8150
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8151
|
+
/**
|
|
8152
|
+
* @public
|
|
8153
|
+
* @override
|
|
8154
|
+
*/
|
|
8155
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.MultiWorkflowVersionEvaluationResponse';
|
|
8156
|
+
}
|
|
8157
|
+
/**
|
|
8158
|
+
* Generated by JsPbCodeGenerator.
|
|
8159
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8160
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8161
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8162
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8163
|
+
* valid.
|
|
8164
|
+
* @extends {jspb.Message}
|
|
8165
|
+
* @constructor
|
|
8166
|
+
*/
|
|
8167
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse = function(opt_data) {
|
|
8168
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8169
|
+
};
|
|
8170
|
+
goog.inherits(proto.clarifai.api.SingleWorkflowVersionEvaluationResponse, jspb.Message);
|
|
8171
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8172
|
+
/**
|
|
8173
|
+
* @public
|
|
8174
|
+
* @override
|
|
8175
|
+
*/
|
|
8176
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.SingleWorkflowVersionEvaluationResponse';
|
|
8177
|
+
}
|
|
8178
|
+
/**
|
|
8179
|
+
* Generated by JsPbCodeGenerator.
|
|
8180
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8181
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8182
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8183
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8184
|
+
* valid.
|
|
8185
|
+
* @extends {jspb.Message}
|
|
8186
|
+
* @constructor
|
|
8187
|
+
*/
|
|
8188
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest = function(opt_data) {
|
|
8189
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8190
|
+
};
|
|
8191
|
+
goog.inherits(proto.clarifai.api.GetWorkflowVersionEvaluationRequest, jspb.Message);
|
|
8192
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8193
|
+
/**
|
|
8194
|
+
* @public
|
|
8195
|
+
* @override
|
|
8196
|
+
*/
|
|
8197
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.displayName = 'proto.clarifai.api.GetWorkflowVersionEvaluationRequest';
|
|
8198
|
+
}
|
|
8199
|
+
/**
|
|
8200
|
+
* Generated by JsPbCodeGenerator.
|
|
8201
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8202
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8203
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8204
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8205
|
+
* valid.
|
|
8206
|
+
* @extends {jspb.Message}
|
|
8207
|
+
* @constructor
|
|
8208
|
+
*/
|
|
8209
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest = function(opt_data) {
|
|
8210
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8211
|
+
};
|
|
8212
|
+
goog.inherits(proto.clarifai.api.ListWorkflowVersionEvaluationsRequest, jspb.Message);
|
|
8213
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8214
|
+
/**
|
|
8215
|
+
* @public
|
|
8216
|
+
* @override
|
|
8217
|
+
*/
|
|
8218
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.ListWorkflowVersionEvaluationsRequest';
|
|
8219
|
+
}
|
|
8220
|
+
/**
|
|
8221
|
+
* Generated by JsPbCodeGenerator.
|
|
8222
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8223
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8224
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8225
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8226
|
+
* valid.
|
|
8227
|
+
* @extends {jspb.Message}
|
|
8228
|
+
* @constructor
|
|
8229
|
+
*/
|
|
8230
|
+
proto.clarifai.api.PostModelMigrationRequest = function(opt_data) {
|
|
8231
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8232
|
+
};
|
|
8233
|
+
goog.inherits(proto.clarifai.api.PostModelMigrationRequest, jspb.Message);
|
|
8234
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8235
|
+
/**
|
|
8236
|
+
* @public
|
|
8237
|
+
* @override
|
|
8238
|
+
*/
|
|
8239
|
+
proto.clarifai.api.PostModelMigrationRequest.displayName = 'proto.clarifai.api.PostModelMigrationRequest';
|
|
8240
|
+
}
|
|
8065
8241
|
|
|
8066
8242
|
|
|
8067
8243
|
|
|
@@ -42997,7 +43173,8 @@ proto.clarifai.api.PostModelVersionsRequest.toObject = function(includeInstance,
|
|
|
42997
43173
|
modelVersionsList: jspb.Message.toObjectList(msg.getModelVersionsList(),
|
|
42998
43174
|
proto_clarifai_api_resources_pb.ModelVersion.toObject, includeInstance),
|
|
42999
43175
|
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
43000
|
-
evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f)
|
|
43176
|
+
evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f),
|
|
43177
|
+
doMigration: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
43001
43178
|
};
|
|
43002
43179
|
|
|
43003
43180
|
if (includeInstance) {
|
|
@@ -43057,6 +43234,10 @@ proto.clarifai.api.PostModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
43057
43234
|
reader.readMessage(value,proto_clarifai_api_resources_pb.EvalInfo.deserializeBinaryFromReader);
|
|
43058
43235
|
msg.setEvalInfo(value);
|
|
43059
43236
|
break;
|
|
43237
|
+
case 11:
|
|
43238
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
43239
|
+
msg.setDoMigration(value);
|
|
43240
|
+
break;
|
|
43060
43241
|
default:
|
|
43061
43242
|
reader.skipField();
|
|
43062
43243
|
break;
|
|
@@ -43124,6 +43305,13 @@ proto.clarifai.api.PostModelVersionsRequest.serializeBinaryToWriter = function(m
|
|
|
43124
43305
|
proto_clarifai_api_resources_pb.EvalInfo.serializeBinaryToWriter
|
|
43125
43306
|
);
|
|
43126
43307
|
}
|
|
43308
|
+
f = message.getDoMigration();
|
|
43309
|
+
if (f) {
|
|
43310
|
+
writer.writeBool(
|
|
43311
|
+
11,
|
|
43312
|
+
f
|
|
43313
|
+
);
|
|
43314
|
+
}
|
|
43127
43315
|
};
|
|
43128
43316
|
|
|
43129
43317
|
|
|
@@ -43275,6 +43463,24 @@ proto.clarifai.api.PostModelVersionsRequest.prototype.hasEvalInfo = function() {
|
|
|
43275
43463
|
};
|
|
43276
43464
|
|
|
43277
43465
|
|
|
43466
|
+
/**
|
|
43467
|
+
* optional bool do_migration = 11;
|
|
43468
|
+
* @return {boolean}
|
|
43469
|
+
*/
|
|
43470
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.getDoMigration = function() {
|
|
43471
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
43472
|
+
};
|
|
43473
|
+
|
|
43474
|
+
|
|
43475
|
+
/**
|
|
43476
|
+
* @param {boolean} value
|
|
43477
|
+
* @return {!proto.clarifai.api.PostModelVersionsRequest} returns this
|
|
43478
|
+
*/
|
|
43479
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.setDoMigration = function(value) {
|
|
43480
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
43481
|
+
};
|
|
43482
|
+
|
|
43483
|
+
|
|
43278
43484
|
|
|
43279
43485
|
/**
|
|
43280
43486
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -86964,7 +87170,9 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInsta
|
|
|
86964
87170
|
proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
86965
87171
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
86966
87172
|
runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
86967
|
-
computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
87173
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
87174
|
+
cloudProviderId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
87175
|
+
region: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
86968
87176
|
};
|
|
86969
87177
|
|
|
86970
87178
|
if (includeInstance) {
|
|
@@ -87036,6 +87244,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
87036
87244
|
var value = /** @type {string} */ (reader.readString());
|
|
87037
87245
|
msg.setComputeClusterId(value);
|
|
87038
87246
|
break;
|
|
87247
|
+
case 9:
|
|
87248
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87249
|
+
msg.setCloudProviderId(value);
|
|
87250
|
+
break;
|
|
87251
|
+
case 10:
|
|
87252
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87253
|
+
msg.setRegion(value);
|
|
87254
|
+
break;
|
|
87039
87255
|
default:
|
|
87040
87256
|
reader.skipField();
|
|
87041
87257
|
break;
|
|
@@ -87124,6 +87340,20 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
87124
87340
|
f
|
|
87125
87341
|
);
|
|
87126
87342
|
}
|
|
87343
|
+
f = message.getCloudProviderId();
|
|
87344
|
+
if (f.length > 0) {
|
|
87345
|
+
writer.writeString(
|
|
87346
|
+
9,
|
|
87347
|
+
f
|
|
87348
|
+
);
|
|
87349
|
+
}
|
|
87350
|
+
f = message.getRegion();
|
|
87351
|
+
if (f.length > 0) {
|
|
87352
|
+
writer.writeString(
|
|
87353
|
+
10,
|
|
87354
|
+
f
|
|
87355
|
+
);
|
|
87356
|
+
}
|
|
87127
87357
|
};
|
|
87128
87358
|
|
|
87129
87359
|
|
|
@@ -87329,6 +87559,391 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setComputeClusterId =
|
|
|
87329
87559
|
};
|
|
87330
87560
|
|
|
87331
87561
|
|
|
87562
|
+
/**
|
|
87563
|
+
* optional string cloud_provider_id = 9;
|
|
87564
|
+
* @return {string}
|
|
87565
|
+
*/
|
|
87566
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getCloudProviderId = function() {
|
|
87567
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
87568
|
+
};
|
|
87569
|
+
|
|
87570
|
+
|
|
87571
|
+
/**
|
|
87572
|
+
* @param {string} value
|
|
87573
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
87574
|
+
*/
|
|
87575
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setCloudProviderId = function(value) {
|
|
87576
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
87577
|
+
};
|
|
87578
|
+
|
|
87579
|
+
|
|
87580
|
+
/**
|
|
87581
|
+
* optional string region = 10;
|
|
87582
|
+
* @return {string}
|
|
87583
|
+
*/
|
|
87584
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRegion = function() {
|
|
87585
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
87586
|
+
};
|
|
87587
|
+
|
|
87588
|
+
|
|
87589
|
+
/**
|
|
87590
|
+
* @param {string} value
|
|
87591
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
87592
|
+
*/
|
|
87593
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRegion = function(value) {
|
|
87594
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
87595
|
+
};
|
|
87596
|
+
|
|
87597
|
+
|
|
87598
|
+
|
|
87599
|
+
/**
|
|
87600
|
+
* List of repeated fields within this message type.
|
|
87601
|
+
* @private {!Array<number>}
|
|
87602
|
+
* @const
|
|
87603
|
+
*/
|
|
87604
|
+
proto.clarifai.api.SyncStateRequest.repeatedFields_ = [2,3,4,5];
|
|
87605
|
+
|
|
87606
|
+
|
|
87607
|
+
|
|
87608
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
87609
|
+
/**
|
|
87610
|
+
* Creates an object representation of this proto.
|
|
87611
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
87612
|
+
* Optional fields that are not set will be set to undefined.
|
|
87613
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
87614
|
+
* For the list of reserved names please see:
|
|
87615
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
87616
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
87617
|
+
* JSPB instance for transitional soy proto support:
|
|
87618
|
+
* http://goto/soy-param-migration
|
|
87619
|
+
* @return {!Object}
|
|
87620
|
+
*/
|
|
87621
|
+
proto.clarifai.api.SyncStateRequest.prototype.toObject = function(opt_includeInstance) {
|
|
87622
|
+
return proto.clarifai.api.SyncStateRequest.toObject(opt_includeInstance, this);
|
|
87623
|
+
};
|
|
87624
|
+
|
|
87625
|
+
|
|
87626
|
+
/**
|
|
87627
|
+
* Static version of the {@see toObject} method.
|
|
87628
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87629
|
+
* the JSPB instance for transitional soy proto support:
|
|
87630
|
+
* http://goto/soy-param-migration
|
|
87631
|
+
* @param {!proto.clarifai.api.SyncStateRequest} msg The msg instance to transform.
|
|
87632
|
+
* @return {!Object}
|
|
87633
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87634
|
+
*/
|
|
87635
|
+
proto.clarifai.api.SyncStateRequest.toObject = function(includeInstance, msg) {
|
|
87636
|
+
var f, obj = {
|
|
87637
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
87638
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(),
|
|
87639
|
+
proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance),
|
|
87640
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(),
|
|
87641
|
+
proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
87642
|
+
runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
|
|
87643
|
+
proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
|
|
87644
|
+
pipelineVersionRunsList: jspb.Message.toObjectList(msg.getPipelineVersionRunsList(),
|
|
87645
|
+
proto_clarifai_api_resources_pb.PipelineVersionRun.toObject, includeInstance)
|
|
87646
|
+
};
|
|
87647
|
+
|
|
87648
|
+
if (includeInstance) {
|
|
87649
|
+
obj.$jspbMessageInstance = msg;
|
|
87650
|
+
}
|
|
87651
|
+
return obj;
|
|
87652
|
+
};
|
|
87653
|
+
}
|
|
87654
|
+
|
|
87655
|
+
|
|
87656
|
+
/**
|
|
87657
|
+
* Deserializes binary data (in protobuf wire format).
|
|
87658
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87659
|
+
* @return {!proto.clarifai.api.SyncStateRequest}
|
|
87660
|
+
*/
|
|
87661
|
+
proto.clarifai.api.SyncStateRequest.deserializeBinary = function(bytes) {
|
|
87662
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
87663
|
+
var msg = new proto.clarifai.api.SyncStateRequest;
|
|
87664
|
+
return proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader(msg, reader);
|
|
87665
|
+
};
|
|
87666
|
+
|
|
87667
|
+
|
|
87668
|
+
/**
|
|
87669
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
87670
|
+
* given reader into the given message object.
|
|
87671
|
+
* @param {!proto.clarifai.api.SyncStateRequest} msg The message object to deserialize into.
|
|
87672
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87673
|
+
* @return {!proto.clarifai.api.SyncStateRequest}
|
|
87674
|
+
*/
|
|
87675
|
+
proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
87676
|
+
while (reader.nextField()) {
|
|
87677
|
+
if (reader.isEndGroup()) {
|
|
87678
|
+
break;
|
|
87679
|
+
}
|
|
87680
|
+
var field = reader.getFieldNumber();
|
|
87681
|
+
switch (field) {
|
|
87682
|
+
case 1:
|
|
87683
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87684
|
+
msg.setOperationType(value);
|
|
87685
|
+
break;
|
|
87686
|
+
case 2:
|
|
87687
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
87688
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
87689
|
+
msg.addComputeClusters(value);
|
|
87690
|
+
break;
|
|
87691
|
+
case 3:
|
|
87692
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
87693
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
87694
|
+
msg.addNodepools(value);
|
|
87695
|
+
break;
|
|
87696
|
+
case 4:
|
|
87697
|
+
var value = new proto_clarifai_api_resources_pb.Runner;
|
|
87698
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
87699
|
+
msg.addRunners(value);
|
|
87700
|
+
break;
|
|
87701
|
+
case 5:
|
|
87702
|
+
var value = new proto_clarifai_api_resources_pb.PipelineVersionRun;
|
|
87703
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.PipelineVersionRun.deserializeBinaryFromReader);
|
|
87704
|
+
msg.addPipelineVersionRuns(value);
|
|
87705
|
+
break;
|
|
87706
|
+
default:
|
|
87707
|
+
reader.skipField();
|
|
87708
|
+
break;
|
|
87709
|
+
}
|
|
87710
|
+
}
|
|
87711
|
+
return msg;
|
|
87712
|
+
};
|
|
87713
|
+
|
|
87714
|
+
|
|
87715
|
+
/**
|
|
87716
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
87717
|
+
* @return {!Uint8Array}
|
|
87718
|
+
*/
|
|
87719
|
+
proto.clarifai.api.SyncStateRequest.prototype.serializeBinary = function() {
|
|
87720
|
+
var writer = new jspb.BinaryWriter();
|
|
87721
|
+
proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter(this, writer);
|
|
87722
|
+
return writer.getResultBuffer();
|
|
87723
|
+
};
|
|
87724
|
+
|
|
87725
|
+
|
|
87726
|
+
/**
|
|
87727
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
87728
|
+
* format), writing to the given BinaryWriter.
|
|
87729
|
+
* @param {!proto.clarifai.api.SyncStateRequest} message
|
|
87730
|
+
* @param {!jspb.BinaryWriter} writer
|
|
87731
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87732
|
+
*/
|
|
87733
|
+
proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter = function(message, writer) {
|
|
87734
|
+
var f = undefined;
|
|
87735
|
+
f = message.getOperationType();
|
|
87736
|
+
if (f.length > 0) {
|
|
87737
|
+
writer.writeString(
|
|
87738
|
+
1,
|
|
87739
|
+
f
|
|
87740
|
+
);
|
|
87741
|
+
}
|
|
87742
|
+
f = message.getComputeClustersList();
|
|
87743
|
+
if (f.length > 0) {
|
|
87744
|
+
writer.writeRepeatedMessage(
|
|
87745
|
+
2,
|
|
87746
|
+
f,
|
|
87747
|
+
proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter
|
|
87748
|
+
);
|
|
87749
|
+
}
|
|
87750
|
+
f = message.getNodepoolsList();
|
|
87751
|
+
if (f.length > 0) {
|
|
87752
|
+
writer.writeRepeatedMessage(
|
|
87753
|
+
3,
|
|
87754
|
+
f,
|
|
87755
|
+
proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter
|
|
87756
|
+
);
|
|
87757
|
+
}
|
|
87758
|
+
f = message.getRunnersList();
|
|
87759
|
+
if (f.length > 0) {
|
|
87760
|
+
writer.writeRepeatedMessage(
|
|
87761
|
+
4,
|
|
87762
|
+
f,
|
|
87763
|
+
proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter
|
|
87764
|
+
);
|
|
87765
|
+
}
|
|
87766
|
+
f = message.getPipelineVersionRunsList();
|
|
87767
|
+
if (f.length > 0) {
|
|
87768
|
+
writer.writeRepeatedMessage(
|
|
87769
|
+
5,
|
|
87770
|
+
f,
|
|
87771
|
+
proto_clarifai_api_resources_pb.PipelineVersionRun.serializeBinaryToWriter
|
|
87772
|
+
);
|
|
87773
|
+
}
|
|
87774
|
+
};
|
|
87775
|
+
|
|
87776
|
+
|
|
87777
|
+
/**
|
|
87778
|
+
* optional string operation_type = 1;
|
|
87779
|
+
* @return {string}
|
|
87780
|
+
*/
|
|
87781
|
+
proto.clarifai.api.SyncStateRequest.prototype.getOperationType = function() {
|
|
87782
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
87783
|
+
};
|
|
87784
|
+
|
|
87785
|
+
|
|
87786
|
+
/**
|
|
87787
|
+
* @param {string} value
|
|
87788
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87789
|
+
*/
|
|
87790
|
+
proto.clarifai.api.SyncStateRequest.prototype.setOperationType = function(value) {
|
|
87791
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
87792
|
+
};
|
|
87793
|
+
|
|
87794
|
+
|
|
87795
|
+
/**
|
|
87796
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
87797
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
87798
|
+
*/
|
|
87799
|
+
proto.clarifai.api.SyncStateRequest.prototype.getComputeClustersList = function() {
|
|
87800
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (
|
|
87801
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
87802
|
+
};
|
|
87803
|
+
|
|
87804
|
+
|
|
87805
|
+
/**
|
|
87806
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
87807
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87808
|
+
*/
|
|
87809
|
+
proto.clarifai.api.SyncStateRequest.prototype.setComputeClustersList = function(value) {
|
|
87810
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
87811
|
+
};
|
|
87812
|
+
|
|
87813
|
+
|
|
87814
|
+
/**
|
|
87815
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
87816
|
+
* @param {number=} opt_index
|
|
87817
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
87818
|
+
*/
|
|
87819
|
+
proto.clarifai.api.SyncStateRequest.prototype.addComputeClusters = function(opt_value, opt_index) {
|
|
87820
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
87821
|
+
};
|
|
87822
|
+
|
|
87823
|
+
|
|
87824
|
+
/**
|
|
87825
|
+
* Clears the list making it empty but non-null.
|
|
87826
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87827
|
+
*/
|
|
87828
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearComputeClustersList = function() {
|
|
87829
|
+
return this.setComputeClustersList([]);
|
|
87830
|
+
};
|
|
87831
|
+
|
|
87832
|
+
|
|
87833
|
+
/**
|
|
87834
|
+
* repeated Nodepool nodepools = 3;
|
|
87835
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
87836
|
+
*/
|
|
87837
|
+
proto.clarifai.api.SyncStateRequest.prototype.getNodepoolsList = function() {
|
|
87838
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (
|
|
87839
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
87840
|
+
};
|
|
87841
|
+
|
|
87842
|
+
|
|
87843
|
+
/**
|
|
87844
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
87845
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87846
|
+
*/
|
|
87847
|
+
proto.clarifai.api.SyncStateRequest.prototype.setNodepoolsList = function(value) {
|
|
87848
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
87849
|
+
};
|
|
87850
|
+
|
|
87851
|
+
|
|
87852
|
+
/**
|
|
87853
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
87854
|
+
* @param {number=} opt_index
|
|
87855
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
87856
|
+
*/
|
|
87857
|
+
proto.clarifai.api.SyncStateRequest.prototype.addNodepools = function(opt_value, opt_index) {
|
|
87858
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
87859
|
+
};
|
|
87860
|
+
|
|
87861
|
+
|
|
87862
|
+
/**
|
|
87863
|
+
* Clears the list making it empty but non-null.
|
|
87864
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87865
|
+
*/
|
|
87866
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearNodepoolsList = function() {
|
|
87867
|
+
return this.setNodepoolsList([]);
|
|
87868
|
+
};
|
|
87869
|
+
|
|
87870
|
+
|
|
87871
|
+
/**
|
|
87872
|
+
* repeated Runner runners = 4;
|
|
87873
|
+
* @return {!Array<!proto.clarifai.api.Runner>}
|
|
87874
|
+
*/
|
|
87875
|
+
proto.clarifai.api.SyncStateRequest.prototype.getRunnersList = function() {
|
|
87876
|
+
return /** @type{!Array<!proto.clarifai.api.Runner>} */ (
|
|
87877
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 4));
|
|
87878
|
+
};
|
|
87879
|
+
|
|
87880
|
+
|
|
87881
|
+
/**
|
|
87882
|
+
* @param {!Array<!proto.clarifai.api.Runner>} value
|
|
87883
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87884
|
+
*/
|
|
87885
|
+
proto.clarifai.api.SyncStateRequest.prototype.setRunnersList = function(value) {
|
|
87886
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
87887
|
+
};
|
|
87888
|
+
|
|
87889
|
+
|
|
87890
|
+
/**
|
|
87891
|
+
* @param {!proto.clarifai.api.Runner=} opt_value
|
|
87892
|
+
* @param {number=} opt_index
|
|
87893
|
+
* @return {!proto.clarifai.api.Runner}
|
|
87894
|
+
*/
|
|
87895
|
+
proto.clarifai.api.SyncStateRequest.prototype.addRunners = function(opt_value, opt_index) {
|
|
87896
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Runner, opt_index);
|
|
87897
|
+
};
|
|
87898
|
+
|
|
87899
|
+
|
|
87900
|
+
/**
|
|
87901
|
+
* Clears the list making it empty but non-null.
|
|
87902
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87903
|
+
*/
|
|
87904
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearRunnersList = function() {
|
|
87905
|
+
return this.setRunnersList([]);
|
|
87906
|
+
};
|
|
87907
|
+
|
|
87908
|
+
|
|
87909
|
+
/**
|
|
87910
|
+
* repeated PipelineVersionRun pipeline_version_runs = 5;
|
|
87911
|
+
* @return {!Array<!proto.clarifai.api.PipelineVersionRun>}
|
|
87912
|
+
*/
|
|
87913
|
+
proto.clarifai.api.SyncStateRequest.prototype.getPipelineVersionRunsList = function() {
|
|
87914
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineVersionRun>} */ (
|
|
87915
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRun, 5));
|
|
87916
|
+
};
|
|
87917
|
+
|
|
87918
|
+
|
|
87919
|
+
/**
|
|
87920
|
+
* @param {!Array<!proto.clarifai.api.PipelineVersionRun>} value
|
|
87921
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87922
|
+
*/
|
|
87923
|
+
proto.clarifai.api.SyncStateRequest.prototype.setPipelineVersionRunsList = function(value) {
|
|
87924
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
87925
|
+
};
|
|
87926
|
+
|
|
87927
|
+
|
|
87928
|
+
/**
|
|
87929
|
+
* @param {!proto.clarifai.api.PipelineVersionRun=} opt_value
|
|
87930
|
+
* @param {number=} opt_index
|
|
87931
|
+
* @return {!proto.clarifai.api.PipelineVersionRun}
|
|
87932
|
+
*/
|
|
87933
|
+
proto.clarifai.api.SyncStateRequest.prototype.addPipelineVersionRuns = function(opt_value, opt_index) {
|
|
87934
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.PipelineVersionRun, opt_index);
|
|
87935
|
+
};
|
|
87936
|
+
|
|
87937
|
+
|
|
87938
|
+
/**
|
|
87939
|
+
* Clears the list making it empty but non-null.
|
|
87940
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
87941
|
+
*/
|
|
87942
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearPipelineVersionRunsList = function() {
|
|
87943
|
+
return this.setPipelineVersionRunsList([]);
|
|
87944
|
+
};
|
|
87945
|
+
|
|
87946
|
+
|
|
87332
87947
|
|
|
87333
87948
|
/**
|
|
87334
87949
|
* List of repeated fields within this message type.
|
|
@@ -87549,14 +88164,15 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
|
|
|
87549
88164
|
* @private {!Array<!Array<number>>}
|
|
87550
88165
|
* @const
|
|
87551
88166
|
*/
|
|
87552
|
-
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4]];
|
|
88167
|
+
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4,5]];
|
|
87553
88168
|
|
|
87554
88169
|
/**
|
|
87555
88170
|
* @enum {number}
|
|
87556
88171
|
*/
|
|
87557
88172
|
proto.clarifai.api.RunnerItem.RequestCase = {
|
|
87558
88173
|
REQUEST_NOT_SET: 0,
|
|
87559
|
-
POST_MODEL_OUTPUTS_REQUEST: 4
|
|
88174
|
+
POST_MODEL_OUTPUTS_REQUEST: 4,
|
|
88175
|
+
SYNC_STATE_REQUEST: 5
|
|
87560
88176
|
};
|
|
87561
88177
|
|
|
87562
88178
|
/**
|
|
@@ -87600,7 +88216,8 @@ proto.clarifai.api.RunnerItem.toObject = function(includeInstance, msg) {
|
|
|
87600
88216
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
87601
88217
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
87602
88218
|
processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
|
|
87603
|
-
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f)
|
|
88219
|
+
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
|
|
88220
|
+
syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
|
|
87604
88221
|
};
|
|
87605
88222
|
|
|
87606
88223
|
if (includeInstance) {
|
|
@@ -87655,6 +88272,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function(msg, reader
|
|
|
87655
88272
|
reader.readMessage(value,proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
|
|
87656
88273
|
msg.setPostModelOutputsRequest(value);
|
|
87657
88274
|
break;
|
|
88275
|
+
case 5:
|
|
88276
|
+
var value = new proto.clarifai.api.SyncStateRequest;
|
|
88277
|
+
reader.readMessage(value,proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
|
|
88278
|
+
msg.setSyncStateRequest(value);
|
|
88279
|
+
break;
|
|
87658
88280
|
default:
|
|
87659
88281
|
reader.skipField();
|
|
87660
88282
|
break;
|
|
@@ -87714,6 +88336,14 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function(message, writer
|
|
|
87714
88336
|
proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter
|
|
87715
88337
|
);
|
|
87716
88338
|
}
|
|
88339
|
+
f = message.getSyncStateRequest();
|
|
88340
|
+
if (f != null) {
|
|
88341
|
+
writer.writeMessage(
|
|
88342
|
+
5,
|
|
88343
|
+
f,
|
|
88344
|
+
proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter
|
|
88345
|
+
);
|
|
88346
|
+
}
|
|
87717
88347
|
};
|
|
87718
88348
|
|
|
87719
88349
|
|
|
@@ -87827,6 +88457,43 @@ proto.clarifai.api.RunnerItem.prototype.hasPostModelOutputsRequest = function()
|
|
|
87827
88457
|
};
|
|
87828
88458
|
|
|
87829
88459
|
|
|
88460
|
+
/**
|
|
88461
|
+
* optional SyncStateRequest sync_state_request = 5;
|
|
88462
|
+
* @return {?proto.clarifai.api.SyncStateRequest}
|
|
88463
|
+
*/
|
|
88464
|
+
proto.clarifai.api.RunnerItem.prototype.getSyncStateRequest = function() {
|
|
88465
|
+
return /** @type{?proto.clarifai.api.SyncStateRequest} */ (
|
|
88466
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.SyncStateRequest, 5));
|
|
88467
|
+
};
|
|
88468
|
+
|
|
88469
|
+
|
|
88470
|
+
/**
|
|
88471
|
+
* @param {?proto.clarifai.api.SyncStateRequest|undefined} value
|
|
88472
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
88473
|
+
*/
|
|
88474
|
+
proto.clarifai.api.RunnerItem.prototype.setSyncStateRequest = function(value) {
|
|
88475
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
|
|
88476
|
+
};
|
|
88477
|
+
|
|
88478
|
+
|
|
88479
|
+
/**
|
|
88480
|
+
* Clears the message field making it undefined.
|
|
88481
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
88482
|
+
*/
|
|
88483
|
+
proto.clarifai.api.RunnerItem.prototype.clearSyncStateRequest = function() {
|
|
88484
|
+
return this.setSyncStateRequest(undefined);
|
|
88485
|
+
};
|
|
88486
|
+
|
|
88487
|
+
|
|
88488
|
+
/**
|
|
88489
|
+
* Returns whether this field is set.
|
|
88490
|
+
* @return {boolean}
|
|
88491
|
+
*/
|
|
88492
|
+
proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function() {
|
|
88493
|
+
return jspb.Message.getField(this, 5) != null;
|
|
88494
|
+
};
|
|
88495
|
+
|
|
88496
|
+
|
|
87830
88497
|
|
|
87831
88498
|
/**
|
|
87832
88499
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -95000,6 +95667,1684 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkfl
|
|
|
95000
95667
|
};
|
|
95001
95668
|
|
|
95002
95669
|
|
|
95670
|
+
|
|
95671
|
+
/**
|
|
95672
|
+
* List of repeated fields within this message type.
|
|
95673
|
+
* @private {!Array<number>}
|
|
95674
|
+
* @const
|
|
95675
|
+
*/
|
|
95676
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
95677
|
+
|
|
95678
|
+
|
|
95679
|
+
|
|
95680
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
95681
|
+
/**
|
|
95682
|
+
* Creates an object representation of this proto.
|
|
95683
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
95684
|
+
* Optional fields that are not set will be set to undefined.
|
|
95685
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
95686
|
+
* For the list of reserved names please see:
|
|
95687
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
95688
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
95689
|
+
* JSPB instance for transitional soy proto support:
|
|
95690
|
+
* http://goto/soy-param-migration
|
|
95691
|
+
* @return {!Object}
|
|
95692
|
+
*/
|
|
95693
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
95694
|
+
return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
|
|
95695
|
+
};
|
|
95696
|
+
|
|
95697
|
+
|
|
95698
|
+
/**
|
|
95699
|
+
* Static version of the {@see toObject} method.
|
|
95700
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
95701
|
+
* the JSPB instance for transitional soy proto support:
|
|
95702
|
+
* http://goto/soy-param-migration
|
|
95703
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
|
|
95704
|
+
* @return {!Object}
|
|
95705
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
95706
|
+
*/
|
|
95707
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject = function(includeInstance, msg) {
|
|
95708
|
+
var f, obj = {
|
|
95709
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
95710
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
95711
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
95712
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
|
|
95713
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
95714
|
+
};
|
|
95715
|
+
|
|
95716
|
+
if (includeInstance) {
|
|
95717
|
+
obj.$jspbMessageInstance = msg;
|
|
95718
|
+
}
|
|
95719
|
+
return obj;
|
|
95720
|
+
};
|
|
95721
|
+
}
|
|
95722
|
+
|
|
95723
|
+
|
|
95724
|
+
/**
|
|
95725
|
+
* Deserializes binary data (in protobuf wire format).
|
|
95726
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
95727
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
|
|
95728
|
+
*/
|
|
95729
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinary = function(bytes) {
|
|
95730
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
95731
|
+
var msg = new proto.clarifai.api.PostWorkflowVersionEvaluationsRequest;
|
|
95732
|
+
return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
95733
|
+
};
|
|
95734
|
+
|
|
95735
|
+
|
|
95736
|
+
/**
|
|
95737
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
95738
|
+
* given reader into the given message object.
|
|
95739
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
|
|
95740
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
95741
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
|
|
95742
|
+
*/
|
|
95743
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
95744
|
+
while (reader.nextField()) {
|
|
95745
|
+
if (reader.isEndGroup()) {
|
|
95746
|
+
break;
|
|
95747
|
+
}
|
|
95748
|
+
var field = reader.getFieldNumber();
|
|
95749
|
+
switch (field) {
|
|
95750
|
+
case 1:
|
|
95751
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
95752
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
95753
|
+
msg.setUserAppId(value);
|
|
95754
|
+
break;
|
|
95755
|
+
case 2:
|
|
95756
|
+
var value = /** @type {string} */ (reader.readString());
|
|
95757
|
+
msg.setWorkflowId(value);
|
|
95758
|
+
break;
|
|
95759
|
+
case 3:
|
|
95760
|
+
var value = /** @type {string} */ (reader.readString());
|
|
95761
|
+
msg.setWorkflowVersionId(value);
|
|
95762
|
+
break;
|
|
95763
|
+
case 4:
|
|
95764
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
95765
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
95766
|
+
msg.addWorkflowVersionEvaluations(value);
|
|
95767
|
+
break;
|
|
95768
|
+
default:
|
|
95769
|
+
reader.skipField();
|
|
95770
|
+
break;
|
|
95771
|
+
}
|
|
95772
|
+
}
|
|
95773
|
+
return msg;
|
|
95774
|
+
};
|
|
95775
|
+
|
|
95776
|
+
|
|
95777
|
+
/**
|
|
95778
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
95779
|
+
* @return {!Uint8Array}
|
|
95780
|
+
*/
|
|
95781
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function() {
|
|
95782
|
+
var writer = new jspb.BinaryWriter();
|
|
95783
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
|
|
95784
|
+
return writer.getResultBuffer();
|
|
95785
|
+
};
|
|
95786
|
+
|
|
95787
|
+
|
|
95788
|
+
/**
|
|
95789
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
95790
|
+
* format), writing to the given BinaryWriter.
|
|
95791
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} message
|
|
95792
|
+
* @param {!jspb.BinaryWriter} writer
|
|
95793
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
95794
|
+
*/
|
|
95795
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
95796
|
+
var f = undefined;
|
|
95797
|
+
f = message.getUserAppId();
|
|
95798
|
+
if (f != null) {
|
|
95799
|
+
writer.writeMessage(
|
|
95800
|
+
1,
|
|
95801
|
+
f,
|
|
95802
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
95803
|
+
);
|
|
95804
|
+
}
|
|
95805
|
+
f = message.getWorkflowId();
|
|
95806
|
+
if (f.length > 0) {
|
|
95807
|
+
writer.writeString(
|
|
95808
|
+
2,
|
|
95809
|
+
f
|
|
95810
|
+
);
|
|
95811
|
+
}
|
|
95812
|
+
f = message.getWorkflowVersionId();
|
|
95813
|
+
if (f.length > 0) {
|
|
95814
|
+
writer.writeString(
|
|
95815
|
+
3,
|
|
95816
|
+
f
|
|
95817
|
+
);
|
|
95818
|
+
}
|
|
95819
|
+
f = message.getWorkflowVersionEvaluationsList();
|
|
95820
|
+
if (f.length > 0) {
|
|
95821
|
+
writer.writeRepeatedMessage(
|
|
95822
|
+
4,
|
|
95823
|
+
f,
|
|
95824
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
|
|
95825
|
+
);
|
|
95826
|
+
}
|
|
95827
|
+
};
|
|
95828
|
+
|
|
95829
|
+
|
|
95830
|
+
/**
|
|
95831
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
95832
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
95833
|
+
*/
|
|
95834
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function() {
|
|
95835
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
95836
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
95837
|
+
};
|
|
95838
|
+
|
|
95839
|
+
|
|
95840
|
+
/**
|
|
95841
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
95842
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
95843
|
+
*/
|
|
95844
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function(value) {
|
|
95845
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
95846
|
+
};
|
|
95847
|
+
|
|
95848
|
+
|
|
95849
|
+
/**
|
|
95850
|
+
* Clears the message field making it undefined.
|
|
95851
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
95852
|
+
*/
|
|
95853
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function() {
|
|
95854
|
+
return this.setUserAppId(undefined);
|
|
95855
|
+
};
|
|
95856
|
+
|
|
95857
|
+
|
|
95858
|
+
/**
|
|
95859
|
+
* Returns whether this field is set.
|
|
95860
|
+
* @return {boolean}
|
|
95861
|
+
*/
|
|
95862
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function() {
|
|
95863
|
+
return jspb.Message.getField(this, 1) != null;
|
|
95864
|
+
};
|
|
95865
|
+
|
|
95866
|
+
|
|
95867
|
+
/**
|
|
95868
|
+
* optional string workflow_id = 2;
|
|
95869
|
+
* @return {string}
|
|
95870
|
+
*/
|
|
95871
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function() {
|
|
95872
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
95873
|
+
};
|
|
95874
|
+
|
|
95875
|
+
|
|
95876
|
+
/**
|
|
95877
|
+
* @param {string} value
|
|
95878
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
95879
|
+
*/
|
|
95880
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function(value) {
|
|
95881
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
95882
|
+
};
|
|
95883
|
+
|
|
95884
|
+
|
|
95885
|
+
/**
|
|
95886
|
+
* optional string workflow_version_id = 3;
|
|
95887
|
+
* @return {string}
|
|
95888
|
+
*/
|
|
95889
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function() {
|
|
95890
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
95891
|
+
};
|
|
95892
|
+
|
|
95893
|
+
|
|
95894
|
+
/**
|
|
95895
|
+
* @param {string} value
|
|
95896
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
95897
|
+
*/
|
|
95898
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function(value) {
|
|
95899
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
95900
|
+
};
|
|
95901
|
+
|
|
95902
|
+
|
|
95903
|
+
/**
|
|
95904
|
+
* repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
|
|
95905
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
|
|
95906
|
+
*/
|
|
95907
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function() {
|
|
95908
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (
|
|
95909
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
|
|
95910
|
+
};
|
|
95911
|
+
|
|
95912
|
+
|
|
95913
|
+
/**
|
|
95914
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
|
|
95915
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
95916
|
+
*/
|
|
95917
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function(value) {
|
|
95918
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
95919
|
+
};
|
|
95920
|
+
|
|
95921
|
+
|
|
95922
|
+
/**
|
|
95923
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
|
|
95924
|
+
* @param {number=} opt_index
|
|
95925
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation}
|
|
95926
|
+
*/
|
|
95927
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function(opt_value, opt_index) {
|
|
95928
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
|
|
95929
|
+
};
|
|
95930
|
+
|
|
95931
|
+
|
|
95932
|
+
/**
|
|
95933
|
+
* Clears the list making it empty but non-null.
|
|
95934
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
95935
|
+
*/
|
|
95936
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function() {
|
|
95937
|
+
return this.setWorkflowVersionEvaluationsList([]);
|
|
95938
|
+
};
|
|
95939
|
+
|
|
95940
|
+
|
|
95941
|
+
|
|
95942
|
+
/**
|
|
95943
|
+
* List of repeated fields within this message type.
|
|
95944
|
+
* @private {!Array<number>}
|
|
95945
|
+
* @const
|
|
95946
|
+
*/
|
|
95947
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
95948
|
+
|
|
95949
|
+
|
|
95950
|
+
|
|
95951
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
95952
|
+
/**
|
|
95953
|
+
* Creates an object representation of this proto.
|
|
95954
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
95955
|
+
* Optional fields that are not set will be set to undefined.
|
|
95956
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
95957
|
+
* For the list of reserved names please see:
|
|
95958
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
95959
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
95960
|
+
* JSPB instance for transitional soy proto support:
|
|
95961
|
+
* http://goto/soy-param-migration
|
|
95962
|
+
* @return {!Object}
|
|
95963
|
+
*/
|
|
95964
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
95965
|
+
return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
|
|
95966
|
+
};
|
|
95967
|
+
|
|
95968
|
+
|
|
95969
|
+
/**
|
|
95970
|
+
* Static version of the {@see toObject} method.
|
|
95971
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
95972
|
+
* the JSPB instance for transitional soy proto support:
|
|
95973
|
+
* http://goto/soy-param-migration
|
|
95974
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
|
|
95975
|
+
* @return {!Object}
|
|
95976
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
95977
|
+
*/
|
|
95978
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject = function(includeInstance, msg) {
|
|
95979
|
+
var f, obj = {
|
|
95980
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
95981
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
95982
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
95983
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
|
|
95984
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
|
|
95985
|
+
action: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
95986
|
+
};
|
|
95987
|
+
|
|
95988
|
+
if (includeInstance) {
|
|
95989
|
+
obj.$jspbMessageInstance = msg;
|
|
95990
|
+
}
|
|
95991
|
+
return obj;
|
|
95992
|
+
};
|
|
95993
|
+
}
|
|
95994
|
+
|
|
95995
|
+
|
|
95996
|
+
/**
|
|
95997
|
+
* Deserializes binary data (in protobuf wire format).
|
|
95998
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
95999
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
|
|
96000
|
+
*/
|
|
96001
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinary = function(bytes) {
|
|
96002
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
96003
|
+
var msg = new proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest;
|
|
96004
|
+
return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
96005
|
+
};
|
|
96006
|
+
|
|
96007
|
+
|
|
96008
|
+
/**
|
|
96009
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
96010
|
+
* given reader into the given message object.
|
|
96011
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
|
|
96012
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
96013
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
|
|
96014
|
+
*/
|
|
96015
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
96016
|
+
while (reader.nextField()) {
|
|
96017
|
+
if (reader.isEndGroup()) {
|
|
96018
|
+
break;
|
|
96019
|
+
}
|
|
96020
|
+
var field = reader.getFieldNumber();
|
|
96021
|
+
switch (field) {
|
|
96022
|
+
case 1:
|
|
96023
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
96024
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
96025
|
+
msg.setUserAppId(value);
|
|
96026
|
+
break;
|
|
96027
|
+
case 2:
|
|
96028
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96029
|
+
msg.setWorkflowId(value);
|
|
96030
|
+
break;
|
|
96031
|
+
case 3:
|
|
96032
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96033
|
+
msg.setWorkflowVersionId(value);
|
|
96034
|
+
break;
|
|
96035
|
+
case 4:
|
|
96036
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
96037
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
96038
|
+
msg.addWorkflowVersionEvaluations(value);
|
|
96039
|
+
break;
|
|
96040
|
+
case 5:
|
|
96041
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96042
|
+
msg.setAction(value);
|
|
96043
|
+
break;
|
|
96044
|
+
default:
|
|
96045
|
+
reader.skipField();
|
|
96046
|
+
break;
|
|
96047
|
+
}
|
|
96048
|
+
}
|
|
96049
|
+
return msg;
|
|
96050
|
+
};
|
|
96051
|
+
|
|
96052
|
+
|
|
96053
|
+
/**
|
|
96054
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
96055
|
+
* @return {!Uint8Array}
|
|
96056
|
+
*/
|
|
96057
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function() {
|
|
96058
|
+
var writer = new jspb.BinaryWriter();
|
|
96059
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
|
|
96060
|
+
return writer.getResultBuffer();
|
|
96061
|
+
};
|
|
96062
|
+
|
|
96063
|
+
|
|
96064
|
+
/**
|
|
96065
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
96066
|
+
* format), writing to the given BinaryWriter.
|
|
96067
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} message
|
|
96068
|
+
* @param {!jspb.BinaryWriter} writer
|
|
96069
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96070
|
+
*/
|
|
96071
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
96072
|
+
var f = undefined;
|
|
96073
|
+
f = message.getUserAppId();
|
|
96074
|
+
if (f != null) {
|
|
96075
|
+
writer.writeMessage(
|
|
96076
|
+
1,
|
|
96077
|
+
f,
|
|
96078
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
96079
|
+
);
|
|
96080
|
+
}
|
|
96081
|
+
f = message.getWorkflowId();
|
|
96082
|
+
if (f.length > 0) {
|
|
96083
|
+
writer.writeString(
|
|
96084
|
+
2,
|
|
96085
|
+
f
|
|
96086
|
+
);
|
|
96087
|
+
}
|
|
96088
|
+
f = message.getWorkflowVersionId();
|
|
96089
|
+
if (f.length > 0) {
|
|
96090
|
+
writer.writeString(
|
|
96091
|
+
3,
|
|
96092
|
+
f
|
|
96093
|
+
);
|
|
96094
|
+
}
|
|
96095
|
+
f = message.getWorkflowVersionEvaluationsList();
|
|
96096
|
+
if (f.length > 0) {
|
|
96097
|
+
writer.writeRepeatedMessage(
|
|
96098
|
+
4,
|
|
96099
|
+
f,
|
|
96100
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
|
|
96101
|
+
);
|
|
96102
|
+
}
|
|
96103
|
+
f = message.getAction();
|
|
96104
|
+
if (f.length > 0) {
|
|
96105
|
+
writer.writeString(
|
|
96106
|
+
5,
|
|
96107
|
+
f
|
|
96108
|
+
);
|
|
96109
|
+
}
|
|
96110
|
+
};
|
|
96111
|
+
|
|
96112
|
+
|
|
96113
|
+
/**
|
|
96114
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
96115
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
96116
|
+
*/
|
|
96117
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function() {
|
|
96118
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
96119
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
96120
|
+
};
|
|
96121
|
+
|
|
96122
|
+
|
|
96123
|
+
/**
|
|
96124
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
96125
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96126
|
+
*/
|
|
96127
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function(value) {
|
|
96128
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
96129
|
+
};
|
|
96130
|
+
|
|
96131
|
+
|
|
96132
|
+
/**
|
|
96133
|
+
* Clears the message field making it undefined.
|
|
96134
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96135
|
+
*/
|
|
96136
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function() {
|
|
96137
|
+
return this.setUserAppId(undefined);
|
|
96138
|
+
};
|
|
96139
|
+
|
|
96140
|
+
|
|
96141
|
+
/**
|
|
96142
|
+
* Returns whether this field is set.
|
|
96143
|
+
* @return {boolean}
|
|
96144
|
+
*/
|
|
96145
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function() {
|
|
96146
|
+
return jspb.Message.getField(this, 1) != null;
|
|
96147
|
+
};
|
|
96148
|
+
|
|
96149
|
+
|
|
96150
|
+
/**
|
|
96151
|
+
* optional string workflow_id = 2;
|
|
96152
|
+
* @return {string}
|
|
96153
|
+
*/
|
|
96154
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function() {
|
|
96155
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
96156
|
+
};
|
|
96157
|
+
|
|
96158
|
+
|
|
96159
|
+
/**
|
|
96160
|
+
* @param {string} value
|
|
96161
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96162
|
+
*/
|
|
96163
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function(value) {
|
|
96164
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
96165
|
+
};
|
|
96166
|
+
|
|
96167
|
+
|
|
96168
|
+
/**
|
|
96169
|
+
* optional string workflow_version_id = 3;
|
|
96170
|
+
* @return {string}
|
|
96171
|
+
*/
|
|
96172
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function() {
|
|
96173
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
96174
|
+
};
|
|
96175
|
+
|
|
96176
|
+
|
|
96177
|
+
/**
|
|
96178
|
+
* @param {string} value
|
|
96179
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96180
|
+
*/
|
|
96181
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function(value) {
|
|
96182
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
96183
|
+
};
|
|
96184
|
+
|
|
96185
|
+
|
|
96186
|
+
/**
|
|
96187
|
+
* repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
|
|
96188
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
|
|
96189
|
+
*/
|
|
96190
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function() {
|
|
96191
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (
|
|
96192
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
|
|
96193
|
+
};
|
|
96194
|
+
|
|
96195
|
+
|
|
96196
|
+
/**
|
|
96197
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
|
|
96198
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96199
|
+
*/
|
|
96200
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function(value) {
|
|
96201
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
96202
|
+
};
|
|
96203
|
+
|
|
96204
|
+
|
|
96205
|
+
/**
|
|
96206
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
|
|
96207
|
+
* @param {number=} opt_index
|
|
96208
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation}
|
|
96209
|
+
*/
|
|
96210
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function(opt_value, opt_index) {
|
|
96211
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
|
|
96212
|
+
};
|
|
96213
|
+
|
|
96214
|
+
|
|
96215
|
+
/**
|
|
96216
|
+
* Clears the list making it empty but non-null.
|
|
96217
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96218
|
+
*/
|
|
96219
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function() {
|
|
96220
|
+
return this.setWorkflowVersionEvaluationsList([]);
|
|
96221
|
+
};
|
|
96222
|
+
|
|
96223
|
+
|
|
96224
|
+
/**
|
|
96225
|
+
* optional string action = 5;
|
|
96226
|
+
* @return {string}
|
|
96227
|
+
*/
|
|
96228
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getAction = function() {
|
|
96229
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
96230
|
+
};
|
|
96231
|
+
|
|
96232
|
+
|
|
96233
|
+
/**
|
|
96234
|
+
* @param {string} value
|
|
96235
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
96236
|
+
*/
|
|
96237
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setAction = function(value) {
|
|
96238
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
96239
|
+
};
|
|
96240
|
+
|
|
96241
|
+
|
|
96242
|
+
|
|
96243
|
+
/**
|
|
96244
|
+
* List of repeated fields within this message type.
|
|
96245
|
+
* @private {!Array<number>}
|
|
96246
|
+
* @const
|
|
96247
|
+
*/
|
|
96248
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_ = [2];
|
|
96249
|
+
|
|
96250
|
+
|
|
96251
|
+
|
|
96252
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
96253
|
+
/**
|
|
96254
|
+
* Creates an object representation of this proto.
|
|
96255
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
96256
|
+
* Optional fields that are not set will be set to undefined.
|
|
96257
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
96258
|
+
* For the list of reserved names please see:
|
|
96259
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
96260
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
96261
|
+
* JSPB instance for transitional soy proto support:
|
|
96262
|
+
* http://goto/soy-param-migration
|
|
96263
|
+
* @return {!Object}
|
|
96264
|
+
*/
|
|
96265
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
96266
|
+
return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
|
|
96267
|
+
};
|
|
96268
|
+
|
|
96269
|
+
|
|
96270
|
+
/**
|
|
96271
|
+
* Static version of the {@see toObject} method.
|
|
96272
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
96273
|
+
* the JSPB instance for transitional soy proto support:
|
|
96274
|
+
* http://goto/soy-param-migration
|
|
96275
|
+
* @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The msg instance to transform.
|
|
96276
|
+
* @return {!Object}
|
|
96277
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96278
|
+
*/
|
|
96279
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject = function(includeInstance, msg) {
|
|
96280
|
+
var f, obj = {
|
|
96281
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
96282
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(),
|
|
96283
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
96284
|
+
};
|
|
96285
|
+
|
|
96286
|
+
if (includeInstance) {
|
|
96287
|
+
obj.$jspbMessageInstance = msg;
|
|
96288
|
+
}
|
|
96289
|
+
return obj;
|
|
96290
|
+
};
|
|
96291
|
+
}
|
|
96292
|
+
|
|
96293
|
+
|
|
96294
|
+
/**
|
|
96295
|
+
* Deserializes binary data (in protobuf wire format).
|
|
96296
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
96297
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
|
|
96298
|
+
*/
|
|
96299
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary = function(bytes) {
|
|
96300
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
96301
|
+
var msg = new proto.clarifai.api.MultiWorkflowVersionEvaluationResponse;
|
|
96302
|
+
return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
|
|
96303
|
+
};
|
|
96304
|
+
|
|
96305
|
+
|
|
96306
|
+
/**
|
|
96307
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
96308
|
+
* given reader into the given message object.
|
|
96309
|
+
* @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
|
|
96310
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
96311
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
|
|
96312
|
+
*/
|
|
96313
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
96314
|
+
while (reader.nextField()) {
|
|
96315
|
+
if (reader.isEndGroup()) {
|
|
96316
|
+
break;
|
|
96317
|
+
}
|
|
96318
|
+
var field = reader.getFieldNumber();
|
|
96319
|
+
switch (field) {
|
|
96320
|
+
case 1:
|
|
96321
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
96322
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
96323
|
+
msg.setStatus(value);
|
|
96324
|
+
break;
|
|
96325
|
+
case 2:
|
|
96326
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
96327
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
96328
|
+
msg.addWorkflowVersionEvaluations(value);
|
|
96329
|
+
break;
|
|
96330
|
+
default:
|
|
96331
|
+
reader.skipField();
|
|
96332
|
+
break;
|
|
96333
|
+
}
|
|
96334
|
+
}
|
|
96335
|
+
return msg;
|
|
96336
|
+
};
|
|
96337
|
+
|
|
96338
|
+
|
|
96339
|
+
/**
|
|
96340
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
96341
|
+
* @return {!Uint8Array}
|
|
96342
|
+
*/
|
|
96343
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.serializeBinary = function() {
|
|
96344
|
+
var writer = new jspb.BinaryWriter();
|
|
96345
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
|
|
96346
|
+
return writer.getResultBuffer();
|
|
96347
|
+
};
|
|
96348
|
+
|
|
96349
|
+
|
|
96350
|
+
/**
|
|
96351
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
96352
|
+
* format), writing to the given BinaryWriter.
|
|
96353
|
+
* @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} message
|
|
96354
|
+
* @param {!jspb.BinaryWriter} writer
|
|
96355
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96356
|
+
*/
|
|
96357
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
96358
|
+
var f = undefined;
|
|
96359
|
+
f = message.getStatus();
|
|
96360
|
+
if (f != null) {
|
|
96361
|
+
writer.writeMessage(
|
|
96362
|
+
1,
|
|
96363
|
+
f,
|
|
96364
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
96365
|
+
);
|
|
96366
|
+
}
|
|
96367
|
+
f = message.getWorkflowVersionEvaluationsList();
|
|
96368
|
+
if (f.length > 0) {
|
|
96369
|
+
writer.writeRepeatedMessage(
|
|
96370
|
+
2,
|
|
96371
|
+
f,
|
|
96372
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
|
|
96373
|
+
);
|
|
96374
|
+
}
|
|
96375
|
+
};
|
|
96376
|
+
|
|
96377
|
+
|
|
96378
|
+
/**
|
|
96379
|
+
* optional status.Status status = 1;
|
|
96380
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
96381
|
+
*/
|
|
96382
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getStatus = function() {
|
|
96383
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
96384
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
96385
|
+
};
|
|
96386
|
+
|
|
96387
|
+
|
|
96388
|
+
/**
|
|
96389
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
96390
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
96391
|
+
*/
|
|
96392
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setStatus = function(value) {
|
|
96393
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
96394
|
+
};
|
|
96395
|
+
|
|
96396
|
+
|
|
96397
|
+
/**
|
|
96398
|
+
* Clears the message field making it undefined.
|
|
96399
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
96400
|
+
*/
|
|
96401
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearStatus = function() {
|
|
96402
|
+
return this.setStatus(undefined);
|
|
96403
|
+
};
|
|
96404
|
+
|
|
96405
|
+
|
|
96406
|
+
/**
|
|
96407
|
+
* Returns whether this field is set.
|
|
96408
|
+
* @return {boolean}
|
|
96409
|
+
*/
|
|
96410
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.hasStatus = function() {
|
|
96411
|
+
return jspb.Message.getField(this, 1) != null;
|
|
96412
|
+
};
|
|
96413
|
+
|
|
96414
|
+
|
|
96415
|
+
/**
|
|
96416
|
+
* repeated WorkflowVersionEvaluation workflow_version_evaluations = 2;
|
|
96417
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
|
|
96418
|
+
*/
|
|
96419
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluationsList = function() {
|
|
96420
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (
|
|
96421
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
|
|
96422
|
+
};
|
|
96423
|
+
|
|
96424
|
+
|
|
96425
|
+
/**
|
|
96426
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
|
|
96427
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
96428
|
+
*/
|
|
96429
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluationsList = function(value) {
|
|
96430
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
96431
|
+
};
|
|
96432
|
+
|
|
96433
|
+
|
|
96434
|
+
/**
|
|
96435
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
|
|
96436
|
+
* @param {number=} opt_index
|
|
96437
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation}
|
|
96438
|
+
*/
|
|
96439
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.addWorkflowVersionEvaluations = function(opt_value, opt_index) {
|
|
96440
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
|
|
96441
|
+
};
|
|
96442
|
+
|
|
96443
|
+
|
|
96444
|
+
/**
|
|
96445
|
+
* Clears the list making it empty but non-null.
|
|
96446
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
96447
|
+
*/
|
|
96448
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluationsList = function() {
|
|
96449
|
+
return this.setWorkflowVersionEvaluationsList([]);
|
|
96450
|
+
};
|
|
96451
|
+
|
|
96452
|
+
|
|
96453
|
+
|
|
96454
|
+
|
|
96455
|
+
|
|
96456
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
96457
|
+
/**
|
|
96458
|
+
* Creates an object representation of this proto.
|
|
96459
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
96460
|
+
* Optional fields that are not set will be set to undefined.
|
|
96461
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
96462
|
+
* For the list of reserved names please see:
|
|
96463
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
96464
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
96465
|
+
* JSPB instance for transitional soy proto support:
|
|
96466
|
+
* http://goto/soy-param-migration
|
|
96467
|
+
* @return {!Object}
|
|
96468
|
+
*/
|
|
96469
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.toObject = function(opt_includeInstance) {
|
|
96470
|
+
return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
|
|
96471
|
+
};
|
|
96472
|
+
|
|
96473
|
+
|
|
96474
|
+
/**
|
|
96475
|
+
* Static version of the {@see toObject} method.
|
|
96476
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
96477
|
+
* the JSPB instance for transitional soy proto support:
|
|
96478
|
+
* http://goto/soy-param-migration
|
|
96479
|
+
* @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The msg instance to transform.
|
|
96480
|
+
* @return {!Object}
|
|
96481
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96482
|
+
*/
|
|
96483
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject = function(includeInstance, msg) {
|
|
96484
|
+
var f, obj = {
|
|
96485
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
96486
|
+
workflowVersionEvaluation: (f = msg.getWorkflowVersionEvaluation()) && proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject(includeInstance, f)
|
|
96487
|
+
};
|
|
96488
|
+
|
|
96489
|
+
if (includeInstance) {
|
|
96490
|
+
obj.$jspbMessageInstance = msg;
|
|
96491
|
+
}
|
|
96492
|
+
return obj;
|
|
96493
|
+
};
|
|
96494
|
+
}
|
|
96495
|
+
|
|
96496
|
+
|
|
96497
|
+
/**
|
|
96498
|
+
* Deserializes binary data (in protobuf wire format).
|
|
96499
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
96500
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
|
|
96501
|
+
*/
|
|
96502
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary = function(bytes) {
|
|
96503
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
96504
|
+
var msg = new proto.clarifai.api.SingleWorkflowVersionEvaluationResponse;
|
|
96505
|
+
return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
|
|
96506
|
+
};
|
|
96507
|
+
|
|
96508
|
+
|
|
96509
|
+
/**
|
|
96510
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
96511
|
+
* given reader into the given message object.
|
|
96512
|
+
* @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
|
|
96513
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
96514
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
|
|
96515
|
+
*/
|
|
96516
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
96517
|
+
while (reader.nextField()) {
|
|
96518
|
+
if (reader.isEndGroup()) {
|
|
96519
|
+
break;
|
|
96520
|
+
}
|
|
96521
|
+
var field = reader.getFieldNumber();
|
|
96522
|
+
switch (field) {
|
|
96523
|
+
case 1:
|
|
96524
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
96525
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
96526
|
+
msg.setStatus(value);
|
|
96527
|
+
break;
|
|
96528
|
+
case 2:
|
|
96529
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
96530
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
96531
|
+
msg.setWorkflowVersionEvaluation(value);
|
|
96532
|
+
break;
|
|
96533
|
+
default:
|
|
96534
|
+
reader.skipField();
|
|
96535
|
+
break;
|
|
96536
|
+
}
|
|
96537
|
+
}
|
|
96538
|
+
return msg;
|
|
96539
|
+
};
|
|
96540
|
+
|
|
96541
|
+
|
|
96542
|
+
/**
|
|
96543
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
96544
|
+
* @return {!Uint8Array}
|
|
96545
|
+
*/
|
|
96546
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.serializeBinary = function() {
|
|
96547
|
+
var writer = new jspb.BinaryWriter();
|
|
96548
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
|
|
96549
|
+
return writer.getResultBuffer();
|
|
96550
|
+
};
|
|
96551
|
+
|
|
96552
|
+
|
|
96553
|
+
/**
|
|
96554
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
96555
|
+
* format), writing to the given BinaryWriter.
|
|
96556
|
+
* @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} message
|
|
96557
|
+
* @param {!jspb.BinaryWriter} writer
|
|
96558
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96559
|
+
*/
|
|
96560
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function(message, writer) {
|
|
96561
|
+
var f = undefined;
|
|
96562
|
+
f = message.getStatus();
|
|
96563
|
+
if (f != null) {
|
|
96564
|
+
writer.writeMessage(
|
|
96565
|
+
1,
|
|
96566
|
+
f,
|
|
96567
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
96568
|
+
);
|
|
96569
|
+
}
|
|
96570
|
+
f = message.getWorkflowVersionEvaluation();
|
|
96571
|
+
if (f != null) {
|
|
96572
|
+
writer.writeMessage(
|
|
96573
|
+
2,
|
|
96574
|
+
f,
|
|
96575
|
+
proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter
|
|
96576
|
+
);
|
|
96577
|
+
}
|
|
96578
|
+
};
|
|
96579
|
+
|
|
96580
|
+
|
|
96581
|
+
/**
|
|
96582
|
+
* optional status.Status status = 1;
|
|
96583
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
96584
|
+
*/
|
|
96585
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getStatus = function() {
|
|
96586
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
96587
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
96588
|
+
};
|
|
96589
|
+
|
|
96590
|
+
|
|
96591
|
+
/**
|
|
96592
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
96593
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
96594
|
+
*/
|
|
96595
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setStatus = function(value) {
|
|
96596
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
96597
|
+
};
|
|
96598
|
+
|
|
96599
|
+
|
|
96600
|
+
/**
|
|
96601
|
+
* Clears the message field making it undefined.
|
|
96602
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
96603
|
+
*/
|
|
96604
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearStatus = function() {
|
|
96605
|
+
return this.setStatus(undefined);
|
|
96606
|
+
};
|
|
96607
|
+
|
|
96608
|
+
|
|
96609
|
+
/**
|
|
96610
|
+
* Returns whether this field is set.
|
|
96611
|
+
* @return {boolean}
|
|
96612
|
+
*/
|
|
96613
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasStatus = function() {
|
|
96614
|
+
return jspb.Message.getField(this, 1) != null;
|
|
96615
|
+
};
|
|
96616
|
+
|
|
96617
|
+
|
|
96618
|
+
/**
|
|
96619
|
+
* optional WorkflowVersionEvaluation workflow_version_evaluation = 2;
|
|
96620
|
+
* @return {?proto.clarifai.api.WorkflowVersionEvaluation}
|
|
96621
|
+
*/
|
|
96622
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluation = function() {
|
|
96623
|
+
return /** @type{?proto.clarifai.api.WorkflowVersionEvaluation} */ (
|
|
96624
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
|
|
96625
|
+
};
|
|
96626
|
+
|
|
96627
|
+
|
|
96628
|
+
/**
|
|
96629
|
+
* @param {?proto.clarifai.api.WorkflowVersionEvaluation|undefined} value
|
|
96630
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
96631
|
+
*/
|
|
96632
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluation = function(value) {
|
|
96633
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
96634
|
+
};
|
|
96635
|
+
|
|
96636
|
+
|
|
96637
|
+
/**
|
|
96638
|
+
* Clears the message field making it undefined.
|
|
96639
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
96640
|
+
*/
|
|
96641
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluation = function() {
|
|
96642
|
+
return this.setWorkflowVersionEvaluation(undefined);
|
|
96643
|
+
};
|
|
96644
|
+
|
|
96645
|
+
|
|
96646
|
+
/**
|
|
96647
|
+
* Returns whether this field is set.
|
|
96648
|
+
* @return {boolean}
|
|
96649
|
+
*/
|
|
96650
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasWorkflowVersionEvaluation = function() {
|
|
96651
|
+
return jspb.Message.getField(this, 2) != null;
|
|
96652
|
+
};
|
|
96653
|
+
|
|
96654
|
+
|
|
96655
|
+
|
|
96656
|
+
|
|
96657
|
+
|
|
96658
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
96659
|
+
/**
|
|
96660
|
+
* Creates an object representation of this proto.
|
|
96661
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
96662
|
+
* Optional fields that are not set will be set to undefined.
|
|
96663
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
96664
|
+
* For the list of reserved names please see:
|
|
96665
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
96666
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
96667
|
+
* JSPB instance for transitional soy proto support:
|
|
96668
|
+
* http://goto/soy-param-migration
|
|
96669
|
+
* @return {!Object}
|
|
96670
|
+
*/
|
|
96671
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
96672
|
+
return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject(opt_includeInstance, this);
|
|
96673
|
+
};
|
|
96674
|
+
|
|
96675
|
+
|
|
96676
|
+
/**
|
|
96677
|
+
* Static version of the {@see toObject} method.
|
|
96678
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
96679
|
+
* the JSPB instance for transitional soy proto support:
|
|
96680
|
+
* http://goto/soy-param-migration
|
|
96681
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The msg instance to transform.
|
|
96682
|
+
* @return {!Object}
|
|
96683
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96684
|
+
*/
|
|
96685
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject = function(includeInstance, msg) {
|
|
96686
|
+
var f, obj = {
|
|
96687
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
96688
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
96689
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
96690
|
+
workflowVersionEvaluationId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
96691
|
+
};
|
|
96692
|
+
|
|
96693
|
+
if (includeInstance) {
|
|
96694
|
+
obj.$jspbMessageInstance = msg;
|
|
96695
|
+
}
|
|
96696
|
+
return obj;
|
|
96697
|
+
};
|
|
96698
|
+
}
|
|
96699
|
+
|
|
96700
|
+
|
|
96701
|
+
/**
|
|
96702
|
+
* Deserializes binary data (in protobuf wire format).
|
|
96703
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
96704
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
|
|
96705
|
+
*/
|
|
96706
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinary = function(bytes) {
|
|
96707
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
96708
|
+
var msg = new proto.clarifai.api.GetWorkflowVersionEvaluationRequest;
|
|
96709
|
+
return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader(msg, reader);
|
|
96710
|
+
};
|
|
96711
|
+
|
|
96712
|
+
|
|
96713
|
+
/**
|
|
96714
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
96715
|
+
* given reader into the given message object.
|
|
96716
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The message object to deserialize into.
|
|
96717
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
96718
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
|
|
96719
|
+
*/
|
|
96720
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
96721
|
+
while (reader.nextField()) {
|
|
96722
|
+
if (reader.isEndGroup()) {
|
|
96723
|
+
break;
|
|
96724
|
+
}
|
|
96725
|
+
var field = reader.getFieldNumber();
|
|
96726
|
+
switch (field) {
|
|
96727
|
+
case 1:
|
|
96728
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
96729
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
96730
|
+
msg.setUserAppId(value);
|
|
96731
|
+
break;
|
|
96732
|
+
case 2:
|
|
96733
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96734
|
+
msg.setWorkflowId(value);
|
|
96735
|
+
break;
|
|
96736
|
+
case 3:
|
|
96737
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96738
|
+
msg.setWorkflowVersionId(value);
|
|
96739
|
+
break;
|
|
96740
|
+
case 4:
|
|
96741
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96742
|
+
msg.setWorkflowVersionEvaluationId(value);
|
|
96743
|
+
break;
|
|
96744
|
+
default:
|
|
96745
|
+
reader.skipField();
|
|
96746
|
+
break;
|
|
96747
|
+
}
|
|
96748
|
+
}
|
|
96749
|
+
return msg;
|
|
96750
|
+
};
|
|
96751
|
+
|
|
96752
|
+
|
|
96753
|
+
/**
|
|
96754
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
96755
|
+
* @return {!Uint8Array}
|
|
96756
|
+
*/
|
|
96757
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.serializeBinary = function() {
|
|
96758
|
+
var writer = new jspb.BinaryWriter();
|
|
96759
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter(this, writer);
|
|
96760
|
+
return writer.getResultBuffer();
|
|
96761
|
+
};
|
|
96762
|
+
|
|
96763
|
+
|
|
96764
|
+
/**
|
|
96765
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
96766
|
+
* format), writing to the given BinaryWriter.
|
|
96767
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} message
|
|
96768
|
+
* @param {!jspb.BinaryWriter} writer
|
|
96769
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96770
|
+
*/
|
|
96771
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
96772
|
+
var f = undefined;
|
|
96773
|
+
f = message.getUserAppId();
|
|
96774
|
+
if (f != null) {
|
|
96775
|
+
writer.writeMessage(
|
|
96776
|
+
1,
|
|
96777
|
+
f,
|
|
96778
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
96779
|
+
);
|
|
96780
|
+
}
|
|
96781
|
+
f = message.getWorkflowId();
|
|
96782
|
+
if (f.length > 0) {
|
|
96783
|
+
writer.writeString(
|
|
96784
|
+
2,
|
|
96785
|
+
f
|
|
96786
|
+
);
|
|
96787
|
+
}
|
|
96788
|
+
f = message.getWorkflowVersionId();
|
|
96789
|
+
if (f.length > 0) {
|
|
96790
|
+
writer.writeString(
|
|
96791
|
+
3,
|
|
96792
|
+
f
|
|
96793
|
+
);
|
|
96794
|
+
}
|
|
96795
|
+
f = message.getWorkflowVersionEvaluationId();
|
|
96796
|
+
if (f.length > 0) {
|
|
96797
|
+
writer.writeString(
|
|
96798
|
+
4,
|
|
96799
|
+
f
|
|
96800
|
+
);
|
|
96801
|
+
}
|
|
96802
|
+
};
|
|
96803
|
+
|
|
96804
|
+
|
|
96805
|
+
/**
|
|
96806
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
96807
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
96808
|
+
*/
|
|
96809
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getUserAppId = function() {
|
|
96810
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
96811
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
96812
|
+
};
|
|
96813
|
+
|
|
96814
|
+
|
|
96815
|
+
/**
|
|
96816
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
96817
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
96818
|
+
*/
|
|
96819
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setUserAppId = function(value) {
|
|
96820
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
96821
|
+
};
|
|
96822
|
+
|
|
96823
|
+
|
|
96824
|
+
/**
|
|
96825
|
+
* Clears the message field making it undefined.
|
|
96826
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
96827
|
+
*/
|
|
96828
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.clearUserAppId = function() {
|
|
96829
|
+
return this.setUserAppId(undefined);
|
|
96830
|
+
};
|
|
96831
|
+
|
|
96832
|
+
|
|
96833
|
+
/**
|
|
96834
|
+
* Returns whether this field is set.
|
|
96835
|
+
* @return {boolean}
|
|
96836
|
+
*/
|
|
96837
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.hasUserAppId = function() {
|
|
96838
|
+
return jspb.Message.getField(this, 1) != null;
|
|
96839
|
+
};
|
|
96840
|
+
|
|
96841
|
+
|
|
96842
|
+
/**
|
|
96843
|
+
* optional string workflow_id = 2;
|
|
96844
|
+
* @return {string}
|
|
96845
|
+
*/
|
|
96846
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowId = function() {
|
|
96847
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
96848
|
+
};
|
|
96849
|
+
|
|
96850
|
+
|
|
96851
|
+
/**
|
|
96852
|
+
* @param {string} value
|
|
96853
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
96854
|
+
*/
|
|
96855
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowId = function(value) {
|
|
96856
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
96857
|
+
};
|
|
96858
|
+
|
|
96859
|
+
|
|
96860
|
+
/**
|
|
96861
|
+
* optional string workflow_version_id = 3;
|
|
96862
|
+
* @return {string}
|
|
96863
|
+
*/
|
|
96864
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionId = function() {
|
|
96865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
96866
|
+
};
|
|
96867
|
+
|
|
96868
|
+
|
|
96869
|
+
/**
|
|
96870
|
+
* @param {string} value
|
|
96871
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
96872
|
+
*/
|
|
96873
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionId = function(value) {
|
|
96874
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
96875
|
+
};
|
|
96876
|
+
|
|
96877
|
+
|
|
96878
|
+
/**
|
|
96879
|
+
* optional string workflow_version_evaluation_id = 4;
|
|
96880
|
+
* @return {string}
|
|
96881
|
+
*/
|
|
96882
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionEvaluationId = function() {
|
|
96883
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
96884
|
+
};
|
|
96885
|
+
|
|
96886
|
+
|
|
96887
|
+
/**
|
|
96888
|
+
* @param {string} value
|
|
96889
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
96890
|
+
*/
|
|
96891
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionEvaluationId = function(value) {
|
|
96892
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
96893
|
+
};
|
|
96894
|
+
|
|
96895
|
+
|
|
96896
|
+
|
|
96897
|
+
|
|
96898
|
+
|
|
96899
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
96900
|
+
/**
|
|
96901
|
+
* Creates an object representation of this proto.
|
|
96902
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
96903
|
+
* Optional fields that are not set will be set to undefined.
|
|
96904
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
96905
|
+
* For the list of reserved names please see:
|
|
96906
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
96907
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
96908
|
+
* JSPB instance for transitional soy proto support:
|
|
96909
|
+
* http://goto/soy-param-migration
|
|
96910
|
+
* @return {!Object}
|
|
96911
|
+
*/
|
|
96912
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
96913
|
+
return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
|
|
96914
|
+
};
|
|
96915
|
+
|
|
96916
|
+
|
|
96917
|
+
/**
|
|
96918
|
+
* Static version of the {@see toObject} method.
|
|
96919
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
96920
|
+
* the JSPB instance for transitional soy proto support:
|
|
96921
|
+
* http://goto/soy-param-migration
|
|
96922
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
|
|
96923
|
+
* @return {!Object}
|
|
96924
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
96925
|
+
*/
|
|
96926
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject = function(includeInstance, msg) {
|
|
96927
|
+
var f, obj = {
|
|
96928
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
96929
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
96930
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
96931
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
96932
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
96933
|
+
};
|
|
96934
|
+
|
|
96935
|
+
if (includeInstance) {
|
|
96936
|
+
obj.$jspbMessageInstance = msg;
|
|
96937
|
+
}
|
|
96938
|
+
return obj;
|
|
96939
|
+
};
|
|
96940
|
+
}
|
|
96941
|
+
|
|
96942
|
+
|
|
96943
|
+
/**
|
|
96944
|
+
* Deserializes binary data (in protobuf wire format).
|
|
96945
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
96946
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
|
|
96947
|
+
*/
|
|
96948
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinary = function(bytes) {
|
|
96949
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
96950
|
+
var msg = new proto.clarifai.api.ListWorkflowVersionEvaluationsRequest;
|
|
96951
|
+
return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
96952
|
+
};
|
|
96953
|
+
|
|
96954
|
+
|
|
96955
|
+
/**
|
|
96956
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
96957
|
+
* given reader into the given message object.
|
|
96958
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
|
|
96959
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
96960
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
|
|
96961
|
+
*/
|
|
96962
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
96963
|
+
while (reader.nextField()) {
|
|
96964
|
+
if (reader.isEndGroup()) {
|
|
96965
|
+
break;
|
|
96966
|
+
}
|
|
96967
|
+
var field = reader.getFieldNumber();
|
|
96968
|
+
switch (field) {
|
|
96969
|
+
case 1:
|
|
96970
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
96971
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
96972
|
+
msg.setUserAppId(value);
|
|
96973
|
+
break;
|
|
96974
|
+
case 2:
|
|
96975
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96976
|
+
msg.setWorkflowId(value);
|
|
96977
|
+
break;
|
|
96978
|
+
case 3:
|
|
96979
|
+
var value = /** @type {string} */ (reader.readString());
|
|
96980
|
+
msg.setWorkflowVersionId(value);
|
|
96981
|
+
break;
|
|
96982
|
+
case 4:
|
|
96983
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
96984
|
+
msg.setPage(value);
|
|
96985
|
+
break;
|
|
96986
|
+
case 5:
|
|
96987
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
96988
|
+
msg.setPerPage(value);
|
|
96989
|
+
break;
|
|
96990
|
+
default:
|
|
96991
|
+
reader.skipField();
|
|
96992
|
+
break;
|
|
96993
|
+
}
|
|
96994
|
+
}
|
|
96995
|
+
return msg;
|
|
96996
|
+
};
|
|
96997
|
+
|
|
96998
|
+
|
|
96999
|
+
/**
|
|
97000
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
97001
|
+
* @return {!Uint8Array}
|
|
97002
|
+
*/
|
|
97003
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function() {
|
|
97004
|
+
var writer = new jspb.BinaryWriter();
|
|
97005
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
|
|
97006
|
+
return writer.getResultBuffer();
|
|
97007
|
+
};
|
|
97008
|
+
|
|
97009
|
+
|
|
97010
|
+
/**
|
|
97011
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
97012
|
+
* format), writing to the given BinaryWriter.
|
|
97013
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} message
|
|
97014
|
+
* @param {!jspb.BinaryWriter} writer
|
|
97015
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
97016
|
+
*/
|
|
97017
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
97018
|
+
var f = undefined;
|
|
97019
|
+
f = message.getUserAppId();
|
|
97020
|
+
if (f != null) {
|
|
97021
|
+
writer.writeMessage(
|
|
97022
|
+
1,
|
|
97023
|
+
f,
|
|
97024
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
97025
|
+
);
|
|
97026
|
+
}
|
|
97027
|
+
f = message.getWorkflowId();
|
|
97028
|
+
if (f.length > 0) {
|
|
97029
|
+
writer.writeString(
|
|
97030
|
+
2,
|
|
97031
|
+
f
|
|
97032
|
+
);
|
|
97033
|
+
}
|
|
97034
|
+
f = message.getWorkflowVersionId();
|
|
97035
|
+
if (f.length > 0) {
|
|
97036
|
+
writer.writeString(
|
|
97037
|
+
3,
|
|
97038
|
+
f
|
|
97039
|
+
);
|
|
97040
|
+
}
|
|
97041
|
+
f = message.getPage();
|
|
97042
|
+
if (f !== 0) {
|
|
97043
|
+
writer.writeUint32(
|
|
97044
|
+
4,
|
|
97045
|
+
f
|
|
97046
|
+
);
|
|
97047
|
+
}
|
|
97048
|
+
f = message.getPerPage();
|
|
97049
|
+
if (f !== 0) {
|
|
97050
|
+
writer.writeUint32(
|
|
97051
|
+
5,
|
|
97052
|
+
f
|
|
97053
|
+
);
|
|
97054
|
+
}
|
|
97055
|
+
};
|
|
97056
|
+
|
|
97057
|
+
|
|
97058
|
+
/**
|
|
97059
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
97060
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
97061
|
+
*/
|
|
97062
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function() {
|
|
97063
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
97064
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
97065
|
+
};
|
|
97066
|
+
|
|
97067
|
+
|
|
97068
|
+
/**
|
|
97069
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
97070
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
97071
|
+
*/
|
|
97072
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function(value) {
|
|
97073
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
97074
|
+
};
|
|
97075
|
+
|
|
97076
|
+
|
|
97077
|
+
/**
|
|
97078
|
+
* Clears the message field making it undefined.
|
|
97079
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
97080
|
+
*/
|
|
97081
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function() {
|
|
97082
|
+
return this.setUserAppId(undefined);
|
|
97083
|
+
};
|
|
97084
|
+
|
|
97085
|
+
|
|
97086
|
+
/**
|
|
97087
|
+
* Returns whether this field is set.
|
|
97088
|
+
* @return {boolean}
|
|
97089
|
+
*/
|
|
97090
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function() {
|
|
97091
|
+
return jspb.Message.getField(this, 1) != null;
|
|
97092
|
+
};
|
|
97093
|
+
|
|
97094
|
+
|
|
97095
|
+
/**
|
|
97096
|
+
* optional string workflow_id = 2;
|
|
97097
|
+
* @return {string}
|
|
97098
|
+
*/
|
|
97099
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function() {
|
|
97100
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
97101
|
+
};
|
|
97102
|
+
|
|
97103
|
+
|
|
97104
|
+
/**
|
|
97105
|
+
* @param {string} value
|
|
97106
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
97107
|
+
*/
|
|
97108
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function(value) {
|
|
97109
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
97110
|
+
};
|
|
97111
|
+
|
|
97112
|
+
|
|
97113
|
+
/**
|
|
97114
|
+
* optional string workflow_version_id = 3;
|
|
97115
|
+
* @return {string}
|
|
97116
|
+
*/
|
|
97117
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function() {
|
|
97118
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
97119
|
+
};
|
|
97120
|
+
|
|
97121
|
+
|
|
97122
|
+
/**
|
|
97123
|
+
* @param {string} value
|
|
97124
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
97125
|
+
*/
|
|
97126
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function(value) {
|
|
97127
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
97128
|
+
};
|
|
97129
|
+
|
|
97130
|
+
|
|
97131
|
+
/**
|
|
97132
|
+
* optional uint32 page = 4;
|
|
97133
|
+
* @return {number}
|
|
97134
|
+
*/
|
|
97135
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPage = function() {
|
|
97136
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
97137
|
+
};
|
|
97138
|
+
|
|
97139
|
+
|
|
97140
|
+
/**
|
|
97141
|
+
* @param {number} value
|
|
97142
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
97143
|
+
*/
|
|
97144
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPage = function(value) {
|
|
97145
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
97146
|
+
};
|
|
97147
|
+
|
|
97148
|
+
|
|
97149
|
+
/**
|
|
97150
|
+
* optional uint32 per_page = 5;
|
|
97151
|
+
* @return {number}
|
|
97152
|
+
*/
|
|
97153
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPerPage = function() {
|
|
97154
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
97155
|
+
};
|
|
97156
|
+
|
|
97157
|
+
|
|
97158
|
+
/**
|
|
97159
|
+
* @param {number} value
|
|
97160
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
97161
|
+
*/
|
|
97162
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPerPage = function(value) {
|
|
97163
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
97164
|
+
};
|
|
97165
|
+
|
|
97166
|
+
|
|
97167
|
+
|
|
97168
|
+
|
|
97169
|
+
|
|
97170
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
97171
|
+
/**
|
|
97172
|
+
* Creates an object representation of this proto.
|
|
97173
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
97174
|
+
* Optional fields that are not set will be set to undefined.
|
|
97175
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
97176
|
+
* For the list of reserved names please see:
|
|
97177
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
97178
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
97179
|
+
* JSPB instance for transitional soy proto support:
|
|
97180
|
+
* http://goto/soy-param-migration
|
|
97181
|
+
* @return {!Object}
|
|
97182
|
+
*/
|
|
97183
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.toObject = function(opt_includeInstance) {
|
|
97184
|
+
return proto.clarifai.api.PostModelMigrationRequest.toObject(opt_includeInstance, this);
|
|
97185
|
+
};
|
|
97186
|
+
|
|
97187
|
+
|
|
97188
|
+
/**
|
|
97189
|
+
* Static version of the {@see toObject} method.
|
|
97190
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
97191
|
+
* the JSPB instance for transitional soy proto support:
|
|
97192
|
+
* http://goto/soy-param-migration
|
|
97193
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} msg The msg instance to transform.
|
|
97194
|
+
* @return {!Object}
|
|
97195
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
97196
|
+
*/
|
|
97197
|
+
proto.clarifai.api.PostModelMigrationRequest.toObject = function(includeInstance, msg) {
|
|
97198
|
+
var f, obj = {
|
|
97199
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
97200
|
+
modelId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
97201
|
+
};
|
|
97202
|
+
|
|
97203
|
+
if (includeInstance) {
|
|
97204
|
+
obj.$jspbMessageInstance = msg;
|
|
97205
|
+
}
|
|
97206
|
+
return obj;
|
|
97207
|
+
};
|
|
97208
|
+
}
|
|
97209
|
+
|
|
97210
|
+
|
|
97211
|
+
/**
|
|
97212
|
+
* Deserializes binary data (in protobuf wire format).
|
|
97213
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
97214
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest}
|
|
97215
|
+
*/
|
|
97216
|
+
proto.clarifai.api.PostModelMigrationRequest.deserializeBinary = function(bytes) {
|
|
97217
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
97218
|
+
var msg = new proto.clarifai.api.PostModelMigrationRequest;
|
|
97219
|
+
return proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader(msg, reader);
|
|
97220
|
+
};
|
|
97221
|
+
|
|
97222
|
+
|
|
97223
|
+
/**
|
|
97224
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
97225
|
+
* given reader into the given message object.
|
|
97226
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} msg The message object to deserialize into.
|
|
97227
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
97228
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest}
|
|
97229
|
+
*/
|
|
97230
|
+
proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
97231
|
+
while (reader.nextField()) {
|
|
97232
|
+
if (reader.isEndGroup()) {
|
|
97233
|
+
break;
|
|
97234
|
+
}
|
|
97235
|
+
var field = reader.getFieldNumber();
|
|
97236
|
+
switch (field) {
|
|
97237
|
+
case 1:
|
|
97238
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
97239
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
97240
|
+
msg.setUserAppId(value);
|
|
97241
|
+
break;
|
|
97242
|
+
case 2:
|
|
97243
|
+
var value = /** @type {string} */ (reader.readString());
|
|
97244
|
+
msg.setModelId(value);
|
|
97245
|
+
break;
|
|
97246
|
+
default:
|
|
97247
|
+
reader.skipField();
|
|
97248
|
+
break;
|
|
97249
|
+
}
|
|
97250
|
+
}
|
|
97251
|
+
return msg;
|
|
97252
|
+
};
|
|
97253
|
+
|
|
97254
|
+
|
|
97255
|
+
/**
|
|
97256
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
97257
|
+
* @return {!Uint8Array}
|
|
97258
|
+
*/
|
|
97259
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.serializeBinary = function() {
|
|
97260
|
+
var writer = new jspb.BinaryWriter();
|
|
97261
|
+
proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter(this, writer);
|
|
97262
|
+
return writer.getResultBuffer();
|
|
97263
|
+
};
|
|
97264
|
+
|
|
97265
|
+
|
|
97266
|
+
/**
|
|
97267
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
97268
|
+
* format), writing to the given BinaryWriter.
|
|
97269
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} message
|
|
97270
|
+
* @param {!jspb.BinaryWriter} writer
|
|
97271
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
97272
|
+
*/
|
|
97273
|
+
proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter = function(message, writer) {
|
|
97274
|
+
var f = undefined;
|
|
97275
|
+
f = message.getUserAppId();
|
|
97276
|
+
if (f != null) {
|
|
97277
|
+
writer.writeMessage(
|
|
97278
|
+
1,
|
|
97279
|
+
f,
|
|
97280
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
97281
|
+
);
|
|
97282
|
+
}
|
|
97283
|
+
f = message.getModelId();
|
|
97284
|
+
if (f.length > 0) {
|
|
97285
|
+
writer.writeString(
|
|
97286
|
+
2,
|
|
97287
|
+
f
|
|
97288
|
+
);
|
|
97289
|
+
}
|
|
97290
|
+
};
|
|
97291
|
+
|
|
97292
|
+
|
|
97293
|
+
/**
|
|
97294
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
97295
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
97296
|
+
*/
|
|
97297
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.getUserAppId = function() {
|
|
97298
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
97299
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
97300
|
+
};
|
|
97301
|
+
|
|
97302
|
+
|
|
97303
|
+
/**
|
|
97304
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
97305
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
|
|
97306
|
+
*/
|
|
97307
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.setUserAppId = function(value) {
|
|
97308
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
97309
|
+
};
|
|
97310
|
+
|
|
97311
|
+
|
|
97312
|
+
/**
|
|
97313
|
+
* Clears the message field making it undefined.
|
|
97314
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
|
|
97315
|
+
*/
|
|
97316
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.clearUserAppId = function() {
|
|
97317
|
+
return this.setUserAppId(undefined);
|
|
97318
|
+
};
|
|
97319
|
+
|
|
97320
|
+
|
|
97321
|
+
/**
|
|
97322
|
+
* Returns whether this field is set.
|
|
97323
|
+
* @return {boolean}
|
|
97324
|
+
*/
|
|
97325
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.hasUserAppId = function() {
|
|
97326
|
+
return jspb.Message.getField(this, 1) != null;
|
|
97327
|
+
};
|
|
97328
|
+
|
|
97329
|
+
|
|
97330
|
+
/**
|
|
97331
|
+
* optional string model_id = 2;
|
|
97332
|
+
* @return {string}
|
|
97333
|
+
*/
|
|
97334
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.getModelId = function() {
|
|
97335
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
97336
|
+
};
|
|
97337
|
+
|
|
97338
|
+
|
|
97339
|
+
/**
|
|
97340
|
+
* @param {string} value
|
|
97341
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
|
|
97342
|
+
*/
|
|
97343
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.setModelId = function(value) {
|
|
97344
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
97345
|
+
};
|
|
97346
|
+
|
|
97347
|
+
|
|
95003
97348
|
/**
|
|
95004
97349
|
* @enum {number}
|
|
95005
97350
|
*/
|