clarifai-web-grpc 10.10.0 → 10.10.2
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
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
10.10.
|
|
1
|
+
10.10.2
|
|
@@ -39643,7 +39643,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
39643
39643
|
conceptsList: jspb.Message.toObjectList(msg.getConceptsList(), proto.clarifai.api.TaskConcept.toObject, includeInstance),
|
|
39644
39644
|
deletePreviousAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
39645
39645
|
metrics: (f = msg.getMetrics()) && proto.clarifai.api.TaskMetrics.toObject(includeInstance, f),
|
|
39646
|
-
priority: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
39646
|
+
priority: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
39647
|
+
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
39647
39648
|
};
|
|
39648
39649
|
if (includeInstance) {
|
|
39649
39650
|
obj.$jspbMessageInstance = msg;
|
|
@@ -39774,6 +39775,11 @@ proto.clarifai.api.Task.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
39774
39775
|
var value = /** @type {!proto.clarifai.api.Task.TaskPriority} */ (reader.readEnum());
|
|
39775
39776
|
msg.setPriority(value);
|
|
39776
39777
|
break;
|
|
39778
|
+
case 24:
|
|
39779
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
39780
|
+
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
39781
|
+
msg.setMetadata(value);
|
|
39782
|
+
break;
|
|
39777
39783
|
default:
|
|
39778
39784
|
reader.skipField();
|
|
39779
39785
|
break;
|
|
@@ -39887,6 +39893,10 @@ proto.clarifai.api.Task.serializeBinaryToWriter = function (message, writer) {
|
|
|
39887
39893
|
if (f !== 0.0) {
|
|
39888
39894
|
writer.writeEnum(23, f);
|
|
39889
39895
|
}
|
|
39896
|
+
f = message.getMetadata();
|
|
39897
|
+
if (f != null) {
|
|
39898
|
+
writer.writeMessage(24, f, google_protobuf_struct_pb.Struct.serializeBinaryToWriter);
|
|
39899
|
+
}
|
|
39890
39900
|
};
|
|
39891
39901
|
/**
|
|
39892
39902
|
* @enum {number}
|
|
@@ -40384,6 +40394,34 @@ proto.clarifai.api.Task.prototype.getPriority = function () {
|
|
|
40384
40394
|
proto.clarifai.api.Task.prototype.setPriority = function (value) {
|
|
40385
40395
|
return jspb.Message.setProto3EnumField(this, 23, value);
|
|
40386
40396
|
};
|
|
40397
|
+
/**
|
|
40398
|
+
* optional google.protobuf.Struct metadata = 24;
|
|
40399
|
+
* @return {?proto.google.protobuf.Struct}
|
|
40400
|
+
*/
|
|
40401
|
+
proto.clarifai.api.Task.prototype.getMetadata = function () {
|
|
40402
|
+
return /** @type{?proto.google.protobuf.Struct} */ (jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 24));
|
|
40403
|
+
};
|
|
40404
|
+
/**
|
|
40405
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
40406
|
+
* @return {!proto.clarifai.api.Task} returns this
|
|
40407
|
+
*/
|
|
40408
|
+
proto.clarifai.api.Task.prototype.setMetadata = function (value) {
|
|
40409
|
+
return jspb.Message.setWrapperField(this, 24, value);
|
|
40410
|
+
};
|
|
40411
|
+
/**
|
|
40412
|
+
* Clears the message field making it undefined.
|
|
40413
|
+
* @return {!proto.clarifai.api.Task} returns this
|
|
40414
|
+
*/
|
|
40415
|
+
proto.clarifai.api.Task.prototype.clearMetadata = function () {
|
|
40416
|
+
return this.setMetadata(undefined);
|
|
40417
|
+
};
|
|
40418
|
+
/**
|
|
40419
|
+
* Returns whether this field is set.
|
|
40420
|
+
* @return {boolean}
|
|
40421
|
+
*/
|
|
40422
|
+
proto.clarifai.api.Task.prototype.hasMetadata = function () {
|
|
40423
|
+
return jspb.Message.getField(this, 24) != null;
|
|
40424
|
+
};
|
|
40387
40425
|
/**
|
|
40388
40426
|
* List of repeated fields within this message type.
|
|
40389
40427
|
* @private {!Array<number>}
|
|
@@ -56627,7 +56665,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56627
56665
|
proto.clarifai.api.ProcessingInfo.toObject = function (includeInstance, msg) {
|
|
56628
56666
|
var f, obj = {
|
|
56629
56667
|
runnerMethodType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
56630
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
56668
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
56669
|
+
processingId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
56631
56670
|
};
|
|
56632
56671
|
if (includeInstance) {
|
|
56633
56672
|
obj.$jspbMessageInstance = msg;
|
|
@@ -56668,6 +56707,10 @@ proto.clarifai.api.ProcessingInfo.deserializeBinaryFromReader = function (msg, r
|
|
|
56668
56707
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
56669
56708
|
msg.setStatus(value);
|
|
56670
56709
|
break;
|
|
56710
|
+
case 3:
|
|
56711
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56712
|
+
msg.setProcessingId(value);
|
|
56713
|
+
break;
|
|
56671
56714
|
default:
|
|
56672
56715
|
reader.skipField();
|
|
56673
56716
|
break;
|
|
@@ -56701,6 +56744,10 @@ proto.clarifai.api.ProcessingInfo.serializeBinaryToWriter = function (message, w
|
|
|
56701
56744
|
if (f != null) {
|
|
56702
56745
|
writer.writeMessage(2, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
56703
56746
|
}
|
|
56747
|
+
f = message.getProcessingId();
|
|
56748
|
+
if (f.length > 0) {
|
|
56749
|
+
writer.writeString(3, f);
|
|
56750
|
+
}
|
|
56704
56751
|
};
|
|
56705
56752
|
/**
|
|
56706
56753
|
* optional RunnerMethodType runner_method_type = 1;
|
|
@@ -56744,6 +56791,20 @@ proto.clarifai.api.ProcessingInfo.prototype.clearStatus = function () {
|
|
|
56744
56791
|
proto.clarifai.api.ProcessingInfo.prototype.hasStatus = function () {
|
|
56745
56792
|
return jspb.Message.getField(this, 2) != null;
|
|
56746
56793
|
};
|
|
56794
|
+
/**
|
|
56795
|
+
* optional string processing_id = 3;
|
|
56796
|
+
* @return {string}
|
|
56797
|
+
*/
|
|
56798
|
+
proto.clarifai.api.ProcessingInfo.prototype.getProcessingId = function () {
|
|
56799
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
56800
|
+
};
|
|
56801
|
+
/**
|
|
56802
|
+
* @param {string} value
|
|
56803
|
+
* @return {!proto.clarifai.api.ProcessingInfo} returns this
|
|
56804
|
+
*/
|
|
56805
|
+
proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
|
|
56806
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
56807
|
+
};
|
|
56747
56808
|
/**
|
|
56748
56809
|
* Oneof group definitions for this message. Each group defines the field
|
|
56749
56810
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -39643,7 +39643,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
39643
39643
|
conceptsList: jspb.Message.toObjectList(msg.getConceptsList(), proto.clarifai.api.TaskConcept.toObject, includeInstance),
|
|
39644
39644
|
deletePreviousAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
39645
39645
|
metrics: (f = msg.getMetrics()) && proto.clarifai.api.TaskMetrics.toObject(includeInstance, f),
|
|
39646
|
-
priority: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
39646
|
+
priority: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
39647
|
+
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
39647
39648
|
};
|
|
39648
39649
|
if (includeInstance) {
|
|
39649
39650
|
obj.$jspbMessageInstance = msg;
|
|
@@ -39774,6 +39775,11 @@ proto.clarifai.api.Task.deserializeBinaryFromReader = function (msg, reader) {
|
|
|
39774
39775
|
var value = /** @type {!proto.clarifai.api.Task.TaskPriority} */ (reader.readEnum());
|
|
39775
39776
|
msg.setPriority(value);
|
|
39776
39777
|
break;
|
|
39778
|
+
case 24:
|
|
39779
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
39780
|
+
reader.readMessage(value, google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
39781
|
+
msg.setMetadata(value);
|
|
39782
|
+
break;
|
|
39777
39783
|
default:
|
|
39778
39784
|
reader.skipField();
|
|
39779
39785
|
break;
|
|
@@ -39887,6 +39893,10 @@ proto.clarifai.api.Task.serializeBinaryToWriter = function (message, writer) {
|
|
|
39887
39893
|
if (f !== 0.0) {
|
|
39888
39894
|
writer.writeEnum(23, f);
|
|
39889
39895
|
}
|
|
39896
|
+
f = message.getMetadata();
|
|
39897
|
+
if (f != null) {
|
|
39898
|
+
writer.writeMessage(24, f, google_protobuf_struct_pb.Struct.serializeBinaryToWriter);
|
|
39899
|
+
}
|
|
39890
39900
|
};
|
|
39891
39901
|
/**
|
|
39892
39902
|
* @enum {number}
|
|
@@ -40384,6 +40394,34 @@ proto.clarifai.api.Task.prototype.getPriority = function () {
|
|
|
40384
40394
|
proto.clarifai.api.Task.prototype.setPriority = function (value) {
|
|
40385
40395
|
return jspb.Message.setProto3EnumField(this, 23, value);
|
|
40386
40396
|
};
|
|
40397
|
+
/**
|
|
40398
|
+
* optional google.protobuf.Struct metadata = 24;
|
|
40399
|
+
* @return {?proto.google.protobuf.Struct}
|
|
40400
|
+
*/
|
|
40401
|
+
proto.clarifai.api.Task.prototype.getMetadata = function () {
|
|
40402
|
+
return /** @type{?proto.google.protobuf.Struct} */ (jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 24));
|
|
40403
|
+
};
|
|
40404
|
+
/**
|
|
40405
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
40406
|
+
* @return {!proto.clarifai.api.Task} returns this
|
|
40407
|
+
*/
|
|
40408
|
+
proto.clarifai.api.Task.prototype.setMetadata = function (value) {
|
|
40409
|
+
return jspb.Message.setWrapperField(this, 24, value);
|
|
40410
|
+
};
|
|
40411
|
+
/**
|
|
40412
|
+
* Clears the message field making it undefined.
|
|
40413
|
+
* @return {!proto.clarifai.api.Task} returns this
|
|
40414
|
+
*/
|
|
40415
|
+
proto.clarifai.api.Task.prototype.clearMetadata = function () {
|
|
40416
|
+
return this.setMetadata(undefined);
|
|
40417
|
+
};
|
|
40418
|
+
/**
|
|
40419
|
+
* Returns whether this field is set.
|
|
40420
|
+
* @return {boolean}
|
|
40421
|
+
*/
|
|
40422
|
+
proto.clarifai.api.Task.prototype.hasMetadata = function () {
|
|
40423
|
+
return jspb.Message.getField(this, 24) != null;
|
|
40424
|
+
};
|
|
40387
40425
|
/**
|
|
40388
40426
|
* List of repeated fields within this message type.
|
|
40389
40427
|
* @private {!Array<number>}
|
|
@@ -56627,7 +56665,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
56627
56665
|
proto.clarifai.api.ProcessingInfo.toObject = function (includeInstance, msg) {
|
|
56628
56666
|
var f, obj = {
|
|
56629
56667
|
runnerMethodType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
56630
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
56668
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
56669
|
+
processingId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
56631
56670
|
};
|
|
56632
56671
|
if (includeInstance) {
|
|
56633
56672
|
obj.$jspbMessageInstance = msg;
|
|
@@ -56668,6 +56707,10 @@ proto.clarifai.api.ProcessingInfo.deserializeBinaryFromReader = function (msg, r
|
|
|
56668
56707
|
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
56669
56708
|
msg.setStatus(value);
|
|
56670
56709
|
break;
|
|
56710
|
+
case 3:
|
|
56711
|
+
var value = /** @type {string} */ (reader.readString());
|
|
56712
|
+
msg.setProcessingId(value);
|
|
56713
|
+
break;
|
|
56671
56714
|
default:
|
|
56672
56715
|
reader.skipField();
|
|
56673
56716
|
break;
|
|
@@ -56701,6 +56744,10 @@ proto.clarifai.api.ProcessingInfo.serializeBinaryToWriter = function (message, w
|
|
|
56701
56744
|
if (f != null) {
|
|
56702
56745
|
writer.writeMessage(2, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
56703
56746
|
}
|
|
56747
|
+
f = message.getProcessingId();
|
|
56748
|
+
if (f.length > 0) {
|
|
56749
|
+
writer.writeString(3, f);
|
|
56750
|
+
}
|
|
56704
56751
|
};
|
|
56705
56752
|
/**
|
|
56706
56753
|
* optional RunnerMethodType runner_method_type = 1;
|
|
@@ -56744,6 +56791,20 @@ proto.clarifai.api.ProcessingInfo.prototype.clearStatus = function () {
|
|
|
56744
56791
|
proto.clarifai.api.ProcessingInfo.prototype.hasStatus = function () {
|
|
56745
56792
|
return jspb.Message.getField(this, 2) != null;
|
|
56746
56793
|
};
|
|
56794
|
+
/**
|
|
56795
|
+
* optional string processing_id = 3;
|
|
56796
|
+
* @return {string}
|
|
56797
|
+
*/
|
|
56798
|
+
proto.clarifai.api.ProcessingInfo.prototype.getProcessingId = function () {
|
|
56799
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
56800
|
+
};
|
|
56801
|
+
/**
|
|
56802
|
+
* @param {string} value
|
|
56803
|
+
* @return {!proto.clarifai.api.ProcessingInfo} returns this
|
|
56804
|
+
*/
|
|
56805
|
+
proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function (value) {
|
|
56806
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
56807
|
+
};
|
|
56747
56808
|
/**
|
|
56748
56809
|
* Oneof group definitions for this message. Each group defines the field
|
|
56749
56810
|
* numbers belonging to that group. When of these fields' value is set, all
|
package/package.json
CHANGED
|
@@ -5826,6 +5826,11 @@ export class Task extends jspb.Message {
|
|
|
5826
5826
|
getPriority(): Task.TaskPriority;
|
|
5827
5827
|
setPriority(value: Task.TaskPriority): Task;
|
|
5828
5828
|
|
|
5829
|
+
getMetadata(): google_protobuf_struct_pb.Struct | undefined;
|
|
5830
|
+
setMetadata(value?: google_protobuf_struct_pb.Struct): Task;
|
|
5831
|
+
hasMetadata(): boolean;
|
|
5832
|
+
clearMetadata(): Task;
|
|
5833
|
+
|
|
5829
5834
|
serializeBinary(): Uint8Array;
|
|
5830
5835
|
toObject(includeInstance?: boolean): Task.AsObject;
|
|
5831
5836
|
static toObject(includeInstance: boolean, msg: Task): Task.AsObject;
|
|
@@ -5858,6 +5863,7 @@ export namespace Task {
|
|
|
5858
5863
|
deletePreviousAnnotations: boolean,
|
|
5859
5864
|
metrics?: TaskMetrics.AsObject,
|
|
5860
5865
|
priority: Task.TaskPriority,
|
|
5866
|
+
metadata?: google_protobuf_struct_pb.Struct.AsObject,
|
|
5861
5867
|
}
|
|
5862
5868
|
|
|
5863
5869
|
export enum TaskType {
|
|
@@ -8628,6 +8634,9 @@ export class ProcessingInfo extends jspb.Message {
|
|
|
8628
8634
|
hasStatus(): boolean;
|
|
8629
8635
|
clearStatus(): ProcessingInfo;
|
|
8630
8636
|
|
|
8637
|
+
getProcessingId(): string;
|
|
8638
|
+
setProcessingId(value: string): ProcessingInfo;
|
|
8639
|
+
|
|
8631
8640
|
serializeBinary(): Uint8Array;
|
|
8632
8641
|
toObject(includeInstance?: boolean): ProcessingInfo.AsObject;
|
|
8633
8642
|
static toObject(includeInstance: boolean, msg: ProcessingInfo): ProcessingInfo.AsObject;
|
|
@@ -8640,6 +8649,7 @@ export namespace ProcessingInfo {
|
|
|
8640
8649
|
export type AsObject = {
|
|
8641
8650
|
runnerMethodType: RunnerMethodType,
|
|
8642
8651
|
status?: proto_clarifai_api_status_status_pb.Status.AsObject,
|
|
8652
|
+
processingId: string,
|
|
8643
8653
|
}
|
|
8644
8654
|
}
|
|
8645
8655
|
|
|
@@ -49305,7 +49305,8 @@ proto.clarifai.api.Task.toObject = function(includeInstance, msg) {
|
|
|
49305
49305
|
proto.clarifai.api.TaskConcept.toObject, includeInstance),
|
|
49306
49306
|
deletePreviousAnnotations: jspb.Message.getBooleanFieldWithDefault(msg, 20, false),
|
|
49307
49307
|
metrics: (f = msg.getMetrics()) && proto.clarifai.api.TaskMetrics.toObject(includeInstance, f),
|
|
49308
|
-
priority: jspb.Message.getFieldWithDefault(msg, 23, 0)
|
|
49308
|
+
priority: jspb.Message.getFieldWithDefault(msg, 23, 0),
|
|
49309
|
+
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
49309
49310
|
};
|
|
49310
49311
|
|
|
49311
49312
|
if (includeInstance) {
|
|
@@ -49441,6 +49442,11 @@ proto.clarifai.api.Task.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
49441
49442
|
var value = /** @type {!proto.clarifai.api.Task.TaskPriority} */ (reader.readEnum());
|
|
49442
49443
|
msg.setPriority(value);
|
|
49443
49444
|
break;
|
|
49445
|
+
case 24:
|
|
49446
|
+
var value = new google_protobuf_struct_pb.Struct;
|
|
49447
|
+
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
49448
|
+
msg.setMetadata(value);
|
|
49449
|
+
break;
|
|
49444
49450
|
default:
|
|
49445
49451
|
reader.skipField();
|
|
49446
49452
|
break;
|
|
@@ -49635,6 +49641,14 @@ proto.clarifai.api.Task.serializeBinaryToWriter = function(message, writer) {
|
|
|
49635
49641
|
f
|
|
49636
49642
|
);
|
|
49637
49643
|
}
|
|
49644
|
+
f = message.getMetadata();
|
|
49645
|
+
if (f != null) {
|
|
49646
|
+
writer.writeMessage(
|
|
49647
|
+
24,
|
|
49648
|
+
f,
|
|
49649
|
+
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
49650
|
+
);
|
|
49651
|
+
}
|
|
49638
49652
|
};
|
|
49639
49653
|
|
|
49640
49654
|
|
|
@@ -50283,6 +50297,43 @@ proto.clarifai.api.Task.prototype.setPriority = function(value) {
|
|
|
50283
50297
|
};
|
|
50284
50298
|
|
|
50285
50299
|
|
|
50300
|
+
/**
|
|
50301
|
+
* optional google.protobuf.Struct metadata = 24;
|
|
50302
|
+
* @return {?proto.google.protobuf.Struct}
|
|
50303
|
+
*/
|
|
50304
|
+
proto.clarifai.api.Task.prototype.getMetadata = function() {
|
|
50305
|
+
return /** @type{?proto.google.protobuf.Struct} */ (
|
|
50306
|
+
jspb.Message.getWrapperField(this, google_protobuf_struct_pb.Struct, 24));
|
|
50307
|
+
};
|
|
50308
|
+
|
|
50309
|
+
|
|
50310
|
+
/**
|
|
50311
|
+
* @param {?proto.google.protobuf.Struct|undefined} value
|
|
50312
|
+
* @return {!proto.clarifai.api.Task} returns this
|
|
50313
|
+
*/
|
|
50314
|
+
proto.clarifai.api.Task.prototype.setMetadata = function(value) {
|
|
50315
|
+
return jspb.Message.setWrapperField(this, 24, value);
|
|
50316
|
+
};
|
|
50317
|
+
|
|
50318
|
+
|
|
50319
|
+
/**
|
|
50320
|
+
* Clears the message field making it undefined.
|
|
50321
|
+
* @return {!proto.clarifai.api.Task} returns this
|
|
50322
|
+
*/
|
|
50323
|
+
proto.clarifai.api.Task.prototype.clearMetadata = function() {
|
|
50324
|
+
return this.setMetadata(undefined);
|
|
50325
|
+
};
|
|
50326
|
+
|
|
50327
|
+
|
|
50328
|
+
/**
|
|
50329
|
+
* Returns whether this field is set.
|
|
50330
|
+
* @return {boolean}
|
|
50331
|
+
*/
|
|
50332
|
+
proto.clarifai.api.Task.prototype.hasMetadata = function() {
|
|
50333
|
+
return jspb.Message.getField(this, 24) != null;
|
|
50334
|
+
};
|
|
50335
|
+
|
|
50336
|
+
|
|
50286
50337
|
|
|
50287
50338
|
/**
|
|
50288
50339
|
* List of repeated fields within this message type.
|
|
@@ -70863,7 +70914,8 @@ proto.clarifai.api.ProcessingInfo.prototype.toObject = function(opt_includeInsta
|
|
|
70863
70914
|
proto.clarifai.api.ProcessingInfo.toObject = function(includeInstance, msg) {
|
|
70864
70915
|
var f, obj = {
|
|
70865
70916
|
runnerMethodType: jspb.Message.getFieldWithDefault(msg, 1, 0),
|
|
70866
|
-
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f)
|
|
70917
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
70918
|
+
processingId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
70867
70919
|
};
|
|
70868
70920
|
|
|
70869
70921
|
if (includeInstance) {
|
|
@@ -70909,6 +70961,10 @@ proto.clarifai.api.ProcessingInfo.deserializeBinaryFromReader = function(msg, re
|
|
|
70909
70961
|
reader.readMessage(value,proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
70910
70962
|
msg.setStatus(value);
|
|
70911
70963
|
break;
|
|
70964
|
+
case 3:
|
|
70965
|
+
var value = /** @type {string} */ (reader.readString());
|
|
70966
|
+
msg.setProcessingId(value);
|
|
70967
|
+
break;
|
|
70912
70968
|
default:
|
|
70913
70969
|
reader.skipField();
|
|
70914
70970
|
break;
|
|
@@ -70953,6 +71009,13 @@ proto.clarifai.api.ProcessingInfo.serializeBinaryToWriter = function(message, wr
|
|
|
70953
71009
|
proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter
|
|
70954
71010
|
);
|
|
70955
71011
|
}
|
|
71012
|
+
f = message.getProcessingId();
|
|
71013
|
+
if (f.length > 0) {
|
|
71014
|
+
writer.writeString(
|
|
71015
|
+
3,
|
|
71016
|
+
f
|
|
71017
|
+
);
|
|
71018
|
+
}
|
|
70956
71019
|
};
|
|
70957
71020
|
|
|
70958
71021
|
|
|
@@ -71011,6 +71074,24 @@ proto.clarifai.api.ProcessingInfo.prototype.hasStatus = function() {
|
|
|
71011
71074
|
};
|
|
71012
71075
|
|
|
71013
71076
|
|
|
71077
|
+
/**
|
|
71078
|
+
* optional string processing_id = 3;
|
|
71079
|
+
* @return {string}
|
|
71080
|
+
*/
|
|
71081
|
+
proto.clarifai.api.ProcessingInfo.prototype.getProcessingId = function() {
|
|
71082
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
71083
|
+
};
|
|
71084
|
+
|
|
71085
|
+
|
|
71086
|
+
/**
|
|
71087
|
+
* @param {string} value
|
|
71088
|
+
* @return {!proto.clarifai.api.ProcessingInfo} returns this
|
|
71089
|
+
*/
|
|
71090
|
+
proto.clarifai.api.ProcessingInfo.prototype.setProcessingId = function(value) {
|
|
71091
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
71092
|
+
};
|
|
71093
|
+
|
|
71094
|
+
|
|
71014
71095
|
|
|
71015
71096
|
/**
|
|
71016
71097
|
* Oneof group definitions for this message. Each group defines the field
|