clarifai-web-grpc 10.7.1 → 10.8.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 +1052 -4
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +502 -1
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +1052 -4
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +502 -1
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +3 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +177 -2
- package/proto/clarifai/api/resources_pb.js +1321 -4
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +74 -0
- package/proto/clarifai/api/service_pb.js +629 -1
- package/proto/clarifai/auth/scope/scope_pb.d.ts +2 -0
- package/proto/clarifai/auth/scope/scope_pb.js +3 -1
|
@@ -194,6 +194,7 @@ goog.exportSymbol('proto.clarifai.api.MultiAnnotationResponse', null, global);
|
|
|
194
194
|
goog.exportSymbol('proto.clarifai.api.MultiAnnotationSearchMetricsResponse', null, global);
|
|
195
195
|
goog.exportSymbol('proto.clarifai.api.MultiAppDuplicationsResponse', null, global);
|
|
196
196
|
goog.exportSymbol('proto.clarifai.api.MultiAppResponse', null, global);
|
|
197
|
+
goog.exportSymbol('proto.clarifai.api.MultiAuditLogSearchResponse', null, global);
|
|
197
198
|
goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global);
|
|
198
199
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
199
200
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
@@ -298,6 +299,7 @@ goog.exportSymbol('proto.clarifai.api.PostAnnotationsSearchesRequest', null, glo
|
|
|
298
299
|
goog.exportSymbol('proto.clarifai.api.PostAppDuplicationsRequest', null, global);
|
|
299
300
|
goog.exportSymbol('proto.clarifai.api.PostAppsRequest', null, global);
|
|
300
301
|
goog.exportSymbol('proto.clarifai.api.PostAppsSearchesRequest', null, global);
|
|
302
|
+
goog.exportSymbol('proto.clarifai.api.PostAuditLogSearchesRequest', null, global);
|
|
301
303
|
goog.exportSymbol('proto.clarifai.api.PostBulkOperationsRequest', null, global);
|
|
302
304
|
goog.exportSymbol('proto.clarifai.api.PostCollaboratorsRequest', null, global);
|
|
303
305
|
goog.exportSymbol('proto.clarifai.api.PostCollectorsRequest', null, global);
|
|
@@ -7823,6 +7825,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7823
7825
|
*/
|
|
7824
7826
|
proto.clarifai.api.DeleteDeploymentsRequest.displayName = 'proto.clarifai.api.DeleteDeploymentsRequest';
|
|
7825
7827
|
}
|
|
7828
|
+
/**
|
|
7829
|
+
* Generated by JsPbCodeGenerator.
|
|
7830
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7831
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7832
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7833
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7834
|
+
* valid.
|
|
7835
|
+
* @extends {jspb.Message}
|
|
7836
|
+
* @constructor
|
|
7837
|
+
*/
|
|
7838
|
+
proto.clarifai.api.PostAuditLogSearchesRequest = function(opt_data) {
|
|
7839
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7840
|
+
};
|
|
7841
|
+
goog.inherits(proto.clarifai.api.PostAuditLogSearchesRequest, jspb.Message);
|
|
7842
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7843
|
+
/**
|
|
7844
|
+
* @public
|
|
7845
|
+
* @override
|
|
7846
|
+
*/
|
|
7847
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.displayName = 'proto.clarifai.api.PostAuditLogSearchesRequest';
|
|
7848
|
+
}
|
|
7849
|
+
/**
|
|
7850
|
+
* Generated by JsPbCodeGenerator.
|
|
7851
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7852
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7853
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7854
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7855
|
+
* valid.
|
|
7856
|
+
* @extends {jspb.Message}
|
|
7857
|
+
* @constructor
|
|
7858
|
+
*/
|
|
7859
|
+
proto.clarifai.api.MultiAuditLogSearchResponse = function(opt_data) {
|
|
7860
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiAuditLogSearchResponse.repeatedFields_, null);
|
|
7861
|
+
};
|
|
7862
|
+
goog.inherits(proto.clarifai.api.MultiAuditLogSearchResponse, jspb.Message);
|
|
7863
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7864
|
+
/**
|
|
7865
|
+
* @public
|
|
7866
|
+
* @override
|
|
7867
|
+
*/
|
|
7868
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.displayName = 'proto.clarifai.api.MultiAuditLogSearchResponse';
|
|
7869
|
+
}
|
|
7826
7870
|
/**
|
|
7827
7871
|
* Generated by JsPbCodeGenerator.
|
|
7828
7872
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -34391,7 +34435,10 @@ proto.clarifai.api.ListModelsRequest.toObject = function(includeInstance, msg) {
|
|
|
34391
34435
|
query: jspb.Message.getFieldWithDefault(msg, 14, ""),
|
|
34392
34436
|
name: jspb.Message.getFieldWithDefault(msg, 5, ""),
|
|
34393
34437
|
filterByUserId: jspb.Message.getBooleanFieldWithDefault(msg, 22, false),
|
|
34394
|
-
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f
|
|
34438
|
+
modelVersionIdsList: (f = jspb.Message.getRepeatedField(msg, 28)) == null ? undefined : f,
|
|
34439
|
+
licenseType: jspb.Message.getFieldWithDefault(msg, 29, 0),
|
|
34440
|
+
source: jspb.Message.getFieldWithDefault(msg, 30, 0),
|
|
34441
|
+
creator: jspb.Message.getFieldWithDefault(msg, 31, "")
|
|
34395
34442
|
};
|
|
34396
34443
|
|
|
34397
34444
|
if (includeInstance) {
|
|
@@ -34537,6 +34584,18 @@ proto.clarifai.api.ListModelsRequest.deserializeBinaryFromReader = function(msg,
|
|
|
34537
34584
|
var value = /** @type {string} */ (reader.readString());
|
|
34538
34585
|
msg.addModelVersionIds(value);
|
|
34539
34586
|
break;
|
|
34587
|
+
case 29:
|
|
34588
|
+
var value = /** @type {!proto.clarifai.api.LicenseType} */ (reader.readEnum());
|
|
34589
|
+
msg.setLicenseType(value);
|
|
34590
|
+
break;
|
|
34591
|
+
case 30:
|
|
34592
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
34593
|
+
msg.setSource(value);
|
|
34594
|
+
break;
|
|
34595
|
+
case 31:
|
|
34596
|
+
var value = /** @type {string} */ (reader.readString());
|
|
34597
|
+
msg.setCreator(value);
|
|
34598
|
+
break;
|
|
34540
34599
|
default:
|
|
34541
34600
|
reader.skipField();
|
|
34542
34601
|
break;
|
|
@@ -34756,6 +34815,27 @@ proto.clarifai.api.ListModelsRequest.serializeBinaryToWriter = function(message,
|
|
|
34756
34815
|
f
|
|
34757
34816
|
);
|
|
34758
34817
|
}
|
|
34818
|
+
f = message.getLicenseType();
|
|
34819
|
+
if (f !== 0.0) {
|
|
34820
|
+
writer.writeEnum(
|
|
34821
|
+
29,
|
|
34822
|
+
f
|
|
34823
|
+
);
|
|
34824
|
+
}
|
|
34825
|
+
f = message.getSource();
|
|
34826
|
+
if (f !== 0) {
|
|
34827
|
+
writer.writeUint32(
|
|
34828
|
+
30,
|
|
34829
|
+
f
|
|
34830
|
+
);
|
|
34831
|
+
}
|
|
34832
|
+
f = message.getCreator();
|
|
34833
|
+
if (f.length > 0) {
|
|
34834
|
+
writer.writeString(
|
|
34835
|
+
31,
|
|
34836
|
+
f
|
|
34837
|
+
);
|
|
34838
|
+
}
|
|
34759
34839
|
};
|
|
34760
34840
|
|
|
34761
34841
|
|
|
@@ -35487,6 +35567,60 @@ proto.clarifai.api.ListModelsRequest.prototype.clearModelVersionIdsList = functi
|
|
|
35487
35567
|
};
|
|
35488
35568
|
|
|
35489
35569
|
|
|
35570
|
+
/**
|
|
35571
|
+
* optional LicenseType license_type = 29;
|
|
35572
|
+
* @return {!proto.clarifai.api.LicenseType}
|
|
35573
|
+
*/
|
|
35574
|
+
proto.clarifai.api.ListModelsRequest.prototype.getLicenseType = function() {
|
|
35575
|
+
return /** @type {!proto.clarifai.api.LicenseType} */ (jspb.Message.getFieldWithDefault(this, 29, 0));
|
|
35576
|
+
};
|
|
35577
|
+
|
|
35578
|
+
|
|
35579
|
+
/**
|
|
35580
|
+
* @param {!proto.clarifai.api.LicenseType} value
|
|
35581
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
35582
|
+
*/
|
|
35583
|
+
proto.clarifai.api.ListModelsRequest.prototype.setLicenseType = function(value) {
|
|
35584
|
+
return jspb.Message.setProto3EnumField(this, 29, value);
|
|
35585
|
+
};
|
|
35586
|
+
|
|
35587
|
+
|
|
35588
|
+
/**
|
|
35589
|
+
* optional uint32 source = 30;
|
|
35590
|
+
* @return {number}
|
|
35591
|
+
*/
|
|
35592
|
+
proto.clarifai.api.ListModelsRequest.prototype.getSource = function() {
|
|
35593
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 30, 0));
|
|
35594
|
+
};
|
|
35595
|
+
|
|
35596
|
+
|
|
35597
|
+
/**
|
|
35598
|
+
* @param {number} value
|
|
35599
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
35600
|
+
*/
|
|
35601
|
+
proto.clarifai.api.ListModelsRequest.prototype.setSource = function(value) {
|
|
35602
|
+
return jspb.Message.setProto3IntField(this, 30, value);
|
|
35603
|
+
};
|
|
35604
|
+
|
|
35605
|
+
|
|
35606
|
+
/**
|
|
35607
|
+
* optional string creator = 31;
|
|
35608
|
+
* @return {string}
|
|
35609
|
+
*/
|
|
35610
|
+
proto.clarifai.api.ListModelsRequest.prototype.getCreator = function() {
|
|
35611
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 31, ""));
|
|
35612
|
+
};
|
|
35613
|
+
|
|
35614
|
+
|
|
35615
|
+
/**
|
|
35616
|
+
* @param {string} value
|
|
35617
|
+
* @return {!proto.clarifai.api.ListModelsRequest} returns this
|
|
35618
|
+
*/
|
|
35619
|
+
proto.clarifai.api.ListModelsRequest.prototype.setCreator = function(value) {
|
|
35620
|
+
return jspb.Message.setProto3StringField(this, 31, value);
|
|
35621
|
+
};
|
|
35622
|
+
|
|
35623
|
+
|
|
35490
35624
|
|
|
35491
35625
|
|
|
35492
35626
|
|
|
@@ -92133,6 +92267,500 @@ proto.clarifai.api.DeleteDeploymentsRequest.prototype.clearIdsList = function()
|
|
|
92133
92267
|
|
|
92134
92268
|
|
|
92135
92269
|
|
|
92270
|
+
|
|
92271
|
+
|
|
92272
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
92273
|
+
/**
|
|
92274
|
+
* Creates an object representation of this proto.
|
|
92275
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
92276
|
+
* Optional fields that are not set will be set to undefined.
|
|
92277
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
92278
|
+
* For the list of reserved names please see:
|
|
92279
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
92280
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
92281
|
+
* JSPB instance for transitional soy proto support:
|
|
92282
|
+
* http://goto/soy-param-migration
|
|
92283
|
+
* @return {!Object}
|
|
92284
|
+
*/
|
|
92285
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.toObject = function(opt_includeInstance) {
|
|
92286
|
+
return proto.clarifai.api.PostAuditLogSearchesRequest.toObject(opt_includeInstance, this);
|
|
92287
|
+
};
|
|
92288
|
+
|
|
92289
|
+
|
|
92290
|
+
/**
|
|
92291
|
+
* Static version of the {@see toObject} method.
|
|
92292
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
92293
|
+
* the JSPB instance for transitional soy proto support:
|
|
92294
|
+
* http://goto/soy-param-migration
|
|
92295
|
+
* @param {!proto.clarifai.api.PostAuditLogSearchesRequest} msg The msg instance to transform.
|
|
92296
|
+
* @return {!Object}
|
|
92297
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92298
|
+
*/
|
|
92299
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.toObject = function(includeInstance, msg) {
|
|
92300
|
+
var f, obj = {
|
|
92301
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
92302
|
+
auditLogQuery: (f = msg.getAuditLogQuery()) && proto_clarifai_api_resources_pb.AuditLogQuery.toObject(includeInstance, f),
|
|
92303
|
+
sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
92304
|
+
pagination: (f = msg.getPagination()) && proto.clarifai.api.Pagination.toObject(includeInstance, f)
|
|
92305
|
+
};
|
|
92306
|
+
|
|
92307
|
+
if (includeInstance) {
|
|
92308
|
+
obj.$jspbMessageInstance = msg;
|
|
92309
|
+
}
|
|
92310
|
+
return obj;
|
|
92311
|
+
};
|
|
92312
|
+
}
|
|
92313
|
+
|
|
92314
|
+
|
|
92315
|
+
/**
|
|
92316
|
+
* Deserializes binary data (in protobuf wire format).
|
|
92317
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
92318
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest}
|
|
92319
|
+
*/
|
|
92320
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinary = function(bytes) {
|
|
92321
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
92322
|
+
var msg = new proto.clarifai.api.PostAuditLogSearchesRequest;
|
|
92323
|
+
return proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinaryFromReader(msg, reader);
|
|
92324
|
+
};
|
|
92325
|
+
|
|
92326
|
+
|
|
92327
|
+
/**
|
|
92328
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
92329
|
+
* given reader into the given message object.
|
|
92330
|
+
* @param {!proto.clarifai.api.PostAuditLogSearchesRequest} msg The message object to deserialize into.
|
|
92331
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
92332
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest}
|
|
92333
|
+
*/
|
|
92334
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
92335
|
+
while (reader.nextField()) {
|
|
92336
|
+
if (reader.isEndGroup()) {
|
|
92337
|
+
break;
|
|
92338
|
+
}
|
|
92339
|
+
var field = reader.getFieldNumber();
|
|
92340
|
+
switch (field) {
|
|
92341
|
+
case 1:
|
|
92342
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
92343
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
92344
|
+
msg.setUserAppId(value);
|
|
92345
|
+
break;
|
|
92346
|
+
case 2:
|
|
92347
|
+
var value = new proto_clarifai_api_resources_pb.AuditLogQuery;
|
|
92348
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.AuditLogQuery.deserializeBinaryFromReader);
|
|
92349
|
+
msg.setAuditLogQuery(value);
|
|
92350
|
+
break;
|
|
92351
|
+
case 3:
|
|
92352
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
92353
|
+
msg.setSortAscending(value);
|
|
92354
|
+
break;
|
|
92355
|
+
case 5:
|
|
92356
|
+
var value = new proto.clarifai.api.Pagination;
|
|
92357
|
+
reader.readMessage(value,proto.clarifai.api.Pagination.deserializeBinaryFromReader);
|
|
92358
|
+
msg.setPagination(value);
|
|
92359
|
+
break;
|
|
92360
|
+
default:
|
|
92361
|
+
reader.skipField();
|
|
92362
|
+
break;
|
|
92363
|
+
}
|
|
92364
|
+
}
|
|
92365
|
+
return msg;
|
|
92366
|
+
};
|
|
92367
|
+
|
|
92368
|
+
|
|
92369
|
+
/**
|
|
92370
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
92371
|
+
* @return {!Uint8Array}
|
|
92372
|
+
*/
|
|
92373
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.serializeBinary = function() {
|
|
92374
|
+
var writer = new jspb.BinaryWriter();
|
|
92375
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.serializeBinaryToWriter(this, writer);
|
|
92376
|
+
return writer.getResultBuffer();
|
|
92377
|
+
};
|
|
92378
|
+
|
|
92379
|
+
|
|
92380
|
+
/**
|
|
92381
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
92382
|
+
* format), writing to the given BinaryWriter.
|
|
92383
|
+
* @param {!proto.clarifai.api.PostAuditLogSearchesRequest} message
|
|
92384
|
+
* @param {!jspb.BinaryWriter} writer
|
|
92385
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92386
|
+
*/
|
|
92387
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.serializeBinaryToWriter = function(message, writer) {
|
|
92388
|
+
var f = undefined;
|
|
92389
|
+
f = message.getUserAppId();
|
|
92390
|
+
if (f != null) {
|
|
92391
|
+
writer.writeMessage(
|
|
92392
|
+
1,
|
|
92393
|
+
f,
|
|
92394
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
92395
|
+
);
|
|
92396
|
+
}
|
|
92397
|
+
f = message.getAuditLogQuery();
|
|
92398
|
+
if (f != null) {
|
|
92399
|
+
writer.writeMessage(
|
|
92400
|
+
2,
|
|
92401
|
+
f,
|
|
92402
|
+
proto_clarifai_api_resources_pb.AuditLogQuery.serializeBinaryToWriter
|
|
92403
|
+
);
|
|
92404
|
+
}
|
|
92405
|
+
f = message.getSortAscending();
|
|
92406
|
+
if (f) {
|
|
92407
|
+
writer.writeBool(
|
|
92408
|
+
3,
|
|
92409
|
+
f
|
|
92410
|
+
);
|
|
92411
|
+
}
|
|
92412
|
+
f = message.getPagination();
|
|
92413
|
+
if (f != null) {
|
|
92414
|
+
writer.writeMessage(
|
|
92415
|
+
5,
|
|
92416
|
+
f,
|
|
92417
|
+
proto.clarifai.api.Pagination.serializeBinaryToWriter
|
|
92418
|
+
);
|
|
92419
|
+
}
|
|
92420
|
+
};
|
|
92421
|
+
|
|
92422
|
+
|
|
92423
|
+
/**
|
|
92424
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
92425
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
92426
|
+
*/
|
|
92427
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getUserAppId = function() {
|
|
92428
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
92429
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
92430
|
+
};
|
|
92431
|
+
|
|
92432
|
+
|
|
92433
|
+
/**
|
|
92434
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
92435
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92436
|
+
*/
|
|
92437
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setUserAppId = function(value) {
|
|
92438
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
92439
|
+
};
|
|
92440
|
+
|
|
92441
|
+
|
|
92442
|
+
/**
|
|
92443
|
+
* Clears the message field making it undefined.
|
|
92444
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92445
|
+
*/
|
|
92446
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearUserAppId = function() {
|
|
92447
|
+
return this.setUserAppId(undefined);
|
|
92448
|
+
};
|
|
92449
|
+
|
|
92450
|
+
|
|
92451
|
+
/**
|
|
92452
|
+
* Returns whether this field is set.
|
|
92453
|
+
* @return {boolean}
|
|
92454
|
+
*/
|
|
92455
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasUserAppId = function() {
|
|
92456
|
+
return jspb.Message.getField(this, 1) != null;
|
|
92457
|
+
};
|
|
92458
|
+
|
|
92459
|
+
|
|
92460
|
+
/**
|
|
92461
|
+
* optional AuditLogQuery audit_log_query = 2;
|
|
92462
|
+
* @return {?proto.clarifai.api.AuditLogQuery}
|
|
92463
|
+
*/
|
|
92464
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getAuditLogQuery = function() {
|
|
92465
|
+
return /** @type{?proto.clarifai.api.AuditLogQuery} */ (
|
|
92466
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.AuditLogQuery, 2));
|
|
92467
|
+
};
|
|
92468
|
+
|
|
92469
|
+
|
|
92470
|
+
/**
|
|
92471
|
+
* @param {?proto.clarifai.api.AuditLogQuery|undefined} value
|
|
92472
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92473
|
+
*/
|
|
92474
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setAuditLogQuery = function(value) {
|
|
92475
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
92476
|
+
};
|
|
92477
|
+
|
|
92478
|
+
|
|
92479
|
+
/**
|
|
92480
|
+
* Clears the message field making it undefined.
|
|
92481
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92482
|
+
*/
|
|
92483
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearAuditLogQuery = function() {
|
|
92484
|
+
return this.setAuditLogQuery(undefined);
|
|
92485
|
+
};
|
|
92486
|
+
|
|
92487
|
+
|
|
92488
|
+
/**
|
|
92489
|
+
* Returns whether this field is set.
|
|
92490
|
+
* @return {boolean}
|
|
92491
|
+
*/
|
|
92492
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasAuditLogQuery = function() {
|
|
92493
|
+
return jspb.Message.getField(this, 2) != null;
|
|
92494
|
+
};
|
|
92495
|
+
|
|
92496
|
+
|
|
92497
|
+
/**
|
|
92498
|
+
* optional bool sort_ascending = 3;
|
|
92499
|
+
* @return {boolean}
|
|
92500
|
+
*/
|
|
92501
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getSortAscending = function() {
|
|
92502
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
92503
|
+
};
|
|
92504
|
+
|
|
92505
|
+
|
|
92506
|
+
/**
|
|
92507
|
+
* @param {boolean} value
|
|
92508
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92509
|
+
*/
|
|
92510
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setSortAscending = function(value) {
|
|
92511
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
92512
|
+
};
|
|
92513
|
+
|
|
92514
|
+
|
|
92515
|
+
/**
|
|
92516
|
+
* optional Pagination pagination = 5;
|
|
92517
|
+
* @return {?proto.clarifai.api.Pagination}
|
|
92518
|
+
*/
|
|
92519
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getPagination = function() {
|
|
92520
|
+
return /** @type{?proto.clarifai.api.Pagination} */ (
|
|
92521
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.Pagination, 5));
|
|
92522
|
+
};
|
|
92523
|
+
|
|
92524
|
+
|
|
92525
|
+
/**
|
|
92526
|
+
* @param {?proto.clarifai.api.Pagination|undefined} value
|
|
92527
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92528
|
+
*/
|
|
92529
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setPagination = function(value) {
|
|
92530
|
+
return jspb.Message.setWrapperField(this, 5, value);
|
|
92531
|
+
};
|
|
92532
|
+
|
|
92533
|
+
|
|
92534
|
+
/**
|
|
92535
|
+
* Clears the message field making it undefined.
|
|
92536
|
+
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92537
|
+
*/
|
|
92538
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearPagination = function() {
|
|
92539
|
+
return this.setPagination(undefined);
|
|
92540
|
+
};
|
|
92541
|
+
|
|
92542
|
+
|
|
92543
|
+
/**
|
|
92544
|
+
* Returns whether this field is set.
|
|
92545
|
+
* @return {boolean}
|
|
92546
|
+
*/
|
|
92547
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasPagination = function() {
|
|
92548
|
+
return jspb.Message.getField(this, 5) != null;
|
|
92549
|
+
};
|
|
92550
|
+
|
|
92551
|
+
|
|
92552
|
+
|
|
92553
|
+
/**
|
|
92554
|
+
* List of repeated fields within this message type.
|
|
92555
|
+
* @private {!Array<number>}
|
|
92556
|
+
* @const
|
|
92557
|
+
*/
|
|
92558
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.repeatedFields_ = [2];
|
|
92559
|
+
|
|
92560
|
+
|
|
92561
|
+
|
|
92562
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
92563
|
+
/**
|
|
92564
|
+
* Creates an object representation of this proto.
|
|
92565
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
92566
|
+
* Optional fields that are not set will be set to undefined.
|
|
92567
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
92568
|
+
* For the list of reserved names please see:
|
|
92569
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
92570
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
92571
|
+
* JSPB instance for transitional soy proto support:
|
|
92572
|
+
* http://goto/soy-param-migration
|
|
92573
|
+
* @return {!Object}
|
|
92574
|
+
*/
|
|
92575
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.toObject = function(opt_includeInstance) {
|
|
92576
|
+
return proto.clarifai.api.MultiAuditLogSearchResponse.toObject(opt_includeInstance, this);
|
|
92577
|
+
};
|
|
92578
|
+
|
|
92579
|
+
|
|
92580
|
+
/**
|
|
92581
|
+
* Static version of the {@see toObject} method.
|
|
92582
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
92583
|
+
* the JSPB instance for transitional soy proto support:
|
|
92584
|
+
* http://goto/soy-param-migration
|
|
92585
|
+
* @param {!proto.clarifai.api.MultiAuditLogSearchResponse} msg The msg instance to transform.
|
|
92586
|
+
* @return {!Object}
|
|
92587
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92588
|
+
*/
|
|
92589
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.toObject = function(includeInstance, msg) {
|
|
92590
|
+
var f, obj = {
|
|
92591
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
92592
|
+
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
92593
|
+
proto_clarifai_api_resources_pb.AuditLogEntry.toObject, includeInstance)
|
|
92594
|
+
};
|
|
92595
|
+
|
|
92596
|
+
if (includeInstance) {
|
|
92597
|
+
obj.$jspbMessageInstance = msg;
|
|
92598
|
+
}
|
|
92599
|
+
return obj;
|
|
92600
|
+
};
|
|
92601
|
+
}
|
|
92602
|
+
|
|
92603
|
+
|
|
92604
|
+
/**
|
|
92605
|
+
* Deserializes binary data (in protobuf wire format).
|
|
92606
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
92607
|
+
* @return {!proto.clarifai.api.MultiAuditLogSearchResponse}
|
|
92608
|
+
*/
|
|
92609
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinary = function(bytes) {
|
|
92610
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
92611
|
+
var msg = new proto.clarifai.api.MultiAuditLogSearchResponse;
|
|
92612
|
+
return proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinaryFromReader(msg, reader);
|
|
92613
|
+
};
|
|
92614
|
+
|
|
92615
|
+
|
|
92616
|
+
/**
|
|
92617
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
92618
|
+
* given reader into the given message object.
|
|
92619
|
+
* @param {!proto.clarifai.api.MultiAuditLogSearchResponse} msg The message object to deserialize into.
|
|
92620
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
92621
|
+
* @return {!proto.clarifai.api.MultiAuditLogSearchResponse}
|
|
92622
|
+
*/
|
|
92623
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
92624
|
+
while (reader.nextField()) {
|
|
92625
|
+
if (reader.isEndGroup()) {
|
|
92626
|
+
break;
|
|
92627
|
+
}
|
|
92628
|
+
var field = reader.getFieldNumber();
|
|
92629
|
+
switch (field) {
|
|
92630
|
+
case 1:
|
|
92631
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
92632
|
+
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
92633
|
+
msg.setStatus(value);
|
|
92634
|
+
break;
|
|
92635
|
+
case 2:
|
|
92636
|
+
var value = new proto_clarifai_api_resources_pb.AuditLogEntry;
|
|
92637
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.AuditLogEntry.deserializeBinaryFromReader);
|
|
92638
|
+
msg.addEntries(value);
|
|
92639
|
+
break;
|
|
92640
|
+
default:
|
|
92641
|
+
reader.skipField();
|
|
92642
|
+
break;
|
|
92643
|
+
}
|
|
92644
|
+
}
|
|
92645
|
+
return msg;
|
|
92646
|
+
};
|
|
92647
|
+
|
|
92648
|
+
|
|
92649
|
+
/**
|
|
92650
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
92651
|
+
* @return {!Uint8Array}
|
|
92652
|
+
*/
|
|
92653
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.serializeBinary = function() {
|
|
92654
|
+
var writer = new jspb.BinaryWriter();
|
|
92655
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.serializeBinaryToWriter(this, writer);
|
|
92656
|
+
return writer.getResultBuffer();
|
|
92657
|
+
};
|
|
92658
|
+
|
|
92659
|
+
|
|
92660
|
+
/**
|
|
92661
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
92662
|
+
* format), writing to the given BinaryWriter.
|
|
92663
|
+
* @param {!proto.clarifai.api.MultiAuditLogSearchResponse} message
|
|
92664
|
+
* @param {!jspb.BinaryWriter} writer
|
|
92665
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92666
|
+
*/
|
|
92667
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.serializeBinaryToWriter = function(message, writer) {
|
|
92668
|
+
var f = undefined;
|
|
92669
|
+
f = message.getStatus();
|
|
92670
|
+
if (f != null) {
|
|
92671
|
+
writer.writeMessage(
|
|
92672
|
+
1,
|
|
92673
|
+
f,
|
|
92674
|
+
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
92675
|
+
);
|
|
92676
|
+
}
|
|
92677
|
+
f = message.getEntriesList();
|
|
92678
|
+
if (f.length > 0) {
|
|
92679
|
+
writer.writeRepeatedMessage(
|
|
92680
|
+
2,
|
|
92681
|
+
f,
|
|
92682
|
+
proto_clarifai_api_resources_pb.AuditLogEntry.serializeBinaryToWriter
|
|
92683
|
+
);
|
|
92684
|
+
}
|
|
92685
|
+
};
|
|
92686
|
+
|
|
92687
|
+
|
|
92688
|
+
/**
|
|
92689
|
+
* optional status.Status status = 1;
|
|
92690
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
92691
|
+
*/
|
|
92692
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.getStatus = function() {
|
|
92693
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
92694
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
92695
|
+
};
|
|
92696
|
+
|
|
92697
|
+
|
|
92698
|
+
/**
|
|
92699
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
92700
|
+
* @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
|
|
92701
|
+
*/
|
|
92702
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.setStatus = function(value) {
|
|
92703
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
92704
|
+
};
|
|
92705
|
+
|
|
92706
|
+
|
|
92707
|
+
/**
|
|
92708
|
+
* Clears the message field making it undefined.
|
|
92709
|
+
* @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
|
|
92710
|
+
*/
|
|
92711
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.clearStatus = function() {
|
|
92712
|
+
return this.setStatus(undefined);
|
|
92713
|
+
};
|
|
92714
|
+
|
|
92715
|
+
|
|
92716
|
+
/**
|
|
92717
|
+
* Returns whether this field is set.
|
|
92718
|
+
* @return {boolean}
|
|
92719
|
+
*/
|
|
92720
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.hasStatus = function() {
|
|
92721
|
+
return jspb.Message.getField(this, 1) != null;
|
|
92722
|
+
};
|
|
92723
|
+
|
|
92724
|
+
|
|
92725
|
+
/**
|
|
92726
|
+
* repeated AuditLogEntry entries = 2;
|
|
92727
|
+
* @return {!Array<!proto.clarifai.api.AuditLogEntry>}
|
|
92728
|
+
*/
|
|
92729
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.getEntriesList = function() {
|
|
92730
|
+
return /** @type{!Array<!proto.clarifai.api.AuditLogEntry>} */ (
|
|
92731
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.AuditLogEntry, 2));
|
|
92732
|
+
};
|
|
92733
|
+
|
|
92734
|
+
|
|
92735
|
+
/**
|
|
92736
|
+
* @param {!Array<!proto.clarifai.api.AuditLogEntry>} value
|
|
92737
|
+
* @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
|
|
92738
|
+
*/
|
|
92739
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.setEntriesList = function(value) {
|
|
92740
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
92741
|
+
};
|
|
92742
|
+
|
|
92743
|
+
|
|
92744
|
+
/**
|
|
92745
|
+
* @param {!proto.clarifai.api.AuditLogEntry=} opt_value
|
|
92746
|
+
* @param {number=} opt_index
|
|
92747
|
+
* @return {!proto.clarifai.api.AuditLogEntry}
|
|
92748
|
+
*/
|
|
92749
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.addEntries = function(opt_value, opt_index) {
|
|
92750
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.AuditLogEntry, opt_index);
|
|
92751
|
+
};
|
|
92752
|
+
|
|
92753
|
+
|
|
92754
|
+
/**
|
|
92755
|
+
* Clears the list making it empty but non-null.
|
|
92756
|
+
* @return {!proto.clarifai.api.MultiAuditLogSearchResponse} returns this
|
|
92757
|
+
*/
|
|
92758
|
+
proto.clarifai.api.MultiAuditLogSearchResponse.prototype.clearEntriesList = function() {
|
|
92759
|
+
return this.setEntriesList([]);
|
|
92760
|
+
};
|
|
92761
|
+
|
|
92762
|
+
|
|
92763
|
+
|
|
92136
92764
|
/**
|
|
92137
92765
|
* List of repeated fields within this message type.
|
|
92138
92766
|
* @private {!Array<number>}
|
|
@@ -50,6 +50,7 @@ export enum S {
|
|
|
50
50
|
MODELS_SYNC = 27,
|
|
51
51
|
MODELEXPORTS_GET = 142,
|
|
52
52
|
MODELEXPORTS_ADD = 143,
|
|
53
|
+
MODELS_PULL = 150,
|
|
53
54
|
WORKFLOWS_ADD = 18,
|
|
54
55
|
WORKFLOWS_GET = 19,
|
|
55
56
|
WORKFLOWS_PATCH = 20,
|
|
@@ -130,4 +131,5 @@ export enum S {
|
|
|
130
131
|
DEPLOYMENTS_ADD = 145,
|
|
131
132
|
DEPLOYMENTS_DELETE = 146,
|
|
132
133
|
INSTANCETYPES_GET = 148,
|
|
134
|
+
AUDITLOGS_GET = 149,
|
|
133
135
|
}
|