clarifai-web-grpc 11.8.6 → 11.9.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 +215 -2
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +683 -150
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +215 -2
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +683 -150
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +32 -0
- package/proto/clarifai/api/resources_pb.js +265 -2
- 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 +103 -24
- package/proto/clarifai/api/service_pb.js +871 -192
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
|
@@ -329,6 +329,7 @@ proto.clarifai.api.status.StatusCode = {
|
|
|
329
329
|
FILETYPE_UNSUPPORTED: 46003,
|
|
330
330
|
LOGIN_EVENT_ERROR: 46004,
|
|
331
331
|
SIFT_UNCATEGORIZED_ERROR: 46005,
|
|
332
|
+
USER_FLAGGED: 46006,
|
|
332
333
|
APP_COUNT_INVALID_MESSAGE: 47001,
|
|
333
334
|
APP_COUNT_UPDATE_INCREMENT_FAILED: 47002,
|
|
334
335
|
APP_COUNT_REBUILD_FAILED: 47003,
|
package/package.json
CHANGED
|
@@ -1450,6 +1450,9 @@ export class FrameInfo extends jspb.Message {
|
|
|
1450
1450
|
getTime(): number;
|
|
1451
1451
|
setTime(value: number): FrameInfo;
|
|
1452
1452
|
|
|
1453
|
+
getNumber(): number;
|
|
1454
|
+
setNumber(value: number): FrameInfo;
|
|
1455
|
+
|
|
1453
1456
|
serializeBinary(): Uint8Array;
|
|
1454
1457
|
toObject(includeInstance?: boolean): FrameInfo.AsObject;
|
|
1455
1458
|
static toObject(includeInstance: boolean, msg: FrameInfo): FrameInfo.AsObject;
|
|
@@ -1462,6 +1465,7 @@ export namespace FrameInfo {
|
|
|
1462
1465
|
export type AsObject = {
|
|
1463
1466
|
index: number,
|
|
1464
1467
|
time: number,
|
|
1468
|
+
number: number,
|
|
1465
1469
|
}
|
|
1466
1470
|
}
|
|
1467
1471
|
|
|
@@ -8530,6 +8534,28 @@ export namespace BookmarkOrigin {
|
|
|
8530
8534
|
}
|
|
8531
8535
|
}
|
|
8532
8536
|
|
|
8537
|
+
export class RunnerMetrics extends jspb.Message {
|
|
8538
|
+
getPodsTotal(): number;
|
|
8539
|
+
setPodsTotal(value: number): RunnerMetrics;
|
|
8540
|
+
|
|
8541
|
+
getPodsRunning(): number;
|
|
8542
|
+
setPodsRunning(value: number): RunnerMetrics;
|
|
8543
|
+
|
|
8544
|
+
serializeBinary(): Uint8Array;
|
|
8545
|
+
toObject(includeInstance?: boolean): RunnerMetrics.AsObject;
|
|
8546
|
+
static toObject(includeInstance: boolean, msg: RunnerMetrics): RunnerMetrics.AsObject;
|
|
8547
|
+
static serializeBinaryToWriter(message: RunnerMetrics, writer: jspb.BinaryWriter): void;
|
|
8548
|
+
static deserializeBinary(bytes: Uint8Array): RunnerMetrics;
|
|
8549
|
+
static deserializeBinaryFromReader(message: RunnerMetrics, reader: jspb.BinaryReader): RunnerMetrics;
|
|
8550
|
+
}
|
|
8551
|
+
|
|
8552
|
+
export namespace RunnerMetrics {
|
|
8553
|
+
export type AsObject = {
|
|
8554
|
+
podsTotal: number,
|
|
8555
|
+
podsRunning: number,
|
|
8556
|
+
}
|
|
8557
|
+
}
|
|
8558
|
+
|
|
8533
8559
|
export class Runner extends jspb.Message {
|
|
8534
8560
|
getId(): string;
|
|
8535
8561
|
setId(value: string): Runner;
|
|
@@ -8580,6 +8606,11 @@ export class Runner extends jspb.Message {
|
|
|
8580
8606
|
clearSpecialHandlingList(): Runner;
|
|
8581
8607
|
addSpecialHandling(value?: SpecialHandling, index?: number): SpecialHandling;
|
|
8582
8608
|
|
|
8609
|
+
getRunnerMetrics(): RunnerMetrics | undefined;
|
|
8610
|
+
setRunnerMetrics(value?: RunnerMetrics): Runner;
|
|
8611
|
+
hasRunnerMetrics(): boolean;
|
|
8612
|
+
clearRunnerMetrics(): Runner;
|
|
8613
|
+
|
|
8583
8614
|
serializeBinary(): Uint8Array;
|
|
8584
8615
|
toObject(includeInstance?: boolean): Runner.AsObject;
|
|
8585
8616
|
static toObject(includeInstance: boolean, msg: Runner): Runner.AsObject;
|
|
@@ -8601,6 +8632,7 @@ export namespace Runner {
|
|
|
8601
8632
|
computeInfo?: ComputeInfo.AsObject,
|
|
8602
8633
|
numReplicas: number,
|
|
8603
8634
|
specialHandlingList: Array<SpecialHandling.AsObject>,
|
|
8635
|
+
runnerMetrics?: RunnerMetrics.AsObject,
|
|
8604
8636
|
}
|
|
8605
8637
|
}
|
|
8606
8638
|
|
|
@@ -279,6 +279,7 @@ goog.exportSymbol('proto.clarifai.api.Role', null, global);
|
|
|
279
279
|
goog.exportSymbol('proto.clarifai.api.RoleType', null, global);
|
|
280
280
|
goog.exportSymbol('proto.clarifai.api.Runner', null, global);
|
|
281
281
|
goog.exportSymbol('proto.clarifai.api.RunnerMethodType', null, global);
|
|
282
|
+
goog.exportSymbol('proto.clarifai.api.RunnerMetrics', null, global);
|
|
282
283
|
goog.exportSymbol('proto.clarifai.api.RunnerSelector', null, global);
|
|
283
284
|
goog.exportSymbol('proto.clarifai.api.ScopeDeps', null, global);
|
|
284
285
|
goog.exportSymbol('proto.clarifai.api.Search', null, global);
|
|
@@ -4732,6 +4733,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4732
4733
|
*/
|
|
4733
4734
|
proto.clarifai.api.BookmarkOrigin.displayName = 'proto.clarifai.api.BookmarkOrigin';
|
|
4734
4735
|
}
|
|
4736
|
+
/**
|
|
4737
|
+
* Generated by JsPbCodeGenerator.
|
|
4738
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
4739
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
4740
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
4741
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
4742
|
+
* valid.
|
|
4743
|
+
* @extends {jspb.Message}
|
|
4744
|
+
* @constructor
|
|
4745
|
+
*/
|
|
4746
|
+
proto.clarifai.api.RunnerMetrics = function(opt_data) {
|
|
4747
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
4748
|
+
};
|
|
4749
|
+
goog.inherits(proto.clarifai.api.RunnerMetrics, jspb.Message);
|
|
4750
|
+
if (goog.DEBUG && !COMPILED) {
|
|
4751
|
+
/**
|
|
4752
|
+
* @public
|
|
4753
|
+
* @override
|
|
4754
|
+
*/
|
|
4755
|
+
proto.clarifai.api.RunnerMetrics.displayName = 'proto.clarifai.api.RunnerMetrics';
|
|
4756
|
+
}
|
|
4735
4757
|
/**
|
|
4736
4758
|
* Generated by JsPbCodeGenerator.
|
|
4737
4759
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -16975,7 +16997,8 @@ proto.clarifai.api.FrameInfo.prototype.toObject = function(opt_includeInstance)
|
|
|
16975
16997
|
proto.clarifai.api.FrameInfo.toObject = function(includeInstance, msg) {
|
|
16976
16998
|
var f, obj = {
|
|
16977
16999
|
index: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
16978
|
-
time: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
17000
|
+
time: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
17001
|
+
number: jspb.Message.getFieldWithDefault(msg, 3, 0)
|
|
16979
17002
|
};
|
|
16980
17003
|
|
|
16981
17004
|
if (includeInstance) {
|
|
@@ -17020,6 +17043,10 @@ proto.clarifai.api.FrameInfo.deserializeBinaryFromReader = function(msg, reader)
|
|
|
17020
17043
|
var value = /** @type {number} */ (reader.readUint32());
|
|
17021
17044
|
msg.setTime(value);
|
|
17022
17045
|
break;
|
|
17046
|
+
case 3:
|
|
17047
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
17048
|
+
msg.setNumber(value);
|
|
17049
|
+
break;
|
|
17023
17050
|
default:
|
|
17024
17051
|
reader.skipField();
|
|
17025
17052
|
break;
|
|
@@ -17063,6 +17090,13 @@ proto.clarifai.api.FrameInfo.serializeBinaryToWriter = function(message, writer)
|
|
|
17063
17090
|
f
|
|
17064
17091
|
);
|
|
17065
17092
|
}
|
|
17093
|
+
f = message.getNumber();
|
|
17094
|
+
if (f !== 0) {
|
|
17095
|
+
writer.writeUint32(
|
|
17096
|
+
3,
|
|
17097
|
+
f
|
|
17098
|
+
);
|
|
17099
|
+
}
|
|
17066
17100
|
};
|
|
17067
17101
|
|
|
17068
17102
|
|
|
@@ -17102,6 +17136,24 @@ proto.clarifai.api.FrameInfo.prototype.setTime = function(value) {
|
|
|
17102
17136
|
};
|
|
17103
17137
|
|
|
17104
17138
|
|
|
17139
|
+
/**
|
|
17140
|
+
* optional uint32 number = 3;
|
|
17141
|
+
* @return {number}
|
|
17142
|
+
*/
|
|
17143
|
+
proto.clarifai.api.FrameInfo.prototype.getNumber = function() {
|
|
17144
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
|
|
17145
|
+
};
|
|
17146
|
+
|
|
17147
|
+
|
|
17148
|
+
/**
|
|
17149
|
+
* @param {number} value
|
|
17150
|
+
* @return {!proto.clarifai.api.FrameInfo} returns this
|
|
17151
|
+
*/
|
|
17152
|
+
proto.clarifai.api.FrameInfo.prototype.setNumber = function(value) {
|
|
17153
|
+
return jspb.Message.setProto3IntField(this, 3, value);
|
|
17154
|
+
};
|
|
17155
|
+
|
|
17156
|
+
|
|
17105
17157
|
|
|
17106
17158
|
|
|
17107
17159
|
|
|
@@ -70903,6 +70955,166 @@ proto.clarifai.api.BookmarkOrigin.prototype.setResourceType = function(value) {
|
|
|
70903
70955
|
|
|
70904
70956
|
|
|
70905
70957
|
|
|
70958
|
+
|
|
70959
|
+
|
|
70960
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
70961
|
+
/**
|
|
70962
|
+
* Creates an object representation of this proto.
|
|
70963
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
70964
|
+
* Optional fields that are not set will be set to undefined.
|
|
70965
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
70966
|
+
* For the list of reserved names please see:
|
|
70967
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
70968
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
70969
|
+
* JSPB instance for transitional soy proto support:
|
|
70970
|
+
* http://goto/soy-param-migration
|
|
70971
|
+
* @return {!Object}
|
|
70972
|
+
*/
|
|
70973
|
+
proto.clarifai.api.RunnerMetrics.prototype.toObject = function(opt_includeInstance) {
|
|
70974
|
+
return proto.clarifai.api.RunnerMetrics.toObject(opt_includeInstance, this);
|
|
70975
|
+
};
|
|
70976
|
+
|
|
70977
|
+
|
|
70978
|
+
/**
|
|
70979
|
+
* Static version of the {@see toObject} method.
|
|
70980
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
70981
|
+
* the JSPB instance for transitional soy proto support:
|
|
70982
|
+
* http://goto/soy-param-migration
|
|
70983
|
+
* @param {!proto.clarifai.api.RunnerMetrics} msg The msg instance to transform.
|
|
70984
|
+
* @return {!Object}
|
|
70985
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
70986
|
+
*/
|
|
70987
|
+
proto.clarifai.api.RunnerMetrics.toObject = function(includeInstance, msg) {
|
|
70988
|
+
var f, obj = {
|
|
70989
|
+
podsTotal: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
70990
|
+
podsRunning: jspb.Message.getFieldWithDefault(msg, 2, 0)
|
|
70991
|
+
};
|
|
70992
|
+
|
|
70993
|
+
if (includeInstance) {
|
|
70994
|
+
obj.$jspbMessageInstance = msg;
|
|
70995
|
+
}
|
|
70996
|
+
return obj;
|
|
70997
|
+
};
|
|
70998
|
+
}
|
|
70999
|
+
|
|
71000
|
+
|
|
71001
|
+
/**
|
|
71002
|
+
* Deserializes binary data (in protobuf wire format).
|
|
71003
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
71004
|
+
* @return {!proto.clarifai.api.RunnerMetrics}
|
|
71005
|
+
*/
|
|
71006
|
+
proto.clarifai.api.RunnerMetrics.deserializeBinary = function(bytes) {
|
|
71007
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
71008
|
+
var msg = new proto.clarifai.api.RunnerMetrics;
|
|
71009
|
+
return proto.clarifai.api.RunnerMetrics.deserializeBinaryFromReader(msg, reader);
|
|
71010
|
+
};
|
|
71011
|
+
|
|
71012
|
+
|
|
71013
|
+
/**
|
|
71014
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
71015
|
+
* given reader into the given message object.
|
|
71016
|
+
* @param {!proto.clarifai.api.RunnerMetrics} msg The message object to deserialize into.
|
|
71017
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
71018
|
+
* @return {!proto.clarifai.api.RunnerMetrics}
|
|
71019
|
+
*/
|
|
71020
|
+
proto.clarifai.api.RunnerMetrics.deserializeBinaryFromReader = function(msg, reader) {
|
|
71021
|
+
while (reader.nextField()) {
|
|
71022
|
+
if (reader.isEndGroup()) {
|
|
71023
|
+
break;
|
|
71024
|
+
}
|
|
71025
|
+
var field = reader.getFieldNumber();
|
|
71026
|
+
switch (field) {
|
|
71027
|
+
case 1:
|
|
71028
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
71029
|
+
msg.setPodsTotal(value);
|
|
71030
|
+
break;
|
|
71031
|
+
case 2:
|
|
71032
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
71033
|
+
msg.setPodsRunning(value);
|
|
71034
|
+
break;
|
|
71035
|
+
default:
|
|
71036
|
+
reader.skipField();
|
|
71037
|
+
break;
|
|
71038
|
+
}
|
|
71039
|
+
}
|
|
71040
|
+
return msg;
|
|
71041
|
+
};
|
|
71042
|
+
|
|
71043
|
+
|
|
71044
|
+
/**
|
|
71045
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
71046
|
+
* @return {!Uint8Array}
|
|
71047
|
+
*/
|
|
71048
|
+
proto.clarifai.api.RunnerMetrics.prototype.serializeBinary = function() {
|
|
71049
|
+
var writer = new jspb.BinaryWriter();
|
|
71050
|
+
proto.clarifai.api.RunnerMetrics.serializeBinaryToWriter(this, writer);
|
|
71051
|
+
return writer.getResultBuffer();
|
|
71052
|
+
};
|
|
71053
|
+
|
|
71054
|
+
|
|
71055
|
+
/**
|
|
71056
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
71057
|
+
* format), writing to the given BinaryWriter.
|
|
71058
|
+
* @param {!proto.clarifai.api.RunnerMetrics} message
|
|
71059
|
+
* @param {!jspb.BinaryWriter} writer
|
|
71060
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
71061
|
+
*/
|
|
71062
|
+
proto.clarifai.api.RunnerMetrics.serializeBinaryToWriter = function(message, writer) {
|
|
71063
|
+
var f = undefined;
|
|
71064
|
+
f = message.getPodsTotal();
|
|
71065
|
+
if (f !== 0) {
|
|
71066
|
+
writer.writeUint32(
|
|
71067
|
+
1,
|
|
71068
|
+
f
|
|
71069
|
+
);
|
|
71070
|
+
}
|
|
71071
|
+
f = message.getPodsRunning();
|
|
71072
|
+
if (f !== 0) {
|
|
71073
|
+
writer.writeUint32(
|
|
71074
|
+
2,
|
|
71075
|
+
f
|
|
71076
|
+
);
|
|
71077
|
+
}
|
|
71078
|
+
};
|
|
71079
|
+
|
|
71080
|
+
|
|
71081
|
+
/**
|
|
71082
|
+
* optional uint32 pods_total = 1;
|
|
71083
|
+
* @return {number}
|
|
71084
|
+
*/
|
|
71085
|
+
proto.clarifai.api.RunnerMetrics.prototype.getPodsTotal = function() {
|
|
71086
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 1, 0));
|
|
71087
|
+
};
|
|
71088
|
+
|
|
71089
|
+
|
|
71090
|
+
/**
|
|
71091
|
+
* @param {number} value
|
|
71092
|
+
* @return {!proto.clarifai.api.RunnerMetrics} returns this
|
|
71093
|
+
*/
|
|
71094
|
+
proto.clarifai.api.RunnerMetrics.prototype.setPodsTotal = function(value) {
|
|
71095
|
+
return jspb.Message.setProto3IntField(this, 1, value);
|
|
71096
|
+
};
|
|
71097
|
+
|
|
71098
|
+
|
|
71099
|
+
/**
|
|
71100
|
+
* optional uint32 pods_running = 2;
|
|
71101
|
+
* @return {number}
|
|
71102
|
+
*/
|
|
71103
|
+
proto.clarifai.api.RunnerMetrics.prototype.getPodsRunning = function() {
|
|
71104
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
71105
|
+
};
|
|
71106
|
+
|
|
71107
|
+
|
|
71108
|
+
/**
|
|
71109
|
+
* @param {number} value
|
|
71110
|
+
* @return {!proto.clarifai.api.RunnerMetrics} returns this
|
|
71111
|
+
*/
|
|
71112
|
+
proto.clarifai.api.RunnerMetrics.prototype.setPodsRunning = function(value) {
|
|
71113
|
+
return jspb.Message.setProto3IntField(this, 2, value);
|
|
71114
|
+
};
|
|
71115
|
+
|
|
71116
|
+
|
|
71117
|
+
|
|
70906
71118
|
/**
|
|
70907
71119
|
* List of repeated fields within this message type.
|
|
70908
71120
|
* @private {!Array<number>}
|
|
@@ -70952,7 +71164,8 @@ proto.clarifai.api.Runner.toObject = function(includeInstance, msg) {
|
|
|
70952
71164
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
70953
71165
|
numReplicas: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
70954
71166
|
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
|
|
70955
|
-
proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
71167
|
+
proto.clarifai.api.SpecialHandling.toObject, includeInstance),
|
|
71168
|
+
runnerMetrics: (f = msg.getRunnerMetrics()) && proto.clarifai.api.RunnerMetrics.toObject(includeInstance, f)
|
|
70956
71169
|
};
|
|
70957
71170
|
|
|
70958
71171
|
if (includeInstance) {
|
|
@@ -71040,6 +71253,11 @@ proto.clarifai.api.Runner.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
71040
71253
|
reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
71041
71254
|
msg.addSpecialHandling(value);
|
|
71042
71255
|
break;
|
|
71256
|
+
case 13:
|
|
71257
|
+
var value = new proto.clarifai.api.RunnerMetrics;
|
|
71258
|
+
reader.readMessage(value,proto.clarifai.api.RunnerMetrics.deserializeBinaryFromReader);
|
|
71259
|
+
msg.setRunnerMetrics(value);
|
|
71260
|
+
break;
|
|
71043
71261
|
default:
|
|
71044
71262
|
reader.skipField();
|
|
71045
71263
|
break;
|
|
@@ -71153,6 +71371,14 @@ proto.clarifai.api.Runner.serializeBinaryToWriter = function(message, writer) {
|
|
|
71153
71371
|
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
|
|
71154
71372
|
);
|
|
71155
71373
|
}
|
|
71374
|
+
f = message.getRunnerMetrics();
|
|
71375
|
+
if (f != null) {
|
|
71376
|
+
writer.writeMessage(
|
|
71377
|
+
13,
|
|
71378
|
+
f,
|
|
71379
|
+
proto.clarifai.api.RunnerMetrics.serializeBinaryToWriter
|
|
71380
|
+
);
|
|
71381
|
+
}
|
|
71156
71382
|
};
|
|
71157
71383
|
|
|
71158
71384
|
|
|
@@ -71507,6 +71733,43 @@ proto.clarifai.api.Runner.prototype.clearSpecialHandlingList = function() {
|
|
|
71507
71733
|
};
|
|
71508
71734
|
|
|
71509
71735
|
|
|
71736
|
+
/**
|
|
71737
|
+
* optional RunnerMetrics runner_metrics = 13;
|
|
71738
|
+
* @return {?proto.clarifai.api.RunnerMetrics}
|
|
71739
|
+
*/
|
|
71740
|
+
proto.clarifai.api.Runner.prototype.getRunnerMetrics = function() {
|
|
71741
|
+
return /** @type{?proto.clarifai.api.RunnerMetrics} */ (
|
|
71742
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.RunnerMetrics, 13));
|
|
71743
|
+
};
|
|
71744
|
+
|
|
71745
|
+
|
|
71746
|
+
/**
|
|
71747
|
+
* @param {?proto.clarifai.api.RunnerMetrics|undefined} value
|
|
71748
|
+
* @return {!proto.clarifai.api.Runner} returns this
|
|
71749
|
+
*/
|
|
71750
|
+
proto.clarifai.api.Runner.prototype.setRunnerMetrics = function(value) {
|
|
71751
|
+
return jspb.Message.setWrapperField(this, 13, value);
|
|
71752
|
+
};
|
|
71753
|
+
|
|
71754
|
+
|
|
71755
|
+
/**
|
|
71756
|
+
* Clears the message field making it undefined.
|
|
71757
|
+
* @return {!proto.clarifai.api.Runner} returns this
|
|
71758
|
+
*/
|
|
71759
|
+
proto.clarifai.api.Runner.prototype.clearRunnerMetrics = function() {
|
|
71760
|
+
return this.setRunnerMetrics(undefined);
|
|
71761
|
+
};
|
|
71762
|
+
|
|
71763
|
+
|
|
71764
|
+
/**
|
|
71765
|
+
* Returns whether this field is set.
|
|
71766
|
+
* @return {boolean}
|
|
71767
|
+
*/
|
|
71768
|
+
proto.clarifai.api.Runner.prototype.hasRunnerMetrics = function() {
|
|
71769
|
+
return jspb.Message.getField(this, 13) != null;
|
|
71770
|
+
};
|
|
71771
|
+
|
|
71772
|
+
|
|
71510
71773
|
|
|
71511
71774
|
/**
|
|
71512
71775
|
* List of repeated fields within this message type.
|
|
@@ -135,6 +135,13 @@ export class V2Client {
|
|
|
135
135
|
response: proto_clarifai_api_service_pb.MultiAnnotationResponse) => void
|
|
136
136
|
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAnnotationResponse>;
|
|
137
137
|
|
|
138
|
+
postTrackAnnotationsSearches(
|
|
139
|
+
request: proto_clarifai_api_service_pb.PostTrackAnnotationsSearchesRequest,
|
|
140
|
+
metadata: grpcWeb.Metadata | undefined,
|
|
141
|
+
callback: (err: grpcWeb.RpcError,
|
|
142
|
+
response: proto_clarifai_api_service_pb.MultiAnnotationResponse) => void
|
|
143
|
+
): grpcWeb.ClientReadableStream<proto_clarifai_api_service_pb.MultiAnnotationResponse>;
|
|
144
|
+
|
|
138
145
|
postAnnotations(
|
|
139
146
|
request: proto_clarifai_api_service_pb.PostAnnotationsRequest,
|
|
140
147
|
metadata: grpcWeb.Metadata | undefined,
|
|
@@ -2034,6 +2041,11 @@ export class V2PromiseClient {
|
|
|
2034
2041
|
metadata?: grpcWeb.Metadata
|
|
2035
2042
|
): Promise<proto_clarifai_api_service_pb.MultiAnnotationResponse>;
|
|
2036
2043
|
|
|
2044
|
+
postTrackAnnotationsSearches(
|
|
2045
|
+
request: proto_clarifai_api_service_pb.PostTrackAnnotationsSearchesRequest,
|
|
2046
|
+
metadata?: grpcWeb.Metadata
|
|
2047
|
+
): Promise<proto_clarifai_api_service_pb.MultiAnnotationResponse>;
|
|
2048
|
+
|
|
2037
2049
|
postAnnotations(
|
|
2038
2050
|
request: proto_clarifai_api_service_pb.PostAnnotationsRequest,
|
|
2039
2051
|
metadata?: grpcWeb.Metadata
|
|
@@ -1193,6 +1193,67 @@ proto.clarifai.api.V2PromiseClient.prototype.listAnnotations =
|
|
|
1193
1193
|
};
|
|
1194
1194
|
|
|
1195
1195
|
|
|
1196
|
+
/**
|
|
1197
|
+
* @const
|
|
1198
|
+
* @type {!grpc.web.MethodDescriptor<
|
|
1199
|
+
* !proto.clarifai.api.PostTrackAnnotationsSearchesRequest,
|
|
1200
|
+
* !proto.clarifai.api.MultiAnnotationResponse>}
|
|
1201
|
+
*/
|
|
1202
|
+
const methodDescriptor_V2_PostTrackAnnotationsSearches = new grpc.web.MethodDescriptor(
|
|
1203
|
+
'/clarifai.api.V2/PostTrackAnnotationsSearches',
|
|
1204
|
+
grpc.web.MethodType.UNARY,
|
|
1205
|
+
proto.clarifai.api.PostTrackAnnotationsSearchesRequest,
|
|
1206
|
+
proto.clarifai.api.MultiAnnotationResponse,
|
|
1207
|
+
/**
|
|
1208
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} request
|
|
1209
|
+
* @return {!Uint8Array}
|
|
1210
|
+
*/
|
|
1211
|
+
function(request) {
|
|
1212
|
+
return request.serializeBinary();
|
|
1213
|
+
},
|
|
1214
|
+
proto.clarifai.api.MultiAnnotationResponse.deserializeBinary
|
|
1215
|
+
);
|
|
1216
|
+
|
|
1217
|
+
|
|
1218
|
+
/**
|
|
1219
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} request The
|
|
1220
|
+
* request proto
|
|
1221
|
+
* @param {?Object<string, string>} metadata User defined
|
|
1222
|
+
* call metadata
|
|
1223
|
+
* @param {function(?grpc.web.RpcError, ?proto.clarifai.api.MultiAnnotationResponse)}
|
|
1224
|
+
* callback The callback function(error, response)
|
|
1225
|
+
* @return {!grpc.web.ClientReadableStream<!proto.clarifai.api.MultiAnnotationResponse>|undefined}
|
|
1226
|
+
* The XHR Node Readable Stream
|
|
1227
|
+
*/
|
|
1228
|
+
proto.clarifai.api.V2Client.prototype.postTrackAnnotationsSearches =
|
|
1229
|
+
function(request, metadata, callback) {
|
|
1230
|
+
return this.client_.rpcCall(this.hostname_ +
|
|
1231
|
+
'/clarifai.api.V2/PostTrackAnnotationsSearches',
|
|
1232
|
+
request,
|
|
1233
|
+
metadata || {},
|
|
1234
|
+
methodDescriptor_V2_PostTrackAnnotationsSearches,
|
|
1235
|
+
callback);
|
|
1236
|
+
};
|
|
1237
|
+
|
|
1238
|
+
|
|
1239
|
+
/**
|
|
1240
|
+
* @param {!proto.clarifai.api.PostTrackAnnotationsSearchesRequest} request The
|
|
1241
|
+
* request proto
|
|
1242
|
+
* @param {?Object<string, string>=} metadata User defined
|
|
1243
|
+
* call metadata
|
|
1244
|
+
* @return {!Promise<!proto.clarifai.api.MultiAnnotationResponse>}
|
|
1245
|
+
* Promise that resolves to the response
|
|
1246
|
+
*/
|
|
1247
|
+
proto.clarifai.api.V2PromiseClient.prototype.postTrackAnnotationsSearches =
|
|
1248
|
+
function(request, metadata) {
|
|
1249
|
+
return this.client_.unaryCall(this.hostname_ +
|
|
1250
|
+
'/clarifai.api.V2/PostTrackAnnotationsSearches',
|
|
1251
|
+
request,
|
|
1252
|
+
metadata || {},
|
|
1253
|
+
methodDescriptor_V2_PostTrackAnnotationsSearches);
|
|
1254
|
+
};
|
|
1255
|
+
|
|
1256
|
+
|
|
1196
1257
|
/**
|
|
1197
1258
|
* @const
|
|
1198
1259
|
* @type {!grpc.web.MethodDescriptor<
|