clarifai-web-grpc 10.11.2 → 11.0.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +417 -10
- package/dist/cjs/proto/clarifai/api/service_pb.js +47 -1
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +417 -10
- package/dist/esm/proto/clarifai/api/service_pb.js +47 -1
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +6 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +80 -0
- package/proto/clarifai/api/resources_pb.js +523 -10
- package/proto/clarifai/api/service_pb.d.ts +8 -0
- package/proto/clarifai/api/service_pb.js +61 -1
- package/proto/clarifai/api/status/status_code_pb.d.ts +6 -0
- package/proto/clarifai/api/status/status_code_pb.js +6 -0
|
@@ -72,6 +72,7 @@ goog.exportSymbol('proto.clarifai.api.BookmarkOrigin.BookmarkType', null, global
|
|
|
72
72
|
goog.exportSymbol('proto.clarifai.api.BoundingBox', null, global);
|
|
73
73
|
goog.exportSymbol('proto.clarifai.api.BuildInfo', null, global);
|
|
74
74
|
goog.exportSymbol('proto.clarifai.api.BulkOperation', null, global);
|
|
75
|
+
goog.exportSymbol('proto.clarifai.api.BulkOperation.AnnotationSourceCase', null, global);
|
|
75
76
|
goog.exportSymbol('proto.clarifai.api.BulkOperation.InputSourceCase', null, global);
|
|
76
77
|
goog.exportSymbol('proto.clarifai.api.CloudProvider', null, global);
|
|
77
78
|
goog.exportSymbol('proto.clarifai.api.Cluster', null, global);
|
|
@@ -117,6 +118,7 @@ goog.exportSymbol('proto.clarifai.api.DatasetVersionMetricsGroup', null, global)
|
|
|
117
118
|
goog.exportSymbol('proto.clarifai.api.DatasetVersionMetricsGroupType', null, global);
|
|
118
119
|
goog.exportSymbol('proto.clarifai.api.DatasetVersionProcessingInfo', null, global);
|
|
119
120
|
goog.exportSymbol('proto.clarifai.api.DatasetVersionRequestOrigin', null, global);
|
|
121
|
+
goog.exportSymbol('proto.clarifai.api.DeleteAnnotations', null, global);
|
|
120
122
|
goog.exportSymbol('proto.clarifai.api.DeleteConcepts', null, global);
|
|
121
123
|
goog.exportSymbol('proto.clarifai.api.DeleteFromDataset', null, global);
|
|
122
124
|
goog.exportSymbol('proto.clarifai.api.DeleteGeo', null, global);
|
|
@@ -206,6 +208,7 @@ goog.exportSymbol('proto.clarifai.api.NodeCapacityType.CapacityType', null, glob
|
|
|
206
208
|
goog.exportSymbol('proto.clarifai.api.NodeInput', null, global);
|
|
207
209
|
goog.exportSymbol('proto.clarifai.api.Nodepool', null, global);
|
|
208
210
|
goog.exportSymbol('proto.clarifai.api.Operation', null, global);
|
|
211
|
+
goog.exportSymbol('proto.clarifai.api.Operation.AnnotationOperationCase', null, global);
|
|
209
212
|
goog.exportSymbol('proto.clarifai.api.Operation.OperationCase', null, global);
|
|
210
213
|
goog.exportSymbol('proto.clarifai.api.Output', null, global);
|
|
211
214
|
goog.exportSymbol('proto.clarifai.api.OutputConfig', null, global);
|
|
@@ -3512,7 +3515,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
3512
3515
|
* @constructor
|
|
3513
3516
|
*/
|
|
3514
3517
|
proto.clarifai.api.TaskReviewMetrics = function(opt_data) {
|
|
3515
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
3518
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.TaskReviewMetrics.repeatedFields_, null);
|
|
3516
3519
|
};
|
|
3517
3520
|
goog.inherits(proto.clarifai.api.TaskReviewMetrics, jspb.Message);
|
|
3518
3521
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -4299,6 +4302,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4299
4302
|
*/
|
|
4300
4303
|
proto.clarifai.api.DatasetSplit.displayName = 'proto.clarifai.api.DatasetSplit';
|
|
4301
4304
|
}
|
|
4305
|
+
/**
|
|
4306
|
+
* Generated by JsPbCodeGenerator.
|
|
4307
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4308
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4309
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4310
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4311
|
+
* valid.
|
|
4312
|
+
* @extends {jspb.Message}
|
|
4313
|
+
* @constructor
|
|
4314
|
+
*/
|
|
4315
|
+
proto.clarifai.api.DeleteAnnotations = function(opt_data) {
|
|
4316
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4317
|
+
};
|
|
4318
|
+
goog.inherits(proto.clarifai.api.DeleteAnnotations, jspb.Message);
|
|
4319
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4320
|
+
/**
|
|
4321
|
+
* @public
|
|
4322
|
+
* @override
|
|
4323
|
+
*/
|
|
4324
|
+
proto.clarifai.api.DeleteAnnotations.displayName = 'proto.clarifai.api.DeleteAnnotations';
|
|
4325
|
+
}
|
|
4302
4326
|
/**
|
|
4303
4327
|
* Generated by JsPbCodeGenerator.
|
|
4304
4328
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -17812,7 +17836,8 @@ proto.clarifai.api.Image.toObject = function(includeInstance, msg) {
|
|
|
17812
17836
|
allowDuplicateUrl: jspb.Message.getBooleanFieldWithDefault(msg, 4, false),
|
|
17813
17837
|
hosted: (f = msg.getHosted()) && proto.clarifai.api.HostedURL.toObject(includeInstance, f),
|
|
17814
17838
|
imageInfo: (f = msg.getImageInfo()) && proto.clarifai.api.ImageInfo.toObject(includeInstance, f),
|
|
17815
|
-
hostedImageInfoMap: (f = msg.getHostedImageInfoMap()) ? f.toObject(includeInstance, proto.clarifai.api.ImageInfo.toObject) : []
|
|
17839
|
+
hostedImageInfoMap: (f = msg.getHostedImageInfoMap()) ? f.toObject(includeInstance, proto.clarifai.api.ImageInfo.toObject) : [],
|
|
17840
|
+
decodedBytes: msg.getDecodedBytes_asB64()
|
|
17816
17841
|
};
|
|
17817
17842
|
|
|
17818
17843
|
if (includeInstance) {
|
|
@@ -17877,6 +17902,10 @@ proto.clarifai.api.Image.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
17877
17902
|
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.ImageInfo.deserializeBinaryFromReader, "", new proto.clarifai.api.ImageInfo());
|
|
17878
17903
|
});
|
|
17879
17904
|
break;
|
|
17905
|
+
case 8:
|
|
17906
|
+
var value = /** @type {!Uint8Array} */ (reader.readBytes());
|
|
17907
|
+
msg.setDecodedBytes(value);
|
|
17908
|
+
break;
|
|
17880
17909
|
default:
|
|
17881
17910
|
reader.skipField();
|
|
17882
17911
|
break;
|
|
@@ -17947,6 +17976,13 @@ proto.clarifai.api.Image.serializeBinaryToWriter = function(message, writer) {
|
|
|
17947
17976
|
if (f && f.getLength() > 0) {
|
|
17948
17977
|
f.serializeBinary(7, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.ImageInfo.serializeBinaryToWriter);
|
|
17949
17978
|
}
|
|
17979
|
+
f = message.getDecodedBytes_asU8();
|
|
17980
|
+
if (f.length > 0) {
|
|
17981
|
+
writer.writeBytes(
|
|
17982
|
+
8,
|
|
17983
|
+
f
|
|
17984
|
+
);
|
|
17985
|
+
}
|
|
17950
17986
|
};
|
|
17951
17987
|
|
|
17952
17988
|
|
|
@@ -18125,6 +18161,48 @@ proto.clarifai.api.Image.prototype.clearHostedImageInfoMap = function() {
|
|
|
18125
18161
|
};
|
|
18126
18162
|
|
|
18127
18163
|
|
|
18164
|
+
/**
|
|
18165
|
+
* optional bytes decoded_bytes = 8;
|
|
18166
|
+
* @return {string}
|
|
18167
|
+
*/
|
|
18168
|
+
proto.clarifai.api.Image.prototype.getDecodedBytes = function() {
|
|
18169
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
18170
|
+
};
|
|
18171
|
+
|
|
18172
|
+
|
|
18173
|
+
/**
|
|
18174
|
+
* optional bytes decoded_bytes = 8;
|
|
18175
|
+
* This is a type-conversion wrapper around `getDecodedBytes()`
|
|
18176
|
+
* @return {string}
|
|
18177
|
+
*/
|
|
18178
|
+
proto.clarifai.api.Image.prototype.getDecodedBytes_asB64 = function() {
|
|
18179
|
+
return /** @type {string} */ (jspb.Message.bytesAsB64(
|
|
18180
|
+
this.getDecodedBytes()));
|
|
18181
|
+
};
|
|
18182
|
+
|
|
18183
|
+
|
|
18184
|
+
/**
|
|
18185
|
+
* optional bytes decoded_bytes = 8;
|
|
18186
|
+
* Note that Uint8Array is not supported on all browsers.
|
|
18187
|
+
* @see http://caniuse.com/Uint8Array
|
|
18188
|
+
* This is a type-conversion wrapper around `getDecodedBytes()`
|
|
18189
|
+
* @return {!Uint8Array}
|
|
18190
|
+
*/
|
|
18191
|
+
proto.clarifai.api.Image.prototype.getDecodedBytes_asU8 = function() {
|
|
18192
|
+
return /** @type {!Uint8Array} */ (jspb.Message.bytesAsU8(
|
|
18193
|
+
this.getDecodedBytes()));
|
|
18194
|
+
};
|
|
18195
|
+
|
|
18196
|
+
|
|
18197
|
+
/**
|
|
18198
|
+
* @param {!(string|Uint8Array)} value
|
|
18199
|
+
* @return {!proto.clarifai.api.Image} returns this
|
|
18200
|
+
*/
|
|
18201
|
+
proto.clarifai.api.Image.prototype.setDecodedBytes = function(value) {
|
|
18202
|
+
return jspb.Message.setProto3BytesField(this, 8, value);
|
|
18203
|
+
};
|
|
18204
|
+
|
|
18205
|
+
|
|
18128
18206
|
|
|
18129
18207
|
|
|
18130
18208
|
|
|
@@ -18160,7 +18238,8 @@ proto.clarifai.api.ImageInfo.toObject = function(includeInstance, msg) {
|
|
|
18160
18238
|
width: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
18161
18239
|
height: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
18162
18240
|
format: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
18163
|
-
colorMode: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
18241
|
+
colorMode: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
18242
|
+
mode: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
18164
18243
|
};
|
|
18165
18244
|
|
|
18166
18245
|
if (includeInstance) {
|
|
@@ -18213,6 +18292,10 @@ proto.clarifai.api.ImageInfo.deserializeBinaryFromReader = function(msg, reader)
|
|
|
18213
18292
|
var value = /** @type {string} */ (reader.readString());
|
|
18214
18293
|
msg.setColorMode(value);
|
|
18215
18294
|
break;
|
|
18295
|
+
case 5:
|
|
18296
|
+
var value = /** @type {string} */ (reader.readString());
|
|
18297
|
+
msg.setMode(value);
|
|
18298
|
+
break;
|
|
18216
18299
|
default:
|
|
18217
18300
|
reader.skipField();
|
|
18218
18301
|
break;
|
|
@@ -18270,6 +18353,13 @@ proto.clarifai.api.ImageInfo.serializeBinaryToWriter = function(message, writer)
|
|
|
18270
18353
|
f
|
|
18271
18354
|
);
|
|
18272
18355
|
}
|
|
18356
|
+
f = message.getMode();
|
|
18357
|
+
if (f.length > 0) {
|
|
18358
|
+
writer.writeString(
|
|
18359
|
+
5,
|
|
18360
|
+
f
|
|
18361
|
+
);
|
|
18362
|
+
}
|
|
18273
18363
|
};
|
|
18274
18364
|
|
|
18275
18365
|
|
|
@@ -18345,6 +18435,24 @@ proto.clarifai.api.ImageInfo.prototype.setColorMode = function(value) {
|
|
|
18345
18435
|
};
|
|
18346
18436
|
|
|
18347
18437
|
|
|
18438
|
+
/**
|
|
18439
|
+
* optional string mode = 5;
|
|
18440
|
+
* @return {string}
|
|
18441
|
+
*/
|
|
18442
|
+
proto.clarifai.api.ImageInfo.prototype.getMode = function() {
|
|
18443
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
18444
|
+
};
|
|
18445
|
+
|
|
18446
|
+
|
|
18447
|
+
/**
|
|
18448
|
+
* @param {string} value
|
|
18449
|
+
* @return {!proto.clarifai.api.ImageInfo} returns this
|
|
18450
|
+
*/
|
|
18451
|
+
proto.clarifai.api.ImageInfo.prototype.setMode = function(value) {
|
|
18452
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
18453
|
+
};
|
|
18454
|
+
|
|
18455
|
+
|
|
18348
18456
|
|
|
18349
18457
|
/**
|
|
18350
18458
|
* List of repeated fields within this message type.
|
|
@@ -54081,6 +54189,13 @@ proto.clarifai.api.TaskWorkMetrics.prototype.setInputsPercentEstimated = functio
|
|
|
54081
54189
|
|
|
54082
54190
|
|
|
54083
54191
|
|
|
54192
|
+
/**
|
|
54193
|
+
* List of repeated fields within this message type.
|
|
54194
|
+
* @private {!Array<number>}
|
|
54195
|
+
* @const
|
|
54196
|
+
*/
|
|
54197
|
+
proto.clarifai.api.TaskReviewMetrics.repeatedFields_ = [3];
|
|
54198
|
+
|
|
54084
54199
|
|
|
54085
54200
|
|
|
54086
54201
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -54113,6 +54228,7 @@ proto.clarifai.api.TaskReviewMetrics.prototype.toObject = function(opt_includeIn
|
|
|
54113
54228
|
proto.clarifai.api.TaskReviewMetrics.toObject = function(includeInstance, msg) {
|
|
54114
54229
|
var f, obj = {
|
|
54115
54230
|
inputsCountEstimated: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
54231
|
+
inputsCountEstimatedPerReviewerList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
54116
54232
|
inputsPercentEstimated: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
54117
54233
|
};
|
|
54118
54234
|
|
|
@@ -54154,6 +54270,12 @@ proto.clarifai.api.TaskReviewMetrics.deserializeBinaryFromReader = function(msg,
|
|
|
54154
54270
|
var value = /** @type {number} */ (reader.readUint64());
|
|
54155
54271
|
msg.setInputsCountEstimated(value);
|
|
54156
54272
|
break;
|
|
54273
|
+
case 3:
|
|
54274
|
+
var values = /** @type {!Array<number>} */ (reader.isDelimited() ? reader.readPackedUint64() : [reader.readUint64()]);
|
|
54275
|
+
for (var i = 0; i < values.length; i++) {
|
|
54276
|
+
msg.addInputsCountEstimatedPerReviewer(values[i]);
|
|
54277
|
+
}
|
|
54278
|
+
break;
|
|
54157
54279
|
case 2:
|
|
54158
54280
|
var value = /** @type {number} */ (reader.readUint32());
|
|
54159
54281
|
msg.setInputsPercentEstimated(value);
|
|
@@ -54194,6 +54316,13 @@ proto.clarifai.api.TaskReviewMetrics.serializeBinaryToWriter = function(message,
|
|
|
54194
54316
|
f
|
|
54195
54317
|
);
|
|
54196
54318
|
}
|
|
54319
|
+
f = message.getInputsCountEstimatedPerReviewerList();
|
|
54320
|
+
if (f.length > 0) {
|
|
54321
|
+
writer.writePackedUint64(
|
|
54322
|
+
3,
|
|
54323
|
+
f
|
|
54324
|
+
);
|
|
54325
|
+
}
|
|
54197
54326
|
f = message.getInputsPercentEstimated();
|
|
54198
54327
|
if (f !== 0) {
|
|
54199
54328
|
writer.writeUint32(
|
|
@@ -54222,6 +54351,43 @@ proto.clarifai.api.TaskReviewMetrics.prototype.setInputsCountEstimated = functio
|
|
|
54222
54351
|
};
|
|
54223
54352
|
|
|
54224
54353
|
|
|
54354
|
+
/**
|
|
54355
|
+
* repeated uint64 inputs_count_estimated_per_reviewer = 3;
|
|
54356
|
+
* @return {!Array<number>}
|
|
54357
|
+
*/
|
|
54358
|
+
proto.clarifai.api.TaskReviewMetrics.prototype.getInputsCountEstimatedPerReviewerList = function() {
|
|
54359
|
+
return /** @type {!Array<number>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
54360
|
+
};
|
|
54361
|
+
|
|
54362
|
+
|
|
54363
|
+
/**
|
|
54364
|
+
* @param {!Array<number>} value
|
|
54365
|
+
* @return {!proto.clarifai.api.TaskReviewMetrics} returns this
|
|
54366
|
+
*/
|
|
54367
|
+
proto.clarifai.api.TaskReviewMetrics.prototype.setInputsCountEstimatedPerReviewerList = function(value) {
|
|
54368
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
54369
|
+
};
|
|
54370
|
+
|
|
54371
|
+
|
|
54372
|
+
/**
|
|
54373
|
+
* @param {number} value
|
|
54374
|
+
* @param {number=} opt_index
|
|
54375
|
+
* @return {!proto.clarifai.api.TaskReviewMetrics} returns this
|
|
54376
|
+
*/
|
|
54377
|
+
proto.clarifai.api.TaskReviewMetrics.prototype.addInputsCountEstimatedPerReviewer = function(value, opt_index) {
|
|
54378
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
54379
|
+
};
|
|
54380
|
+
|
|
54381
|
+
|
|
54382
|
+
/**
|
|
54383
|
+
* Clears the list making it empty but non-null.
|
|
54384
|
+
* @return {!proto.clarifai.api.TaskReviewMetrics} returns this
|
|
54385
|
+
*/
|
|
54386
|
+
proto.clarifai.api.TaskReviewMetrics.prototype.clearInputsCountEstimatedPerReviewerList = function() {
|
|
54387
|
+
return this.setInputsCountEstimatedPerReviewerList([]);
|
|
54388
|
+
};
|
|
54389
|
+
|
|
54390
|
+
|
|
54225
54391
|
/**
|
|
54226
54392
|
* optional uint32 inputs_percent_estimated = 2;
|
|
54227
54393
|
* @return {number}
|
|
@@ -60438,7 +60604,7 @@ proto.clarifai.api.InstalledModuleVersion.prototype.setKeyId = function(value) {
|
|
|
60438
60604
|
* @private {!Array<!Array<number>>}
|
|
60439
60605
|
* @const
|
|
60440
60606
|
*/
|
|
60441
|
-
proto.clarifai.api.BulkOperation.oneofGroups_ = [[2,10,11]];
|
|
60607
|
+
proto.clarifai.api.BulkOperation.oneofGroups_ = [[2,10,11],[12]];
|
|
60442
60608
|
|
|
60443
60609
|
/**
|
|
60444
60610
|
* @enum {number}
|
|
@@ -60457,6 +60623,21 @@ proto.clarifai.api.BulkOperation.prototype.getInputSourceCase = function() {
|
|
|
60457
60623
|
return /** @type {proto.clarifai.api.BulkOperation.InputSourceCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.BulkOperation.oneofGroups_[0]));
|
|
60458
60624
|
};
|
|
60459
60625
|
|
|
60626
|
+
/**
|
|
60627
|
+
* @enum {number}
|
|
60628
|
+
*/
|
|
60629
|
+
proto.clarifai.api.BulkOperation.AnnotationSourceCase = {
|
|
60630
|
+
ANNOTATION_SOURCE_NOT_SET: 0,
|
|
60631
|
+
ANNOTATION_SEARCH: 12
|
|
60632
|
+
};
|
|
60633
|
+
|
|
60634
|
+
/**
|
|
60635
|
+
* @return {proto.clarifai.api.BulkOperation.AnnotationSourceCase}
|
|
60636
|
+
*/
|
|
60637
|
+
proto.clarifai.api.BulkOperation.prototype.getAnnotationSourceCase = function() {
|
|
60638
|
+
return /** @type {proto.clarifai.api.BulkOperation.AnnotationSourceCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.BulkOperation.oneofGroups_[1]));
|
|
60639
|
+
};
|
|
60640
|
+
|
|
60460
60641
|
|
|
60461
60642
|
|
|
60462
60643
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -60492,6 +60673,7 @@ proto.clarifai.api.BulkOperation.toObject = function(includeInstance, msg) {
|
|
|
60492
60673
|
inputIds: (f = msg.getInputIds()) && proto.clarifai.api.InputIDs.toObject(includeInstance, f),
|
|
60493
60674
|
search: (f = msg.getSearch()) && proto.clarifai.api.Search.toObject(includeInstance, f),
|
|
60494
60675
|
dataset: (f = msg.getDataset()) && proto.clarifai.api.Dataset.toObject(includeInstance, f),
|
|
60676
|
+
annotationSearch: (f = msg.getAnnotationSearch()) && proto.clarifai.api.Search.toObject(includeInstance, f),
|
|
60495
60677
|
operation: (f = msg.getOperation()) && proto.clarifai.api.Operation.toObject(includeInstance, f),
|
|
60496
60678
|
appId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
60497
60679
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
@@ -60554,6 +60736,11 @@ proto.clarifai.api.BulkOperation.deserializeBinaryFromReader = function(msg, rea
|
|
|
60554
60736
|
reader.readMessage(value,proto.clarifai.api.Dataset.deserializeBinaryFromReader);
|
|
60555
60737
|
msg.setDataset(value);
|
|
60556
60738
|
break;
|
|
60739
|
+
case 12:
|
|
60740
|
+
var value = new proto.clarifai.api.Search;
|
|
60741
|
+
reader.readMessage(value,proto.clarifai.api.Search.deserializeBinaryFromReader);
|
|
60742
|
+
msg.setAnnotationSearch(value);
|
|
60743
|
+
break;
|
|
60557
60744
|
case 3:
|
|
60558
60745
|
var value = new proto.clarifai.api.Operation;
|
|
60559
60746
|
reader.readMessage(value,proto.clarifai.api.Operation.deserializeBinaryFromReader);
|
|
@@ -60647,6 +60834,14 @@ proto.clarifai.api.BulkOperation.serializeBinaryToWriter = function(message, wri
|
|
|
60647
60834
|
proto.clarifai.api.Dataset.serializeBinaryToWriter
|
|
60648
60835
|
);
|
|
60649
60836
|
}
|
|
60837
|
+
f = message.getAnnotationSearch();
|
|
60838
|
+
if (f != null) {
|
|
60839
|
+
writer.writeMessage(
|
|
60840
|
+
12,
|
|
60841
|
+
f,
|
|
60842
|
+
proto.clarifai.api.Search.serializeBinaryToWriter
|
|
60843
|
+
);
|
|
60844
|
+
}
|
|
60650
60845
|
f = message.getOperation();
|
|
60651
60846
|
if (f != null) {
|
|
60652
60847
|
writer.writeMessage(
|
|
@@ -60833,6 +61028,43 @@ proto.clarifai.api.BulkOperation.prototype.hasDataset = function() {
|
|
|
60833
61028
|
};
|
|
60834
61029
|
|
|
60835
61030
|
|
|
61031
|
+
/**
|
|
61032
|
+
* optional Search annotation_search = 12;
|
|
61033
|
+
* @return {?proto.clarifai.api.Search}
|
|
61034
|
+
*/
|
|
61035
|
+
proto.clarifai.api.BulkOperation.prototype.getAnnotationSearch = function() {
|
|
61036
|
+
return /** @type{?proto.clarifai.api.Search} */ (
|
|
61037
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Search, 12));
|
|
61038
|
+
};
|
|
61039
|
+
|
|
61040
|
+
|
|
61041
|
+
/**
|
|
61042
|
+
* @param {?proto.clarifai.api.Search|undefined} value
|
|
61043
|
+
* @return {!proto.clarifai.api.BulkOperation} returns this
|
|
61044
|
+
*/
|
|
61045
|
+
proto.clarifai.api.BulkOperation.prototype.setAnnotationSearch = function(value) {
|
|
61046
|
+
return jspb.Message.setOneofWrapperField(this, 12, proto.clarifai.api.BulkOperation.oneofGroups_[1], value);
|
|
61047
|
+
};
|
|
61048
|
+
|
|
61049
|
+
|
|
61050
|
+
/**
|
|
61051
|
+
* Clears the message field making it undefined.
|
|
61052
|
+
* @return {!proto.clarifai.api.BulkOperation} returns this
|
|
61053
|
+
*/
|
|
61054
|
+
proto.clarifai.api.BulkOperation.prototype.clearAnnotationSearch = function() {
|
|
61055
|
+
return this.setAnnotationSearch(undefined);
|
|
61056
|
+
};
|
|
61057
|
+
|
|
61058
|
+
|
|
61059
|
+
/**
|
|
61060
|
+
* Returns whether this field is set.
|
|
61061
|
+
* @return {boolean}
|
|
61062
|
+
*/
|
|
61063
|
+
proto.clarifai.api.BulkOperation.prototype.hasAnnotationSearch = function() {
|
|
61064
|
+
return jspb.Message.getField(this, 12) != null;
|
|
61065
|
+
};
|
|
61066
|
+
|
|
61067
|
+
|
|
60836
61068
|
/**
|
|
60837
61069
|
* optional Operation operation = 3;
|
|
60838
61070
|
* @return {?proto.clarifai.api.Operation}
|
|
@@ -61379,7 +61611,7 @@ proto.clarifai.api.Progress.prototype.setLastProcessedId = function(value) {
|
|
|
61379
61611
|
* @private {!Array<!Array<number>>}
|
|
61380
61612
|
* @const
|
|
61381
61613
|
*/
|
|
61382
|
-
proto.clarifai.api.Operation.oneofGroups_ = [[1,2,3,4,5,6,7,8,9]];
|
|
61614
|
+
proto.clarifai.api.Operation.oneofGroups_ = [[1,2,3,4,5,6,7,8,9],[10]];
|
|
61383
61615
|
|
|
61384
61616
|
/**
|
|
61385
61617
|
* @enum {number}
|
|
@@ -61404,6 +61636,21 @@ proto.clarifai.api.Operation.prototype.getOperationCase = function() {
|
|
|
61404
61636
|
return /** @type {proto.clarifai.api.Operation.OperationCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.Operation.oneofGroups_[0]));
|
|
61405
61637
|
};
|
|
61406
61638
|
|
|
61639
|
+
/**
|
|
61640
|
+
* @enum {number}
|
|
61641
|
+
*/
|
|
61642
|
+
proto.clarifai.api.Operation.AnnotationOperationCase = {
|
|
61643
|
+
ANNOTATION_OPERATION_NOT_SET: 0,
|
|
61644
|
+
DELETE_ANNOTATIONS: 10
|
|
61645
|
+
};
|
|
61646
|
+
|
|
61647
|
+
/**
|
|
61648
|
+
* @return {proto.clarifai.api.Operation.AnnotationOperationCase}
|
|
61649
|
+
*/
|
|
61650
|
+
proto.clarifai.api.Operation.prototype.getAnnotationOperationCase = function() {
|
|
61651
|
+
return /** @type {proto.clarifai.api.Operation.AnnotationOperationCase} */(jspb.Message.computeOneofCase(this, proto.clarifai.api.Operation.oneofGroups_[1]));
|
|
61652
|
+
};
|
|
61653
|
+
|
|
61407
61654
|
|
|
61408
61655
|
|
|
61409
61656
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -61443,7 +61690,8 @@ proto.clarifai.api.Operation.toObject = function(includeInstance, msg) {
|
|
|
61443
61690
|
deleteGeo: (f = msg.getDeleteGeo()) && proto.clarifai.api.DeleteGeo.toObject(includeInstance, f),
|
|
61444
61691
|
deleteFromDataset: (f = msg.getDeleteFromDataset()) && proto.clarifai.api.DeleteFromDataset.toObject(includeInstance, f),
|
|
61445
61692
|
addToDataset: (f = msg.getAddToDataset()) && proto.clarifai.api.AddToDataset.toObject(includeInstance, f),
|
|
61446
|
-
splitIntoDatasets: (f = msg.getSplitIntoDatasets()) && proto.clarifai.api.SplitIntoDatasets.toObject(includeInstance, f)
|
|
61693
|
+
splitIntoDatasets: (f = msg.getSplitIntoDatasets()) && proto.clarifai.api.SplitIntoDatasets.toObject(includeInstance, f),
|
|
61694
|
+
deleteAnnotations: (f = msg.getDeleteAnnotations()) && proto.clarifai.api.DeleteAnnotations.toObject(includeInstance, f)
|
|
61447
61695
|
};
|
|
61448
61696
|
|
|
61449
61697
|
if (includeInstance) {
|
|
@@ -61525,6 +61773,11 @@ proto.clarifai.api.Operation.deserializeBinaryFromReader = function(msg, reader)
|
|
|
61525
61773
|
reader.readMessage(value,proto.clarifai.api.SplitIntoDatasets.deserializeBinaryFromReader);
|
|
61526
61774
|
msg.setSplitIntoDatasets(value);
|
|
61527
61775
|
break;
|
|
61776
|
+
case 10:
|
|
61777
|
+
var value = new proto.clarifai.api.DeleteAnnotations;
|
|
61778
|
+
reader.readMessage(value,proto.clarifai.api.DeleteAnnotations.deserializeBinaryFromReader);
|
|
61779
|
+
msg.setDeleteAnnotations(value);
|
|
61780
|
+
break;
|
|
61528
61781
|
default:
|
|
61529
61782
|
reader.skipField();
|
|
61530
61783
|
break;
|
|
@@ -61626,6 +61879,14 @@ proto.clarifai.api.Operation.serializeBinaryToWriter = function(message, writer)
|
|
|
61626
61879
|
proto.clarifai.api.SplitIntoDatasets.serializeBinaryToWriter
|
|
61627
61880
|
);
|
|
61628
61881
|
}
|
|
61882
|
+
f = message.getDeleteAnnotations();
|
|
61883
|
+
if (f != null) {
|
|
61884
|
+
writer.writeMessage(
|
|
61885
|
+
10,
|
|
61886
|
+
f,
|
|
61887
|
+
proto.clarifai.api.DeleteAnnotations.serializeBinaryToWriter
|
|
61888
|
+
);
|
|
61889
|
+
}
|
|
61629
61890
|
};
|
|
61630
61891
|
|
|
61631
61892
|
|
|
@@ -61962,6 +62223,43 @@ proto.clarifai.api.Operation.prototype.hasSplitIntoDatasets = function() {
|
|
|
61962
62223
|
};
|
|
61963
62224
|
|
|
61964
62225
|
|
|
62226
|
+
/**
|
|
62227
|
+
* optional DeleteAnnotations delete_annotations = 10;
|
|
62228
|
+
* @return {?proto.clarifai.api.DeleteAnnotations}
|
|
62229
|
+
*/
|
|
62230
|
+
proto.clarifai.api.Operation.prototype.getDeleteAnnotations = function() {
|
|
62231
|
+
return /** @type{?proto.clarifai.api.DeleteAnnotations} */ (
|
|
62232
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.DeleteAnnotations, 10));
|
|
62233
|
+
};
|
|
62234
|
+
|
|
62235
|
+
|
|
62236
|
+
/**
|
|
62237
|
+
* @param {?proto.clarifai.api.DeleteAnnotations|undefined} value
|
|
62238
|
+
* @return {!proto.clarifai.api.Operation} returns this
|
|
62239
|
+
*/
|
|
62240
|
+
proto.clarifai.api.Operation.prototype.setDeleteAnnotations = function(value) {
|
|
62241
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.clarifai.api.Operation.oneofGroups_[1], value);
|
|
62242
|
+
};
|
|
62243
|
+
|
|
62244
|
+
|
|
62245
|
+
/**
|
|
62246
|
+
* Clears the message field making it undefined.
|
|
62247
|
+
* @return {!proto.clarifai.api.Operation} returns this
|
|
62248
|
+
*/
|
|
62249
|
+
proto.clarifai.api.Operation.prototype.clearDeleteAnnotations = function() {
|
|
62250
|
+
return this.setDeleteAnnotations(undefined);
|
|
62251
|
+
};
|
|
62252
|
+
|
|
62253
|
+
|
|
62254
|
+
/**
|
|
62255
|
+
* Returns whether this field is set.
|
|
62256
|
+
* @return {boolean}
|
|
62257
|
+
*/
|
|
62258
|
+
proto.clarifai.api.Operation.prototype.hasDeleteAnnotations = function() {
|
|
62259
|
+
return jspb.Message.getField(this, 10) != null;
|
|
62260
|
+
};
|
|
62261
|
+
|
|
62262
|
+
|
|
61965
62263
|
|
|
61966
62264
|
/**
|
|
61967
62265
|
* List of repeated fields within this message type.
|
|
@@ -63568,6 +63866,107 @@ proto.clarifai.api.DatasetSplit.prototype.hasPercentage = function() {
|
|
|
63568
63866
|
|
|
63569
63867
|
|
|
63570
63868
|
|
|
63869
|
+
|
|
63870
|
+
|
|
63871
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
63872
|
+
/**
|
|
63873
|
+
* Creates an object representation of this proto.
|
|
63874
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
63875
|
+
* Optional fields that are not set will be set to undefined.
|
|
63876
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
63877
|
+
* For the list of reserved names please see:
|
|
63878
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
63879
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
63880
|
+
* JSPB instance for transitional soy proto support:
|
|
63881
|
+
* http://goto/soy-param-migration
|
|
63882
|
+
* @return {!Object}
|
|
63883
|
+
*/
|
|
63884
|
+
proto.clarifai.api.DeleteAnnotations.prototype.toObject = function(opt_includeInstance) {
|
|
63885
|
+
return proto.clarifai.api.DeleteAnnotations.toObject(opt_includeInstance, this);
|
|
63886
|
+
};
|
|
63887
|
+
|
|
63888
|
+
|
|
63889
|
+
/**
|
|
63890
|
+
* Static version of the {@see toObject} method.
|
|
63891
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
63892
|
+
* the JSPB instance for transitional soy proto support:
|
|
63893
|
+
* http://goto/soy-param-migration
|
|
63894
|
+
* @param {!proto.clarifai.api.DeleteAnnotations} msg The msg instance to transform.
|
|
63895
|
+
* @return {!Object}
|
|
63896
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63897
|
+
*/
|
|
63898
|
+
proto.clarifai.api.DeleteAnnotations.toObject = function(includeInstance, msg) {
|
|
63899
|
+
var f, obj = {
|
|
63900
|
+
|
|
63901
|
+
};
|
|
63902
|
+
|
|
63903
|
+
if (includeInstance) {
|
|
63904
|
+
obj.$jspbMessageInstance = msg;
|
|
63905
|
+
}
|
|
63906
|
+
return obj;
|
|
63907
|
+
};
|
|
63908
|
+
}
|
|
63909
|
+
|
|
63910
|
+
|
|
63911
|
+
/**
|
|
63912
|
+
* Deserializes binary data (in protobuf wire format).
|
|
63913
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
63914
|
+
* @return {!proto.clarifai.api.DeleteAnnotations}
|
|
63915
|
+
*/
|
|
63916
|
+
proto.clarifai.api.DeleteAnnotations.deserializeBinary = function(bytes) {
|
|
63917
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
63918
|
+
var msg = new proto.clarifai.api.DeleteAnnotations;
|
|
63919
|
+
return proto.clarifai.api.DeleteAnnotations.deserializeBinaryFromReader(msg, reader);
|
|
63920
|
+
};
|
|
63921
|
+
|
|
63922
|
+
|
|
63923
|
+
/**
|
|
63924
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
63925
|
+
* given reader into the given message object.
|
|
63926
|
+
* @param {!proto.clarifai.api.DeleteAnnotations} msg The message object to deserialize into.
|
|
63927
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
63928
|
+
* @return {!proto.clarifai.api.DeleteAnnotations}
|
|
63929
|
+
*/
|
|
63930
|
+
proto.clarifai.api.DeleteAnnotations.deserializeBinaryFromReader = function(msg, reader) {
|
|
63931
|
+
while (reader.nextField()) {
|
|
63932
|
+
if (reader.isEndGroup()) {
|
|
63933
|
+
break;
|
|
63934
|
+
}
|
|
63935
|
+
var field = reader.getFieldNumber();
|
|
63936
|
+
switch (field) {
|
|
63937
|
+
default:
|
|
63938
|
+
reader.skipField();
|
|
63939
|
+
break;
|
|
63940
|
+
}
|
|
63941
|
+
}
|
|
63942
|
+
return msg;
|
|
63943
|
+
};
|
|
63944
|
+
|
|
63945
|
+
|
|
63946
|
+
/**
|
|
63947
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
63948
|
+
* @return {!Uint8Array}
|
|
63949
|
+
*/
|
|
63950
|
+
proto.clarifai.api.DeleteAnnotations.prototype.serializeBinary = function() {
|
|
63951
|
+
var writer = new jspb.BinaryWriter();
|
|
63952
|
+
proto.clarifai.api.DeleteAnnotations.serializeBinaryToWriter(this, writer);
|
|
63953
|
+
return writer.getResultBuffer();
|
|
63954
|
+
};
|
|
63955
|
+
|
|
63956
|
+
|
|
63957
|
+
/**
|
|
63958
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
63959
|
+
* format), writing to the given BinaryWriter.
|
|
63960
|
+
* @param {!proto.clarifai.api.DeleteAnnotations} message
|
|
63961
|
+
* @param {!jspb.BinaryWriter} writer
|
|
63962
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
63963
|
+
*/
|
|
63964
|
+
proto.clarifai.api.DeleteAnnotations.serializeBinaryToWriter = function(message, writer) {
|
|
63965
|
+
var f = undefined;
|
|
63966
|
+
};
|
|
63967
|
+
|
|
63968
|
+
|
|
63969
|
+
|
|
63571
63970
|
/**
|
|
63572
63971
|
* List of repeated fields within this message type.
|
|
63573
63972
|
* @private {!Array<number>}
|
|
@@ -71205,7 +71604,7 @@ proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
|
|
|
71205
71604
|
* @private {!Array<!Array<number>>}
|
|
71206
71605
|
* @const
|
|
71207
71606
|
*/
|
|
71208
|
-
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8]];
|
|
71607
|
+
proto.clarifai.api.AuditLogTarget.oneofGroups_ = [[1,2,3,4,5,6,7,8,9,10]];
|
|
71209
71608
|
|
|
71210
71609
|
/**
|
|
71211
71610
|
* @enum {number}
|
|
@@ -71219,7 +71618,9 @@ proto.clarifai.api.AuditLogTarget.TargetCase = {
|
|
|
71219
71618
|
MODULE: 5,
|
|
71220
71619
|
MODULE_VERSION: 6,
|
|
71221
71620
|
WORKFLOW: 7,
|
|
71222
|
-
WORKFLOW_VERSION: 8
|
|
71621
|
+
WORKFLOW_VERSION: 8,
|
|
71622
|
+
MODEL: 9,
|
|
71623
|
+
MODEL_VERSION: 10
|
|
71223
71624
|
};
|
|
71224
71625
|
|
|
71225
71626
|
/**
|
|
@@ -71267,7 +71668,9 @@ proto.clarifai.api.AuditLogTarget.toObject = function(includeInstance, msg) {
|
|
|
71267
71668
|
module: (f = msg.getModule()) && proto.clarifai.api.Module.toObject(includeInstance, f),
|
|
71268
71669
|
moduleVersion: (f = msg.getModuleVersion()) && proto.clarifai.api.ModuleVersion.toObject(includeInstance, f),
|
|
71269
71670
|
workflow: (f = msg.getWorkflow()) && proto.clarifai.api.Workflow.toObject(includeInstance, f),
|
|
71270
|
-
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f)
|
|
71671
|
+
workflowVersion: (f = msg.getWorkflowVersion()) && proto.clarifai.api.WorkflowVersion.toObject(includeInstance, f),
|
|
71672
|
+
model: (f = msg.getModel()) && proto.clarifai.api.Model.toObject(includeInstance, f),
|
|
71673
|
+
modelVersion: (f = msg.getModelVersion()) && proto.clarifai.api.ModelVersion.toObject(includeInstance, f)
|
|
71271
71674
|
};
|
|
71272
71675
|
|
|
71273
71676
|
if (includeInstance) {
|
|
@@ -71344,6 +71747,16 @@ proto.clarifai.api.AuditLogTarget.deserializeBinaryFromReader = function(msg, re
|
|
|
71344
71747
|
reader.readMessage(value,proto.clarifai.api.WorkflowVersion.deserializeBinaryFromReader);
|
|
71345
71748
|
msg.setWorkflowVersion(value);
|
|
71346
71749
|
break;
|
|
71750
|
+
case 9:
|
|
71751
|
+
var value = new proto.clarifai.api.Model;
|
|
71752
|
+
reader.readMessage(value,proto.clarifai.api.Model.deserializeBinaryFromReader);
|
|
71753
|
+
msg.setModel(value);
|
|
71754
|
+
break;
|
|
71755
|
+
case 10:
|
|
71756
|
+
var value = new proto.clarifai.api.ModelVersion;
|
|
71757
|
+
reader.readMessage(value,proto.clarifai.api.ModelVersion.deserializeBinaryFromReader);
|
|
71758
|
+
msg.setModelVersion(value);
|
|
71759
|
+
break;
|
|
71347
71760
|
default:
|
|
71348
71761
|
reader.skipField();
|
|
71349
71762
|
break;
|
|
@@ -71437,6 +71850,22 @@ proto.clarifai.api.AuditLogTarget.serializeBinaryToWriter = function(message, wr
|
|
|
71437
71850
|
proto.clarifai.api.WorkflowVersion.serializeBinaryToWriter
|
|
71438
71851
|
);
|
|
71439
71852
|
}
|
|
71853
|
+
f = message.getModel();
|
|
71854
|
+
if (f != null) {
|
|
71855
|
+
writer.writeMessage(
|
|
71856
|
+
9,
|
|
71857
|
+
f,
|
|
71858
|
+
proto.clarifai.api.Model.serializeBinaryToWriter
|
|
71859
|
+
);
|
|
71860
|
+
}
|
|
71861
|
+
f = message.getModelVersion();
|
|
71862
|
+
if (f != null) {
|
|
71863
|
+
writer.writeMessage(
|
|
71864
|
+
10,
|
|
71865
|
+
f,
|
|
71866
|
+
proto.clarifai.api.ModelVersion.serializeBinaryToWriter
|
|
71867
|
+
);
|
|
71868
|
+
}
|
|
71440
71869
|
};
|
|
71441
71870
|
|
|
71442
71871
|
|
|
@@ -71736,6 +72165,80 @@ proto.clarifai.api.AuditLogTarget.prototype.hasWorkflowVersion = function() {
|
|
|
71736
72165
|
};
|
|
71737
72166
|
|
|
71738
72167
|
|
|
72168
|
+
/**
|
|
72169
|
+
* optional Model model = 9;
|
|
72170
|
+
* @return {?proto.clarifai.api.Model}
|
|
72171
|
+
*/
|
|
72172
|
+
proto.clarifai.api.AuditLogTarget.prototype.getModel = function() {
|
|
72173
|
+
return /** @type{?proto.clarifai.api.Model} */ (
|
|
72174
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Model, 9));
|
|
72175
|
+
};
|
|
72176
|
+
|
|
72177
|
+
|
|
72178
|
+
/**
|
|
72179
|
+
* @param {?proto.clarifai.api.Model|undefined} value
|
|
72180
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72181
|
+
*/
|
|
72182
|
+
proto.clarifai.api.AuditLogTarget.prototype.setModel = function(value) {
|
|
72183
|
+
return jspb.Message.setOneofWrapperField(this, 9, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
72184
|
+
};
|
|
72185
|
+
|
|
72186
|
+
|
|
72187
|
+
/**
|
|
72188
|
+
* Clears the message field making it undefined.
|
|
72189
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72190
|
+
*/
|
|
72191
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearModel = function() {
|
|
72192
|
+
return this.setModel(undefined);
|
|
72193
|
+
};
|
|
72194
|
+
|
|
72195
|
+
|
|
72196
|
+
/**
|
|
72197
|
+
* Returns whether this field is set.
|
|
72198
|
+
* @return {boolean}
|
|
72199
|
+
*/
|
|
72200
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasModel = function() {
|
|
72201
|
+
return jspb.Message.getField(this, 9) != null;
|
|
72202
|
+
};
|
|
72203
|
+
|
|
72204
|
+
|
|
72205
|
+
/**
|
|
72206
|
+
* optional ModelVersion model_version = 10;
|
|
72207
|
+
* @return {?proto.clarifai.api.ModelVersion}
|
|
72208
|
+
*/
|
|
72209
|
+
proto.clarifai.api.AuditLogTarget.prototype.getModelVersion = function() {
|
|
72210
|
+
return /** @type{?proto.clarifai.api.ModelVersion} */ (
|
|
72211
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.ModelVersion, 10));
|
|
72212
|
+
};
|
|
72213
|
+
|
|
72214
|
+
|
|
72215
|
+
/**
|
|
72216
|
+
* @param {?proto.clarifai.api.ModelVersion|undefined} value
|
|
72217
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72218
|
+
*/
|
|
72219
|
+
proto.clarifai.api.AuditLogTarget.prototype.setModelVersion = function(value) {
|
|
72220
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.clarifai.api.AuditLogTarget.oneofGroups_[0], value);
|
|
72221
|
+
};
|
|
72222
|
+
|
|
72223
|
+
|
|
72224
|
+
/**
|
|
72225
|
+
* Clears the message field making it undefined.
|
|
72226
|
+
* @return {!proto.clarifai.api.AuditLogTarget} returns this
|
|
72227
|
+
*/
|
|
72228
|
+
proto.clarifai.api.AuditLogTarget.prototype.clearModelVersion = function() {
|
|
72229
|
+
return this.setModelVersion(undefined);
|
|
72230
|
+
};
|
|
72231
|
+
|
|
72232
|
+
|
|
72233
|
+
/**
|
|
72234
|
+
* Returns whether this field is set.
|
|
72235
|
+
* @return {boolean}
|
|
72236
|
+
*/
|
|
72237
|
+
proto.clarifai.api.AuditLogTarget.prototype.hasModelVersion = function() {
|
|
72238
|
+
return jspb.Message.getField(this, 10) != null;
|
|
72239
|
+
};
|
|
72240
|
+
|
|
72241
|
+
|
|
71739
72242
|
|
|
71740
72243
|
/**
|
|
71741
72244
|
* List of repeated fields within this message type.
|
|
@@ -74007,15 +74510,25 @@ proto.clarifai.api.EventType = {
|
|
|
74007
74510
|
MODULE_VERSION_CREATE: 203,
|
|
74008
74511
|
MODULE_VERSION_UPDATE: 204,
|
|
74009
74512
|
MODULE_VERSION_DELETE: 205,
|
|
74513
|
+
MODEL_CREATE: 300,
|
|
74514
|
+
MODEL_UPDATE: 301,
|
|
74515
|
+
MODEL_DELETE: 302,
|
|
74516
|
+
MODEL_VERSION_CREATE: 303,
|
|
74517
|
+
MODEL_VERSION_UPDATE: 304,
|
|
74518
|
+
MODEL_VERSION_DELETE: 305,
|
|
74010
74519
|
WORKFLOW_CREATE: 400,
|
|
74011
74520
|
WORKFLOW_UPDATE: 401,
|
|
74012
74521
|
WORKFLOW_DELETE: 402,
|
|
74013
74522
|
WORKFLOW_VERSION_CREATE: 403,
|
|
74014
74523
|
WORKFLOW_VERSION_UPDATE: 404,
|
|
74015
74524
|
WORKFLOW_VERSION_DELETE: 405,
|
|
74525
|
+
APPLICATION_CREATE: 600,
|
|
74526
|
+
APPLICATION_UPDATE: 601,
|
|
74527
|
+
APPLICATION_DELETE: 602,
|
|
74016
74528
|
COLLABORATOR_ADD: 700,
|
|
74017
74529
|
COLLABORATOR_UPDATE: 701,
|
|
74018
|
-
COLLABORATOR_REMOVE: 702
|
|
74530
|
+
COLLABORATOR_REMOVE: 702,
|
|
74531
|
+
USER_UPDATE: 800
|
|
74019
74532
|
};
|
|
74020
74533
|
|
|
74021
74534
|
goog.object.extend(exports, proto.clarifai.api);
|