clarifai-web-grpc 10.8.4 → 10.8.5
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 +112 -419
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +6 -48
- package/dist/cjs/proto/clarifai/api/service_pb.js +42 -551
- package/dist/esm/proto/clarifai/api/resources_pb.js +112 -419
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +6 -48
- package/dist/esm/proto/clarifai/api/service_pb.js +42 -551
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +23 -58
- package/proto/clarifai/api/resources_pb.js +146 -520
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +3 -15
- package/proto/clarifai/api/service_grpc_web_pb.js +6 -67
- package/proto/clarifai/api/service_pb.d.ts +16 -90
- package/proto/clarifai/api/service_pb.js +42 -681
|
@@ -194,7 +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.
|
|
197
|
+
goog.exportSymbol('proto.clarifai.api.MultiAuditLogEntryResponse', null, global);
|
|
198
198
|
goog.exportSymbol('proto.clarifai.api.MultiBulkOperationsResponse', null, global);
|
|
199
199
|
goog.exportSymbol('proto.clarifai.api.MultiCollaborationsResponse', null, global);
|
|
200
200
|
goog.exportSymbol('proto.clarifai.api.MultiCollaboratorsResponse', null, global);
|
|
@@ -350,8 +350,6 @@ goog.exportSymbol('proto.clarifai.api.PostUploadsRequest', null, global);
|
|
|
350
350
|
goog.exportSymbol('proto.clarifai.api.PostValidatePasswordRequest', null, global);
|
|
351
351
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsRequest', null, global);
|
|
352
352
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsResponse', null, global);
|
|
353
|
-
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsSimilarityRequest', null, global);
|
|
354
|
-
goog.exportSymbol('proto.clarifai.api.PostWorkflowResultsSimilarityResponse', null, global);
|
|
355
353
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsPublishRequest', null, global);
|
|
356
354
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowVersionsUnPublishRequest', null, global);
|
|
357
355
|
goog.exportSymbol('proto.clarifai.api.PostWorkflowsRequest', null, global);
|
|
@@ -5032,48 +5030,6 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5032
5030
|
*/
|
|
5033
5031
|
proto.clarifai.api.PostWorkflowResultsResponse.displayName = 'proto.clarifai.api.PostWorkflowResultsResponse';
|
|
5034
5032
|
}
|
|
5035
|
-
/**
|
|
5036
|
-
* Generated by JsPbCodeGenerator.
|
|
5037
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5038
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5039
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5040
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5041
|
-
* valid.
|
|
5042
|
-
* @extends {jspb.Message}
|
|
5043
|
-
* @constructor
|
|
5044
|
-
*/
|
|
5045
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest = function(opt_data) {
|
|
5046
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostWorkflowResultsSimilarityRequest.repeatedFields_, null);
|
|
5047
|
-
};
|
|
5048
|
-
goog.inherits(proto.clarifai.api.PostWorkflowResultsSimilarityRequest, jspb.Message);
|
|
5049
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5050
|
-
/**
|
|
5051
|
-
* @public
|
|
5052
|
-
* @override
|
|
5053
|
-
*/
|
|
5054
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.displayName = 'proto.clarifai.api.PostWorkflowResultsSimilarityRequest';
|
|
5055
|
-
}
|
|
5056
|
-
/**
|
|
5057
|
-
* Generated by JsPbCodeGenerator.
|
|
5058
|
-
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5059
|
-
* server response, or constructed directly in Javascript. The array is used
|
|
5060
|
-
* in place and becomes part of the constructed object. It is not cloned.
|
|
5061
|
-
* If no data is provided, the constructed object will be empty, but still
|
|
5062
|
-
* valid.
|
|
5063
|
-
* @extends {jspb.Message}
|
|
5064
|
-
* @constructor
|
|
5065
|
-
*/
|
|
5066
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse = function(opt_data) {
|
|
5067
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostWorkflowResultsSimilarityResponse.repeatedFields_, null);
|
|
5068
|
-
};
|
|
5069
|
-
goog.inherits(proto.clarifai.api.PostWorkflowResultsSimilarityResponse, jspb.Message);
|
|
5070
|
-
if (goog.DEBUG && !COMPILED) {
|
|
5071
|
-
/**
|
|
5072
|
-
* @public
|
|
5073
|
-
* @override
|
|
5074
|
-
*/
|
|
5075
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.displayName = 'proto.clarifai.api.PostWorkflowResultsSimilarityResponse';
|
|
5076
|
-
}
|
|
5077
5033
|
/**
|
|
5078
5034
|
* Generated by JsPbCodeGenerator.
|
|
5079
5035
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7856,16 +7812,16 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7856
7812
|
* @extends {jspb.Message}
|
|
7857
7813
|
* @constructor
|
|
7858
7814
|
*/
|
|
7859
|
-
proto.clarifai.api.
|
|
7860
|
-
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.
|
|
7815
|
+
proto.clarifai.api.MultiAuditLogEntryResponse = function(opt_data) {
|
|
7816
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiAuditLogEntryResponse.repeatedFields_, null);
|
|
7861
7817
|
};
|
|
7862
|
-
goog.inherits(proto.clarifai.api.
|
|
7818
|
+
goog.inherits(proto.clarifai.api.MultiAuditLogEntryResponse, jspb.Message);
|
|
7863
7819
|
if (goog.DEBUG && !COMPILED) {
|
|
7864
7820
|
/**
|
|
7865
7821
|
* @public
|
|
7866
7822
|
* @override
|
|
7867
7823
|
*/
|
|
7868
|
-
proto.clarifai.api.
|
|
7824
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.displayName = 'proto.clarifai.api.MultiAuditLogEntryResponse';
|
|
7869
7825
|
}
|
|
7870
7826
|
/**
|
|
7871
7827
|
* Generated by JsPbCodeGenerator.
|
|
@@ -62222,601 +62178,6 @@ proto.clarifai.api.PostWorkflowResultsResponse.prototype.hasWorkflowState = func
|
|
|
62222
62178
|
|
|
62223
62179
|
|
|
62224
62180
|
|
|
62225
|
-
/**
|
|
62226
|
-
* List of repeated fields within this message type.
|
|
62227
|
-
* @private {!Array<number>}
|
|
62228
|
-
* @const
|
|
62229
|
-
*/
|
|
62230
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.repeatedFields_ = [4,5];
|
|
62231
|
-
|
|
62232
|
-
|
|
62233
|
-
|
|
62234
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62235
|
-
/**
|
|
62236
|
-
* Creates an object representation of this proto.
|
|
62237
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
62238
|
-
* Optional fields that are not set will be set to undefined.
|
|
62239
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
62240
|
-
* For the list of reserved names please see:
|
|
62241
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
62242
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62243
|
-
* JSPB instance for transitional soy proto support:
|
|
62244
|
-
* http://goto/soy-param-migration
|
|
62245
|
-
* @return {!Object}
|
|
62246
|
-
*/
|
|
62247
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.toObject = function(opt_includeInstance) {
|
|
62248
|
-
return proto.clarifai.api.PostWorkflowResultsSimilarityRequest.toObject(opt_includeInstance, this);
|
|
62249
|
-
};
|
|
62250
|
-
|
|
62251
|
-
|
|
62252
|
-
/**
|
|
62253
|
-
* Static version of the {@see toObject} method.
|
|
62254
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
62255
|
-
* the JSPB instance for transitional soy proto support:
|
|
62256
|
-
* http://goto/soy-param-migration
|
|
62257
|
-
* @param {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} msg The msg instance to transform.
|
|
62258
|
-
* @return {!Object}
|
|
62259
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62260
|
-
*/
|
|
62261
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.toObject = function(includeInstance, msg) {
|
|
62262
|
-
var f, obj = {
|
|
62263
|
-
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
62264
|
-
workflowId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
62265
|
-
versionId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
62266
|
-
modelVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
62267
|
-
probeInputsList: jspb.Message.toObjectList(msg.getProbeInputsList(),
|
|
62268
|
-
proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
|
|
62269
|
-
poolInputsList: jspb.Message.toObjectList(msg.getPoolInputsList(),
|
|
62270
|
-
proto_clarifai_api_resources_pb.Input.toObject, includeInstance),
|
|
62271
|
-
favorClarifaiWorkflows: jspb.Message.getBooleanFieldWithDefault(msg, 6, false)
|
|
62272
|
-
};
|
|
62273
|
-
|
|
62274
|
-
if (includeInstance) {
|
|
62275
|
-
obj.$jspbMessageInstance = msg;
|
|
62276
|
-
}
|
|
62277
|
-
return obj;
|
|
62278
|
-
};
|
|
62279
|
-
}
|
|
62280
|
-
|
|
62281
|
-
|
|
62282
|
-
/**
|
|
62283
|
-
* Deserializes binary data (in protobuf wire format).
|
|
62284
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
62285
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest}
|
|
62286
|
-
*/
|
|
62287
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.deserializeBinary = function(bytes) {
|
|
62288
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
62289
|
-
var msg = new proto.clarifai.api.PostWorkflowResultsSimilarityRequest;
|
|
62290
|
-
return proto.clarifai.api.PostWorkflowResultsSimilarityRequest.deserializeBinaryFromReader(msg, reader);
|
|
62291
|
-
};
|
|
62292
|
-
|
|
62293
|
-
|
|
62294
|
-
/**
|
|
62295
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
62296
|
-
* given reader into the given message object.
|
|
62297
|
-
* @param {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} msg The message object to deserialize into.
|
|
62298
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
62299
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest}
|
|
62300
|
-
*/
|
|
62301
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
62302
|
-
while (reader.nextField()) {
|
|
62303
|
-
if (reader.isEndGroup()) {
|
|
62304
|
-
break;
|
|
62305
|
-
}
|
|
62306
|
-
var field = reader.getFieldNumber();
|
|
62307
|
-
switch (field) {
|
|
62308
|
-
case 1:
|
|
62309
|
-
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
62310
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
62311
|
-
msg.setUserAppId(value);
|
|
62312
|
-
break;
|
|
62313
|
-
case 2:
|
|
62314
|
-
var value = /** @type {string} */ (reader.readString());
|
|
62315
|
-
msg.setWorkflowId(value);
|
|
62316
|
-
break;
|
|
62317
|
-
case 7:
|
|
62318
|
-
var value = /** @type {string} */ (reader.readString());
|
|
62319
|
-
msg.setVersionId(value);
|
|
62320
|
-
break;
|
|
62321
|
-
case 3:
|
|
62322
|
-
var value = /** @type {string} */ (reader.readString());
|
|
62323
|
-
msg.setModelVersionId(value);
|
|
62324
|
-
break;
|
|
62325
|
-
case 4:
|
|
62326
|
-
var value = new proto_clarifai_api_resources_pb.Input;
|
|
62327
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Input.deserializeBinaryFromReader);
|
|
62328
|
-
msg.addProbeInputs(value);
|
|
62329
|
-
break;
|
|
62330
|
-
case 5:
|
|
62331
|
-
var value = new proto_clarifai_api_resources_pb.Input;
|
|
62332
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.Input.deserializeBinaryFromReader);
|
|
62333
|
-
msg.addPoolInputs(value);
|
|
62334
|
-
break;
|
|
62335
|
-
case 6:
|
|
62336
|
-
var value = /** @type {boolean} */ (reader.readBool());
|
|
62337
|
-
msg.setFavorClarifaiWorkflows(value);
|
|
62338
|
-
break;
|
|
62339
|
-
default:
|
|
62340
|
-
reader.skipField();
|
|
62341
|
-
break;
|
|
62342
|
-
}
|
|
62343
|
-
}
|
|
62344
|
-
return msg;
|
|
62345
|
-
};
|
|
62346
|
-
|
|
62347
|
-
|
|
62348
|
-
/**
|
|
62349
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
62350
|
-
* @return {!Uint8Array}
|
|
62351
|
-
*/
|
|
62352
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.serializeBinary = function() {
|
|
62353
|
-
var writer = new jspb.BinaryWriter();
|
|
62354
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.serializeBinaryToWriter(this, writer);
|
|
62355
|
-
return writer.getResultBuffer();
|
|
62356
|
-
};
|
|
62357
|
-
|
|
62358
|
-
|
|
62359
|
-
/**
|
|
62360
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
62361
|
-
* format), writing to the given BinaryWriter.
|
|
62362
|
-
* @param {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} message
|
|
62363
|
-
* @param {!jspb.BinaryWriter} writer
|
|
62364
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62365
|
-
*/
|
|
62366
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.serializeBinaryToWriter = function(message, writer) {
|
|
62367
|
-
var f = undefined;
|
|
62368
|
-
f = message.getUserAppId();
|
|
62369
|
-
if (f != null) {
|
|
62370
|
-
writer.writeMessage(
|
|
62371
|
-
1,
|
|
62372
|
-
f,
|
|
62373
|
-
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
62374
|
-
);
|
|
62375
|
-
}
|
|
62376
|
-
f = message.getWorkflowId();
|
|
62377
|
-
if (f.length > 0) {
|
|
62378
|
-
writer.writeString(
|
|
62379
|
-
2,
|
|
62380
|
-
f
|
|
62381
|
-
);
|
|
62382
|
-
}
|
|
62383
|
-
f = message.getVersionId();
|
|
62384
|
-
if (f.length > 0) {
|
|
62385
|
-
writer.writeString(
|
|
62386
|
-
7,
|
|
62387
|
-
f
|
|
62388
|
-
);
|
|
62389
|
-
}
|
|
62390
|
-
f = message.getModelVersionId();
|
|
62391
|
-
if (f.length > 0) {
|
|
62392
|
-
writer.writeString(
|
|
62393
|
-
3,
|
|
62394
|
-
f
|
|
62395
|
-
);
|
|
62396
|
-
}
|
|
62397
|
-
f = message.getProbeInputsList();
|
|
62398
|
-
if (f.length > 0) {
|
|
62399
|
-
writer.writeRepeatedMessage(
|
|
62400
|
-
4,
|
|
62401
|
-
f,
|
|
62402
|
-
proto_clarifai_api_resources_pb.Input.serializeBinaryToWriter
|
|
62403
|
-
);
|
|
62404
|
-
}
|
|
62405
|
-
f = message.getPoolInputsList();
|
|
62406
|
-
if (f.length > 0) {
|
|
62407
|
-
writer.writeRepeatedMessage(
|
|
62408
|
-
5,
|
|
62409
|
-
f,
|
|
62410
|
-
proto_clarifai_api_resources_pb.Input.serializeBinaryToWriter
|
|
62411
|
-
);
|
|
62412
|
-
}
|
|
62413
|
-
f = message.getFavorClarifaiWorkflows();
|
|
62414
|
-
if (f) {
|
|
62415
|
-
writer.writeBool(
|
|
62416
|
-
6,
|
|
62417
|
-
f
|
|
62418
|
-
);
|
|
62419
|
-
}
|
|
62420
|
-
};
|
|
62421
|
-
|
|
62422
|
-
|
|
62423
|
-
/**
|
|
62424
|
-
* optional UserAppIDSet user_app_id = 1;
|
|
62425
|
-
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
62426
|
-
*/
|
|
62427
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getUserAppId = function() {
|
|
62428
|
-
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
62429
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
62430
|
-
};
|
|
62431
|
-
|
|
62432
|
-
|
|
62433
|
-
/**
|
|
62434
|
-
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
62435
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62436
|
-
*/
|
|
62437
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setUserAppId = function(value) {
|
|
62438
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
62439
|
-
};
|
|
62440
|
-
|
|
62441
|
-
|
|
62442
|
-
/**
|
|
62443
|
-
* Clears the message field making it undefined.
|
|
62444
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62445
|
-
*/
|
|
62446
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.clearUserAppId = function() {
|
|
62447
|
-
return this.setUserAppId(undefined);
|
|
62448
|
-
};
|
|
62449
|
-
|
|
62450
|
-
|
|
62451
|
-
/**
|
|
62452
|
-
* Returns whether this field is set.
|
|
62453
|
-
* @return {boolean}
|
|
62454
|
-
*/
|
|
62455
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.hasUserAppId = function() {
|
|
62456
|
-
return jspb.Message.getField(this, 1) != null;
|
|
62457
|
-
};
|
|
62458
|
-
|
|
62459
|
-
|
|
62460
|
-
/**
|
|
62461
|
-
* optional string workflow_id = 2;
|
|
62462
|
-
* @return {string}
|
|
62463
|
-
*/
|
|
62464
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getWorkflowId = function() {
|
|
62465
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
62466
|
-
};
|
|
62467
|
-
|
|
62468
|
-
|
|
62469
|
-
/**
|
|
62470
|
-
* @param {string} value
|
|
62471
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62472
|
-
*/
|
|
62473
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setWorkflowId = function(value) {
|
|
62474
|
-
return jspb.Message.setProto3StringField(this, 2, value);
|
|
62475
|
-
};
|
|
62476
|
-
|
|
62477
|
-
|
|
62478
|
-
/**
|
|
62479
|
-
* optional string version_id = 7;
|
|
62480
|
-
* @return {string}
|
|
62481
|
-
*/
|
|
62482
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getVersionId = function() {
|
|
62483
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 7, ""));
|
|
62484
|
-
};
|
|
62485
|
-
|
|
62486
|
-
|
|
62487
|
-
/**
|
|
62488
|
-
* @param {string} value
|
|
62489
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62490
|
-
*/
|
|
62491
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setVersionId = function(value) {
|
|
62492
|
-
return jspb.Message.setProto3StringField(this, 7, value);
|
|
62493
|
-
};
|
|
62494
|
-
|
|
62495
|
-
|
|
62496
|
-
/**
|
|
62497
|
-
* optional string model_version_id = 3;
|
|
62498
|
-
* @return {string}
|
|
62499
|
-
*/
|
|
62500
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getModelVersionId = function() {
|
|
62501
|
-
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
62502
|
-
};
|
|
62503
|
-
|
|
62504
|
-
|
|
62505
|
-
/**
|
|
62506
|
-
* @param {string} value
|
|
62507
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62508
|
-
*/
|
|
62509
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setModelVersionId = function(value) {
|
|
62510
|
-
return jspb.Message.setProto3StringField(this, 3, value);
|
|
62511
|
-
};
|
|
62512
|
-
|
|
62513
|
-
|
|
62514
|
-
/**
|
|
62515
|
-
* repeated Input probe_inputs = 4;
|
|
62516
|
-
* @return {!Array<!proto.clarifai.api.Input>}
|
|
62517
|
-
*/
|
|
62518
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getProbeInputsList = function() {
|
|
62519
|
-
return /** @type{!Array<!proto.clarifai.api.Input>} */ (
|
|
62520
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Input, 4));
|
|
62521
|
-
};
|
|
62522
|
-
|
|
62523
|
-
|
|
62524
|
-
/**
|
|
62525
|
-
* @param {!Array<!proto.clarifai.api.Input>} value
|
|
62526
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62527
|
-
*/
|
|
62528
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setProbeInputsList = function(value) {
|
|
62529
|
-
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
62530
|
-
};
|
|
62531
|
-
|
|
62532
|
-
|
|
62533
|
-
/**
|
|
62534
|
-
* @param {!proto.clarifai.api.Input=} opt_value
|
|
62535
|
-
* @param {number=} opt_index
|
|
62536
|
-
* @return {!proto.clarifai.api.Input}
|
|
62537
|
-
*/
|
|
62538
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.addProbeInputs = function(opt_value, opt_index) {
|
|
62539
|
-
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Input, opt_index);
|
|
62540
|
-
};
|
|
62541
|
-
|
|
62542
|
-
|
|
62543
|
-
/**
|
|
62544
|
-
* Clears the list making it empty but non-null.
|
|
62545
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62546
|
-
*/
|
|
62547
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.clearProbeInputsList = function() {
|
|
62548
|
-
return this.setProbeInputsList([]);
|
|
62549
|
-
};
|
|
62550
|
-
|
|
62551
|
-
|
|
62552
|
-
/**
|
|
62553
|
-
* repeated Input pool_inputs = 5;
|
|
62554
|
-
* @return {!Array<!proto.clarifai.api.Input>}
|
|
62555
|
-
*/
|
|
62556
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getPoolInputsList = function() {
|
|
62557
|
-
return /** @type{!Array<!proto.clarifai.api.Input>} */ (
|
|
62558
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Input, 5));
|
|
62559
|
-
};
|
|
62560
|
-
|
|
62561
|
-
|
|
62562
|
-
/**
|
|
62563
|
-
* @param {!Array<!proto.clarifai.api.Input>} value
|
|
62564
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62565
|
-
*/
|
|
62566
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setPoolInputsList = function(value) {
|
|
62567
|
-
return jspb.Message.setRepeatedWrapperField(this, 5, value);
|
|
62568
|
-
};
|
|
62569
|
-
|
|
62570
|
-
|
|
62571
|
-
/**
|
|
62572
|
-
* @param {!proto.clarifai.api.Input=} opt_value
|
|
62573
|
-
* @param {number=} opt_index
|
|
62574
|
-
* @return {!proto.clarifai.api.Input}
|
|
62575
|
-
*/
|
|
62576
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.addPoolInputs = function(opt_value, opt_index) {
|
|
62577
|
-
return jspb.Message.addToRepeatedWrapperField(this, 5, opt_value, proto.clarifai.api.Input, opt_index);
|
|
62578
|
-
};
|
|
62579
|
-
|
|
62580
|
-
|
|
62581
|
-
/**
|
|
62582
|
-
* Clears the list making it empty but non-null.
|
|
62583
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62584
|
-
*/
|
|
62585
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.clearPoolInputsList = function() {
|
|
62586
|
-
return this.setPoolInputsList([]);
|
|
62587
|
-
};
|
|
62588
|
-
|
|
62589
|
-
|
|
62590
|
-
/**
|
|
62591
|
-
* optional bool favor_clarifai_workflows = 6;
|
|
62592
|
-
* @return {boolean}
|
|
62593
|
-
*/
|
|
62594
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.getFavorClarifaiWorkflows = function() {
|
|
62595
|
-
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 6, false));
|
|
62596
|
-
};
|
|
62597
|
-
|
|
62598
|
-
|
|
62599
|
-
/**
|
|
62600
|
-
* @param {boolean} value
|
|
62601
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityRequest} returns this
|
|
62602
|
-
*/
|
|
62603
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityRequest.prototype.setFavorClarifaiWorkflows = function(value) {
|
|
62604
|
-
return jspb.Message.setProto3BooleanField(this, 6, value);
|
|
62605
|
-
};
|
|
62606
|
-
|
|
62607
|
-
|
|
62608
|
-
|
|
62609
|
-
/**
|
|
62610
|
-
* List of repeated fields within this message type.
|
|
62611
|
-
* @private {!Array<number>}
|
|
62612
|
-
* @const
|
|
62613
|
-
*/
|
|
62614
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.repeatedFields_ = [2];
|
|
62615
|
-
|
|
62616
|
-
|
|
62617
|
-
|
|
62618
|
-
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
62619
|
-
/**
|
|
62620
|
-
* Creates an object representation of this proto.
|
|
62621
|
-
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
62622
|
-
* Optional fields that are not set will be set to undefined.
|
|
62623
|
-
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
62624
|
-
* For the list of reserved names please see:
|
|
62625
|
-
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
62626
|
-
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
62627
|
-
* JSPB instance for transitional soy proto support:
|
|
62628
|
-
* http://goto/soy-param-migration
|
|
62629
|
-
* @return {!Object}
|
|
62630
|
-
*/
|
|
62631
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.toObject = function(opt_includeInstance) {
|
|
62632
|
-
return proto.clarifai.api.PostWorkflowResultsSimilarityResponse.toObject(opt_includeInstance, this);
|
|
62633
|
-
};
|
|
62634
|
-
|
|
62635
|
-
|
|
62636
|
-
/**
|
|
62637
|
-
* Static version of the {@see toObject} method.
|
|
62638
|
-
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
62639
|
-
* the JSPB instance for transitional soy proto support:
|
|
62640
|
-
* http://goto/soy-param-migration
|
|
62641
|
-
* @param {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} msg The msg instance to transform.
|
|
62642
|
-
* @return {!Object}
|
|
62643
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62644
|
-
*/
|
|
62645
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.toObject = function(includeInstance, msg) {
|
|
62646
|
-
var f, obj = {
|
|
62647
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
62648
|
-
resultsList: jspb.Message.toObjectList(msg.getResultsList(),
|
|
62649
|
-
proto_clarifai_api_resources_pb.WorkflowResultsSimilarity.toObject, includeInstance)
|
|
62650
|
-
};
|
|
62651
|
-
|
|
62652
|
-
if (includeInstance) {
|
|
62653
|
-
obj.$jspbMessageInstance = msg;
|
|
62654
|
-
}
|
|
62655
|
-
return obj;
|
|
62656
|
-
};
|
|
62657
|
-
}
|
|
62658
|
-
|
|
62659
|
-
|
|
62660
|
-
/**
|
|
62661
|
-
* Deserializes binary data (in protobuf wire format).
|
|
62662
|
-
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
62663
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse}
|
|
62664
|
-
*/
|
|
62665
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.deserializeBinary = function(bytes) {
|
|
62666
|
-
var reader = new jspb.BinaryReader(bytes);
|
|
62667
|
-
var msg = new proto.clarifai.api.PostWorkflowResultsSimilarityResponse;
|
|
62668
|
-
return proto.clarifai.api.PostWorkflowResultsSimilarityResponse.deserializeBinaryFromReader(msg, reader);
|
|
62669
|
-
};
|
|
62670
|
-
|
|
62671
|
-
|
|
62672
|
-
/**
|
|
62673
|
-
* Deserializes binary data (in protobuf wire format) from the
|
|
62674
|
-
* given reader into the given message object.
|
|
62675
|
-
* @param {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} msg The message object to deserialize into.
|
|
62676
|
-
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
62677
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse}
|
|
62678
|
-
*/
|
|
62679
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
62680
|
-
while (reader.nextField()) {
|
|
62681
|
-
if (reader.isEndGroup()) {
|
|
62682
|
-
break;
|
|
62683
|
-
}
|
|
62684
|
-
var field = reader.getFieldNumber();
|
|
62685
|
-
switch (field) {
|
|
62686
|
-
case 1:
|
|
62687
|
-
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
62688
|
-
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
62689
|
-
msg.setStatus(value);
|
|
62690
|
-
break;
|
|
62691
|
-
case 2:
|
|
62692
|
-
var value = new proto_clarifai_api_resources_pb.WorkflowResultsSimilarity;
|
|
62693
|
-
reader.readMessage(value,proto_clarifai_api_resources_pb.WorkflowResultsSimilarity.deserializeBinaryFromReader);
|
|
62694
|
-
msg.addResults(value);
|
|
62695
|
-
break;
|
|
62696
|
-
default:
|
|
62697
|
-
reader.skipField();
|
|
62698
|
-
break;
|
|
62699
|
-
}
|
|
62700
|
-
}
|
|
62701
|
-
return msg;
|
|
62702
|
-
};
|
|
62703
|
-
|
|
62704
|
-
|
|
62705
|
-
/**
|
|
62706
|
-
* Serializes the message to binary data (in protobuf wire format).
|
|
62707
|
-
* @return {!Uint8Array}
|
|
62708
|
-
*/
|
|
62709
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.serializeBinary = function() {
|
|
62710
|
-
var writer = new jspb.BinaryWriter();
|
|
62711
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.serializeBinaryToWriter(this, writer);
|
|
62712
|
-
return writer.getResultBuffer();
|
|
62713
|
-
};
|
|
62714
|
-
|
|
62715
|
-
|
|
62716
|
-
/**
|
|
62717
|
-
* Serializes the given message to binary data (in protobuf wire
|
|
62718
|
-
* format), writing to the given BinaryWriter.
|
|
62719
|
-
* @param {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} message
|
|
62720
|
-
* @param {!jspb.BinaryWriter} writer
|
|
62721
|
-
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
62722
|
-
*/
|
|
62723
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.serializeBinaryToWriter = function(message, writer) {
|
|
62724
|
-
var f = undefined;
|
|
62725
|
-
f = message.getStatus();
|
|
62726
|
-
if (f != null) {
|
|
62727
|
-
writer.writeMessage(
|
|
62728
|
-
1,
|
|
62729
|
-
f,
|
|
62730
|
-
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
62731
|
-
);
|
|
62732
|
-
}
|
|
62733
|
-
f = message.getResultsList();
|
|
62734
|
-
if (f.length > 0) {
|
|
62735
|
-
writer.writeRepeatedMessage(
|
|
62736
|
-
2,
|
|
62737
|
-
f,
|
|
62738
|
-
proto_clarifai_api_resources_pb.WorkflowResultsSimilarity.serializeBinaryToWriter
|
|
62739
|
-
);
|
|
62740
|
-
}
|
|
62741
|
-
};
|
|
62742
|
-
|
|
62743
|
-
|
|
62744
|
-
/**
|
|
62745
|
-
* optional status.Status status = 1;
|
|
62746
|
-
* @return {?proto.clarifai.api.status.Status}
|
|
62747
|
-
*/
|
|
62748
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.getStatus = function() {
|
|
62749
|
-
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
62750
|
-
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
62751
|
-
};
|
|
62752
|
-
|
|
62753
|
-
|
|
62754
|
-
/**
|
|
62755
|
-
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
62756
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} returns this
|
|
62757
|
-
*/
|
|
62758
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.setStatus = function(value) {
|
|
62759
|
-
return jspb.Message.setWrapperField(this, 1, value);
|
|
62760
|
-
};
|
|
62761
|
-
|
|
62762
|
-
|
|
62763
|
-
/**
|
|
62764
|
-
* Clears the message field making it undefined.
|
|
62765
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} returns this
|
|
62766
|
-
*/
|
|
62767
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.clearStatus = function() {
|
|
62768
|
-
return this.setStatus(undefined);
|
|
62769
|
-
};
|
|
62770
|
-
|
|
62771
|
-
|
|
62772
|
-
/**
|
|
62773
|
-
* Returns whether this field is set.
|
|
62774
|
-
* @return {boolean}
|
|
62775
|
-
*/
|
|
62776
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.hasStatus = function() {
|
|
62777
|
-
return jspb.Message.getField(this, 1) != null;
|
|
62778
|
-
};
|
|
62779
|
-
|
|
62780
|
-
|
|
62781
|
-
/**
|
|
62782
|
-
* repeated WorkflowResultsSimilarity results = 2;
|
|
62783
|
-
* @return {!Array<!proto.clarifai.api.WorkflowResultsSimilarity>}
|
|
62784
|
-
*/
|
|
62785
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.getResultsList = function() {
|
|
62786
|
-
return /** @type{!Array<!proto.clarifai.api.WorkflowResultsSimilarity>} */ (
|
|
62787
|
-
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.WorkflowResultsSimilarity, 2));
|
|
62788
|
-
};
|
|
62789
|
-
|
|
62790
|
-
|
|
62791
|
-
/**
|
|
62792
|
-
* @param {!Array<!proto.clarifai.api.WorkflowResultsSimilarity>} value
|
|
62793
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} returns this
|
|
62794
|
-
*/
|
|
62795
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.setResultsList = function(value) {
|
|
62796
|
-
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
62797
|
-
};
|
|
62798
|
-
|
|
62799
|
-
|
|
62800
|
-
/**
|
|
62801
|
-
* @param {!proto.clarifai.api.WorkflowResultsSimilarity=} opt_value
|
|
62802
|
-
* @param {number=} opt_index
|
|
62803
|
-
* @return {!proto.clarifai.api.WorkflowResultsSimilarity}
|
|
62804
|
-
*/
|
|
62805
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.addResults = function(opt_value, opt_index) {
|
|
62806
|
-
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.WorkflowResultsSimilarity, opt_index);
|
|
62807
|
-
};
|
|
62808
|
-
|
|
62809
|
-
|
|
62810
|
-
/**
|
|
62811
|
-
* Clears the list making it empty but non-null.
|
|
62812
|
-
* @return {!proto.clarifai.api.PostWorkflowResultsSimilarityResponse} returns this
|
|
62813
|
-
*/
|
|
62814
|
-
proto.clarifai.api.PostWorkflowResultsSimilarityResponse.prototype.clearResultsList = function() {
|
|
62815
|
-
return this.setResultsList([]);
|
|
62816
|
-
};
|
|
62817
|
-
|
|
62818
|
-
|
|
62819
|
-
|
|
62820
62181
|
|
|
62821
62182
|
|
|
62822
62183
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -92299,7 +91660,7 @@ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.toObject = function(opt
|
|
|
92299
91660
|
proto.clarifai.api.PostAuditLogSearchesRequest.toObject = function(includeInstance, msg) {
|
|
92300
91661
|
var f, obj = {
|
|
92301
91662
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
92302
|
-
|
|
91663
|
+
query: (f = msg.getQuery()) && proto_clarifai_api_resources_pb.AuditLogQuery.toObject(includeInstance, f),
|
|
92303
91664
|
sortAscending: jspb.Message.getBooleanFieldWithDefault(msg, 3, false),
|
|
92304
91665
|
pagination: (f = msg.getPagination()) && proto.clarifai.api.Pagination.toObject(includeInstance, f)
|
|
92305
91666
|
};
|
|
@@ -92346,7 +91707,7 @@ proto.clarifai.api.PostAuditLogSearchesRequest.deserializeBinaryFromReader = fun
|
|
|
92346
91707
|
case 2:
|
|
92347
91708
|
var value = new proto_clarifai_api_resources_pb.AuditLogQuery;
|
|
92348
91709
|
reader.readMessage(value,proto_clarifai_api_resources_pb.AuditLogQuery.deserializeBinaryFromReader);
|
|
92349
|
-
msg.
|
|
91710
|
+
msg.setQuery(value);
|
|
92350
91711
|
break;
|
|
92351
91712
|
case 3:
|
|
92352
91713
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
@@ -92394,7 +91755,7 @@ proto.clarifai.api.PostAuditLogSearchesRequest.serializeBinaryToWriter = functio
|
|
|
92394
91755
|
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
92395
91756
|
);
|
|
92396
91757
|
}
|
|
92397
|
-
f = message.
|
|
91758
|
+
f = message.getQuery();
|
|
92398
91759
|
if (f != null) {
|
|
92399
91760
|
writer.writeMessage(
|
|
92400
91761
|
2,
|
|
@@ -92458,10 +91819,10 @@ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasUserAppId = function
|
|
|
92458
91819
|
|
|
92459
91820
|
|
|
92460
91821
|
/**
|
|
92461
|
-
* optional AuditLogQuery
|
|
91822
|
+
* optional AuditLogQuery query = 2;
|
|
92462
91823
|
* @return {?proto.clarifai.api.AuditLogQuery}
|
|
92463
91824
|
*/
|
|
92464
|
-
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.
|
|
91825
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getQuery = function() {
|
|
92465
91826
|
return /** @type{?proto.clarifai.api.AuditLogQuery} */ (
|
|
92466
91827
|
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.AuditLogQuery, 2));
|
|
92467
91828
|
};
|
|
@@ -92471,7 +91832,7 @@ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.getAuditLogQuery = func
|
|
|
92471
91832
|
* @param {?proto.clarifai.api.AuditLogQuery|undefined} value
|
|
92472
91833
|
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92473
91834
|
*/
|
|
92474
|
-
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.
|
|
91835
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setQuery = function(value) {
|
|
92475
91836
|
return jspb.Message.setWrapperField(this, 2, value);
|
|
92476
91837
|
};
|
|
92477
91838
|
|
|
@@ -92480,8 +91841,8 @@ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.setAuditLogQuery = func
|
|
|
92480
91841
|
* Clears the message field making it undefined.
|
|
92481
91842
|
* @return {!proto.clarifai.api.PostAuditLogSearchesRequest} returns this
|
|
92482
91843
|
*/
|
|
92483
|
-
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.
|
|
92484
|
-
return this.
|
|
91844
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearQuery = function() {
|
|
91845
|
+
return this.setQuery(undefined);
|
|
92485
91846
|
};
|
|
92486
91847
|
|
|
92487
91848
|
|
|
@@ -92489,7 +91850,7 @@ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.clearAuditLogQuery = fu
|
|
|
92489
91850
|
* Returns whether this field is set.
|
|
92490
91851
|
* @return {boolean}
|
|
92491
91852
|
*/
|
|
92492
|
-
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.
|
|
91853
|
+
proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasQuery = function() {
|
|
92493
91854
|
return jspb.Message.getField(this, 2) != null;
|
|
92494
91855
|
};
|
|
92495
91856
|
|
|
@@ -92555,7 +91916,7 @@ proto.clarifai.api.PostAuditLogSearchesRequest.prototype.hasPagination = functio
|
|
|
92555
91916
|
* @private {!Array<number>}
|
|
92556
91917
|
* @const
|
|
92557
91918
|
*/
|
|
92558
|
-
proto.clarifai.api.
|
|
91919
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.repeatedFields_ = [2];
|
|
92559
91920
|
|
|
92560
91921
|
|
|
92561
91922
|
|
|
@@ -92572,8 +91933,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
92572
91933
|
* http://goto/soy-param-migration
|
|
92573
91934
|
* @return {!Object}
|
|
92574
91935
|
*/
|
|
92575
|
-
proto.clarifai.api.
|
|
92576
|
-
return proto.clarifai.api.
|
|
91936
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.toObject = function(opt_includeInstance) {
|
|
91937
|
+
return proto.clarifai.api.MultiAuditLogEntryResponse.toObject(opt_includeInstance, this);
|
|
92577
91938
|
};
|
|
92578
91939
|
|
|
92579
91940
|
|
|
@@ -92582,11 +91943,11 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.toObject = function(opt
|
|
|
92582
91943
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
92583
91944
|
* the JSPB instance for transitional soy proto support:
|
|
92584
91945
|
* http://goto/soy-param-migration
|
|
92585
|
-
* @param {!proto.clarifai.api.
|
|
91946
|
+
* @param {!proto.clarifai.api.MultiAuditLogEntryResponse} msg The msg instance to transform.
|
|
92586
91947
|
* @return {!Object}
|
|
92587
91948
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92588
91949
|
*/
|
|
92589
|
-
proto.clarifai.api.
|
|
91950
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.toObject = function(includeInstance, msg) {
|
|
92590
91951
|
var f, obj = {
|
|
92591
91952
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
92592
91953
|
entriesList: jspb.Message.toObjectList(msg.getEntriesList(),
|
|
@@ -92604,23 +91965,23 @@ proto.clarifai.api.MultiAuditLogSearchResponse.toObject = function(includeInstan
|
|
|
92604
91965
|
/**
|
|
92605
91966
|
* Deserializes binary data (in protobuf wire format).
|
|
92606
91967
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
92607
|
-
* @return {!proto.clarifai.api.
|
|
91968
|
+
* @return {!proto.clarifai.api.MultiAuditLogEntryResponse}
|
|
92608
91969
|
*/
|
|
92609
|
-
proto.clarifai.api.
|
|
91970
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.deserializeBinary = function(bytes) {
|
|
92610
91971
|
var reader = new jspb.BinaryReader(bytes);
|
|
92611
|
-
var msg = new proto.clarifai.api.
|
|
92612
|
-
return proto.clarifai.api.
|
|
91972
|
+
var msg = new proto.clarifai.api.MultiAuditLogEntryResponse;
|
|
91973
|
+
return proto.clarifai.api.MultiAuditLogEntryResponse.deserializeBinaryFromReader(msg, reader);
|
|
92613
91974
|
};
|
|
92614
91975
|
|
|
92615
91976
|
|
|
92616
91977
|
/**
|
|
92617
91978
|
* Deserializes binary data (in protobuf wire format) from the
|
|
92618
91979
|
* given reader into the given message object.
|
|
92619
|
-
* @param {!proto.clarifai.api.
|
|
91980
|
+
* @param {!proto.clarifai.api.MultiAuditLogEntryResponse} msg The message object to deserialize into.
|
|
92620
91981
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
92621
|
-
* @return {!proto.clarifai.api.
|
|
91982
|
+
* @return {!proto.clarifai.api.MultiAuditLogEntryResponse}
|
|
92622
91983
|
*/
|
|
92623
|
-
proto.clarifai.api.
|
|
91984
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.deserializeBinaryFromReader = function(msg, reader) {
|
|
92624
91985
|
while (reader.nextField()) {
|
|
92625
91986
|
if (reader.isEndGroup()) {
|
|
92626
91987
|
break;
|
|
@@ -92650,9 +92011,9 @@ proto.clarifai.api.MultiAuditLogSearchResponse.deserializeBinaryFromReader = fun
|
|
|
92650
92011
|
* Serializes the message to binary data (in protobuf wire format).
|
|
92651
92012
|
* @return {!Uint8Array}
|
|
92652
92013
|
*/
|
|
92653
|
-
proto.clarifai.api.
|
|
92014
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.serializeBinary = function() {
|
|
92654
92015
|
var writer = new jspb.BinaryWriter();
|
|
92655
|
-
proto.clarifai.api.
|
|
92016
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.serializeBinaryToWriter(this, writer);
|
|
92656
92017
|
return writer.getResultBuffer();
|
|
92657
92018
|
};
|
|
92658
92019
|
|
|
@@ -92660,11 +92021,11 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.serializeBinary = funct
|
|
|
92660
92021
|
/**
|
|
92661
92022
|
* Serializes the given message to binary data (in protobuf wire
|
|
92662
92023
|
* format), writing to the given BinaryWriter.
|
|
92663
|
-
* @param {!proto.clarifai.api.
|
|
92024
|
+
* @param {!proto.clarifai.api.MultiAuditLogEntryResponse} message
|
|
92664
92025
|
* @param {!jspb.BinaryWriter} writer
|
|
92665
92026
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
92666
92027
|
*/
|
|
92667
|
-
proto.clarifai.api.
|
|
92028
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.serializeBinaryToWriter = function(message, writer) {
|
|
92668
92029
|
var f = undefined;
|
|
92669
92030
|
f = message.getStatus();
|
|
92670
92031
|
if (f != null) {
|
|
@@ -92689,7 +92050,7 @@ proto.clarifai.api.MultiAuditLogSearchResponse.serializeBinaryToWriter = functio
|
|
|
92689
92050
|
* optional status.Status status = 1;
|
|
92690
92051
|
* @return {?proto.clarifai.api.status.Status}
|
|
92691
92052
|
*/
|
|
92692
|
-
proto.clarifai.api.
|
|
92053
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.getStatus = function() {
|
|
92693
92054
|
return /** @type{?proto.clarifai.api.status.Status} */ (
|
|
92694
92055
|
jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
92695
92056
|
};
|
|
@@ -92697,18 +92058,18 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.getStatus = function()
|
|
|
92697
92058
|
|
|
92698
92059
|
/**
|
|
92699
92060
|
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
92700
|
-
* @return {!proto.clarifai.api.
|
|
92061
|
+
* @return {!proto.clarifai.api.MultiAuditLogEntryResponse} returns this
|
|
92701
92062
|
*/
|
|
92702
|
-
proto.clarifai.api.
|
|
92063
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.setStatus = function(value) {
|
|
92703
92064
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
92704
92065
|
};
|
|
92705
92066
|
|
|
92706
92067
|
|
|
92707
92068
|
/**
|
|
92708
92069
|
* Clears the message field making it undefined.
|
|
92709
|
-
* @return {!proto.clarifai.api.
|
|
92070
|
+
* @return {!proto.clarifai.api.MultiAuditLogEntryResponse} returns this
|
|
92710
92071
|
*/
|
|
92711
|
-
proto.clarifai.api.
|
|
92072
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.clearStatus = function() {
|
|
92712
92073
|
return this.setStatus(undefined);
|
|
92713
92074
|
};
|
|
92714
92075
|
|
|
@@ -92717,7 +92078,7 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.clearStatus = function(
|
|
|
92717
92078
|
* Returns whether this field is set.
|
|
92718
92079
|
* @return {boolean}
|
|
92719
92080
|
*/
|
|
92720
|
-
proto.clarifai.api.
|
|
92081
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.hasStatus = function() {
|
|
92721
92082
|
return jspb.Message.getField(this, 1) != null;
|
|
92722
92083
|
};
|
|
92723
92084
|
|
|
@@ -92726,7 +92087,7 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.hasStatus = function()
|
|
|
92726
92087
|
* repeated AuditLogEntry entries = 2;
|
|
92727
92088
|
* @return {!Array<!proto.clarifai.api.AuditLogEntry>}
|
|
92728
92089
|
*/
|
|
92729
|
-
proto.clarifai.api.
|
|
92090
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.getEntriesList = function() {
|
|
92730
92091
|
return /** @type{!Array<!proto.clarifai.api.AuditLogEntry>} */ (
|
|
92731
92092
|
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.AuditLogEntry, 2));
|
|
92732
92093
|
};
|
|
@@ -92734,9 +92095,9 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.getEntriesList = functi
|
|
|
92734
92095
|
|
|
92735
92096
|
/**
|
|
92736
92097
|
* @param {!Array<!proto.clarifai.api.AuditLogEntry>} value
|
|
92737
|
-
* @return {!proto.clarifai.api.
|
|
92098
|
+
* @return {!proto.clarifai.api.MultiAuditLogEntryResponse} returns this
|
|
92738
92099
|
*/
|
|
92739
|
-
proto.clarifai.api.
|
|
92100
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.setEntriesList = function(value) {
|
|
92740
92101
|
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
92741
92102
|
};
|
|
92742
92103
|
|
|
@@ -92746,16 +92107,16 @@ proto.clarifai.api.MultiAuditLogSearchResponse.prototype.setEntriesList = functi
|
|
|
92746
92107
|
* @param {number=} opt_index
|
|
92747
92108
|
* @return {!proto.clarifai.api.AuditLogEntry}
|
|
92748
92109
|
*/
|
|
92749
|
-
proto.clarifai.api.
|
|
92110
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.addEntries = function(opt_value, opt_index) {
|
|
92750
92111
|
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.AuditLogEntry, opt_index);
|
|
92751
92112
|
};
|
|
92752
92113
|
|
|
92753
92114
|
|
|
92754
92115
|
/**
|
|
92755
92116
|
* Clears the list making it empty but non-null.
|
|
92756
|
-
* @return {!proto.clarifai.api.
|
|
92117
|
+
* @return {!proto.clarifai.api.MultiAuditLogEntryResponse} returns this
|
|
92757
92118
|
*/
|
|
92758
|
-
proto.clarifai.api.
|
|
92119
|
+
proto.clarifai.api.MultiAuditLogEntryResponse.prototype.clearEntriesList = function() {
|
|
92759
92120
|
return this.setEntriesList([]);
|
|
92760
92121
|
};
|
|
92761
92122
|
|