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
|
@@ -122,6 +122,7 @@ goog.exportSymbol('proto.clarifai.api.GetUserRequest', null, global);
|
|
|
122
122
|
goog.exportSymbol('proto.clarifai.api.GetVideoManifestRequest', null, global);
|
|
123
123
|
goog.exportSymbol('proto.clarifai.api.GetVideoManifestResponse', null, global);
|
|
124
124
|
goog.exportSymbol('proto.clarifai.api.GetWorkflowRequest', null, global);
|
|
125
|
+
goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionEvaluationRequest', null, global);
|
|
125
126
|
goog.exportSymbol('proto.clarifai.api.GetWorkflowVersionRequest', null, global);
|
|
126
127
|
goog.exportSymbol('proto.clarifai.api.IdUpdateSource', null, global);
|
|
127
128
|
goog.exportSymbol('proto.clarifai.api.LabelSubmitConfig', null, global);
|
|
@@ -185,6 +186,7 @@ goog.exportSymbol('proto.clarifai.api.ListStatusCodesRequest', null, global);
|
|
|
185
186
|
goog.exportSymbol('proto.clarifai.api.ListTasksRequest', null, global);
|
|
186
187
|
goog.exportSymbol('proto.clarifai.api.ListUploadsRequest', null, global);
|
|
187
188
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowEvaluationTemplatesRequest', null, global);
|
|
189
|
+
goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionEvaluationsRequest', null, global);
|
|
188
190
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowVersionsRequest', null, global);
|
|
189
191
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest', null, global);
|
|
190
192
|
goog.exportSymbol('proto.clarifai.api.ListWorkflowsRequest.SortByCase', null, global);
|
|
@@ -255,6 +257,7 @@ goog.exportSymbol('proto.clarifai.api.MultiUploadResponse', null, global);
|
|
|
255
257
|
goog.exportSymbol('proto.clarifai.api.MultiWorkerResponse', null, global);
|
|
256
258
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse', null, global);
|
|
257
259
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowResponse', null, global);
|
|
260
|
+
goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionEvaluationResponse', null, global);
|
|
258
261
|
goog.exportSymbol('proto.clarifai.api.MultiWorkflowVersionResponse', null, global);
|
|
259
262
|
goog.exportSymbol('proto.clarifai.api.MyScopesRequest', null, global);
|
|
260
263
|
goog.exportSymbol('proto.clarifai.api.MyScopesRootRequest', null, global);
|
|
@@ -294,6 +297,7 @@ goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
|
|
|
294
297
|
goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
|
|
295
298
|
goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
|
|
296
299
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
|
|
300
|
+
goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest', null, global);
|
|
297
301
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowVersionsRequest', null, global);
|
|
298
302
|
goog.exportSymbol('proto.clarifai.api.PatchWorkflowsRequest', null, global);
|
|
299
303
|
goog.exportSymbol('proto.clarifai.api.PostAnnotationFiltersRequest', null, global);
|
|
@@ -328,6 +332,7 @@ goog.exportSymbol('proto.clarifai.api.PostKeysRequest', null, global);
|
|
|
328
332
|
goog.exportSymbol('proto.clarifai.api.PostKnowledgeGraphsRequest', null, global);
|
|
329
333
|
goog.exportSymbol('proto.clarifai.api.PostLabelOrdersRequest', null, global);
|
|
330
334
|
goog.exportSymbol('proto.clarifai.api.PostLogEntriesRequest', null, global);
|
|
335
|
+
goog.exportSymbol('proto.clarifai.api.PostModelMigrationRequest', null, global);
|
|
331
336
|
goog.exportSymbol('proto.clarifai.api.PostModelOutputsRequest', null, global);
|
|
332
337
|
goog.exportSymbol('proto.clarifai.api.PostModelVersionEvaluationsRequest', null, global);
|
|
333
338
|
goog.exportSymbol('proto.clarifai.api.PostModelVersionMetricsRequest', null, global);
|
|
@@ -355,6 +360,7 @@ goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
|
|
|
355
360
|
goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
|
|
356
361
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
|
|
357
362
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsResponse', null, global);
|
|
363
|
+
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionEvaluationsRequest', null, global);
|
|
358
364
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsPublishRequest', null, global);
|
|
359
365
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsUnPublishRequest', null, global);
|
|
360
366
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowsRequest', null, global);
|
|
@@ -411,9 +417,11 @@ goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
|
|
|
411
417
|
goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
|
|
412
418
|
goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
|
|
413
419
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
|
|
420
|
+
goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
|
|
414
421
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
|
|
415
422
|
goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
|
|
416
423
|
goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
|
|
424
|
+
goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
|
|
417
425
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
|
|
418
426
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
|
|
419
427
|
/**
|
|
@@ -7304,6 +7312,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7304
7312
|
*/
|
|
7305
7313
|
proto.clarifai.api.PostRunnerItemOutputsRequest.displayName = 'proto.clarifai.api.PostRunnerItemOutputsRequest';
|
|
7306
7314
|
}
|
|
7315
|
+
/**
|
|
7316
|
+
* Generated by JsPbCodeGenerator.
|
|
7317
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7318
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7319
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7320
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7321
|
+
* valid.
|
|
7322
|
+
* @extends {jspb.Message}
|
|
7323
|
+
* @constructor
|
|
7324
|
+
*/
|
|
7325
|
+
proto.clarifai.api.SyncStateRequest = function (opt_data) {
|
|
7326
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.SyncStateRequest.repeatedFields_, null);
|
|
7327
|
+
};
|
|
7328
|
+
goog.inherits(proto.clarifai.api.SyncStateRequest, jspb.Message);
|
|
7329
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7330
|
+
/**
|
|
7331
|
+
* @public
|
|
7332
|
+
* @override
|
|
7333
|
+
*/
|
|
7334
|
+
proto.clarifai.api.SyncStateRequest.displayName = 'proto.clarifai.api.SyncStateRequest';
|
|
7335
|
+
}
|
|
7307
7336
|
/**
|
|
7308
7337
|
* Generated by JsPbCodeGenerator.
|
|
7309
7338
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8060,6 +8089,153 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
8060
8089
|
*/
|
|
8061
8090
|
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.displayName = 'proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse';
|
|
8062
8091
|
}
|
|
8092
|
+
/**
|
|
8093
|
+
* Generated by JsPbCodeGenerator.
|
|
8094
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8095
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8096
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8097
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8098
|
+
* valid.
|
|
8099
|
+
* @extends {jspb.Message}
|
|
8100
|
+
* @constructor
|
|
8101
|
+
*/
|
|
8102
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest = function (opt_data) {
|
|
8103
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_, null);
|
|
8104
|
+
};
|
|
8105
|
+
goog.inherits(proto.clarifai.api.PostWorkflowVersionEvaluationsRequest, jspb.Message);
|
|
8106
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8107
|
+
/**
|
|
8108
|
+
* @public
|
|
8109
|
+
* @override
|
|
8110
|
+
*/
|
|
8111
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PostWorkflowVersionEvaluationsRequest';
|
|
8112
|
+
}
|
|
8113
|
+
/**
|
|
8114
|
+
* Generated by JsPbCodeGenerator.
|
|
8115
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8116
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8117
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8118
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8119
|
+
* valid.
|
|
8120
|
+
* @extends {jspb.Message}
|
|
8121
|
+
* @constructor
|
|
8122
|
+
*/
|
|
8123
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest = function (opt_data) {
|
|
8124
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_, null);
|
|
8125
|
+
};
|
|
8126
|
+
goog.inherits(proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest, jspb.Message);
|
|
8127
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8128
|
+
/**
|
|
8129
|
+
* @public
|
|
8130
|
+
* @override
|
|
8131
|
+
*/
|
|
8132
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest';
|
|
8133
|
+
}
|
|
8134
|
+
/**
|
|
8135
|
+
* Generated by JsPbCodeGenerator.
|
|
8136
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8137
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8138
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8139
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8140
|
+
* valid.
|
|
8141
|
+
* @extends {jspb.Message}
|
|
8142
|
+
* @constructor
|
|
8143
|
+
*/
|
|
8144
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse = function (opt_data) {
|
|
8145
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_, null);
|
|
8146
|
+
};
|
|
8147
|
+
goog.inherits(proto.clarifai.api.MultiWorkflowVersionEvaluationResponse, jspb.Message);
|
|
8148
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8149
|
+
/**
|
|
8150
|
+
* @public
|
|
8151
|
+
* @override
|
|
8152
|
+
*/
|
|
8153
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.MultiWorkflowVersionEvaluationResponse';
|
|
8154
|
+
}
|
|
8155
|
+
/**
|
|
8156
|
+
* Generated by JsPbCodeGenerator.
|
|
8157
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8158
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8159
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8160
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8161
|
+
* valid.
|
|
8162
|
+
* @extends {jspb.Message}
|
|
8163
|
+
* @constructor
|
|
8164
|
+
*/
|
|
8165
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse = function (opt_data) {
|
|
8166
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8167
|
+
};
|
|
8168
|
+
goog.inherits(proto.clarifai.api.SingleWorkflowVersionEvaluationResponse, jspb.Message);
|
|
8169
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8170
|
+
/**
|
|
8171
|
+
* @public
|
|
8172
|
+
* @override
|
|
8173
|
+
*/
|
|
8174
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.displayName = 'proto.clarifai.api.SingleWorkflowVersionEvaluationResponse';
|
|
8175
|
+
}
|
|
8176
|
+
/**
|
|
8177
|
+
* Generated by JsPbCodeGenerator.
|
|
8178
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8179
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8180
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8181
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8182
|
+
* valid.
|
|
8183
|
+
* @extends {jspb.Message}
|
|
8184
|
+
* @constructor
|
|
8185
|
+
*/
|
|
8186
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest = function (opt_data) {
|
|
8187
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8188
|
+
};
|
|
8189
|
+
goog.inherits(proto.clarifai.api.GetWorkflowVersionEvaluationRequest, jspb.Message);
|
|
8190
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8191
|
+
/**
|
|
8192
|
+
* @public
|
|
8193
|
+
* @override
|
|
8194
|
+
*/
|
|
8195
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.displayName = 'proto.clarifai.api.GetWorkflowVersionEvaluationRequest';
|
|
8196
|
+
}
|
|
8197
|
+
/**
|
|
8198
|
+
* Generated by JsPbCodeGenerator.
|
|
8199
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8200
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8201
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8202
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8203
|
+
* valid.
|
|
8204
|
+
* @extends {jspb.Message}
|
|
8205
|
+
* @constructor
|
|
8206
|
+
*/
|
|
8207
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest = function (opt_data) {
|
|
8208
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8209
|
+
};
|
|
8210
|
+
goog.inherits(proto.clarifai.api.ListWorkflowVersionEvaluationsRequest, jspb.Message);
|
|
8211
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8212
|
+
/**
|
|
8213
|
+
* @public
|
|
8214
|
+
* @override
|
|
8215
|
+
*/
|
|
8216
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.displayName = 'proto.clarifai.api.ListWorkflowVersionEvaluationsRequest';
|
|
8217
|
+
}
|
|
8218
|
+
/**
|
|
8219
|
+
* Generated by JsPbCodeGenerator.
|
|
8220
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8221
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8222
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8223
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8224
|
+
* valid.
|
|
8225
|
+
* @extends {jspb.Message}
|
|
8226
|
+
* @constructor
|
|
8227
|
+
*/
|
|
8228
|
+
proto.clarifai.api.PostModelMigrationRequest = function (opt_data) {
|
|
8229
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
8230
|
+
};
|
|
8231
|
+
goog.inherits(proto.clarifai.api.PostModelMigrationRequest, jspb.Message);
|
|
8232
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8233
|
+
/**
|
|
8234
|
+
* @public
|
|
8235
|
+
* @override
|
|
8236
|
+
*/
|
|
8237
|
+
proto.clarifai.api.PostModelMigrationRequest.displayName = 'proto.clarifai.api.PostModelMigrationRequest';
|
|
8238
|
+
}
|
|
8063
8239
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
8064
8240
|
/**
|
|
8065
8241
|
* Creates an object representation of this proto.
|
|
@@ -35690,7 +35866,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
35690
35866
|
modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
35691
35867
|
modelVersionsList: jspb.Message.toObjectList(msg.getModelVersionsList(), proto_clarifai_api_resources_pb.ModelVersion.toObject, includeInstance),
|
|
35692
35868
|
description: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
35693
|
-
evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f)
|
|
35869
|
+
evalInfo: (f = msg.getEvalInfo()) && proto_clarifai_api_resources_pb.EvalInfo.toObject(includeInstance, f),
|
|
35870
|
+
doMigration: jspb.Message.getBooleanFieldWithDefault(msg, 11, false)
|
|
35694
35871
|
};
|
|
35695
35872
|
if (includeInstance) {
|
|
35696
35873
|
obj.$jspbMessageInstance = msg;
|
|
@@ -35745,6 +35922,10 @@ proto.clarifai.api.PostModelVersionsRequest.deserializeBinaryFromReader = functi
|
|
|
35745
35922
|
reader.readMessage(value, proto_clarifai_api_resources_pb.EvalInfo.deserializeBinaryFromReader);
|
|
35746
35923
|
msg.setEvalInfo(value);
|
|
35747
35924
|
break;
|
|
35925
|
+
case 11:
|
|
35926
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
35927
|
+
msg.setDoMigration(value);
|
|
35928
|
+
break;
|
|
35748
35929
|
default:
|
|
35749
35930
|
reader.skipField();
|
|
35750
35931
|
break;
|
|
@@ -35790,6 +35971,10 @@ proto.clarifai.api.PostModelVersionsRequest.serializeBinaryToWriter = function (
|
|
|
35790
35971
|
if (f != null) {
|
|
35791
35972
|
writer.writeMessage(10, f, proto_clarifai_api_resources_pb.EvalInfo.serializeBinaryToWriter);
|
|
35792
35973
|
}
|
|
35974
|
+
f = message.getDoMigration();
|
|
35975
|
+
if (f) {
|
|
35976
|
+
writer.writeBool(11, f);
|
|
35977
|
+
}
|
|
35793
35978
|
};
|
|
35794
35979
|
/**
|
|
35795
35980
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -35904,6 +36089,20 @@ proto.clarifai.api.PostModelVersionsRequest.prototype.clearEvalInfo = function (
|
|
|
35904
36089
|
proto.clarifai.api.PostModelVersionsRequest.prototype.hasEvalInfo = function () {
|
|
35905
36090
|
return jspb.Message.getField(this, 10) != null;
|
|
35906
36091
|
};
|
|
36092
|
+
/**
|
|
36093
|
+
* optional bool do_migration = 11;
|
|
36094
|
+
* @return {boolean}
|
|
36095
|
+
*/
|
|
36096
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.getDoMigration = function () {
|
|
36097
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 11, false));
|
|
36098
|
+
};
|
|
36099
|
+
/**
|
|
36100
|
+
* @param {boolean} value
|
|
36101
|
+
* @return {!proto.clarifai.api.PostModelVersionsRequest} returns this
|
|
36102
|
+
*/
|
|
36103
|
+
proto.clarifai.api.PostModelVersionsRequest.prototype.setDoMigration = function (value) {
|
|
36104
|
+
return jspb.Message.setProto3BooleanField(this, 11, value);
|
|
36105
|
+
};
|
|
35907
36106
|
/**
|
|
35908
36107
|
* Oneof group definitions for this message. Each group defines the field
|
|
35909
36108
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -70496,7 +70695,9 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70496
70695
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(), proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
70497
70696
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
70498
70697
|
runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
70499
|
-
computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
70698
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
70699
|
+
cloudProviderId: jspb.Message.getFieldWithDefault(msg, 9, ""),
|
|
70700
|
+
region: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
70500
70701
|
};
|
|
70501
70702
|
if (includeInstance) {
|
|
70502
70703
|
obj.$jspbMessageInstance = msg;
|
|
@@ -70563,6 +70764,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
70563
70764
|
var value = /** @type {string} */ (reader.readString());
|
|
70564
70765
|
msg.setComputeClusterId(value);
|
|
70565
70766
|
break;
|
|
70767
|
+
case 9:
|
|
70768
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70769
|
+
msg.setCloudProviderId(value);
|
|
70770
|
+
break;
|
|
70771
|
+
case 10:
|
|
70772
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70773
|
+
msg.setRegion(value);
|
|
70774
|
+
break;
|
|
70566
70775
|
default:
|
|
70567
70776
|
reader.skipField();
|
|
70568
70777
|
break;
|
|
@@ -70620,6 +70829,14 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
70620
70829
|
if (f.length > 0) {
|
|
70621
70830
|
writer.writeString(8, f);
|
|
70622
70831
|
}
|
|
70832
|
+
f = message.getCloudProviderId();
|
|
70833
|
+
if (f.length > 0) {
|
|
70834
|
+
writer.writeString(9, f);
|
|
70835
|
+
}
|
|
70836
|
+
f = message.getRegion();
|
|
70837
|
+
if (f.length > 0) {
|
|
70838
|
+
writer.writeString(10, f);
|
|
70839
|
+
}
|
|
70623
70840
|
};
|
|
70624
70841
|
/**
|
|
70625
70842
|
* optional UserAppIDSet user_app_id = 1;
|
|
@@ -70776,6 +70993,303 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getComputeClusterId =
|
|
|
70776
70993
|
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setComputeClusterId = function (value) {
|
|
70777
70994
|
return jspb.Message.setProto3StringField(this, 8, value);
|
|
70778
70995
|
};
|
|
70996
|
+
/**
|
|
70997
|
+
* optional string cloud_provider_id = 9;
|
|
70998
|
+
* @return {string}
|
|
70999
|
+
*/
|
|
71000
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getCloudProviderId = function () {
|
|
71001
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 9, ""));
|
|
71002
|
+
};
|
|
71003
|
+
/**
|
|
71004
|
+
* @param {string} value
|
|
71005
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
71006
|
+
*/
|
|
71007
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setCloudProviderId = function (value) {
|
|
71008
|
+
return jspb.Message.setProto3StringField(this, 9, value);
|
|
71009
|
+
};
|
|
71010
|
+
/**
|
|
71011
|
+
* optional string region = 10;
|
|
71012
|
+
* @return {string}
|
|
71013
|
+
*/
|
|
71014
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getRegion = function () {
|
|
71015
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
71016
|
+
};
|
|
71017
|
+
/**
|
|
71018
|
+
* @param {string} value
|
|
71019
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
71020
|
+
*/
|
|
71021
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRegion = function (value) {
|
|
71022
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
71023
|
+
};
|
|
71024
|
+
/**
|
|
71025
|
+
* List of repeated fields within this message type.
|
|
71026
|
+
* @private {!Array<number>}
|
|
71027
|
+
* @const
|
|
71028
|
+
*/
|
|
71029
|
+
proto.clarifai.api.SyncStateRequest.repeatedFields_ = [2, 3, 4, 5];
|
|
71030
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
71031
|
+
/**
|
|
71032
|
+
* Creates an object representation of this proto.
|
|
71033
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
71034
|
+
* Optional fields that are not set will be set to undefined.
|
|
71035
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
71036
|
+
* For the list of reserved names please see:
|
|
71037
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
71038
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
71039
|
+
* JSPB instance for transitional soy proto support:
|
|
71040
|
+
* http://goto/soy-param-migration
|
|
71041
|
+
* @return {!Object}
|
|
71042
|
+
*/
|
|
71043
|
+
proto.clarifai.api.SyncStateRequest.prototype.toObject = function (opt_includeInstance) {
|
|
71044
|
+
return proto.clarifai.api.SyncStateRequest.toObject(opt_includeInstance, this);
|
|
71045
|
+
};
|
|
71046
|
+
/**
|
|
71047
|
+
* Static version of the {@see toObject} method.
|
|
71048
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
71049
|
+
* the JSPB instance for transitional soy proto support:
|
|
71050
|
+
* http://goto/soy-param-migration
|
|
71051
|
+
* @param {!proto.clarifai.api.SyncStateRequest} msg The msg instance to transform.
|
|
71052
|
+
* @return {!Object}
|
|
71053
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71054
|
+
*/
|
|
71055
|
+
proto.clarifai.api.SyncStateRequest.toObject = function (includeInstance, msg) {
|
|
71056
|
+
var f, obj = {
|
|
71057
|
+
operationType: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
71058
|
+
computeClustersList: jspb.Message.toObjectList(msg.getComputeClustersList(), proto_clarifai_api_resources_pb.ComputeCluster.toObject, includeInstance),
|
|
71059
|
+
nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
|
|
71060
|
+
runnersList: jspb.Message.toObjectList(msg.getRunnersList(), proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
|
|
71061
|
+
pipelineVersionRunsList: jspb.Message.toObjectList(msg.getPipelineVersionRunsList(), proto_clarifai_api_resources_pb.PipelineVersionRun.toObject, includeInstance)
|
|
71062
|
+
};
|
|
71063
|
+
if (includeInstance) {
|
|
71064
|
+
obj.$jspbMessageInstance = msg;
|
|
71065
|
+
}
|
|
71066
|
+
return obj;
|
|
71067
|
+
};
|
|
71068
|
+
}
|
|
71069
|
+
/**
|
|
71070
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71071
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71072
|
+
* @return {!proto.clarifai.api.SyncStateRequest}
|
|
71073
|
+
*/
|
|
71074
|
+
proto.clarifai.api.SyncStateRequest.deserializeBinary = function (bytes) {
|
|
71075
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71076
|
+
var msg = new proto.clarifai.api.SyncStateRequest;
|
|
71077
|
+
return proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader(msg, reader);
|
|
71078
|
+
};
|
|
71079
|
+
/**
|
|
71080
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71081
|
+
* given reader into the given message object.
|
|
71082
|
+
* @param {!proto.clarifai.api.SyncStateRequest} msg The message object to deserialize into.
|
|
71083
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71084
|
+
* @return {!proto.clarifai.api.SyncStateRequest}
|
|
71085
|
+
*/
|
|
71086
|
+
proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
71087
|
+
while (reader.nextField()) {
|
|
71088
|
+
if (reader.isEndGroup()) {
|
|
71089
|
+
break;
|
|
71090
|
+
}
|
|
71091
|
+
var field = reader.getFieldNumber();
|
|
71092
|
+
switch (field) {
|
|
71093
|
+
case 1:
|
|
71094
|
+
var value = /** @type {string} */ (reader.readString());
|
|
71095
|
+
msg.setOperationType(value);
|
|
71096
|
+
break;
|
|
71097
|
+
case 2:
|
|
71098
|
+
var value = new proto_clarifai_api_resources_pb.ComputeCluster;
|
|
71099
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.ComputeCluster.deserializeBinaryFromReader);
|
|
71100
|
+
msg.addComputeClusters(value);
|
|
71101
|
+
break;
|
|
71102
|
+
case 3:
|
|
71103
|
+
var value = new proto_clarifai_api_resources_pb.Nodepool;
|
|
71104
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
|
|
71105
|
+
msg.addNodepools(value);
|
|
71106
|
+
break;
|
|
71107
|
+
case 4:
|
|
71108
|
+
var value = new proto_clarifai_api_resources_pb.Runner;
|
|
71109
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
71110
|
+
msg.addRunners(value);
|
|
71111
|
+
break;
|
|
71112
|
+
case 5:
|
|
71113
|
+
var value = new proto_clarifai_api_resources_pb.PipelineVersionRun;
|
|
71114
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineVersionRun.deserializeBinaryFromReader);
|
|
71115
|
+
msg.addPipelineVersionRuns(value);
|
|
71116
|
+
break;
|
|
71117
|
+
default:
|
|
71118
|
+
reader.skipField();
|
|
71119
|
+
break;
|
|
71120
|
+
}
|
|
71121
|
+
}
|
|
71122
|
+
return msg;
|
|
71123
|
+
};
|
|
71124
|
+
/**
|
|
71125
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71126
|
+
* @return {!Uint8Array}
|
|
71127
|
+
*/
|
|
71128
|
+
proto.clarifai.api.SyncStateRequest.prototype.serializeBinary = function () {
|
|
71129
|
+
var writer = new jspb.BinaryWriter();
|
|
71130
|
+
proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter(this, writer);
|
|
71131
|
+
return writer.getResultBuffer();
|
|
71132
|
+
};
|
|
71133
|
+
/**
|
|
71134
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71135
|
+
* format), writing to the given BinaryWriter.
|
|
71136
|
+
* @param {!proto.clarifai.api.SyncStateRequest} message
|
|
71137
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71138
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71139
|
+
*/
|
|
71140
|
+
proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter = function (message, writer) {
|
|
71141
|
+
var f = undefined;
|
|
71142
|
+
f = message.getOperationType();
|
|
71143
|
+
if (f.length > 0) {
|
|
71144
|
+
writer.writeString(1, f);
|
|
71145
|
+
}
|
|
71146
|
+
f = message.getComputeClustersList();
|
|
71147
|
+
if (f.length > 0) {
|
|
71148
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.ComputeCluster.serializeBinaryToWriter);
|
|
71149
|
+
}
|
|
71150
|
+
f = message.getNodepoolsList();
|
|
71151
|
+
if (f.length > 0) {
|
|
71152
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
|
|
71153
|
+
}
|
|
71154
|
+
f = message.getRunnersList();
|
|
71155
|
+
if (f.length > 0) {
|
|
71156
|
+
writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter);
|
|
71157
|
+
}
|
|
71158
|
+
f = message.getPipelineVersionRunsList();
|
|
71159
|
+
if (f.length > 0) {
|
|
71160
|
+
writer.writeRepeatedMessage(5, f, proto_clarifai_api_resources_pb.PipelineVersionRun.serializeBinaryToWriter);
|
|
71161
|
+
}
|
|
71162
|
+
};
|
|
71163
|
+
/**
|
|
71164
|
+
* optional string operation_type = 1;
|
|
71165
|
+
* @return {string}
|
|
71166
|
+
*/
|
|
71167
|
+
proto.clarifai.api.SyncStateRequest.prototype.getOperationType = function () {
|
|
71168
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
71169
|
+
};
|
|
71170
|
+
/**
|
|
71171
|
+
* @param {string} value
|
|
71172
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71173
|
+
*/
|
|
71174
|
+
proto.clarifai.api.SyncStateRequest.prototype.setOperationType = function (value) {
|
|
71175
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
71176
|
+
};
|
|
71177
|
+
/**
|
|
71178
|
+
* repeated ComputeCluster compute_clusters = 2;
|
|
71179
|
+
* @return {!Array<!proto.clarifai.api.ComputeCluster>}
|
|
71180
|
+
*/
|
|
71181
|
+
proto.clarifai.api.SyncStateRequest.prototype.getComputeClustersList = function () {
|
|
71182
|
+
return /** @type{!Array<!proto.clarifai.api.ComputeCluster>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.ComputeCluster, 2));
|
|
71183
|
+
};
|
|
71184
|
+
/**
|
|
71185
|
+
* @param {!Array<!proto.clarifai.api.ComputeCluster>} value
|
|
71186
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71187
|
+
*/
|
|
71188
|
+
proto.clarifai.api.SyncStateRequest.prototype.setComputeClustersList = function (value) {
|
|
71189
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
71190
|
+
};
|
|
71191
|
+
/**
|
|
71192
|
+
* @param {!proto.clarifai.api.ComputeCluster=} opt_value
|
|
71193
|
+
* @param {number=} opt_index
|
|
71194
|
+
* @return {!proto.clarifai.api.ComputeCluster}
|
|
71195
|
+
*/
|
|
71196
|
+
proto.clarifai.api.SyncStateRequest.prototype.addComputeClusters = function (opt_value, opt_index) {
|
|
71197
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.ComputeCluster, opt_index);
|
|
71198
|
+
};
|
|
71199
|
+
/**
|
|
71200
|
+
* Clears the list making it empty but non-null.
|
|
71201
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71202
|
+
*/
|
|
71203
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearComputeClustersList = function () {
|
|
71204
|
+
return this.setComputeClustersList([]);
|
|
71205
|
+
};
|
|
71206
|
+
/**
|
|
71207
|
+
* repeated Nodepool nodepools = 3;
|
|
71208
|
+
* @return {!Array<!proto.clarifai.api.Nodepool>}
|
|
71209
|
+
*/
|
|
71210
|
+
proto.clarifai.api.SyncStateRequest.prototype.getNodepoolsList = function () {
|
|
71211
|
+
return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
|
|
71212
|
+
};
|
|
71213
|
+
/**
|
|
71214
|
+
* @param {!Array<!proto.clarifai.api.Nodepool>} value
|
|
71215
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71216
|
+
*/
|
|
71217
|
+
proto.clarifai.api.SyncStateRequest.prototype.setNodepoolsList = function (value) {
|
|
71218
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
71219
|
+
};
|
|
71220
|
+
/**
|
|
71221
|
+
* @param {!proto.clarifai.api.Nodepool=} opt_value
|
|
71222
|
+
* @param {number=} opt_index
|
|
71223
|
+
* @return {!proto.clarifai.api.Nodepool}
|
|
71224
|
+
*/
|
|
71225
|
+
proto.clarifai.api.SyncStateRequest.prototype.addNodepools = function (opt_value, opt_index) {
|
|
71226
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
|
|
71227
|
+
};
|
|
71228
|
+
/**
|
|
71229
|
+
* Clears the list making it empty but non-null.
|
|
71230
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71231
|
+
*/
|
|
71232
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearNodepoolsList = function () {
|
|
71233
|
+
return this.setNodepoolsList([]);
|
|
71234
|
+
};
|
|
71235
|
+
/**
|
|
71236
|
+
* repeated Runner runners = 4;
|
|
71237
|
+
* @return {!Array<!proto.clarifai.api.Runner>}
|
|
71238
|
+
*/
|
|
71239
|
+
proto.clarifai.api.SyncStateRequest.prototype.getRunnersList = function () {
|
|
71240
|
+
return /** @type{!Array<!proto.clarifai.api.Runner>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Runner, 4));
|
|
71241
|
+
};
|
|
71242
|
+
/**
|
|
71243
|
+
* @param {!Array<!proto.clarifai.api.Runner>} value
|
|
71244
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71245
|
+
*/
|
|
71246
|
+
proto.clarifai.api.SyncStateRequest.prototype.setRunnersList = function (value) {
|
|
71247
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
71248
|
+
};
|
|
71249
|
+
/**
|
|
71250
|
+
* @param {!proto.clarifai.api.Runner=} opt_value
|
|
71251
|
+
* @param {number=} opt_index
|
|
71252
|
+
* @return {!proto.clarifai.api.Runner}
|
|
71253
|
+
*/
|
|
71254
|
+
proto.clarifai.api.SyncStateRequest.prototype.addRunners = function (opt_value, opt_index) {
|
|
71255
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Runner, opt_index);
|
|
71256
|
+
};
|
|
71257
|
+
/**
|
|
71258
|
+
* Clears the list making it empty but non-null.
|
|
71259
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71260
|
+
*/
|
|
71261
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearRunnersList = function () {
|
|
71262
|
+
return this.setRunnersList([]);
|
|
71263
|
+
};
|
|
71264
|
+
/**
|
|
71265
|
+
* repeated PipelineVersionRun pipeline_version_runs = 5;
|
|
71266
|
+
* @return {!Array<!proto.clarifai.api.PipelineVersionRun>}
|
|
71267
|
+
*/
|
|
71268
|
+
proto.clarifai.api.SyncStateRequest.prototype.getPipelineVersionRunsList = function () {
|
|
71269
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineVersionRun>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRun, 5));
|
|
71270
|
+
};
|
|
71271
|
+
/**
|
|
71272
|
+
* @param {!Array<!proto.clarifai.api.PipelineVersionRun>} value
|
|
71273
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71274
|
+
*/
|
|
71275
|
+
proto.clarifai.api.SyncStateRequest.prototype.setPipelineVersionRunsList = function (value) {
|
|
71276
|
+
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
71277
|
+
};
|
|
71278
|
+
/**
|
|
71279
|
+
* @param {!proto.clarifai.api.PipelineVersionRun=} opt_value
|
|
71280
|
+
* @param {number=} opt_index
|
|
71281
|
+
* @return {!proto.clarifai.api.PipelineVersionRun}
|
|
71282
|
+
*/
|
|
71283
|
+
proto.clarifai.api.SyncStateRequest.prototype.addPipelineVersionRuns = function (opt_value, opt_index) {
|
|
71284
|
+
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.PipelineVersionRun, opt_index);
|
|
71285
|
+
};
|
|
71286
|
+
/**
|
|
71287
|
+
* Clears the list making it empty but non-null.
|
|
71288
|
+
* @return {!proto.clarifai.api.SyncStateRequest} returns this
|
|
71289
|
+
*/
|
|
71290
|
+
proto.clarifai.api.SyncStateRequest.prototype.clearPipelineVersionRunsList = function () {
|
|
71291
|
+
return this.setPipelineVersionRunsList([]);
|
|
71292
|
+
};
|
|
70779
71293
|
/**
|
|
70780
71294
|
* List of repeated fields within this message type.
|
|
70781
71295
|
* @private {!Array<number>}
|
|
@@ -70951,13 +71465,14 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
|
|
|
70951
71465
|
* @private {!Array<!Array<number>>}
|
|
70952
71466
|
* @const
|
|
70953
71467
|
*/
|
|
70954
|
-
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4]];
|
|
71468
|
+
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4, 5]];
|
|
70955
71469
|
/**
|
|
70956
71470
|
* @enum {number}
|
|
70957
71471
|
*/
|
|
70958
71472
|
proto.clarifai.api.RunnerItem.RequestCase = {
|
|
70959
71473
|
REQUEST_NOT_SET: 0,
|
|
70960
|
-
POST_MODEL_OUTPUTS_REQUEST: 4
|
|
71474
|
+
POST_MODEL_OUTPUTS_REQUEST: 4,
|
|
71475
|
+
SYNC_STATE_REQUEST: 5
|
|
70961
71476
|
};
|
|
70962
71477
|
/**
|
|
70963
71478
|
* @return {proto.clarifai.api.RunnerItem.RequestCase}
|
|
@@ -70995,7 +71510,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
70995
71510
|
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
70996
71511
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
70997
71512
|
processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
|
|
70998
|
-
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f)
|
|
71513
|
+
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
|
|
71514
|
+
syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
|
|
70999
71515
|
};
|
|
71000
71516
|
if (includeInstance) {
|
|
71001
71517
|
obj.$jspbMessageInstance = msg;
|
|
@@ -71045,6 +71561,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function (msg, reade
|
|
|
71045
71561
|
reader.readMessage(value, proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
|
|
71046
71562
|
msg.setPostModelOutputsRequest(value);
|
|
71047
71563
|
break;
|
|
71564
|
+
case 5:
|
|
71565
|
+
var value = new proto.clarifai.api.SyncStateRequest;
|
|
71566
|
+
reader.readMessage(value, proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
|
|
71567
|
+
msg.setSyncStateRequest(value);
|
|
71568
|
+
break;
|
|
71048
71569
|
default:
|
|
71049
71570
|
reader.skipField();
|
|
71050
71571
|
break;
|
|
@@ -71086,6 +71607,10 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function (message, write
|
|
|
71086
71607
|
if (f != null) {
|
|
71087
71608
|
writer.writeMessage(4, f, proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter);
|
|
71088
71609
|
}
|
|
71610
|
+
f = message.getSyncStateRequest();
|
|
71611
|
+
if (f != null) {
|
|
71612
|
+
writer.writeMessage(5, f, proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter);
|
|
71613
|
+
}
|
|
71089
71614
|
};
|
|
71090
71615
|
/**
|
|
71091
71616
|
* optional string id = 1;
|
|
@@ -71171,6 +71696,34 @@ proto.clarifai.api.RunnerItem.prototype.clearPostModelOutputsRequest = function
|
|
|
71171
71696
|
proto.clarifai.api.RunnerItem.prototype.hasPostModelOutputsRequest = function () {
|
|
71172
71697
|
return jspb.Message.getField(this, 4) != null;
|
|
71173
71698
|
};
|
|
71699
|
+
/**
|
|
71700
|
+
* optional SyncStateRequest sync_state_request = 5;
|
|
71701
|
+
* @return {?proto.clarifai.api.SyncStateRequest}
|
|
71702
|
+
*/
|
|
71703
|
+
proto.clarifai.api.RunnerItem.prototype.getSyncStateRequest = function () {
|
|
71704
|
+
return /** @type{?proto.clarifai.api.SyncStateRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.SyncStateRequest, 5));
|
|
71705
|
+
};
|
|
71706
|
+
/**
|
|
71707
|
+
* @param {?proto.clarifai.api.SyncStateRequest|undefined} value
|
|
71708
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
71709
|
+
*/
|
|
71710
|
+
proto.clarifai.api.RunnerItem.prototype.setSyncStateRequest = function (value) {
|
|
71711
|
+
return jspb.Message.setOneofWrapperField(this, 5, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
|
|
71712
|
+
};
|
|
71713
|
+
/**
|
|
71714
|
+
* Clears the message field making it undefined.
|
|
71715
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
71716
|
+
*/
|
|
71717
|
+
proto.clarifai.api.RunnerItem.prototype.clearSyncStateRequest = function () {
|
|
71718
|
+
return this.setSyncStateRequest(undefined);
|
|
71719
|
+
};
|
|
71720
|
+
/**
|
|
71721
|
+
* Returns whether this field is set.
|
|
71722
|
+
* @return {boolean}
|
|
71723
|
+
*/
|
|
71724
|
+
proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function () {
|
|
71725
|
+
return jspb.Message.getField(this, 5) != null;
|
|
71726
|
+
};
|
|
71174
71727
|
/**
|
|
71175
71728
|
* Oneof group definitions for this message. Each group defines the field
|
|
71176
71729
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -76869,6 +77422,1332 @@ proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.addWorkflow
|
|
|
76869
77422
|
proto.clarifai.api.MultiWorkflowEvaluationTemplateResponse.prototype.clearWorkflowVersionEvaluationTemplatesList = function () {
|
|
76870
77423
|
return this.setWorkflowVersionEvaluationTemplatesList([]);
|
|
76871
77424
|
};
|
|
77425
|
+
/**
|
|
77426
|
+
* List of repeated fields within this message type.
|
|
77427
|
+
* @private {!Array<number>}
|
|
77428
|
+
* @const
|
|
77429
|
+
*/
|
|
77430
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
77431
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77432
|
+
/**
|
|
77433
|
+
* Creates an object representation of this proto.
|
|
77434
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77435
|
+
* Optional fields that are not set will be set to undefined.
|
|
77436
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77437
|
+
* For the list of reserved names please see:
|
|
77438
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77439
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77440
|
+
* JSPB instance for transitional soy proto support:
|
|
77441
|
+
* http://goto/soy-param-migration
|
|
77442
|
+
* @return {!Object}
|
|
77443
|
+
*/
|
|
77444
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
77445
|
+
return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
|
|
77446
|
+
};
|
|
77447
|
+
/**
|
|
77448
|
+
* Static version of the {@see toObject} method.
|
|
77449
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77450
|
+
* the JSPB instance for transitional soy proto support:
|
|
77451
|
+
* http://goto/soy-param-migration
|
|
77452
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
|
|
77453
|
+
* @return {!Object}
|
|
77454
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77455
|
+
*/
|
|
77456
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.toObject = function (includeInstance, msg) {
|
|
77457
|
+
var f, obj = {
|
|
77458
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
77459
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
77460
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
77461
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
77462
|
+
};
|
|
77463
|
+
if (includeInstance) {
|
|
77464
|
+
obj.$jspbMessageInstance = msg;
|
|
77465
|
+
}
|
|
77466
|
+
return obj;
|
|
77467
|
+
};
|
|
77468
|
+
}
|
|
77469
|
+
/**
|
|
77470
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77471
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77472
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
|
|
77473
|
+
*/
|
|
77474
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinary = function (bytes) {
|
|
77475
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77476
|
+
var msg = new proto.clarifai.api.PostWorkflowVersionEvaluationsRequest;
|
|
77477
|
+
return proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
77478
|
+
};
|
|
77479
|
+
/**
|
|
77480
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77481
|
+
* given reader into the given message object.
|
|
77482
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
|
|
77483
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77484
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest}
|
|
77485
|
+
*/
|
|
77486
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
77487
|
+
while (reader.nextField()) {
|
|
77488
|
+
if (reader.isEndGroup()) {
|
|
77489
|
+
break;
|
|
77490
|
+
}
|
|
77491
|
+
var field = reader.getFieldNumber();
|
|
77492
|
+
switch (field) {
|
|
77493
|
+
case 1:
|
|
77494
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
77495
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
77496
|
+
msg.setUserAppId(value);
|
|
77497
|
+
break;
|
|
77498
|
+
case 2:
|
|
77499
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77500
|
+
msg.setWorkflowId(value);
|
|
77501
|
+
break;
|
|
77502
|
+
case 3:
|
|
77503
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77504
|
+
msg.setWorkflowVersionId(value);
|
|
77505
|
+
break;
|
|
77506
|
+
case 4:
|
|
77507
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
77508
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
77509
|
+
msg.addWorkflowVersionEvaluations(value);
|
|
77510
|
+
break;
|
|
77511
|
+
default:
|
|
77512
|
+
reader.skipField();
|
|
77513
|
+
break;
|
|
77514
|
+
}
|
|
77515
|
+
}
|
|
77516
|
+
return msg;
|
|
77517
|
+
};
|
|
77518
|
+
/**
|
|
77519
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77520
|
+
* @return {!Uint8Array}
|
|
77521
|
+
*/
|
|
77522
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function () {
|
|
77523
|
+
var writer = new jspb.BinaryWriter();
|
|
77524
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
|
|
77525
|
+
return writer.getResultBuffer();
|
|
77526
|
+
};
|
|
77527
|
+
/**
|
|
77528
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77529
|
+
* format), writing to the given BinaryWriter.
|
|
77530
|
+
* @param {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} message
|
|
77531
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77532
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77533
|
+
*/
|
|
77534
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
77535
|
+
var f = undefined;
|
|
77536
|
+
f = message.getUserAppId();
|
|
77537
|
+
if (f != null) {
|
|
77538
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
77539
|
+
}
|
|
77540
|
+
f = message.getWorkflowId();
|
|
77541
|
+
if (f.length > 0) {
|
|
77542
|
+
writer.writeString(2, f);
|
|
77543
|
+
}
|
|
77544
|
+
f = message.getWorkflowVersionId();
|
|
77545
|
+
if (f.length > 0) {
|
|
77546
|
+
writer.writeString(3, f);
|
|
77547
|
+
}
|
|
77548
|
+
f = message.getWorkflowVersionEvaluationsList();
|
|
77549
|
+
if (f.length > 0) {
|
|
77550
|
+
writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
|
|
77551
|
+
}
|
|
77552
|
+
};
|
|
77553
|
+
/**
|
|
77554
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
77555
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
77556
|
+
*/
|
|
77557
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function () {
|
|
77558
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
77559
|
+
};
|
|
77560
|
+
/**
|
|
77561
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
77562
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
77563
|
+
*/
|
|
77564
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function (value) {
|
|
77565
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
77566
|
+
};
|
|
77567
|
+
/**
|
|
77568
|
+
* Clears the message field making it undefined.
|
|
77569
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
77570
|
+
*/
|
|
77571
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function () {
|
|
77572
|
+
return this.setUserAppId(undefined);
|
|
77573
|
+
};
|
|
77574
|
+
/**
|
|
77575
|
+
* Returns whether this field is set.
|
|
77576
|
+
* @return {boolean}
|
|
77577
|
+
*/
|
|
77578
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function () {
|
|
77579
|
+
return jspb.Message.getField(this, 1) != null;
|
|
77580
|
+
};
|
|
77581
|
+
/**
|
|
77582
|
+
* optional string workflow_id = 2;
|
|
77583
|
+
* @return {string}
|
|
77584
|
+
*/
|
|
77585
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function () {
|
|
77586
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
77587
|
+
};
|
|
77588
|
+
/**
|
|
77589
|
+
* @param {string} value
|
|
77590
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
77591
|
+
*/
|
|
77592
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function (value) {
|
|
77593
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
77594
|
+
};
|
|
77595
|
+
/**
|
|
77596
|
+
* optional string workflow_version_id = 3;
|
|
77597
|
+
* @return {string}
|
|
77598
|
+
*/
|
|
77599
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function () {
|
|
77600
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
77601
|
+
};
|
|
77602
|
+
/**
|
|
77603
|
+
* @param {string} value
|
|
77604
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
77605
|
+
*/
|
|
77606
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function (value) {
|
|
77607
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
77608
|
+
};
|
|
77609
|
+
/**
|
|
77610
|
+
* repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
|
|
77611
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
|
|
77612
|
+
*/
|
|
77613
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function () {
|
|
77614
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
|
|
77615
|
+
};
|
|
77616
|
+
/**
|
|
77617
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
|
|
77618
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
77619
|
+
*/
|
|
77620
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function (value) {
|
|
77621
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
77622
|
+
};
|
|
77623
|
+
/**
|
|
77624
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
|
|
77625
|
+
* @param {number=} opt_index
|
|
77626
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation}
|
|
77627
|
+
*/
|
|
77628
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function (opt_value, opt_index) {
|
|
77629
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
|
|
77630
|
+
};
|
|
77631
|
+
/**
|
|
77632
|
+
* Clears the list making it empty but non-null.
|
|
77633
|
+
* @return {!proto.clarifai.api.PostWorkflowVersionEvaluationsRequest} returns this
|
|
77634
|
+
*/
|
|
77635
|
+
proto.clarifai.api.PostWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
|
|
77636
|
+
return this.setWorkflowVersionEvaluationsList([]);
|
|
77637
|
+
};
|
|
77638
|
+
/**
|
|
77639
|
+
* List of repeated fields within this message type.
|
|
77640
|
+
* @private {!Array<number>}
|
|
77641
|
+
* @const
|
|
77642
|
+
*/
|
|
77643
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.repeatedFields_ = [4];
|
|
77644
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77645
|
+
/**
|
|
77646
|
+
* Creates an object representation of this proto.
|
|
77647
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77648
|
+
* Optional fields that are not set will be set to undefined.
|
|
77649
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77650
|
+
* For the list of reserved names please see:
|
|
77651
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77652
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77653
|
+
* JSPB instance for transitional soy proto support:
|
|
77654
|
+
* http://goto/soy-param-migration
|
|
77655
|
+
* @return {!Object}
|
|
77656
|
+
*/
|
|
77657
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
77658
|
+
return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
|
|
77659
|
+
};
|
|
77660
|
+
/**
|
|
77661
|
+
* Static version of the {@see toObject} method.
|
|
77662
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77663
|
+
* the JSPB instance for transitional soy proto support:
|
|
77664
|
+
* http://goto/soy-param-migration
|
|
77665
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
|
|
77666
|
+
* @return {!Object}
|
|
77667
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77668
|
+
*/
|
|
77669
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.toObject = function (includeInstance, msg) {
|
|
77670
|
+
var f, obj = {
|
|
77671
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
77672
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
77673
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
77674
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance),
|
|
77675
|
+
action: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
77676
|
+
};
|
|
77677
|
+
if (includeInstance) {
|
|
77678
|
+
obj.$jspbMessageInstance = msg;
|
|
77679
|
+
}
|
|
77680
|
+
return obj;
|
|
77681
|
+
};
|
|
77682
|
+
}
|
|
77683
|
+
/**
|
|
77684
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77685
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77686
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
|
|
77687
|
+
*/
|
|
77688
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinary = function (bytes) {
|
|
77689
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77690
|
+
var msg = new proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest;
|
|
77691
|
+
return proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
77692
|
+
};
|
|
77693
|
+
/**
|
|
77694
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77695
|
+
* given reader into the given message object.
|
|
77696
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
|
|
77697
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77698
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest}
|
|
77699
|
+
*/
|
|
77700
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
77701
|
+
while (reader.nextField()) {
|
|
77702
|
+
if (reader.isEndGroup()) {
|
|
77703
|
+
break;
|
|
77704
|
+
}
|
|
77705
|
+
var field = reader.getFieldNumber();
|
|
77706
|
+
switch (field) {
|
|
77707
|
+
case 1:
|
|
77708
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
77709
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
77710
|
+
msg.setUserAppId(value);
|
|
77711
|
+
break;
|
|
77712
|
+
case 2:
|
|
77713
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77714
|
+
msg.setWorkflowId(value);
|
|
77715
|
+
break;
|
|
77716
|
+
case 3:
|
|
77717
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77718
|
+
msg.setWorkflowVersionId(value);
|
|
77719
|
+
break;
|
|
77720
|
+
case 4:
|
|
77721
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
77722
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
77723
|
+
msg.addWorkflowVersionEvaluations(value);
|
|
77724
|
+
break;
|
|
77725
|
+
case 5:
|
|
77726
|
+
var value = /** @type {string} */ (reader.readString());
|
|
77727
|
+
msg.setAction(value);
|
|
77728
|
+
break;
|
|
77729
|
+
default:
|
|
77730
|
+
reader.skipField();
|
|
77731
|
+
break;
|
|
77732
|
+
}
|
|
77733
|
+
}
|
|
77734
|
+
return msg;
|
|
77735
|
+
};
|
|
77736
|
+
/**
|
|
77737
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77738
|
+
* @return {!Uint8Array}
|
|
77739
|
+
*/
|
|
77740
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function () {
|
|
77741
|
+
var writer = new jspb.BinaryWriter();
|
|
77742
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
|
|
77743
|
+
return writer.getResultBuffer();
|
|
77744
|
+
};
|
|
77745
|
+
/**
|
|
77746
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77747
|
+
* format), writing to the given BinaryWriter.
|
|
77748
|
+
* @param {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} message
|
|
77749
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77750
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77751
|
+
*/
|
|
77752
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
77753
|
+
var f = undefined;
|
|
77754
|
+
f = message.getUserAppId();
|
|
77755
|
+
if (f != null) {
|
|
77756
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
77757
|
+
}
|
|
77758
|
+
f = message.getWorkflowId();
|
|
77759
|
+
if (f.length > 0) {
|
|
77760
|
+
writer.writeString(2, f);
|
|
77761
|
+
}
|
|
77762
|
+
f = message.getWorkflowVersionId();
|
|
77763
|
+
if (f.length > 0) {
|
|
77764
|
+
writer.writeString(3, f);
|
|
77765
|
+
}
|
|
77766
|
+
f = message.getWorkflowVersionEvaluationsList();
|
|
77767
|
+
if (f.length > 0) {
|
|
77768
|
+
writer.writeRepeatedMessage(4, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
|
|
77769
|
+
}
|
|
77770
|
+
f = message.getAction();
|
|
77771
|
+
if (f.length > 0) {
|
|
77772
|
+
writer.writeString(5, f);
|
|
77773
|
+
}
|
|
77774
|
+
};
|
|
77775
|
+
/**
|
|
77776
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
77777
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
77778
|
+
*/
|
|
77779
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function () {
|
|
77780
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
77781
|
+
};
|
|
77782
|
+
/**
|
|
77783
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
77784
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77785
|
+
*/
|
|
77786
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function (value) {
|
|
77787
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
77788
|
+
};
|
|
77789
|
+
/**
|
|
77790
|
+
* Clears the message field making it undefined.
|
|
77791
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77792
|
+
*/
|
|
77793
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function () {
|
|
77794
|
+
return this.setUserAppId(undefined);
|
|
77795
|
+
};
|
|
77796
|
+
/**
|
|
77797
|
+
* Returns whether this field is set.
|
|
77798
|
+
* @return {boolean}
|
|
77799
|
+
*/
|
|
77800
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function () {
|
|
77801
|
+
return jspb.Message.getField(this, 1) != null;
|
|
77802
|
+
};
|
|
77803
|
+
/**
|
|
77804
|
+
* optional string workflow_id = 2;
|
|
77805
|
+
* @return {string}
|
|
77806
|
+
*/
|
|
77807
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function () {
|
|
77808
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
77809
|
+
};
|
|
77810
|
+
/**
|
|
77811
|
+
* @param {string} value
|
|
77812
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77813
|
+
*/
|
|
77814
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function (value) {
|
|
77815
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
77816
|
+
};
|
|
77817
|
+
/**
|
|
77818
|
+
* optional string workflow_version_id = 3;
|
|
77819
|
+
* @return {string}
|
|
77820
|
+
*/
|
|
77821
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function () {
|
|
77822
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
77823
|
+
};
|
|
77824
|
+
/**
|
|
77825
|
+
* @param {string} value
|
|
77826
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77827
|
+
*/
|
|
77828
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function (value) {
|
|
77829
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
77830
|
+
};
|
|
77831
|
+
/**
|
|
77832
|
+
* repeated WorkflowVersionEvaluation workflow_version_evaluations = 4;
|
|
77833
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
|
|
77834
|
+
*/
|
|
77835
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionEvaluationsList = function () {
|
|
77836
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 4));
|
|
77837
|
+
};
|
|
77838
|
+
/**
|
|
77839
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
|
|
77840
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77841
|
+
*/
|
|
77842
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionEvaluationsList = function (value) {
|
|
77843
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
77844
|
+
};
|
|
77845
|
+
/**
|
|
77846
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
|
|
77847
|
+
* @param {number=} opt_index
|
|
77848
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation}
|
|
77849
|
+
*/
|
|
77850
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.addWorkflowVersionEvaluations = function (opt_value, opt_index) {
|
|
77851
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
|
|
77852
|
+
};
|
|
77853
|
+
/**
|
|
77854
|
+
* Clears the list making it empty but non-null.
|
|
77855
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77856
|
+
*/
|
|
77857
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.clearWorkflowVersionEvaluationsList = function () {
|
|
77858
|
+
return this.setWorkflowVersionEvaluationsList([]);
|
|
77859
|
+
};
|
|
77860
|
+
/**
|
|
77861
|
+
* optional string action = 5;
|
|
77862
|
+
* @return {string}
|
|
77863
|
+
*/
|
|
77864
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.getAction = function () {
|
|
77865
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
77866
|
+
};
|
|
77867
|
+
/**
|
|
77868
|
+
* @param {string} value
|
|
77869
|
+
* @return {!proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest} returns this
|
|
77870
|
+
*/
|
|
77871
|
+
proto.clarifai.api.PatchWorkflowVersionEvaluationsRequest.prototype.setAction = function (value) {
|
|
77872
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
77873
|
+
};
|
|
77874
|
+
/**
|
|
77875
|
+
* List of repeated fields within this message type.
|
|
77876
|
+
* @private {!Array<number>}
|
|
77877
|
+
* @const
|
|
77878
|
+
*/
|
|
77879
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.repeatedFields_ = [2];
|
|
77880
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
77881
|
+
/**
|
|
77882
|
+
* Creates an object representation of this proto.
|
|
77883
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
77884
|
+
* Optional fields that are not set will be set to undefined.
|
|
77885
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
77886
|
+
* For the list of reserved names please see:
|
|
77887
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
77888
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
77889
|
+
* JSPB instance for transitional soy proto support:
|
|
77890
|
+
* http://goto/soy-param-migration
|
|
77891
|
+
* @return {!Object}
|
|
77892
|
+
*/
|
|
77893
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.toObject = function (opt_includeInstance) {
|
|
77894
|
+
return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
|
|
77895
|
+
};
|
|
77896
|
+
/**
|
|
77897
|
+
* Static version of the {@see toObject} method.
|
|
77898
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
77899
|
+
* the JSPB instance for transitional soy proto support:
|
|
77900
|
+
* http://goto/soy-param-migration
|
|
77901
|
+
* @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The msg instance to transform.
|
|
77902
|
+
* @return {!Object}
|
|
77903
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77904
|
+
*/
|
|
77905
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.toObject = function (includeInstance, msg) {
|
|
77906
|
+
var f, obj = {
|
|
77907
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
77908
|
+
workflowVersionEvaluationsList: jspb.Message.toObjectList(msg.getWorkflowVersionEvaluationsList(), proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject, includeInstance)
|
|
77909
|
+
};
|
|
77910
|
+
if (includeInstance) {
|
|
77911
|
+
obj.$jspbMessageInstance = msg;
|
|
77912
|
+
}
|
|
77913
|
+
return obj;
|
|
77914
|
+
};
|
|
77915
|
+
}
|
|
77916
|
+
/**
|
|
77917
|
+
* Deserializes binary data (in protobuf wire format).
|
|
77918
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
77919
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
|
|
77920
|
+
*/
|
|
77921
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinary = function (bytes) {
|
|
77922
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
77923
|
+
var msg = new proto.clarifai.api.MultiWorkflowVersionEvaluationResponse;
|
|
77924
|
+
return proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
|
|
77925
|
+
};
|
|
77926
|
+
/**
|
|
77927
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
77928
|
+
* given reader into the given message object.
|
|
77929
|
+
* @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
|
|
77930
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
77931
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse}
|
|
77932
|
+
*/
|
|
77933
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
77934
|
+
while (reader.nextField()) {
|
|
77935
|
+
if (reader.isEndGroup()) {
|
|
77936
|
+
break;
|
|
77937
|
+
}
|
|
77938
|
+
var field = reader.getFieldNumber();
|
|
77939
|
+
switch (field) {
|
|
77940
|
+
case 1:
|
|
77941
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
77942
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
77943
|
+
msg.setStatus(value);
|
|
77944
|
+
break;
|
|
77945
|
+
case 2:
|
|
77946
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
77947
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
77948
|
+
msg.addWorkflowVersionEvaluations(value);
|
|
77949
|
+
break;
|
|
77950
|
+
default:
|
|
77951
|
+
reader.skipField();
|
|
77952
|
+
break;
|
|
77953
|
+
}
|
|
77954
|
+
}
|
|
77955
|
+
return msg;
|
|
77956
|
+
};
|
|
77957
|
+
/**
|
|
77958
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
77959
|
+
* @return {!Uint8Array}
|
|
77960
|
+
*/
|
|
77961
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.serializeBinary = function () {
|
|
77962
|
+
var writer = new jspb.BinaryWriter();
|
|
77963
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
|
|
77964
|
+
return writer.getResultBuffer();
|
|
77965
|
+
};
|
|
77966
|
+
/**
|
|
77967
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
77968
|
+
* format), writing to the given BinaryWriter.
|
|
77969
|
+
* @param {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} message
|
|
77970
|
+
* @param {!jspb.BinaryWriter} writer
|
|
77971
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
77972
|
+
*/
|
|
77973
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function (message, writer) {
|
|
77974
|
+
var f = undefined;
|
|
77975
|
+
f = message.getStatus();
|
|
77976
|
+
if (f != null) {
|
|
77977
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
77978
|
+
}
|
|
77979
|
+
f = message.getWorkflowVersionEvaluationsList();
|
|
77980
|
+
if (f.length > 0) {
|
|
77981
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
|
|
77982
|
+
}
|
|
77983
|
+
};
|
|
77984
|
+
/**
|
|
77985
|
+
* optional status.Status status = 1;
|
|
77986
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
77987
|
+
*/
|
|
77988
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getStatus = function () {
|
|
77989
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
77990
|
+
};
|
|
77991
|
+
/**
|
|
77992
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
77993
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
77994
|
+
*/
|
|
77995
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setStatus = function (value) {
|
|
77996
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
77997
|
+
};
|
|
77998
|
+
/**
|
|
77999
|
+
* Clears the message field making it undefined.
|
|
78000
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
78001
|
+
*/
|
|
78002
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearStatus = function () {
|
|
78003
|
+
return this.setStatus(undefined);
|
|
78004
|
+
};
|
|
78005
|
+
/**
|
|
78006
|
+
* Returns whether this field is set.
|
|
78007
|
+
* @return {boolean}
|
|
78008
|
+
*/
|
|
78009
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.hasStatus = function () {
|
|
78010
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78011
|
+
};
|
|
78012
|
+
/**
|
|
78013
|
+
* repeated WorkflowVersionEvaluation workflow_version_evaluations = 2;
|
|
78014
|
+
* @return {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>}
|
|
78015
|
+
*/
|
|
78016
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluationsList = function () {
|
|
78017
|
+
return /** @type{!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
|
|
78018
|
+
};
|
|
78019
|
+
/**
|
|
78020
|
+
* @param {!Array<!proto.clarifai.api.WorkflowVersionEvaluation>} value
|
|
78021
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
78022
|
+
*/
|
|
78023
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluationsList = function (value) {
|
|
78024
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
78025
|
+
};
|
|
78026
|
+
/**
|
|
78027
|
+
* @param {!proto.clarifai.api.WorkflowVersionEvaluation=} opt_value
|
|
78028
|
+
* @param {number=} opt_index
|
|
78029
|
+
* @return {!proto.clarifai.api.WorkflowVersionEvaluation}
|
|
78030
|
+
*/
|
|
78031
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.addWorkflowVersionEvaluations = function (opt_value, opt_index) {
|
|
78032
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowVersionEvaluation, opt_index);
|
|
78033
|
+
};
|
|
78034
|
+
/**
|
|
78035
|
+
* Clears the list making it empty but non-null.
|
|
78036
|
+
* @return {!proto.clarifai.api.MultiWorkflowVersionEvaluationResponse} returns this
|
|
78037
|
+
*/
|
|
78038
|
+
proto.clarifai.api.MultiWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluationsList = function () {
|
|
78039
|
+
return this.setWorkflowVersionEvaluationsList([]);
|
|
78040
|
+
};
|
|
78041
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78042
|
+
/**
|
|
78043
|
+
* Creates an object representation of this proto.
|
|
78044
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78045
|
+
* Optional fields that are not set will be set to undefined.
|
|
78046
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78047
|
+
* For the list of reserved names please see:
|
|
78048
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78049
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78050
|
+
* JSPB instance for transitional soy proto support:
|
|
78051
|
+
* http://goto/soy-param-migration
|
|
78052
|
+
* @return {!Object}
|
|
78053
|
+
*/
|
|
78054
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.toObject = function (opt_includeInstance) {
|
|
78055
|
+
return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject(opt_includeInstance, this);
|
|
78056
|
+
};
|
|
78057
|
+
/**
|
|
78058
|
+
* Static version of the {@see toObject} method.
|
|
78059
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78060
|
+
* the JSPB instance for transitional soy proto support:
|
|
78061
|
+
* http://goto/soy-param-migration
|
|
78062
|
+
* @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The msg instance to transform.
|
|
78063
|
+
* @return {!Object}
|
|
78064
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78065
|
+
*/
|
|
78066
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.toObject = function (includeInstance, msg) {
|
|
78067
|
+
var f, obj = {
|
|
78068
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
78069
|
+
workflowVersionEvaluation: (f = msg.getWorkflowVersionEvaluation()) && proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.toObject(includeInstance, f)
|
|
78070
|
+
};
|
|
78071
|
+
if (includeInstance) {
|
|
78072
|
+
obj.$jspbMessageInstance = msg;
|
|
78073
|
+
}
|
|
78074
|
+
return obj;
|
|
78075
|
+
};
|
|
78076
|
+
}
|
|
78077
|
+
/**
|
|
78078
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78079
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78080
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
|
|
78081
|
+
*/
|
|
78082
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinary = function (bytes) {
|
|
78083
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78084
|
+
var msg = new proto.clarifai.api.SingleWorkflowVersionEvaluationResponse;
|
|
78085
|
+
return proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader(msg, reader);
|
|
78086
|
+
};
|
|
78087
|
+
/**
|
|
78088
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78089
|
+
* given reader into the given message object.
|
|
78090
|
+
* @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} msg The message object to deserialize into.
|
|
78091
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78092
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse}
|
|
78093
|
+
*/
|
|
78094
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
78095
|
+
while (reader.nextField()) {
|
|
78096
|
+
if (reader.isEndGroup()) {
|
|
78097
|
+
break;
|
|
78098
|
+
}
|
|
78099
|
+
var field = reader.getFieldNumber();
|
|
78100
|
+
switch (field) {
|
|
78101
|
+
case 1:
|
|
78102
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
78103
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
78104
|
+
msg.setStatus(value);
|
|
78105
|
+
break;
|
|
78106
|
+
case 2:
|
|
78107
|
+
var value = new proto_clarifai_api_resources_pb.WorkflowVersionEvaluation;
|
|
78108
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.deserializeBinaryFromReader);
|
|
78109
|
+
msg.setWorkflowVersionEvaluation(value);
|
|
78110
|
+
break;
|
|
78111
|
+
default:
|
|
78112
|
+
reader.skipField();
|
|
78113
|
+
break;
|
|
78114
|
+
}
|
|
78115
|
+
}
|
|
78116
|
+
return msg;
|
|
78117
|
+
};
|
|
78118
|
+
/**
|
|
78119
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78120
|
+
* @return {!Uint8Array}
|
|
78121
|
+
*/
|
|
78122
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.serializeBinary = function () {
|
|
78123
|
+
var writer = new jspb.BinaryWriter();
|
|
78124
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter(this, writer);
|
|
78125
|
+
return writer.getResultBuffer();
|
|
78126
|
+
};
|
|
78127
|
+
/**
|
|
78128
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78129
|
+
* format), writing to the given BinaryWriter.
|
|
78130
|
+
* @param {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} message
|
|
78131
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78132
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78133
|
+
*/
|
|
78134
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.serializeBinaryToWriter = function (message, writer) {
|
|
78135
|
+
var f = undefined;
|
|
78136
|
+
f = message.getStatus();
|
|
78137
|
+
if (f != null) {
|
|
78138
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
78139
|
+
}
|
|
78140
|
+
f = message.getWorkflowVersionEvaluation();
|
|
78141
|
+
if (f != null) {
|
|
78142
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation.serializeBinaryToWriter);
|
|
78143
|
+
}
|
|
78144
|
+
};
|
|
78145
|
+
/**
|
|
78146
|
+
* optional status.Status status = 1;
|
|
78147
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
78148
|
+
*/
|
|
78149
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getStatus = function () {
|
|
78150
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
78151
|
+
};
|
|
78152
|
+
/**
|
|
78153
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
78154
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
78155
|
+
*/
|
|
78156
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setStatus = function (value) {
|
|
78157
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
78158
|
+
};
|
|
78159
|
+
/**
|
|
78160
|
+
* Clears the message field making it undefined.
|
|
78161
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
78162
|
+
*/
|
|
78163
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearStatus = function () {
|
|
78164
|
+
return this.setStatus(undefined);
|
|
78165
|
+
};
|
|
78166
|
+
/**
|
|
78167
|
+
* Returns whether this field is set.
|
|
78168
|
+
* @return {boolean}
|
|
78169
|
+
*/
|
|
78170
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasStatus = function () {
|
|
78171
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78172
|
+
};
|
|
78173
|
+
/**
|
|
78174
|
+
* optional WorkflowVersionEvaluation workflow_version_evaluation = 2;
|
|
78175
|
+
* @return {?proto.clarifai.api.WorkflowVersionEvaluation}
|
|
78176
|
+
*/
|
|
78177
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.getWorkflowVersionEvaluation = function () {
|
|
78178
|
+
return /** @type{?proto.clarifai.api.WorkflowVersionEvaluation} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.WorkflowVersionEvaluation, 2));
|
|
78179
|
+
};
|
|
78180
|
+
/**
|
|
78181
|
+
* @param {?proto.clarifai.api.WorkflowVersionEvaluation|undefined} value
|
|
78182
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
78183
|
+
*/
|
|
78184
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.setWorkflowVersionEvaluation = function (value) {
|
|
78185
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
78186
|
+
};
|
|
78187
|
+
/**
|
|
78188
|
+
* Clears the message field making it undefined.
|
|
78189
|
+
* @return {!proto.clarifai.api.SingleWorkflowVersionEvaluationResponse} returns this
|
|
78190
|
+
*/
|
|
78191
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.clearWorkflowVersionEvaluation = function () {
|
|
78192
|
+
return this.setWorkflowVersionEvaluation(undefined);
|
|
78193
|
+
};
|
|
78194
|
+
/**
|
|
78195
|
+
* Returns whether this field is set.
|
|
78196
|
+
* @return {boolean}
|
|
78197
|
+
*/
|
|
78198
|
+
proto.clarifai.api.SingleWorkflowVersionEvaluationResponse.prototype.hasWorkflowVersionEvaluation = function () {
|
|
78199
|
+
return jspb.Message.getField(this, 2) != null;
|
|
78200
|
+
};
|
|
78201
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78202
|
+
/**
|
|
78203
|
+
* Creates an object representation of this proto.
|
|
78204
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78205
|
+
* Optional fields that are not set will be set to undefined.
|
|
78206
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78207
|
+
* For the list of reserved names please see:
|
|
78208
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78209
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78210
|
+
* JSPB instance for transitional soy proto support:
|
|
78211
|
+
* http://goto/soy-param-migration
|
|
78212
|
+
* @return {!Object}
|
|
78213
|
+
*/
|
|
78214
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.toObject = function (opt_includeInstance) {
|
|
78215
|
+
return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject(opt_includeInstance, this);
|
|
78216
|
+
};
|
|
78217
|
+
/**
|
|
78218
|
+
* Static version of the {@see toObject} method.
|
|
78219
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78220
|
+
* the JSPB instance for transitional soy proto support:
|
|
78221
|
+
* http://goto/soy-param-migration
|
|
78222
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The msg instance to transform.
|
|
78223
|
+
* @return {!Object}
|
|
78224
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78225
|
+
*/
|
|
78226
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.toObject = function (includeInstance, msg) {
|
|
78227
|
+
var f, obj = {
|
|
78228
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
78229
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
78230
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
78231
|
+
workflowVersionEvaluationId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
78232
|
+
};
|
|
78233
|
+
if (includeInstance) {
|
|
78234
|
+
obj.$jspbMessageInstance = msg;
|
|
78235
|
+
}
|
|
78236
|
+
return obj;
|
|
78237
|
+
};
|
|
78238
|
+
}
|
|
78239
|
+
/**
|
|
78240
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78241
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78242
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
|
|
78243
|
+
*/
|
|
78244
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinary = function (bytes) {
|
|
78245
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78246
|
+
var msg = new proto.clarifai.api.GetWorkflowVersionEvaluationRequest;
|
|
78247
|
+
return proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader(msg, reader);
|
|
78248
|
+
};
|
|
78249
|
+
/**
|
|
78250
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78251
|
+
* given reader into the given message object.
|
|
78252
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} msg The message object to deserialize into.
|
|
78253
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78254
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest}
|
|
78255
|
+
*/
|
|
78256
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
78257
|
+
while (reader.nextField()) {
|
|
78258
|
+
if (reader.isEndGroup()) {
|
|
78259
|
+
break;
|
|
78260
|
+
}
|
|
78261
|
+
var field = reader.getFieldNumber();
|
|
78262
|
+
switch (field) {
|
|
78263
|
+
case 1:
|
|
78264
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
78265
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
78266
|
+
msg.setUserAppId(value);
|
|
78267
|
+
break;
|
|
78268
|
+
case 2:
|
|
78269
|
+
var value = /** @type {string} */ (reader.readString());
|
|
78270
|
+
msg.setWorkflowId(value);
|
|
78271
|
+
break;
|
|
78272
|
+
case 3:
|
|
78273
|
+
var value = /** @type {string} */ (reader.readString());
|
|
78274
|
+
msg.setWorkflowVersionId(value);
|
|
78275
|
+
break;
|
|
78276
|
+
case 4:
|
|
78277
|
+
var value = /** @type {string} */ (reader.readString());
|
|
78278
|
+
msg.setWorkflowVersionEvaluationId(value);
|
|
78279
|
+
break;
|
|
78280
|
+
default:
|
|
78281
|
+
reader.skipField();
|
|
78282
|
+
break;
|
|
78283
|
+
}
|
|
78284
|
+
}
|
|
78285
|
+
return msg;
|
|
78286
|
+
};
|
|
78287
|
+
/**
|
|
78288
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78289
|
+
* @return {!Uint8Array}
|
|
78290
|
+
*/
|
|
78291
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.serializeBinary = function () {
|
|
78292
|
+
var writer = new jspb.BinaryWriter();
|
|
78293
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter(this, writer);
|
|
78294
|
+
return writer.getResultBuffer();
|
|
78295
|
+
};
|
|
78296
|
+
/**
|
|
78297
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78298
|
+
* format), writing to the given BinaryWriter.
|
|
78299
|
+
* @param {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} message
|
|
78300
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78301
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78302
|
+
*/
|
|
78303
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.serializeBinaryToWriter = function (message, writer) {
|
|
78304
|
+
var f = undefined;
|
|
78305
|
+
f = message.getUserAppId();
|
|
78306
|
+
if (f != null) {
|
|
78307
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
78308
|
+
}
|
|
78309
|
+
f = message.getWorkflowId();
|
|
78310
|
+
if (f.length > 0) {
|
|
78311
|
+
writer.writeString(2, f);
|
|
78312
|
+
}
|
|
78313
|
+
f = message.getWorkflowVersionId();
|
|
78314
|
+
if (f.length > 0) {
|
|
78315
|
+
writer.writeString(3, f);
|
|
78316
|
+
}
|
|
78317
|
+
f = message.getWorkflowVersionEvaluationId();
|
|
78318
|
+
if (f.length > 0) {
|
|
78319
|
+
writer.writeString(4, f);
|
|
78320
|
+
}
|
|
78321
|
+
};
|
|
78322
|
+
/**
|
|
78323
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
78324
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
78325
|
+
*/
|
|
78326
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getUserAppId = function () {
|
|
78327
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
78328
|
+
};
|
|
78329
|
+
/**
|
|
78330
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
78331
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
78332
|
+
*/
|
|
78333
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setUserAppId = function (value) {
|
|
78334
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
78335
|
+
};
|
|
78336
|
+
/**
|
|
78337
|
+
* Clears the message field making it undefined.
|
|
78338
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
78339
|
+
*/
|
|
78340
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.clearUserAppId = function () {
|
|
78341
|
+
return this.setUserAppId(undefined);
|
|
78342
|
+
};
|
|
78343
|
+
/**
|
|
78344
|
+
* Returns whether this field is set.
|
|
78345
|
+
* @return {boolean}
|
|
78346
|
+
*/
|
|
78347
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.hasUserAppId = function () {
|
|
78348
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78349
|
+
};
|
|
78350
|
+
/**
|
|
78351
|
+
* optional string workflow_id = 2;
|
|
78352
|
+
* @return {string}
|
|
78353
|
+
*/
|
|
78354
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowId = function () {
|
|
78355
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
78356
|
+
};
|
|
78357
|
+
/**
|
|
78358
|
+
* @param {string} value
|
|
78359
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
78360
|
+
*/
|
|
78361
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowId = function (value) {
|
|
78362
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
78363
|
+
};
|
|
78364
|
+
/**
|
|
78365
|
+
* optional string workflow_version_id = 3;
|
|
78366
|
+
* @return {string}
|
|
78367
|
+
*/
|
|
78368
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionId = function () {
|
|
78369
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
78370
|
+
};
|
|
78371
|
+
/**
|
|
78372
|
+
* @param {string} value
|
|
78373
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
78374
|
+
*/
|
|
78375
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionId = function (value) {
|
|
78376
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
78377
|
+
};
|
|
78378
|
+
/**
|
|
78379
|
+
* optional string workflow_version_evaluation_id = 4;
|
|
78380
|
+
* @return {string}
|
|
78381
|
+
*/
|
|
78382
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.getWorkflowVersionEvaluationId = function () {
|
|
78383
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
78384
|
+
};
|
|
78385
|
+
/**
|
|
78386
|
+
* @param {string} value
|
|
78387
|
+
* @return {!proto.clarifai.api.GetWorkflowVersionEvaluationRequest} returns this
|
|
78388
|
+
*/
|
|
78389
|
+
proto.clarifai.api.GetWorkflowVersionEvaluationRequest.prototype.setWorkflowVersionEvaluationId = function (value) {
|
|
78390
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
78391
|
+
};
|
|
78392
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78393
|
+
/**
|
|
78394
|
+
* Creates an object representation of this proto.
|
|
78395
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78396
|
+
* Optional fields that are not set will be set to undefined.
|
|
78397
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78398
|
+
* For the list of reserved names please see:
|
|
78399
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78400
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78401
|
+
* JSPB instance for transitional soy proto support:
|
|
78402
|
+
* http://goto/soy-param-migration
|
|
78403
|
+
* @return {!Object}
|
|
78404
|
+
*/
|
|
78405
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
78406
|
+
return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject(opt_includeInstance, this);
|
|
78407
|
+
};
|
|
78408
|
+
/**
|
|
78409
|
+
* Static version of the {@see toObject} method.
|
|
78410
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78411
|
+
* the JSPB instance for transitional soy proto support:
|
|
78412
|
+
* http://goto/soy-param-migration
|
|
78413
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The msg instance to transform.
|
|
78414
|
+
* @return {!Object}
|
|
78415
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78416
|
+
*/
|
|
78417
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.toObject = function (includeInstance, msg) {
|
|
78418
|
+
var f, obj = {
|
|
78419
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
78420
|
+
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
78421
|
+
workflowVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
78422
|
+
page: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
78423
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
78424
|
+
};
|
|
78425
|
+
if (includeInstance) {
|
|
78426
|
+
obj.$jspbMessageInstance = msg;
|
|
78427
|
+
}
|
|
78428
|
+
return obj;
|
|
78429
|
+
};
|
|
78430
|
+
}
|
|
78431
|
+
/**
|
|
78432
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78433
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78434
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
|
|
78435
|
+
*/
|
|
78436
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinary = function (bytes) {
|
|
78437
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78438
|
+
var msg = new proto.clarifai.api.ListWorkflowVersionEvaluationsRequest;
|
|
78439
|
+
return proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
78440
|
+
};
|
|
78441
|
+
/**
|
|
78442
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78443
|
+
* given reader into the given message object.
|
|
78444
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} msg The message object to deserialize into.
|
|
78445
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78446
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest}
|
|
78447
|
+
*/
|
|
78448
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
78449
|
+
while (reader.nextField()) {
|
|
78450
|
+
if (reader.isEndGroup()) {
|
|
78451
|
+
break;
|
|
78452
|
+
}
|
|
78453
|
+
var field = reader.getFieldNumber();
|
|
78454
|
+
switch (field) {
|
|
78455
|
+
case 1:
|
|
78456
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
78457
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
78458
|
+
msg.setUserAppId(value);
|
|
78459
|
+
break;
|
|
78460
|
+
case 2:
|
|
78461
|
+
var value = /** @type {string} */ (reader.readString());
|
|
78462
|
+
msg.setWorkflowId(value);
|
|
78463
|
+
break;
|
|
78464
|
+
case 3:
|
|
78465
|
+
var value = /** @type {string} */ (reader.readString());
|
|
78466
|
+
msg.setWorkflowVersionId(value);
|
|
78467
|
+
break;
|
|
78468
|
+
case 4:
|
|
78469
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
78470
|
+
msg.setPage(value);
|
|
78471
|
+
break;
|
|
78472
|
+
case 5:
|
|
78473
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
78474
|
+
msg.setPerPage(value);
|
|
78475
|
+
break;
|
|
78476
|
+
default:
|
|
78477
|
+
reader.skipField();
|
|
78478
|
+
break;
|
|
78479
|
+
}
|
|
78480
|
+
}
|
|
78481
|
+
return msg;
|
|
78482
|
+
};
|
|
78483
|
+
/**
|
|
78484
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78485
|
+
* @return {!Uint8Array}
|
|
78486
|
+
*/
|
|
78487
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.serializeBinary = function () {
|
|
78488
|
+
var writer = new jspb.BinaryWriter();
|
|
78489
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter(this, writer);
|
|
78490
|
+
return writer.getResultBuffer();
|
|
78491
|
+
};
|
|
78492
|
+
/**
|
|
78493
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78494
|
+
* format), writing to the given BinaryWriter.
|
|
78495
|
+
* @param {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} message
|
|
78496
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78497
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78498
|
+
*/
|
|
78499
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
78500
|
+
var f = undefined;
|
|
78501
|
+
f = message.getUserAppId();
|
|
78502
|
+
if (f != null) {
|
|
78503
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
78504
|
+
}
|
|
78505
|
+
f = message.getWorkflowId();
|
|
78506
|
+
if (f.length > 0) {
|
|
78507
|
+
writer.writeString(2, f);
|
|
78508
|
+
}
|
|
78509
|
+
f = message.getWorkflowVersionId();
|
|
78510
|
+
if (f.length > 0) {
|
|
78511
|
+
writer.writeString(3, f);
|
|
78512
|
+
}
|
|
78513
|
+
f = message.getPage();
|
|
78514
|
+
if (f !== 0) {
|
|
78515
|
+
writer.writeUint32(4, f);
|
|
78516
|
+
}
|
|
78517
|
+
f = message.getPerPage();
|
|
78518
|
+
if (f !== 0) {
|
|
78519
|
+
writer.writeUint32(5, f);
|
|
78520
|
+
}
|
|
78521
|
+
};
|
|
78522
|
+
/**
|
|
78523
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
78524
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
78525
|
+
*/
|
|
78526
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getUserAppId = function () {
|
|
78527
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
78528
|
+
};
|
|
78529
|
+
/**
|
|
78530
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
78531
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
78532
|
+
*/
|
|
78533
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setUserAppId = function (value) {
|
|
78534
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
78535
|
+
};
|
|
78536
|
+
/**
|
|
78537
|
+
* Clears the message field making it undefined.
|
|
78538
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
78539
|
+
*/
|
|
78540
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.clearUserAppId = function () {
|
|
78541
|
+
return this.setUserAppId(undefined);
|
|
78542
|
+
};
|
|
78543
|
+
/**
|
|
78544
|
+
* Returns whether this field is set.
|
|
78545
|
+
* @return {boolean}
|
|
78546
|
+
*/
|
|
78547
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.hasUserAppId = function () {
|
|
78548
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78549
|
+
};
|
|
78550
|
+
/**
|
|
78551
|
+
* optional string workflow_id = 2;
|
|
78552
|
+
* @return {string}
|
|
78553
|
+
*/
|
|
78554
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowId = function () {
|
|
78555
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
78556
|
+
};
|
|
78557
|
+
/**
|
|
78558
|
+
* @param {string} value
|
|
78559
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
78560
|
+
*/
|
|
78561
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowId = function (value) {
|
|
78562
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
78563
|
+
};
|
|
78564
|
+
/**
|
|
78565
|
+
* optional string workflow_version_id = 3;
|
|
78566
|
+
* @return {string}
|
|
78567
|
+
*/
|
|
78568
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getWorkflowVersionId = function () {
|
|
78569
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
78570
|
+
};
|
|
78571
|
+
/**
|
|
78572
|
+
* @param {string} value
|
|
78573
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
78574
|
+
*/
|
|
78575
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setWorkflowVersionId = function (value) {
|
|
78576
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
78577
|
+
};
|
|
78578
|
+
/**
|
|
78579
|
+
* optional uint32 page = 4;
|
|
78580
|
+
* @return {number}
|
|
78581
|
+
*/
|
|
78582
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPage = function () {
|
|
78583
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
78584
|
+
};
|
|
78585
|
+
/**
|
|
78586
|
+
* @param {number} value
|
|
78587
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
78588
|
+
*/
|
|
78589
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPage = function (value) {
|
|
78590
|
+
return jspb.Message.setProto3IntField(this, 4, value);
|
|
78591
|
+
};
|
|
78592
|
+
/**
|
|
78593
|
+
* optional uint32 per_page = 5;
|
|
78594
|
+
* @return {number}
|
|
78595
|
+
*/
|
|
78596
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.getPerPage = function () {
|
|
78597
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
78598
|
+
};
|
|
78599
|
+
/**
|
|
78600
|
+
* @param {number} value
|
|
78601
|
+
* @return {!proto.clarifai.api.ListWorkflowVersionEvaluationsRequest} returns this
|
|
78602
|
+
*/
|
|
78603
|
+
proto.clarifai.api.ListWorkflowVersionEvaluationsRequest.prototype.setPerPage = function (value) {
|
|
78604
|
+
return jspb.Message.setProto3IntField(this, 5, value);
|
|
78605
|
+
};
|
|
78606
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
78607
|
+
/**
|
|
78608
|
+
* Creates an object representation of this proto.
|
|
78609
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
78610
|
+
* Optional fields that are not set will be set to undefined.
|
|
78611
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
78612
|
+
* For the list of reserved names please see:
|
|
78613
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
78614
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
78615
|
+
* JSPB instance for transitional soy proto support:
|
|
78616
|
+
* http://goto/soy-param-migration
|
|
78617
|
+
* @return {!Object}
|
|
78618
|
+
*/
|
|
78619
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.toObject = function (opt_includeInstance) {
|
|
78620
|
+
return proto.clarifai.api.PostModelMigrationRequest.toObject(opt_includeInstance, this);
|
|
78621
|
+
};
|
|
78622
|
+
/**
|
|
78623
|
+
* Static version of the {@see toObject} method.
|
|
78624
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
78625
|
+
* the JSPB instance for transitional soy proto support:
|
|
78626
|
+
* http://goto/soy-param-migration
|
|
78627
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} msg The msg instance to transform.
|
|
78628
|
+
* @return {!Object}
|
|
78629
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78630
|
+
*/
|
|
78631
|
+
proto.clarifai.api.PostModelMigrationRequest.toObject = function (includeInstance, msg) {
|
|
78632
|
+
var f, obj = {
|
|
78633
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
78634
|
+
modelId: jspb.Message.getFieldWithDefault(msg, 2, "")
|
|
78635
|
+
};
|
|
78636
|
+
if (includeInstance) {
|
|
78637
|
+
obj.$jspbMessageInstance = msg;
|
|
78638
|
+
}
|
|
78639
|
+
return obj;
|
|
78640
|
+
};
|
|
78641
|
+
}
|
|
78642
|
+
/**
|
|
78643
|
+
* Deserializes binary data (in protobuf wire format).
|
|
78644
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
78645
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest}
|
|
78646
|
+
*/
|
|
78647
|
+
proto.clarifai.api.PostModelMigrationRequest.deserializeBinary = function (bytes) {
|
|
78648
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
78649
|
+
var msg = new proto.clarifai.api.PostModelMigrationRequest;
|
|
78650
|
+
return proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader(msg, reader);
|
|
78651
|
+
};
|
|
78652
|
+
/**
|
|
78653
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
78654
|
+
* given reader into the given message object.
|
|
78655
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} msg The message object to deserialize into.
|
|
78656
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
78657
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest}
|
|
78658
|
+
*/
|
|
78659
|
+
proto.clarifai.api.PostModelMigrationRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
78660
|
+
while (reader.nextField()) {
|
|
78661
|
+
if (reader.isEndGroup()) {
|
|
78662
|
+
break;
|
|
78663
|
+
}
|
|
78664
|
+
var field = reader.getFieldNumber();
|
|
78665
|
+
switch (field) {
|
|
78666
|
+
case 1:
|
|
78667
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
78668
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
78669
|
+
msg.setUserAppId(value);
|
|
78670
|
+
break;
|
|
78671
|
+
case 2:
|
|
78672
|
+
var value = /** @type {string} */ (reader.readString());
|
|
78673
|
+
msg.setModelId(value);
|
|
78674
|
+
break;
|
|
78675
|
+
default:
|
|
78676
|
+
reader.skipField();
|
|
78677
|
+
break;
|
|
78678
|
+
}
|
|
78679
|
+
}
|
|
78680
|
+
return msg;
|
|
78681
|
+
};
|
|
78682
|
+
/**
|
|
78683
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
78684
|
+
* @return {!Uint8Array}
|
|
78685
|
+
*/
|
|
78686
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.serializeBinary = function () {
|
|
78687
|
+
var writer = new jspb.BinaryWriter();
|
|
78688
|
+
proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter(this, writer);
|
|
78689
|
+
return writer.getResultBuffer();
|
|
78690
|
+
};
|
|
78691
|
+
/**
|
|
78692
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
78693
|
+
* format), writing to the given BinaryWriter.
|
|
78694
|
+
* @param {!proto.clarifai.api.PostModelMigrationRequest} message
|
|
78695
|
+
* @param {!jspb.BinaryWriter} writer
|
|
78696
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
78697
|
+
*/
|
|
78698
|
+
proto.clarifai.api.PostModelMigrationRequest.serializeBinaryToWriter = function (message, writer) {
|
|
78699
|
+
var f = undefined;
|
|
78700
|
+
f = message.getUserAppId();
|
|
78701
|
+
if (f != null) {
|
|
78702
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
78703
|
+
}
|
|
78704
|
+
f = message.getModelId();
|
|
78705
|
+
if (f.length > 0) {
|
|
78706
|
+
writer.writeString(2, f);
|
|
78707
|
+
}
|
|
78708
|
+
};
|
|
78709
|
+
/**
|
|
78710
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
78711
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
78712
|
+
*/
|
|
78713
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.getUserAppId = function () {
|
|
78714
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
78715
|
+
};
|
|
78716
|
+
/**
|
|
78717
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
78718
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
|
|
78719
|
+
*/
|
|
78720
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.setUserAppId = function (value) {
|
|
78721
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
78722
|
+
};
|
|
78723
|
+
/**
|
|
78724
|
+
* Clears the message field making it undefined.
|
|
78725
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
|
|
78726
|
+
*/
|
|
78727
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.clearUserAppId = function () {
|
|
78728
|
+
return this.setUserAppId(undefined);
|
|
78729
|
+
};
|
|
78730
|
+
/**
|
|
78731
|
+
* Returns whether this field is set.
|
|
78732
|
+
* @return {boolean}
|
|
78733
|
+
*/
|
|
78734
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.hasUserAppId = function () {
|
|
78735
|
+
return jspb.Message.getField(this, 1) != null;
|
|
78736
|
+
};
|
|
78737
|
+
/**
|
|
78738
|
+
* optional string model_id = 2;
|
|
78739
|
+
* @return {string}
|
|
78740
|
+
*/
|
|
78741
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.getModelId = function () {
|
|
78742
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
78743
|
+
};
|
|
78744
|
+
/**
|
|
78745
|
+
* @param {string} value
|
|
78746
|
+
* @return {!proto.clarifai.api.PostModelMigrationRequest} returns this
|
|
78747
|
+
*/
|
|
78748
|
+
proto.clarifai.api.PostModelMigrationRequest.prototype.setModelId = function (value) {
|
|
78749
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
78750
|
+
};
|
|
76872
78751
|
/**
|
|
76873
78752
|
* @enum {number}
|
|
76874
78753
|
*/
|