clarifai-web-grpc 11.11.0 → 12.0.3
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/.github/workflows/ci.yml +1 -1
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +782 -10
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +93 -13
- package/dist/cjs/proto/clarifai/api/service_pb.js +1350 -67
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -4
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +782 -10
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +93 -13
- package/dist/esm/proto/clarifai/api/service_pb.js +1350 -67
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -4
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +2 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +119 -0
- package/proto/clarifai/api/resources_pb.js +998 -10
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +28 -6
- package/proto/clarifai/api/service_grpc_web_pb.js +135 -18
- package/proto/clarifai/api/service_pb.d.ts +209 -20
- package/proto/clarifai/api/service_pb.js +1669 -67
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -4
- package/proto/clarifai/api/status/status_code_pb.js +1 -4
- package/proto/clarifai/auth/scope/scope_pb.d.ts +1 -0
- package/proto/clarifai/auth/scope/scope_pb.js +2 -1
|
@@ -39,6 +39,7 @@ var google_protobuf_struct_pb = require('google-protobuf/google/protobuf/struct_
|
|
|
39
39
|
goog.object.extend(proto, google_protobuf_struct_pb);
|
|
40
40
|
var google_protobuf_timestamp_pb = require('google-protobuf/google/protobuf/timestamp_pb.js');
|
|
41
41
|
goog.object.extend(proto, google_protobuf_timestamp_pb);
|
|
42
|
+
goog.exportSymbol('proto.clarifai.api.AutoAnnotationRequest', null, global);
|
|
42
43
|
goog.exportSymbol('proto.clarifai.api.CancelBulkOperationRequest', null, global);
|
|
43
44
|
goog.exportSymbol('proto.clarifai.api.CancelInputsAddJobRequest', null, global);
|
|
44
45
|
goog.exportSymbol('proto.clarifai.api.CancelInputsExtractionJobsRequest', null, global);
|
|
@@ -197,6 +198,7 @@ goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, glob
|
|
|
197
198
|
goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
|
|
198
199
|
goog.exportSymbol('proto.clarifai.api.ListPipelineStepVersionsRequest', null, global);
|
|
199
200
|
goog.exportSymbol('proto.clarifai.api.ListPipelineStepsRequest', null, global);
|
|
201
|
+
goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest', null, global);
|
|
200
202
|
goog.exportSymbol('proto.clarifai.api.ListPipelineVersionRunsRequest', null, global);
|
|
201
203
|
goog.exportSymbol('proto.clarifai.api.ListPipelineVersionsRequest', null, global);
|
|
202
204
|
goog.exportSymbol('proto.clarifai.api.ListPipelinesRequest', null, global);
|
|
@@ -273,6 +275,7 @@ goog.exportSymbol('proto.clarifai.api.MultiPipelineStepResponse', null, global);
|
|
|
273
275
|
goog.exportSymbol('proto.clarifai.api.MultiPipelineStepVersionResponse', null, global);
|
|
274
276
|
goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionResponse', null, global);
|
|
275
277
|
goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunResponse', null, global);
|
|
278
|
+
goog.exportSymbol('proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse', null, global);
|
|
276
279
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
|
|
277
280
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
|
|
278
281
|
goog.exportSymbol('proto.clarifai.api.MultiRunnerResponse', null, global);
|
|
@@ -478,6 +481,7 @@ goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
|
|
|
478
481
|
goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
|
|
479
482
|
goog.exportSymbol('proto.clarifai.api.SingleSecretResponse', null, global);
|
|
480
483
|
goog.exportSymbol('proto.clarifai.api.SingleStatusCodeResponse', null, global);
|
|
484
|
+
goog.exportSymbol('proto.clarifai.api.SingleStreamAnnotationResponse', null, global);
|
|
481
485
|
goog.exportSymbol('proto.clarifai.api.SingleTaskCountResponse', null, global);
|
|
482
486
|
goog.exportSymbol('proto.clarifai.api.SingleTaskResponse', null, global);
|
|
483
487
|
goog.exportSymbol('proto.clarifai.api.SingleUploadResponse', null, global);
|
|
@@ -485,9 +489,10 @@ goog.exportSymbol('proto.clarifai.api.SingleUserResponse', null, global);
|
|
|
485
489
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowResponse', null, global);
|
|
486
490
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionEvaluationResponse', null, global);
|
|
487
491
|
goog.exportSymbol('proto.clarifai.api.SingleWorkflowVersionResponse', null, global);
|
|
492
|
+
goog.exportSymbol('proto.clarifai.api.StreamAnnotationsRequest', null, global);
|
|
488
493
|
goog.exportSymbol('proto.clarifai.api.StreamInputsRequest', null, global);
|
|
494
|
+
goog.exportSymbol('proto.clarifai.api.StreamLivestreamAnnotationsRequest', null, global);
|
|
489
495
|
goog.exportSymbol('proto.clarifai.api.StreamLogEntriesRequest', null, global);
|
|
490
|
-
goog.exportSymbol('proto.clarifai.api.StreamTrackAnnotationsSearchesRequest', null, global);
|
|
491
496
|
goog.exportSymbol('proto.clarifai.api.SyncStateRequest', null, global);
|
|
492
497
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionPublishRequest', null, global);
|
|
493
498
|
goog.exportSymbol('proto.clarifai.api.WorkflowVersionUnPublishRequest', null, global);
|
|
@@ -585,16 +590,37 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
585
590
|
* @extends {jspb.Message}
|
|
586
591
|
* @constructor
|
|
587
592
|
*/
|
|
588
|
-
proto.clarifai.api.
|
|
589
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
593
|
+
proto.clarifai.api.StreamAnnotationsRequest = function (opt_data) {
|
|
594
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_, null);
|
|
590
595
|
};
|
|
591
|
-
goog.inherits(proto.clarifai.api.
|
|
596
|
+
goog.inherits(proto.clarifai.api.StreamAnnotationsRequest, jspb.Message);
|
|
592
597
|
if (goog.DEBUG && !COMPILED) {
|
|
593
598
|
/**
|
|
594
599
|
* @public
|
|
595
600
|
* @override
|
|
596
601
|
*/
|
|
597
|
-
proto.clarifai.api.
|
|
602
|
+
proto.clarifai.api.StreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamAnnotationsRequest';
|
|
603
|
+
}
|
|
604
|
+
/**
|
|
605
|
+
* Generated by JsPbCodeGenerator.
|
|
606
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
607
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
608
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
609
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
610
|
+
* valid.
|
|
611
|
+
* @extends {jspb.Message}
|
|
612
|
+
* @constructor
|
|
613
|
+
*/
|
|
614
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest = function (opt_data) {
|
|
615
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_, null);
|
|
616
|
+
};
|
|
617
|
+
goog.inherits(proto.clarifai.api.StreamLivestreamAnnotationsRequest, jspb.Message);
|
|
618
|
+
if (goog.DEBUG && !COMPILED) {
|
|
619
|
+
/**
|
|
620
|
+
* @public
|
|
621
|
+
* @override
|
|
622
|
+
*/
|
|
623
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.displayName = 'proto.clarifai.api.StreamLivestreamAnnotationsRequest';
|
|
598
624
|
}
|
|
599
625
|
/**
|
|
600
626
|
* Generated by JsPbCodeGenerator.
|
|
@@ -848,6 +874,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
848
874
|
*/
|
|
849
875
|
proto.clarifai.api.SingleAnnotationResponse.displayName = 'proto.clarifai.api.SingleAnnotationResponse';
|
|
850
876
|
}
|
|
877
|
+
/**
|
|
878
|
+
* Generated by JsPbCodeGenerator.
|
|
879
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
880
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
881
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
882
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
883
|
+
* valid.
|
|
884
|
+
* @extends {jspb.Message}
|
|
885
|
+
* @constructor
|
|
886
|
+
*/
|
|
887
|
+
proto.clarifai.api.SingleStreamAnnotationResponse = function (opt_data) {
|
|
888
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
889
|
+
};
|
|
890
|
+
goog.inherits(proto.clarifai.api.SingleStreamAnnotationResponse, jspb.Message);
|
|
891
|
+
if (goog.DEBUG && !COMPILED) {
|
|
892
|
+
/**
|
|
893
|
+
* @public
|
|
894
|
+
* @override
|
|
895
|
+
*/
|
|
896
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.displayName = 'proto.clarifai.api.SingleStreamAnnotationResponse';
|
|
897
|
+
}
|
|
851
898
|
/**
|
|
852
899
|
* Generated by JsPbCodeGenerator.
|
|
853
900
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -7505,6 +7552,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
7505
7552
|
*/
|
|
7506
7553
|
proto.clarifai.api.RunnerItem.displayName = 'proto.clarifai.api.RunnerItem';
|
|
7507
7554
|
}
|
|
7555
|
+
/**
|
|
7556
|
+
* Generated by JsPbCodeGenerator.
|
|
7557
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
7558
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
7559
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
7560
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
7561
|
+
* valid.
|
|
7562
|
+
* @extends {jspb.Message}
|
|
7563
|
+
* @constructor
|
|
7564
|
+
*/
|
|
7565
|
+
proto.clarifai.api.AutoAnnotationRequest = function (opt_data) {
|
|
7566
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
7567
|
+
};
|
|
7568
|
+
goog.inherits(proto.clarifai.api.AutoAnnotationRequest, jspb.Message);
|
|
7569
|
+
if (goog.DEBUG && !COMPILED) {
|
|
7570
|
+
/**
|
|
7571
|
+
* @public
|
|
7572
|
+
* @override
|
|
7573
|
+
*/
|
|
7574
|
+
proto.clarifai.api.AutoAnnotationRequest.displayName = 'proto.clarifai.api.AutoAnnotationRequest';
|
|
7575
|
+
}
|
|
7508
7576
|
/**
|
|
7509
7577
|
* Generated by JsPbCodeGenerator.
|
|
7510
7578
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -8849,6 +8917,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
8849
8917
|
*/
|
|
8850
8918
|
proto.clarifai.api.MultiPipelineVersionRunResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunResponse';
|
|
8851
8919
|
}
|
|
8920
|
+
/**
|
|
8921
|
+
* Generated by JsPbCodeGenerator.
|
|
8922
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8923
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8924
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8925
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8926
|
+
* valid.
|
|
8927
|
+
* @extends {jspb.Message}
|
|
8928
|
+
* @constructor
|
|
8929
|
+
*/
|
|
8930
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest = function (opt_data) {
|
|
8931
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_, null);
|
|
8932
|
+
};
|
|
8933
|
+
goog.inherits(proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest, jspb.Message);
|
|
8934
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8935
|
+
/**
|
|
8936
|
+
* @public
|
|
8937
|
+
* @override
|
|
8938
|
+
*/
|
|
8939
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.displayName = 'proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest';
|
|
8940
|
+
}
|
|
8941
|
+
/**
|
|
8942
|
+
* Generated by JsPbCodeGenerator.
|
|
8943
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
8944
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
8945
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
8946
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
8947
|
+
* valid.
|
|
8948
|
+
* @extends {jspb.Message}
|
|
8949
|
+
* @constructor
|
|
8950
|
+
*/
|
|
8951
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse = function (opt_data) {
|
|
8952
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_, null);
|
|
8953
|
+
};
|
|
8954
|
+
goog.inherits(proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse, jspb.Message);
|
|
8955
|
+
if (goog.DEBUG && !COMPILED) {
|
|
8956
|
+
/**
|
|
8957
|
+
* @public
|
|
8958
|
+
* @override
|
|
8959
|
+
*/
|
|
8960
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.displayName = 'proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse';
|
|
8961
|
+
}
|
|
8852
8962
|
/**
|
|
8853
8963
|
* Generated by JsPbCodeGenerator.
|
|
8854
8964
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -10759,6 +10869,12 @@ proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.clearWorker = f
|
|
|
10759
10869
|
proto.clarifai.api.PostTrackAnnotationsSearchesRequest.prototype.hasWorker = function () {
|
|
10760
10870
|
return jspb.Message.getField(this, 9) != null;
|
|
10761
10871
|
};
|
|
10872
|
+
/**
|
|
10873
|
+
* List of repeated fields within this message type.
|
|
10874
|
+
* @private {!Array<number>}
|
|
10875
|
+
* @const
|
|
10876
|
+
*/
|
|
10877
|
+
proto.clarifai.api.StreamAnnotationsRequest.repeatedFields_ = [3];
|
|
10762
10878
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
10763
10879
|
/**
|
|
10764
10880
|
* Creates an object representation of this proto.
|
|
@@ -10772,23 +10888,23 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10772
10888
|
* http://goto/soy-param-migration
|
|
10773
10889
|
* @return {!Object}
|
|
10774
10890
|
*/
|
|
10775
|
-
proto.clarifai.api.
|
|
10776
|
-
return proto.clarifai.api.
|
|
10891
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
10892
|
+
return proto.clarifai.api.StreamAnnotationsRequest.toObject(opt_includeInstance, this);
|
|
10777
10893
|
};
|
|
10778
10894
|
/**
|
|
10779
10895
|
* Static version of the {@see toObject} method.
|
|
10780
10896
|
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
10781
10897
|
* the JSPB instance for transitional soy proto support:
|
|
10782
10898
|
* http://goto/soy-param-migration
|
|
10783
|
-
* @param {!proto.clarifai.api.
|
|
10899
|
+
* @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The msg instance to transform.
|
|
10784
10900
|
* @return {!Object}
|
|
10785
10901
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10786
10902
|
*/
|
|
10787
|
-
proto.clarifai.api.
|
|
10903
|
+
proto.clarifai.api.StreamAnnotationsRequest.toObject = function (includeInstance, msg) {
|
|
10788
10904
|
var f, obj = {
|
|
10789
10905
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
10790
10906
|
inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
10791
|
-
|
|
10907
|
+
trackIdsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
10792
10908
|
frameNumberStart: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
10793
10909
|
frameTimeStart: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
10794
10910
|
annotationType: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
@@ -10805,21 +10921,21 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
10805
10921
|
/**
|
|
10806
10922
|
* Deserializes binary data (in protobuf wire format).
|
|
10807
10923
|
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
10808
|
-
* @return {!proto.clarifai.api.
|
|
10924
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest}
|
|
10809
10925
|
*/
|
|
10810
|
-
proto.clarifai.api.
|
|
10926
|
+
proto.clarifai.api.StreamAnnotationsRequest.deserializeBinary = function (bytes) {
|
|
10811
10927
|
var reader = new jspb.BinaryReader(bytes);
|
|
10812
|
-
var msg = new proto.clarifai.api.
|
|
10813
|
-
return proto.clarifai.api.
|
|
10928
|
+
var msg = new proto.clarifai.api.StreamAnnotationsRequest;
|
|
10929
|
+
return proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
10814
10930
|
};
|
|
10815
10931
|
/**
|
|
10816
10932
|
* Deserializes binary data (in protobuf wire format) from the
|
|
10817
10933
|
* given reader into the given message object.
|
|
10818
|
-
* @param {!proto.clarifai.api.
|
|
10934
|
+
* @param {!proto.clarifai.api.StreamAnnotationsRequest} msg The message object to deserialize into.
|
|
10819
10935
|
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
10820
|
-
* @return {!proto.clarifai.api.
|
|
10936
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest}
|
|
10821
10937
|
*/
|
|
10822
|
-
proto.clarifai.api.
|
|
10938
|
+
proto.clarifai.api.StreamAnnotationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
10823
10939
|
while (reader.nextField()) {
|
|
10824
10940
|
if (reader.isEndGroup()) {
|
|
10825
10941
|
break;
|
|
@@ -10837,7 +10953,7 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
|
|
|
10837
10953
|
break;
|
|
10838
10954
|
case 3:
|
|
10839
10955
|
var value = /** @type {string} */ (reader.readString());
|
|
10840
|
-
msg.
|
|
10956
|
+
msg.addTrackIds(value);
|
|
10841
10957
|
break;
|
|
10842
10958
|
case 4:
|
|
10843
10959
|
var value = /** @type {number} */ (reader.readUint32());
|
|
@@ -10875,19 +10991,19 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.deserializeBinaryFromRe
|
|
|
10875
10991
|
* Serializes the message to binary data (in protobuf wire format).
|
|
10876
10992
|
* @return {!Uint8Array}
|
|
10877
10993
|
*/
|
|
10878
|
-
proto.clarifai.api.
|
|
10994
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.serializeBinary = function () {
|
|
10879
10995
|
var writer = new jspb.BinaryWriter();
|
|
10880
|
-
proto.clarifai.api.
|
|
10996
|
+
proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
|
|
10881
10997
|
return writer.getResultBuffer();
|
|
10882
10998
|
};
|
|
10883
10999
|
/**
|
|
10884
11000
|
* Serializes the given message to binary data (in protobuf wire
|
|
10885
11001
|
* format), writing to the given BinaryWriter.
|
|
10886
|
-
* @param {!proto.clarifai.api.
|
|
11002
|
+
* @param {!proto.clarifai.api.StreamAnnotationsRequest} message
|
|
10887
11003
|
* @param {!jspb.BinaryWriter} writer
|
|
10888
11004
|
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
10889
11005
|
*/
|
|
10890
|
-
proto.clarifai.api.
|
|
11006
|
+
proto.clarifai.api.StreamAnnotationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
10891
11007
|
var f = undefined;
|
|
10892
11008
|
f = message.getUserAppId();
|
|
10893
11009
|
if (f != null) {
|
|
@@ -10897,9 +11013,9 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
|
|
|
10897
11013
|
if (f.length > 0) {
|
|
10898
11014
|
writer.writeString(2, f);
|
|
10899
11015
|
}
|
|
10900
|
-
f = message.
|
|
11016
|
+
f = message.getTrackIdsList();
|
|
10901
11017
|
if (f.length > 0) {
|
|
10902
|
-
writer.
|
|
11018
|
+
writer.writeRepeatedString(3, f);
|
|
10903
11019
|
}
|
|
10904
11020
|
f = message.getFrameNumberStart();
|
|
10905
11021
|
if (f !== 0) {
|
|
@@ -10930,156 +11046,406 @@ proto.clarifai.api.StreamTrackAnnotationsSearchesRequest.serializeBinaryToWriter
|
|
|
10930
11046
|
* optional UserAppIDSet user_app_id = 1;
|
|
10931
11047
|
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
10932
11048
|
*/
|
|
10933
|
-
proto.clarifai.api.
|
|
11049
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getUserAppId = function () {
|
|
10934
11050
|
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
10935
11051
|
};
|
|
10936
11052
|
/**
|
|
10937
11053
|
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
10938
|
-
* @return {!proto.clarifai.api.
|
|
11054
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
10939
11055
|
*/
|
|
10940
|
-
proto.clarifai.api.
|
|
11056
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setUserAppId = function (value) {
|
|
10941
11057
|
return jspb.Message.setWrapperField(this, 1, value);
|
|
10942
11058
|
};
|
|
10943
11059
|
/**
|
|
10944
11060
|
* Clears the message field making it undefined.
|
|
10945
|
-
* @return {!proto.clarifai.api.
|
|
11061
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
10946
11062
|
*/
|
|
10947
|
-
proto.clarifai.api.
|
|
11063
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.clearUserAppId = function () {
|
|
10948
11064
|
return this.setUserAppId(undefined);
|
|
10949
11065
|
};
|
|
10950
11066
|
/**
|
|
10951
11067
|
* Returns whether this field is set.
|
|
10952
11068
|
* @return {boolean}
|
|
10953
11069
|
*/
|
|
10954
|
-
proto.clarifai.api.
|
|
11070
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.hasUserAppId = function () {
|
|
10955
11071
|
return jspb.Message.getField(this, 1) != null;
|
|
10956
11072
|
};
|
|
10957
11073
|
/**
|
|
10958
11074
|
* optional string input_id = 2;
|
|
10959
11075
|
* @return {string}
|
|
10960
11076
|
*/
|
|
10961
|
-
proto.clarifai.api.
|
|
11077
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getInputId = function () {
|
|
10962
11078
|
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
10963
11079
|
};
|
|
10964
11080
|
/**
|
|
10965
11081
|
* @param {string} value
|
|
10966
|
-
* @return {!proto.clarifai.api.
|
|
11082
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
10967
11083
|
*/
|
|
10968
|
-
proto.clarifai.api.
|
|
11084
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setInputId = function (value) {
|
|
10969
11085
|
return jspb.Message.setProto3StringField(this, 2, value);
|
|
10970
11086
|
};
|
|
10971
11087
|
/**
|
|
10972
|
-
*
|
|
10973
|
-
* @return {string}
|
|
11088
|
+
* repeated string track_ids = 3;
|
|
11089
|
+
* @return {!Array<string>}
|
|
10974
11090
|
*/
|
|
10975
|
-
proto.clarifai.api.
|
|
10976
|
-
return /** @type {string} */ (jspb.Message.
|
|
11091
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getTrackIdsList = function () {
|
|
11092
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 3));
|
|
11093
|
+
};
|
|
11094
|
+
/**
|
|
11095
|
+
* @param {!Array<string>} value
|
|
11096
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11097
|
+
*/
|
|
11098
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setTrackIdsList = function (value) {
|
|
11099
|
+
return jspb.Message.setField(this, 3, value || []);
|
|
10977
11100
|
};
|
|
10978
11101
|
/**
|
|
10979
11102
|
* @param {string} value
|
|
10980
|
-
* @
|
|
11103
|
+
* @param {number=} opt_index
|
|
11104
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
10981
11105
|
*/
|
|
10982
|
-
proto.clarifai.api.
|
|
10983
|
-
return jspb.Message.
|
|
11106
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.addTrackIds = function (value, opt_index) {
|
|
11107
|
+
return jspb.Message.addToRepeatedField(this, 3, value, opt_index);
|
|
11108
|
+
};
|
|
11109
|
+
/**
|
|
11110
|
+
* Clears the list making it empty but non-null.
|
|
11111
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11112
|
+
*/
|
|
11113
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.clearTrackIdsList = function () {
|
|
11114
|
+
return this.setTrackIdsList([]);
|
|
10984
11115
|
};
|
|
10985
11116
|
/**
|
|
10986
11117
|
* optional uint32 frame_number_start = 4;
|
|
10987
11118
|
* @return {number}
|
|
10988
11119
|
*/
|
|
10989
|
-
proto.clarifai.api.
|
|
11120
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameNumberStart = function () {
|
|
10990
11121
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 4, 0));
|
|
10991
11122
|
};
|
|
10992
11123
|
/**
|
|
10993
11124
|
* @param {number} value
|
|
10994
|
-
* @return {!proto.clarifai.api.
|
|
11125
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
10995
11126
|
*/
|
|
10996
|
-
proto.clarifai.api.
|
|
11127
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameNumberStart = function (value) {
|
|
10997
11128
|
return jspb.Message.setProto3IntField(this, 4, value);
|
|
10998
11129
|
};
|
|
10999
11130
|
/**
|
|
11000
11131
|
* optional uint32 frame_time_start = 5;
|
|
11001
11132
|
* @return {number}
|
|
11002
11133
|
*/
|
|
11003
|
-
proto.clarifai.api.
|
|
11134
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getFrameTimeStart = function () {
|
|
11004
11135
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
11005
11136
|
};
|
|
11006
11137
|
/**
|
|
11007
11138
|
* @param {number} value
|
|
11008
|
-
* @return {!proto.clarifai.api.
|
|
11139
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11009
11140
|
*/
|
|
11010
|
-
proto.clarifai.api.
|
|
11141
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setFrameTimeStart = function (value) {
|
|
11011
11142
|
return jspb.Message.setProto3IntField(this, 5, value);
|
|
11012
11143
|
};
|
|
11013
11144
|
/**
|
|
11014
11145
|
* optional AnnotationDataType annotation_type = 6;
|
|
11015
11146
|
* @return {!proto.clarifai.api.AnnotationDataType}
|
|
11016
11147
|
*/
|
|
11017
|
-
proto.clarifai.api.
|
|
11148
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getAnnotationType = function () {
|
|
11018
11149
|
return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
11019
11150
|
};
|
|
11020
11151
|
/**
|
|
11021
11152
|
* @param {!proto.clarifai.api.AnnotationDataType} value
|
|
11022
|
-
* @return {!proto.clarifai.api.
|
|
11153
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11023
11154
|
*/
|
|
11024
|
-
proto.clarifai.api.
|
|
11155
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setAnnotationType = function (value) {
|
|
11025
11156
|
return jspb.Message.setProto3EnumField(this, 6, value);
|
|
11026
11157
|
};
|
|
11027
11158
|
/**
|
|
11028
11159
|
* optional uint32 max_frames = 7;
|
|
11029
11160
|
* @return {number}
|
|
11030
11161
|
*/
|
|
11031
|
-
proto.clarifai.api.
|
|
11162
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxFrames = function () {
|
|
11032
11163
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
11033
11164
|
};
|
|
11034
11165
|
/**
|
|
11035
11166
|
* @param {number} value
|
|
11036
|
-
* @return {!proto.clarifai.api.
|
|
11167
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11037
11168
|
*/
|
|
11038
|
-
proto.clarifai.api.
|
|
11169
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxFrames = function (value) {
|
|
11039
11170
|
return jspb.Message.setProto3IntField(this, 7, value);
|
|
11040
11171
|
};
|
|
11041
11172
|
/**
|
|
11042
11173
|
* optional uint32 max_duration = 8;
|
|
11043
11174
|
* @return {number}
|
|
11044
11175
|
*/
|
|
11045
|
-
proto.clarifai.api.
|
|
11176
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getMaxDuration = function () {
|
|
11046
11177
|
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 8, 0));
|
|
11047
11178
|
};
|
|
11048
11179
|
/**
|
|
11049
11180
|
* @param {number} value
|
|
11050
|
-
* @return {!proto.clarifai.api.
|
|
11181
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11051
11182
|
*/
|
|
11052
|
-
proto.clarifai.api.
|
|
11183
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setMaxDuration = function (value) {
|
|
11053
11184
|
return jspb.Message.setProto3IntField(this, 8, value);
|
|
11054
11185
|
};
|
|
11055
11186
|
/**
|
|
11056
11187
|
* optional Worker worker = 9;
|
|
11057
11188
|
* @return {?proto.clarifai.api.Worker}
|
|
11058
11189
|
*/
|
|
11059
|
-
proto.clarifai.api.
|
|
11190
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.getWorker = function () {
|
|
11060
11191
|
return /** @type{?proto.clarifai.api.Worker} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Worker, 9));
|
|
11061
11192
|
};
|
|
11062
11193
|
/**
|
|
11063
11194
|
* @param {?proto.clarifai.api.Worker|undefined} value
|
|
11064
|
-
* @return {!proto.clarifai.api.
|
|
11195
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11065
11196
|
*/
|
|
11066
|
-
proto.clarifai.api.
|
|
11197
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.setWorker = function (value) {
|
|
11067
11198
|
return jspb.Message.setWrapperField(this, 9, value);
|
|
11068
11199
|
};
|
|
11069
11200
|
/**
|
|
11070
11201
|
* Clears the message field making it undefined.
|
|
11071
|
-
* @return {!proto.clarifai.api.
|
|
11202
|
+
* @return {!proto.clarifai.api.StreamAnnotationsRequest} returns this
|
|
11072
11203
|
*/
|
|
11073
|
-
proto.clarifai.api.
|
|
11204
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.clearWorker = function () {
|
|
11074
11205
|
return this.setWorker(undefined);
|
|
11075
11206
|
};
|
|
11076
11207
|
/**
|
|
11077
11208
|
* Returns whether this field is set.
|
|
11078
11209
|
* @return {boolean}
|
|
11079
11210
|
*/
|
|
11080
|
-
proto.clarifai.api.
|
|
11211
|
+
proto.clarifai.api.StreamAnnotationsRequest.prototype.hasWorker = function () {
|
|
11081
11212
|
return jspb.Message.getField(this, 9) != null;
|
|
11082
11213
|
};
|
|
11214
|
+
/**
|
|
11215
|
+
* List of repeated fields within this message type.
|
|
11216
|
+
* @private {!Array<number>}
|
|
11217
|
+
* @const
|
|
11218
|
+
*/
|
|
11219
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.repeatedFields_ = [4];
|
|
11220
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
11221
|
+
/**
|
|
11222
|
+
* Creates an object representation of this proto.
|
|
11223
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
11224
|
+
* Optional fields that are not set will be set to undefined.
|
|
11225
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
11226
|
+
* For the list of reserved names please see:
|
|
11227
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
11228
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
11229
|
+
* JSPB instance for transitional soy proto support:
|
|
11230
|
+
* http://goto/soy-param-migration
|
|
11231
|
+
* @return {!Object}
|
|
11232
|
+
*/
|
|
11233
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
11234
|
+
return proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject(opt_includeInstance, this);
|
|
11235
|
+
};
|
|
11236
|
+
/**
|
|
11237
|
+
* Static version of the {@see toObject} method.
|
|
11238
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
11239
|
+
* the JSPB instance for transitional soy proto support:
|
|
11240
|
+
* http://goto/soy-param-migration
|
|
11241
|
+
* @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The msg instance to transform.
|
|
11242
|
+
* @return {!Object}
|
|
11243
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11244
|
+
*/
|
|
11245
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.toObject = function (includeInstance, msg) {
|
|
11246
|
+
var f, obj = {
|
|
11247
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
11248
|
+
inputId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
11249
|
+
taskId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
11250
|
+
trackIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f,
|
|
11251
|
+
annotationType: jspb.Message.getFieldWithDefault(msg, 5, 0)
|
|
11252
|
+
};
|
|
11253
|
+
if (includeInstance) {
|
|
11254
|
+
obj.$jspbMessageInstance = msg;
|
|
11255
|
+
}
|
|
11256
|
+
return obj;
|
|
11257
|
+
};
|
|
11258
|
+
}
|
|
11259
|
+
/**
|
|
11260
|
+
* Deserializes binary data (in protobuf wire format).
|
|
11261
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
11262
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
|
|
11263
|
+
*/
|
|
11264
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinary = function (bytes) {
|
|
11265
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
11266
|
+
var msg = new proto.clarifai.api.StreamLivestreamAnnotationsRequest;
|
|
11267
|
+
return proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader(msg, reader);
|
|
11268
|
+
};
|
|
11269
|
+
/**
|
|
11270
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
11271
|
+
* given reader into the given message object.
|
|
11272
|
+
* @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} msg The message object to deserialize into.
|
|
11273
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
11274
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest}
|
|
11275
|
+
*/
|
|
11276
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
11277
|
+
while (reader.nextField()) {
|
|
11278
|
+
if (reader.isEndGroup()) {
|
|
11279
|
+
break;
|
|
11280
|
+
}
|
|
11281
|
+
var field = reader.getFieldNumber();
|
|
11282
|
+
switch (field) {
|
|
11283
|
+
case 1:
|
|
11284
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
11285
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
11286
|
+
msg.setUserAppId(value);
|
|
11287
|
+
break;
|
|
11288
|
+
case 2:
|
|
11289
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11290
|
+
msg.setInputId(value);
|
|
11291
|
+
break;
|
|
11292
|
+
case 3:
|
|
11293
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11294
|
+
msg.setTaskId(value);
|
|
11295
|
+
break;
|
|
11296
|
+
case 4:
|
|
11297
|
+
var value = /** @type {string} */ (reader.readString());
|
|
11298
|
+
msg.addTrackIds(value);
|
|
11299
|
+
break;
|
|
11300
|
+
case 5:
|
|
11301
|
+
var value = /** @type {!proto.clarifai.api.AnnotationDataType} */ (reader.readEnum());
|
|
11302
|
+
msg.setAnnotationType(value);
|
|
11303
|
+
break;
|
|
11304
|
+
default:
|
|
11305
|
+
reader.skipField();
|
|
11306
|
+
break;
|
|
11307
|
+
}
|
|
11308
|
+
}
|
|
11309
|
+
return msg;
|
|
11310
|
+
};
|
|
11311
|
+
/**
|
|
11312
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
11313
|
+
* @return {!Uint8Array}
|
|
11314
|
+
*/
|
|
11315
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.serializeBinary = function () {
|
|
11316
|
+
var writer = new jspb.BinaryWriter();
|
|
11317
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter(this, writer);
|
|
11318
|
+
return writer.getResultBuffer();
|
|
11319
|
+
};
|
|
11320
|
+
/**
|
|
11321
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
11322
|
+
* format), writing to the given BinaryWriter.
|
|
11323
|
+
* @param {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} message
|
|
11324
|
+
* @param {!jspb.BinaryWriter} writer
|
|
11325
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
11326
|
+
*/
|
|
11327
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
11328
|
+
var f = undefined;
|
|
11329
|
+
f = message.getUserAppId();
|
|
11330
|
+
if (f != null) {
|
|
11331
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
11332
|
+
}
|
|
11333
|
+
f = message.getInputId();
|
|
11334
|
+
if (f.length > 0) {
|
|
11335
|
+
writer.writeString(2, f);
|
|
11336
|
+
}
|
|
11337
|
+
f = message.getTaskId();
|
|
11338
|
+
if (f.length > 0) {
|
|
11339
|
+
writer.writeString(3, f);
|
|
11340
|
+
}
|
|
11341
|
+
f = message.getTrackIdsList();
|
|
11342
|
+
if (f.length > 0) {
|
|
11343
|
+
writer.writeRepeatedString(4, f);
|
|
11344
|
+
}
|
|
11345
|
+
f = message.getAnnotationType();
|
|
11346
|
+
if (f !== 0.0) {
|
|
11347
|
+
writer.writeEnum(5, f);
|
|
11348
|
+
}
|
|
11349
|
+
};
|
|
11350
|
+
/**
|
|
11351
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
11352
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
11353
|
+
*/
|
|
11354
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getUserAppId = function () {
|
|
11355
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
11356
|
+
};
|
|
11357
|
+
/**
|
|
11358
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
11359
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11360
|
+
*/
|
|
11361
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setUserAppId = function (value) {
|
|
11362
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
11363
|
+
};
|
|
11364
|
+
/**
|
|
11365
|
+
* Clears the message field making it undefined.
|
|
11366
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11367
|
+
*/
|
|
11368
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearUserAppId = function () {
|
|
11369
|
+
return this.setUserAppId(undefined);
|
|
11370
|
+
};
|
|
11371
|
+
/**
|
|
11372
|
+
* Returns whether this field is set.
|
|
11373
|
+
* @return {boolean}
|
|
11374
|
+
*/
|
|
11375
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.hasUserAppId = function () {
|
|
11376
|
+
return jspb.Message.getField(this, 1) != null;
|
|
11377
|
+
};
|
|
11378
|
+
/**
|
|
11379
|
+
* optional string input_id = 2;
|
|
11380
|
+
* @return {string}
|
|
11381
|
+
*/
|
|
11382
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getInputId = function () {
|
|
11383
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
11384
|
+
};
|
|
11385
|
+
/**
|
|
11386
|
+
* @param {string} value
|
|
11387
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11388
|
+
*/
|
|
11389
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setInputId = function (value) {
|
|
11390
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
11391
|
+
};
|
|
11392
|
+
/**
|
|
11393
|
+
* optional string task_id = 3;
|
|
11394
|
+
* @return {string}
|
|
11395
|
+
*/
|
|
11396
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTaskId = function () {
|
|
11397
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
11398
|
+
};
|
|
11399
|
+
/**
|
|
11400
|
+
* @param {string} value
|
|
11401
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11402
|
+
*/
|
|
11403
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTaskId = function (value) {
|
|
11404
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
11405
|
+
};
|
|
11406
|
+
/**
|
|
11407
|
+
* repeated string track_ids = 4;
|
|
11408
|
+
* @return {!Array<string>}
|
|
11409
|
+
*/
|
|
11410
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getTrackIdsList = function () {
|
|
11411
|
+
return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
|
|
11412
|
+
};
|
|
11413
|
+
/**
|
|
11414
|
+
* @param {!Array<string>} value
|
|
11415
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11416
|
+
*/
|
|
11417
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setTrackIdsList = function (value) {
|
|
11418
|
+
return jspb.Message.setField(this, 4, value || []);
|
|
11419
|
+
};
|
|
11420
|
+
/**
|
|
11421
|
+
* @param {string} value
|
|
11422
|
+
* @param {number=} opt_index
|
|
11423
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11424
|
+
*/
|
|
11425
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.addTrackIds = function (value, opt_index) {
|
|
11426
|
+
return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
|
|
11427
|
+
};
|
|
11428
|
+
/**
|
|
11429
|
+
* Clears the list making it empty but non-null.
|
|
11430
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11431
|
+
*/
|
|
11432
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.clearTrackIdsList = function () {
|
|
11433
|
+
return this.setTrackIdsList([]);
|
|
11434
|
+
};
|
|
11435
|
+
/**
|
|
11436
|
+
* optional AnnotationDataType annotation_type = 5;
|
|
11437
|
+
* @return {!proto.clarifai.api.AnnotationDataType}
|
|
11438
|
+
*/
|
|
11439
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.getAnnotationType = function () {
|
|
11440
|
+
return /** @type {!proto.clarifai.api.AnnotationDataType} */ (jspb.Message.getFieldWithDefault(this, 5, 0));
|
|
11441
|
+
};
|
|
11442
|
+
/**
|
|
11443
|
+
* @param {!proto.clarifai.api.AnnotationDataType} value
|
|
11444
|
+
* @return {!proto.clarifai.api.StreamLivestreamAnnotationsRequest} returns this
|
|
11445
|
+
*/
|
|
11446
|
+
proto.clarifai.api.StreamLivestreamAnnotationsRequest.prototype.setAnnotationType = function (value) {
|
|
11447
|
+
return jspb.Message.setProto3EnumField(this, 5, value);
|
|
11448
|
+
};
|
|
11083
11449
|
/**
|
|
11084
11450
|
* List of repeated fields within this message type.
|
|
11085
11451
|
* @private {!Array<number>}
|
|
@@ -13450,6 +13816,189 @@ proto.clarifai.api.SingleAnnotationResponse.prototype.clearAnnotation = function
|
|
|
13450
13816
|
proto.clarifai.api.SingleAnnotationResponse.prototype.hasAnnotation = function () {
|
|
13451
13817
|
return jspb.Message.getField(this, 2) != null;
|
|
13452
13818
|
};
|
|
13819
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
13820
|
+
/**
|
|
13821
|
+
* Creates an object representation of this proto.
|
|
13822
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
13823
|
+
* Optional fields that are not set will be set to undefined.
|
|
13824
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
13825
|
+
* For the list of reserved names please see:
|
|
13826
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
13827
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
13828
|
+
* JSPB instance for transitional soy proto support:
|
|
13829
|
+
* http://goto/soy-param-migration
|
|
13830
|
+
* @return {!Object}
|
|
13831
|
+
*/
|
|
13832
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.toObject = function (opt_includeInstance) {
|
|
13833
|
+
return proto.clarifai.api.SingleStreamAnnotationResponse.toObject(opt_includeInstance, this);
|
|
13834
|
+
};
|
|
13835
|
+
/**
|
|
13836
|
+
* Static version of the {@see toObject} method.
|
|
13837
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
13838
|
+
* the JSPB instance for transitional soy proto support:
|
|
13839
|
+
* http://goto/soy-param-migration
|
|
13840
|
+
* @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The msg instance to transform.
|
|
13841
|
+
* @return {!Object}
|
|
13842
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13843
|
+
*/
|
|
13844
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.toObject = function (includeInstance, msg) {
|
|
13845
|
+
var f, obj = {
|
|
13846
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
13847
|
+
annotation: (f = msg.getAnnotation()) && proto_clarifai_api_resources_pb.Annotation.toObject(includeInstance, f),
|
|
13848
|
+
frameFullyProcessed: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
13849
|
+
};
|
|
13850
|
+
if (includeInstance) {
|
|
13851
|
+
obj.$jspbMessageInstance = msg;
|
|
13852
|
+
}
|
|
13853
|
+
return obj;
|
|
13854
|
+
};
|
|
13855
|
+
}
|
|
13856
|
+
/**
|
|
13857
|
+
* Deserializes binary data (in protobuf wire format).
|
|
13858
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
13859
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
|
|
13860
|
+
*/
|
|
13861
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinary = function (bytes) {
|
|
13862
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
13863
|
+
var msg = new proto.clarifai.api.SingleStreamAnnotationResponse;
|
|
13864
|
+
return proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader(msg, reader);
|
|
13865
|
+
};
|
|
13866
|
+
/**
|
|
13867
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
13868
|
+
* given reader into the given message object.
|
|
13869
|
+
* @param {!proto.clarifai.api.SingleStreamAnnotationResponse} msg The message object to deserialize into.
|
|
13870
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
13871
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse}
|
|
13872
|
+
*/
|
|
13873
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
13874
|
+
while (reader.nextField()) {
|
|
13875
|
+
if (reader.isEndGroup()) {
|
|
13876
|
+
break;
|
|
13877
|
+
}
|
|
13878
|
+
var field = reader.getFieldNumber();
|
|
13879
|
+
switch (field) {
|
|
13880
|
+
case 1:
|
|
13881
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
13882
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
13883
|
+
msg.setStatus(value);
|
|
13884
|
+
break;
|
|
13885
|
+
case 2:
|
|
13886
|
+
var value = new proto_clarifai_api_resources_pb.Annotation;
|
|
13887
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Annotation.deserializeBinaryFromReader);
|
|
13888
|
+
msg.setAnnotation(value);
|
|
13889
|
+
break;
|
|
13890
|
+
case 3:
|
|
13891
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
13892
|
+
msg.setFrameFullyProcessed(value);
|
|
13893
|
+
break;
|
|
13894
|
+
default:
|
|
13895
|
+
reader.skipField();
|
|
13896
|
+
break;
|
|
13897
|
+
}
|
|
13898
|
+
}
|
|
13899
|
+
return msg;
|
|
13900
|
+
};
|
|
13901
|
+
/**
|
|
13902
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
13903
|
+
* @return {!Uint8Array}
|
|
13904
|
+
*/
|
|
13905
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.serializeBinary = function () {
|
|
13906
|
+
var writer = new jspb.BinaryWriter();
|
|
13907
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter(this, writer);
|
|
13908
|
+
return writer.getResultBuffer();
|
|
13909
|
+
};
|
|
13910
|
+
/**
|
|
13911
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13912
|
+
* format), writing to the given BinaryWriter.
|
|
13913
|
+
* @param {!proto.clarifai.api.SingleStreamAnnotationResponse} message
|
|
13914
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13915
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13916
|
+
*/
|
|
13917
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.serializeBinaryToWriter = function (message, writer) {
|
|
13918
|
+
var f = undefined;
|
|
13919
|
+
f = message.getStatus();
|
|
13920
|
+
if (f != null) {
|
|
13921
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
13922
|
+
}
|
|
13923
|
+
f = message.getAnnotation();
|
|
13924
|
+
if (f != null) {
|
|
13925
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Annotation.serializeBinaryToWriter);
|
|
13926
|
+
}
|
|
13927
|
+
f = message.getFrameFullyProcessed();
|
|
13928
|
+
if (f) {
|
|
13929
|
+
writer.writeBool(3, f);
|
|
13930
|
+
}
|
|
13931
|
+
};
|
|
13932
|
+
/**
|
|
13933
|
+
* optional status.Status status = 1;
|
|
13934
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
13935
|
+
*/
|
|
13936
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getStatus = function () {
|
|
13937
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
13938
|
+
};
|
|
13939
|
+
/**
|
|
13940
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
13941
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
|
|
13942
|
+
*/
|
|
13943
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setStatus = function (value) {
|
|
13944
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13945
|
+
};
|
|
13946
|
+
/**
|
|
13947
|
+
* Clears the message field making it undefined.
|
|
13948
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
|
|
13949
|
+
*/
|
|
13950
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearStatus = function () {
|
|
13951
|
+
return this.setStatus(undefined);
|
|
13952
|
+
};
|
|
13953
|
+
/**
|
|
13954
|
+
* Returns whether this field is set.
|
|
13955
|
+
* @return {boolean}
|
|
13956
|
+
*/
|
|
13957
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasStatus = function () {
|
|
13958
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13959
|
+
};
|
|
13960
|
+
/**
|
|
13961
|
+
* optional Annotation annotation = 2;
|
|
13962
|
+
* @return {?proto.clarifai.api.Annotation}
|
|
13963
|
+
*/
|
|
13964
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getAnnotation = function () {
|
|
13965
|
+
return /** @type{?proto.clarifai.api.Annotation} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Annotation, 2));
|
|
13966
|
+
};
|
|
13967
|
+
/**
|
|
13968
|
+
* @param {?proto.clarifai.api.Annotation|undefined} value
|
|
13969
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
|
|
13970
|
+
*/
|
|
13971
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setAnnotation = function (value) {
|
|
13972
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
13973
|
+
};
|
|
13974
|
+
/**
|
|
13975
|
+
* Clears the message field making it undefined.
|
|
13976
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
|
|
13977
|
+
*/
|
|
13978
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.clearAnnotation = function () {
|
|
13979
|
+
return this.setAnnotation(undefined);
|
|
13980
|
+
};
|
|
13981
|
+
/**
|
|
13982
|
+
* Returns whether this field is set.
|
|
13983
|
+
* @return {boolean}
|
|
13984
|
+
*/
|
|
13985
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.hasAnnotation = function () {
|
|
13986
|
+
return jspb.Message.getField(this, 2) != null;
|
|
13987
|
+
};
|
|
13988
|
+
/**
|
|
13989
|
+
* optional bool frame_fully_processed = 3;
|
|
13990
|
+
* @return {boolean}
|
|
13991
|
+
*/
|
|
13992
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.getFrameFullyProcessed = function () {
|
|
13993
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
13994
|
+
};
|
|
13995
|
+
/**
|
|
13996
|
+
* @param {boolean} value
|
|
13997
|
+
* @return {!proto.clarifai.api.SingleStreamAnnotationResponse} returns this
|
|
13998
|
+
*/
|
|
13999
|
+
proto.clarifai.api.SingleStreamAnnotationResponse.prototype.setFrameFullyProcessed = function (value) {
|
|
14000
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
14001
|
+
};
|
|
13453
14002
|
/**
|
|
13454
14003
|
* List of repeated fields within this message type.
|
|
13455
14004
|
* @private {!Array<number>}
|
|
@@ -34834,7 +35383,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
34834
35383
|
models: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
34835
35384
|
workflows: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
34836
35385
|
modules: jspb.Message.getFieldWithDefault(msg, 5, 0),
|
|
34837
|
-
inputs: jspb.Message.getFieldWithDefault(msg, 6, 0)
|
|
35386
|
+
inputs: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
35387
|
+
pipelines: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
34838
35388
|
};
|
|
34839
35389
|
if (includeInstance) {
|
|
34840
35390
|
obj.$jspbMessageInstance = msg;
|
|
@@ -34891,6 +35441,10 @@ proto.clarifai.api.GetResourceCountsResponse.deserializeBinaryFromReader = funct
|
|
|
34891
35441
|
var value = /** @type {number} */ (reader.readInt64());
|
|
34892
35442
|
msg.setInputs(value);
|
|
34893
35443
|
break;
|
|
35444
|
+
case 7:
|
|
35445
|
+
var value = /** @type {number} */ (reader.readInt64());
|
|
35446
|
+
msg.setPipelines(value);
|
|
35447
|
+
break;
|
|
34894
35448
|
default:
|
|
34895
35449
|
reader.skipField();
|
|
34896
35450
|
break;
|
|
@@ -34940,6 +35494,10 @@ proto.clarifai.api.GetResourceCountsResponse.serializeBinaryToWriter = function
|
|
|
34940
35494
|
if (f !== 0) {
|
|
34941
35495
|
writer.writeInt64(6, f);
|
|
34942
35496
|
}
|
|
35497
|
+
f = message.getPipelines();
|
|
35498
|
+
if (f !== 0) {
|
|
35499
|
+
writer.writeInt64(7, f);
|
|
35500
|
+
}
|
|
34943
35501
|
};
|
|
34944
35502
|
/**
|
|
34945
35503
|
* optional status.Status status = 1;
|
|
@@ -35039,6 +35597,20 @@ proto.clarifai.api.GetResourceCountsResponse.prototype.getInputs = function () {
|
|
|
35039
35597
|
proto.clarifai.api.GetResourceCountsResponse.prototype.setInputs = function (value) {
|
|
35040
35598
|
return jspb.Message.setProto3IntField(this, 6, value);
|
|
35041
35599
|
};
|
|
35600
|
+
/**
|
|
35601
|
+
* optional int64 pipelines = 7;
|
|
35602
|
+
* @return {number}
|
|
35603
|
+
*/
|
|
35604
|
+
proto.clarifai.api.GetResourceCountsResponse.prototype.getPipelines = function () {
|
|
35605
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
35606
|
+
};
|
|
35607
|
+
/**
|
|
35608
|
+
* @param {number} value
|
|
35609
|
+
* @return {!proto.clarifai.api.GetResourceCountsResponse} returns this
|
|
35610
|
+
*/
|
|
35611
|
+
proto.clarifai.api.GetResourceCountsResponse.prototype.setPipelines = function (value) {
|
|
35612
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
35613
|
+
};
|
|
35042
35614
|
/**
|
|
35043
35615
|
* List of repeated fields within this message type.
|
|
35044
35616
|
* @private {!Array<number>}
|
|
@@ -74739,14 +75311,15 @@ proto.clarifai.api.MultiRunnerItemResponse.prototype.clearRunnerItemsList = func
|
|
|
74739
75311
|
* @private {!Array<!Array<number>>}
|
|
74740
75312
|
* @const
|
|
74741
75313
|
*/
|
|
74742
|
-
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4, 5]];
|
|
75314
|
+
proto.clarifai.api.RunnerItem.oneofGroups_ = [[4, 5, 6]];
|
|
74743
75315
|
/**
|
|
74744
75316
|
* @enum {number}
|
|
74745
75317
|
*/
|
|
74746
75318
|
proto.clarifai.api.RunnerItem.RequestCase = {
|
|
74747
75319
|
REQUEST_NOT_SET: 0,
|
|
74748
75320
|
POST_MODEL_OUTPUTS_REQUEST: 4,
|
|
74749
|
-
SYNC_STATE_REQUEST: 5
|
|
75321
|
+
SYNC_STATE_REQUEST: 5,
|
|
75322
|
+
AUTO_ANNOTATION_REQUEST: 6
|
|
74750
75323
|
};
|
|
74751
75324
|
/**
|
|
74752
75325
|
* @return {proto.clarifai.api.RunnerItem.RequestCase}
|
|
@@ -74785,7 +75358,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
74785
75358
|
description: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
74786
75359
|
processingInfo: (f = msg.getProcessingInfo()) && proto_clarifai_api_resources_pb.ProcessingInfo.toObject(includeInstance, f),
|
|
74787
75360
|
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
|
|
74788
|
-
syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f)
|
|
75361
|
+
syncStateRequest: (f = msg.getSyncStateRequest()) && proto.clarifai.api.SyncStateRequest.toObject(includeInstance, f),
|
|
75362
|
+
autoAnnotationRequest: (f = msg.getAutoAnnotationRequest()) && proto.clarifai.api.AutoAnnotationRequest.toObject(includeInstance, f)
|
|
74789
75363
|
};
|
|
74790
75364
|
if (includeInstance) {
|
|
74791
75365
|
obj.$jspbMessageInstance = msg;
|
|
@@ -74840,6 +75414,11 @@ proto.clarifai.api.RunnerItem.deserializeBinaryFromReader = function (msg, reade
|
|
|
74840
75414
|
reader.readMessage(value, proto.clarifai.api.SyncStateRequest.deserializeBinaryFromReader);
|
|
74841
75415
|
msg.setSyncStateRequest(value);
|
|
74842
75416
|
break;
|
|
75417
|
+
case 6:
|
|
75418
|
+
var value = new proto.clarifai.api.AutoAnnotationRequest;
|
|
75419
|
+
reader.readMessage(value, proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader);
|
|
75420
|
+
msg.setAutoAnnotationRequest(value);
|
|
75421
|
+
break;
|
|
74843
75422
|
default:
|
|
74844
75423
|
reader.skipField();
|
|
74845
75424
|
break;
|
|
@@ -74885,6 +75464,10 @@ proto.clarifai.api.RunnerItem.serializeBinaryToWriter = function (message, write
|
|
|
74885
75464
|
if (f != null) {
|
|
74886
75465
|
writer.writeMessage(5, f, proto.clarifai.api.SyncStateRequest.serializeBinaryToWriter);
|
|
74887
75466
|
}
|
|
75467
|
+
f = message.getAutoAnnotationRequest();
|
|
75468
|
+
if (f != null) {
|
|
75469
|
+
writer.writeMessage(6, f, proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter);
|
|
75470
|
+
}
|
|
74888
75471
|
};
|
|
74889
75472
|
/**
|
|
74890
75473
|
* optional string id = 1;
|
|
@@ -74998,6 +75581,217 @@ proto.clarifai.api.RunnerItem.prototype.clearSyncStateRequest = function () {
|
|
|
74998
75581
|
proto.clarifai.api.RunnerItem.prototype.hasSyncStateRequest = function () {
|
|
74999
75582
|
return jspb.Message.getField(this, 5) != null;
|
|
75000
75583
|
};
|
|
75584
|
+
/**
|
|
75585
|
+
* optional AutoAnnotationRequest auto_annotation_request = 6;
|
|
75586
|
+
* @return {?proto.clarifai.api.AutoAnnotationRequest}
|
|
75587
|
+
*/
|
|
75588
|
+
proto.clarifai.api.RunnerItem.prototype.getAutoAnnotationRequest = function () {
|
|
75589
|
+
return /** @type{?proto.clarifai.api.AutoAnnotationRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.AutoAnnotationRequest, 6));
|
|
75590
|
+
};
|
|
75591
|
+
/**
|
|
75592
|
+
* @param {?proto.clarifai.api.AutoAnnotationRequest|undefined} value
|
|
75593
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
75594
|
+
*/
|
|
75595
|
+
proto.clarifai.api.RunnerItem.prototype.setAutoAnnotationRequest = function (value) {
|
|
75596
|
+
return jspb.Message.setOneofWrapperField(this, 6, proto.clarifai.api.RunnerItem.oneofGroups_[0], value);
|
|
75597
|
+
};
|
|
75598
|
+
/**
|
|
75599
|
+
* Clears the message field making it undefined.
|
|
75600
|
+
* @return {!proto.clarifai.api.RunnerItem} returns this
|
|
75601
|
+
*/
|
|
75602
|
+
proto.clarifai.api.RunnerItem.prototype.clearAutoAnnotationRequest = function () {
|
|
75603
|
+
return this.setAutoAnnotationRequest(undefined);
|
|
75604
|
+
};
|
|
75605
|
+
/**
|
|
75606
|
+
* Returns whether this field is set.
|
|
75607
|
+
* @return {boolean}
|
|
75608
|
+
*/
|
|
75609
|
+
proto.clarifai.api.RunnerItem.prototype.hasAutoAnnotationRequest = function () {
|
|
75610
|
+
return jspb.Message.getField(this, 6) != null;
|
|
75611
|
+
};
|
|
75612
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
75613
|
+
/**
|
|
75614
|
+
* Creates an object representation of this proto.
|
|
75615
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
75616
|
+
* Optional fields that are not set will be set to undefined.
|
|
75617
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
75618
|
+
* For the list of reserved names please see:
|
|
75619
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
75620
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
75621
|
+
* JSPB instance for transitional soy proto support:
|
|
75622
|
+
* http://goto/soy-param-migration
|
|
75623
|
+
* @return {!Object}
|
|
75624
|
+
*/
|
|
75625
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.toObject = function (opt_includeInstance) {
|
|
75626
|
+
return proto.clarifai.api.AutoAnnotationRequest.toObject(opt_includeInstance, this);
|
|
75627
|
+
};
|
|
75628
|
+
/**
|
|
75629
|
+
* Static version of the {@see toObject} method.
|
|
75630
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
75631
|
+
* the JSPB instance for transitional soy proto support:
|
|
75632
|
+
* http://goto/soy-param-migration
|
|
75633
|
+
* @param {!proto.clarifai.api.AutoAnnotationRequest} msg The msg instance to transform.
|
|
75634
|
+
* @return {!Object}
|
|
75635
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75636
|
+
*/
|
|
75637
|
+
proto.clarifai.api.AutoAnnotationRequest.toObject = function (includeInstance, msg) {
|
|
75638
|
+
var f, obj = {
|
|
75639
|
+
postModelOutputsRequest: (f = msg.getPostModelOutputsRequest()) && proto.clarifai.api.PostModelOutputsRequest.toObject(includeInstance, f),
|
|
75640
|
+
task: (f = msg.getTask()) && proto_clarifai_api_resources_pb.Task.toObject(includeInstance, f),
|
|
75641
|
+
authorizationValue: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
75642
|
+
};
|
|
75643
|
+
if (includeInstance) {
|
|
75644
|
+
obj.$jspbMessageInstance = msg;
|
|
75645
|
+
}
|
|
75646
|
+
return obj;
|
|
75647
|
+
};
|
|
75648
|
+
}
|
|
75649
|
+
/**
|
|
75650
|
+
* Deserializes binary data (in protobuf wire format).
|
|
75651
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
75652
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest}
|
|
75653
|
+
*/
|
|
75654
|
+
proto.clarifai.api.AutoAnnotationRequest.deserializeBinary = function (bytes) {
|
|
75655
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
75656
|
+
var msg = new proto.clarifai.api.AutoAnnotationRequest;
|
|
75657
|
+
return proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader(msg, reader);
|
|
75658
|
+
};
|
|
75659
|
+
/**
|
|
75660
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
75661
|
+
* given reader into the given message object.
|
|
75662
|
+
* @param {!proto.clarifai.api.AutoAnnotationRequest} msg The message object to deserialize into.
|
|
75663
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
75664
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest}
|
|
75665
|
+
*/
|
|
75666
|
+
proto.clarifai.api.AutoAnnotationRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
75667
|
+
while (reader.nextField()) {
|
|
75668
|
+
if (reader.isEndGroup()) {
|
|
75669
|
+
break;
|
|
75670
|
+
}
|
|
75671
|
+
var field = reader.getFieldNumber();
|
|
75672
|
+
switch (field) {
|
|
75673
|
+
case 1:
|
|
75674
|
+
var value = new proto.clarifai.api.PostModelOutputsRequest;
|
|
75675
|
+
reader.readMessage(value, proto.clarifai.api.PostModelOutputsRequest.deserializeBinaryFromReader);
|
|
75676
|
+
msg.setPostModelOutputsRequest(value);
|
|
75677
|
+
break;
|
|
75678
|
+
case 2:
|
|
75679
|
+
var value = new proto_clarifai_api_resources_pb.Task;
|
|
75680
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.Task.deserializeBinaryFromReader);
|
|
75681
|
+
msg.setTask(value);
|
|
75682
|
+
break;
|
|
75683
|
+
case 3:
|
|
75684
|
+
var value = /** @type {string} */ (reader.readString());
|
|
75685
|
+
msg.setAuthorizationValue(value);
|
|
75686
|
+
break;
|
|
75687
|
+
default:
|
|
75688
|
+
reader.skipField();
|
|
75689
|
+
break;
|
|
75690
|
+
}
|
|
75691
|
+
}
|
|
75692
|
+
return msg;
|
|
75693
|
+
};
|
|
75694
|
+
/**
|
|
75695
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
75696
|
+
* @return {!Uint8Array}
|
|
75697
|
+
*/
|
|
75698
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.serializeBinary = function () {
|
|
75699
|
+
var writer = new jspb.BinaryWriter();
|
|
75700
|
+
proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter(this, writer);
|
|
75701
|
+
return writer.getResultBuffer();
|
|
75702
|
+
};
|
|
75703
|
+
/**
|
|
75704
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
75705
|
+
* format), writing to the given BinaryWriter.
|
|
75706
|
+
* @param {!proto.clarifai.api.AutoAnnotationRequest} message
|
|
75707
|
+
* @param {!jspb.BinaryWriter} writer
|
|
75708
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
75709
|
+
*/
|
|
75710
|
+
proto.clarifai.api.AutoAnnotationRequest.serializeBinaryToWriter = function (message, writer) {
|
|
75711
|
+
var f = undefined;
|
|
75712
|
+
f = message.getPostModelOutputsRequest();
|
|
75713
|
+
if (f != null) {
|
|
75714
|
+
writer.writeMessage(1, f, proto.clarifai.api.PostModelOutputsRequest.serializeBinaryToWriter);
|
|
75715
|
+
}
|
|
75716
|
+
f = message.getTask();
|
|
75717
|
+
if (f != null) {
|
|
75718
|
+
writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Task.serializeBinaryToWriter);
|
|
75719
|
+
}
|
|
75720
|
+
f = message.getAuthorizationValue();
|
|
75721
|
+
if (f.length > 0) {
|
|
75722
|
+
writer.writeString(3, f);
|
|
75723
|
+
}
|
|
75724
|
+
};
|
|
75725
|
+
/**
|
|
75726
|
+
* optional PostModelOutputsRequest post_model_outputs_request = 1;
|
|
75727
|
+
* @return {?proto.clarifai.api.PostModelOutputsRequest}
|
|
75728
|
+
*/
|
|
75729
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.getPostModelOutputsRequest = function () {
|
|
75730
|
+
return /** @type{?proto.clarifai.api.PostModelOutputsRequest} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PostModelOutputsRequest, 1));
|
|
75731
|
+
};
|
|
75732
|
+
/**
|
|
75733
|
+
* @param {?proto.clarifai.api.PostModelOutputsRequest|undefined} value
|
|
75734
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
|
|
75735
|
+
*/
|
|
75736
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.setPostModelOutputsRequest = function (value) {
|
|
75737
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
75738
|
+
};
|
|
75739
|
+
/**
|
|
75740
|
+
* Clears the message field making it undefined.
|
|
75741
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
|
|
75742
|
+
*/
|
|
75743
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.clearPostModelOutputsRequest = function () {
|
|
75744
|
+
return this.setPostModelOutputsRequest(undefined);
|
|
75745
|
+
};
|
|
75746
|
+
/**
|
|
75747
|
+
* Returns whether this field is set.
|
|
75748
|
+
* @return {boolean}
|
|
75749
|
+
*/
|
|
75750
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.hasPostModelOutputsRequest = function () {
|
|
75751
|
+
return jspb.Message.getField(this, 1) != null;
|
|
75752
|
+
};
|
|
75753
|
+
/**
|
|
75754
|
+
* optional Task task = 2;
|
|
75755
|
+
* @return {?proto.clarifai.api.Task}
|
|
75756
|
+
*/
|
|
75757
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.getTask = function () {
|
|
75758
|
+
return /** @type{?proto.clarifai.api.Task} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Task, 2));
|
|
75759
|
+
};
|
|
75760
|
+
/**
|
|
75761
|
+
* @param {?proto.clarifai.api.Task|undefined} value
|
|
75762
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
|
|
75763
|
+
*/
|
|
75764
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.setTask = function (value) {
|
|
75765
|
+
return jspb.Message.setWrapperField(this, 2, value);
|
|
75766
|
+
};
|
|
75767
|
+
/**
|
|
75768
|
+
* Clears the message field making it undefined.
|
|
75769
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
|
|
75770
|
+
*/
|
|
75771
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.clearTask = function () {
|
|
75772
|
+
return this.setTask(undefined);
|
|
75773
|
+
};
|
|
75774
|
+
/**
|
|
75775
|
+
* Returns whether this field is set.
|
|
75776
|
+
* @return {boolean}
|
|
75777
|
+
*/
|
|
75778
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.hasTask = function () {
|
|
75779
|
+
return jspb.Message.getField(this, 2) != null;
|
|
75780
|
+
};
|
|
75781
|
+
/**
|
|
75782
|
+
* optional string authorization_value = 3;
|
|
75783
|
+
* @return {string}
|
|
75784
|
+
*/
|
|
75785
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.getAuthorizationValue = function () {
|
|
75786
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
75787
|
+
};
|
|
75788
|
+
/**
|
|
75789
|
+
* @param {string} value
|
|
75790
|
+
* @return {!proto.clarifai.api.AutoAnnotationRequest} returns this
|
|
75791
|
+
*/
|
|
75792
|
+
proto.clarifai.api.AutoAnnotationRequest.prototype.setAuthorizationValue = function (value) {
|
|
75793
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
75794
|
+
};
|
|
75001
75795
|
/**
|
|
75002
75796
|
* Oneof group definitions for this message. Each group defines the field
|
|
75003
75797
|
* numbers belonging to that group. When of these fields' value is set, all
|
|
@@ -76066,7 +76860,7 @@ proto.clarifai.api.ListCloudRegionsRequest.prototype.hasCloudProvider = function
|
|
|
76066
76860
|
* @private {!Array<number>}
|
|
76067
76861
|
* @const
|
|
76068
76862
|
*/
|
|
76069
|
-
proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2];
|
|
76863
|
+
proto.clarifai.api.MultiCloudRegionResponse.repeatedFields_ = [2, 3];
|
|
76070
76864
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
76071
76865
|
/**
|
|
76072
76866
|
* Creates an object representation of this proto.
|
|
@@ -76095,7 +76889,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
|
76095
76889
|
proto.clarifai.api.MultiCloudRegionResponse.toObject = function (includeInstance, msg) {
|
|
76096
76890
|
var f, obj = {
|
|
76097
76891
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
76098
|
-
regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
|
|
76892
|
+
regionsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f,
|
|
76893
|
+
cloudRegionsList: jspb.Message.toObjectList(msg.getCloudRegionsList(), proto_clarifai_api_resources_pb.CloudRegion.toObject, includeInstance)
|
|
76099
76894
|
};
|
|
76100
76895
|
if (includeInstance) {
|
|
76101
76896
|
obj.$jspbMessageInstance = msg;
|
|
@@ -76136,6 +76931,11 @@ proto.clarifai.api.MultiCloudRegionResponse.deserializeBinaryFromReader = functi
|
|
|
76136
76931
|
var value = /** @type {string} */ (reader.readString());
|
|
76137
76932
|
msg.addRegions(value);
|
|
76138
76933
|
break;
|
|
76934
|
+
case 3:
|
|
76935
|
+
var value = new proto_clarifai_api_resources_pb.CloudRegion;
|
|
76936
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.CloudRegion.deserializeBinaryFromReader);
|
|
76937
|
+
msg.addCloudRegions(value);
|
|
76938
|
+
break;
|
|
76139
76939
|
default:
|
|
76140
76940
|
reader.skipField();
|
|
76141
76941
|
break;
|
|
@@ -76169,6 +76969,10 @@ proto.clarifai.api.MultiCloudRegionResponse.serializeBinaryToWriter = function (
|
|
|
76169
76969
|
if (f.length > 0) {
|
|
76170
76970
|
writer.writeRepeatedString(2, f);
|
|
76171
76971
|
}
|
|
76972
|
+
f = message.getCloudRegionsList();
|
|
76973
|
+
if (f.length > 0) {
|
|
76974
|
+
writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.CloudRegion.serializeBinaryToWriter);
|
|
76975
|
+
}
|
|
76172
76976
|
};
|
|
76173
76977
|
/**
|
|
76174
76978
|
* optional status.Status status = 1;
|
|
@@ -76227,6 +77031,35 @@ proto.clarifai.api.MultiCloudRegionResponse.prototype.addRegions = function (val
|
|
|
76227
77031
|
proto.clarifai.api.MultiCloudRegionResponse.prototype.clearRegionsList = function () {
|
|
76228
77032
|
return this.setRegionsList([]);
|
|
76229
77033
|
};
|
|
77034
|
+
/**
|
|
77035
|
+
* repeated CloudRegion cloud_regions = 3;
|
|
77036
|
+
* @return {!Array<!proto.clarifai.api.CloudRegion>}
|
|
77037
|
+
*/
|
|
77038
|
+
proto.clarifai.api.MultiCloudRegionResponse.prototype.getCloudRegionsList = function () {
|
|
77039
|
+
return /** @type{!Array<!proto.clarifai.api.CloudRegion>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.CloudRegion, 3));
|
|
77040
|
+
};
|
|
77041
|
+
/**
|
|
77042
|
+
* @param {!Array<!proto.clarifai.api.CloudRegion>} value
|
|
77043
|
+
* @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
|
|
77044
|
+
*/
|
|
77045
|
+
proto.clarifai.api.MultiCloudRegionResponse.prototype.setCloudRegionsList = function (value) {
|
|
77046
|
+
return jspb.Message.setRepeatedWrapperField(this, 3, value);
|
|
77047
|
+
};
|
|
77048
|
+
/**
|
|
77049
|
+
* @param {!proto.clarifai.api.CloudRegion=} opt_value
|
|
77050
|
+
* @param {number=} opt_index
|
|
77051
|
+
* @return {!proto.clarifai.api.CloudRegion}
|
|
77052
|
+
*/
|
|
77053
|
+
proto.clarifai.api.MultiCloudRegionResponse.prototype.addCloudRegions = function (opt_value, opt_index) {
|
|
77054
|
+
return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.CloudRegion, opt_index);
|
|
77055
|
+
};
|
|
77056
|
+
/**
|
|
77057
|
+
* Clears the list making it empty but non-null.
|
|
77058
|
+
* @return {!proto.clarifai.api.MultiCloudRegionResponse} returns this
|
|
77059
|
+
*/
|
|
77060
|
+
proto.clarifai.api.MultiCloudRegionResponse.prototype.clearCloudRegionsList = function () {
|
|
77061
|
+
return this.setCloudRegionsList([]);
|
|
77062
|
+
};
|
|
76230
77063
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
76231
77064
|
/**
|
|
76232
77065
|
* Creates an object representation of this proto.
|
|
@@ -86499,6 +87332,456 @@ proto.clarifai.api.MultiPipelineVersionRunResponse.prototype.addPipelineVersionR
|
|
|
86499
87332
|
proto.clarifai.api.MultiPipelineVersionRunResponse.prototype.clearPipelineVersionRunsList = function () {
|
|
86500
87333
|
return this.setPipelineVersionRunsList([]);
|
|
86501
87334
|
};
|
|
87335
|
+
/**
|
|
87336
|
+
* List of repeated fields within this message type.
|
|
87337
|
+
* @private {!Array<number>}
|
|
87338
|
+
* @const
|
|
87339
|
+
*/
|
|
87340
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.repeatedFields_ = [5];
|
|
87341
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
87342
|
+
/**
|
|
87343
|
+
* Creates an object representation of this proto.
|
|
87344
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
87345
|
+
* Optional fields that are not set will be set to undefined.
|
|
87346
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
87347
|
+
* For the list of reserved names please see:
|
|
87348
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
87349
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
87350
|
+
* JSPB instance for transitional soy proto support:
|
|
87351
|
+
* http://goto/soy-param-migration
|
|
87352
|
+
* @return {!Object}
|
|
87353
|
+
*/
|
|
87354
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.toObject = function (opt_includeInstance) {
|
|
87355
|
+
return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject(opt_includeInstance, this);
|
|
87356
|
+
};
|
|
87357
|
+
/**
|
|
87358
|
+
* Static version of the {@see toObject} method.
|
|
87359
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87360
|
+
* the JSPB instance for transitional soy proto support:
|
|
87361
|
+
* http://goto/soy-param-migration
|
|
87362
|
+
* @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The msg instance to transform.
|
|
87363
|
+
* @return {!Object}
|
|
87364
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87365
|
+
*/
|
|
87366
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.toObject = function (includeInstance, msg) {
|
|
87367
|
+
var f, obj = {
|
|
87368
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
87369
|
+
pipelineId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
87370
|
+
pipelineVersionId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
87371
|
+
pipelineVersionRunId: jspb.Message.getFieldWithDefault(msg, 4, ""),
|
|
87372
|
+
statusCodesList: (f = jspb.Message.getRepeatedField(msg, 5)) == null ? undefined : f,
|
|
87373
|
+
page: jspb.Message.getFieldWithDefault(msg, 6, 0),
|
|
87374
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 7, 0)
|
|
87375
|
+
};
|
|
87376
|
+
if (includeInstance) {
|
|
87377
|
+
obj.$jspbMessageInstance = msg;
|
|
87378
|
+
}
|
|
87379
|
+
return obj;
|
|
87380
|
+
};
|
|
87381
|
+
}
|
|
87382
|
+
/**
|
|
87383
|
+
* Deserializes binary data (in protobuf wire format).
|
|
87384
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87385
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
|
|
87386
|
+
*/
|
|
87387
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinary = function (bytes) {
|
|
87388
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
87389
|
+
var msg = new proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest;
|
|
87390
|
+
return proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader(msg, reader);
|
|
87391
|
+
};
|
|
87392
|
+
/**
|
|
87393
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
87394
|
+
* given reader into the given message object.
|
|
87395
|
+
* @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} msg The message object to deserialize into.
|
|
87396
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87397
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest}
|
|
87398
|
+
*/
|
|
87399
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.deserializeBinaryFromReader = function (msg, reader) {
|
|
87400
|
+
while (reader.nextField()) {
|
|
87401
|
+
if (reader.isEndGroup()) {
|
|
87402
|
+
break;
|
|
87403
|
+
}
|
|
87404
|
+
var field = reader.getFieldNumber();
|
|
87405
|
+
switch (field) {
|
|
87406
|
+
case 1:
|
|
87407
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
87408
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
87409
|
+
msg.setUserAppId(value);
|
|
87410
|
+
break;
|
|
87411
|
+
case 2:
|
|
87412
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87413
|
+
msg.setPipelineId(value);
|
|
87414
|
+
break;
|
|
87415
|
+
case 3:
|
|
87416
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87417
|
+
msg.setPipelineVersionId(value);
|
|
87418
|
+
break;
|
|
87419
|
+
case 4:
|
|
87420
|
+
var value = /** @type {string} */ (reader.readString());
|
|
87421
|
+
msg.setPipelineVersionRunId(value);
|
|
87422
|
+
break;
|
|
87423
|
+
case 5:
|
|
87424
|
+
var values = /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (reader.isDelimited() ? reader.readPackedEnum() : [reader.readEnum()]);
|
|
87425
|
+
for (var i = 0; i < values.length; i++) {
|
|
87426
|
+
msg.addStatusCodes(values[i]);
|
|
87427
|
+
}
|
|
87428
|
+
break;
|
|
87429
|
+
case 6:
|
|
87430
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
87431
|
+
msg.setPage(value);
|
|
87432
|
+
break;
|
|
87433
|
+
case 7:
|
|
87434
|
+
var value = /** @type {number} */ (reader.readUint32());
|
|
87435
|
+
msg.setPerPage(value);
|
|
87436
|
+
break;
|
|
87437
|
+
default:
|
|
87438
|
+
reader.skipField();
|
|
87439
|
+
break;
|
|
87440
|
+
}
|
|
87441
|
+
}
|
|
87442
|
+
return msg;
|
|
87443
|
+
};
|
|
87444
|
+
/**
|
|
87445
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
87446
|
+
* @return {!Uint8Array}
|
|
87447
|
+
*/
|
|
87448
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.serializeBinary = function () {
|
|
87449
|
+
var writer = new jspb.BinaryWriter();
|
|
87450
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter(this, writer);
|
|
87451
|
+
return writer.getResultBuffer();
|
|
87452
|
+
};
|
|
87453
|
+
/**
|
|
87454
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
87455
|
+
* format), writing to the given BinaryWriter.
|
|
87456
|
+
* @param {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} message
|
|
87457
|
+
* @param {!jspb.BinaryWriter} writer
|
|
87458
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87459
|
+
*/
|
|
87460
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.serializeBinaryToWriter = function (message, writer) {
|
|
87461
|
+
var f = undefined;
|
|
87462
|
+
f = message.getUserAppId();
|
|
87463
|
+
if (f != null) {
|
|
87464
|
+
writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
|
|
87465
|
+
}
|
|
87466
|
+
f = message.getPipelineId();
|
|
87467
|
+
if (f.length > 0) {
|
|
87468
|
+
writer.writeString(2, f);
|
|
87469
|
+
}
|
|
87470
|
+
f = message.getPipelineVersionId();
|
|
87471
|
+
if (f.length > 0) {
|
|
87472
|
+
writer.writeString(3, f);
|
|
87473
|
+
}
|
|
87474
|
+
f = message.getPipelineVersionRunId();
|
|
87475
|
+
if (f.length > 0) {
|
|
87476
|
+
writer.writeString(4, f);
|
|
87477
|
+
}
|
|
87478
|
+
f = message.getStatusCodesList();
|
|
87479
|
+
if (f.length > 0) {
|
|
87480
|
+
writer.writePackedEnum(5, f);
|
|
87481
|
+
}
|
|
87482
|
+
f = message.getPage();
|
|
87483
|
+
if (f !== 0) {
|
|
87484
|
+
writer.writeUint32(6, f);
|
|
87485
|
+
}
|
|
87486
|
+
f = message.getPerPage();
|
|
87487
|
+
if (f !== 0) {
|
|
87488
|
+
writer.writeUint32(7, f);
|
|
87489
|
+
}
|
|
87490
|
+
};
|
|
87491
|
+
/**
|
|
87492
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
87493
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
87494
|
+
*/
|
|
87495
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getUserAppId = function () {
|
|
87496
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
87497
|
+
};
|
|
87498
|
+
/**
|
|
87499
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
87500
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87501
|
+
*/
|
|
87502
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setUserAppId = function (value) {
|
|
87503
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
87504
|
+
};
|
|
87505
|
+
/**
|
|
87506
|
+
* Clears the message field making it undefined.
|
|
87507
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87508
|
+
*/
|
|
87509
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearUserAppId = function () {
|
|
87510
|
+
return this.setUserAppId(undefined);
|
|
87511
|
+
};
|
|
87512
|
+
/**
|
|
87513
|
+
* Returns whether this field is set.
|
|
87514
|
+
* @return {boolean}
|
|
87515
|
+
*/
|
|
87516
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.hasUserAppId = function () {
|
|
87517
|
+
return jspb.Message.getField(this, 1) != null;
|
|
87518
|
+
};
|
|
87519
|
+
/**
|
|
87520
|
+
* optional string pipeline_id = 2;
|
|
87521
|
+
* @return {string}
|
|
87522
|
+
*/
|
|
87523
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineId = function () {
|
|
87524
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
|
|
87525
|
+
};
|
|
87526
|
+
/**
|
|
87527
|
+
* @param {string} value
|
|
87528
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87529
|
+
*/
|
|
87530
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineId = function (value) {
|
|
87531
|
+
return jspb.Message.setProto3StringField(this, 2, value);
|
|
87532
|
+
};
|
|
87533
|
+
/**
|
|
87534
|
+
* optional string pipeline_version_id = 3;
|
|
87535
|
+
* @return {string}
|
|
87536
|
+
*/
|
|
87537
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionId = function () {
|
|
87538
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
87539
|
+
};
|
|
87540
|
+
/**
|
|
87541
|
+
* @param {string} value
|
|
87542
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87543
|
+
*/
|
|
87544
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionId = function (value) {
|
|
87545
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
87546
|
+
};
|
|
87547
|
+
/**
|
|
87548
|
+
* optional string pipeline_version_run_id = 4;
|
|
87549
|
+
* @return {string}
|
|
87550
|
+
*/
|
|
87551
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPipelineVersionRunId = function () {
|
|
87552
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
87553
|
+
};
|
|
87554
|
+
/**
|
|
87555
|
+
* @param {string} value
|
|
87556
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87557
|
+
*/
|
|
87558
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPipelineVersionRunId = function (value) {
|
|
87559
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
87560
|
+
};
|
|
87561
|
+
/**
|
|
87562
|
+
* repeated status.StatusCode status_codes = 5;
|
|
87563
|
+
* @return {!Array<!proto.clarifai.api.status.StatusCode>}
|
|
87564
|
+
*/
|
|
87565
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getStatusCodesList = function () {
|
|
87566
|
+
return /** @type {!Array<!proto.clarifai.api.status.StatusCode>} */ (jspb.Message.getRepeatedField(this, 5));
|
|
87567
|
+
};
|
|
87568
|
+
/**
|
|
87569
|
+
* @param {!Array<!proto.clarifai.api.status.StatusCode>} value
|
|
87570
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87571
|
+
*/
|
|
87572
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setStatusCodesList = function (value) {
|
|
87573
|
+
return jspb.Message.setField(this, 5, value || []);
|
|
87574
|
+
};
|
|
87575
|
+
/**
|
|
87576
|
+
* @param {!proto.clarifai.api.status.StatusCode} value
|
|
87577
|
+
* @param {number=} opt_index
|
|
87578
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87579
|
+
*/
|
|
87580
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.addStatusCodes = function (value, opt_index) {
|
|
87581
|
+
return jspb.Message.addToRepeatedField(this, 5, value, opt_index);
|
|
87582
|
+
};
|
|
87583
|
+
/**
|
|
87584
|
+
* Clears the list making it empty but non-null.
|
|
87585
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87586
|
+
*/
|
|
87587
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.clearStatusCodesList = function () {
|
|
87588
|
+
return this.setStatusCodesList([]);
|
|
87589
|
+
};
|
|
87590
|
+
/**
|
|
87591
|
+
* optional uint32 page = 6;
|
|
87592
|
+
* @return {number}
|
|
87593
|
+
*/
|
|
87594
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPage = function () {
|
|
87595
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 6, 0));
|
|
87596
|
+
};
|
|
87597
|
+
/**
|
|
87598
|
+
* @param {number} value
|
|
87599
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87600
|
+
*/
|
|
87601
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPage = function (value) {
|
|
87602
|
+
return jspb.Message.setProto3IntField(this, 6, value);
|
|
87603
|
+
};
|
|
87604
|
+
/**
|
|
87605
|
+
* optional uint32 per_page = 7;
|
|
87606
|
+
* @return {number}
|
|
87607
|
+
*/
|
|
87608
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.getPerPage = function () {
|
|
87609
|
+
return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 7, 0));
|
|
87610
|
+
};
|
|
87611
|
+
/**
|
|
87612
|
+
* @param {number} value
|
|
87613
|
+
* @return {!proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest} returns this
|
|
87614
|
+
*/
|
|
87615
|
+
proto.clarifai.api.ListPipelineVersionRunStatusLogsRequest.prototype.setPerPage = function (value) {
|
|
87616
|
+
return jspb.Message.setProto3IntField(this, 7, value);
|
|
87617
|
+
};
|
|
87618
|
+
/**
|
|
87619
|
+
* List of repeated fields within this message type.
|
|
87620
|
+
* @private {!Array<number>}
|
|
87621
|
+
* @const
|
|
87622
|
+
*/
|
|
87623
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.repeatedFields_ = [2];
|
|
87624
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
87625
|
+
/**
|
|
87626
|
+
* Creates an object representation of this proto.
|
|
87627
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
87628
|
+
* Optional fields that are not set will be set to undefined.
|
|
87629
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
87630
|
+
* For the list of reserved names please see:
|
|
87631
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
87632
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
87633
|
+
* JSPB instance for transitional soy proto support:
|
|
87634
|
+
* http://goto/soy-param-migration
|
|
87635
|
+
* @return {!Object}
|
|
87636
|
+
*/
|
|
87637
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.toObject = function (opt_includeInstance) {
|
|
87638
|
+
return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject(opt_includeInstance, this);
|
|
87639
|
+
};
|
|
87640
|
+
/**
|
|
87641
|
+
* Static version of the {@see toObject} method.
|
|
87642
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
87643
|
+
* the JSPB instance for transitional soy proto support:
|
|
87644
|
+
* http://goto/soy-param-migration
|
|
87645
|
+
* @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The msg instance to transform.
|
|
87646
|
+
* @return {!Object}
|
|
87647
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87648
|
+
*/
|
|
87649
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.toObject = function (includeInstance, msg) {
|
|
87650
|
+
var f, obj = {
|
|
87651
|
+
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
87652
|
+
pipelineVersionRunStatusLogsList: jspb.Message.toObjectList(msg.getPipelineVersionRunStatusLogsList(), proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.toObject, includeInstance)
|
|
87653
|
+
};
|
|
87654
|
+
if (includeInstance) {
|
|
87655
|
+
obj.$jspbMessageInstance = msg;
|
|
87656
|
+
}
|
|
87657
|
+
return obj;
|
|
87658
|
+
};
|
|
87659
|
+
}
|
|
87660
|
+
/**
|
|
87661
|
+
* Deserializes binary data (in protobuf wire format).
|
|
87662
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
87663
|
+
* @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
|
|
87664
|
+
*/
|
|
87665
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinary = function (bytes) {
|
|
87666
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
87667
|
+
var msg = new proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse;
|
|
87668
|
+
return proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader(msg, reader);
|
|
87669
|
+
};
|
|
87670
|
+
/**
|
|
87671
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
87672
|
+
* given reader into the given message object.
|
|
87673
|
+
* @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} msg The message object to deserialize into.
|
|
87674
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
87675
|
+
* @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse}
|
|
87676
|
+
*/
|
|
87677
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.deserializeBinaryFromReader = function (msg, reader) {
|
|
87678
|
+
while (reader.nextField()) {
|
|
87679
|
+
if (reader.isEndGroup()) {
|
|
87680
|
+
break;
|
|
87681
|
+
}
|
|
87682
|
+
var field = reader.getFieldNumber();
|
|
87683
|
+
switch (field) {
|
|
87684
|
+
case 1:
|
|
87685
|
+
var value = new proto_clarifai_api_status_status_pb.Status;
|
|
87686
|
+
reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
|
|
87687
|
+
msg.setStatus(value);
|
|
87688
|
+
break;
|
|
87689
|
+
case 2:
|
|
87690
|
+
var value = new proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog;
|
|
87691
|
+
reader.readMessage(value, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.deserializeBinaryFromReader);
|
|
87692
|
+
msg.addPipelineVersionRunStatusLogs(value);
|
|
87693
|
+
break;
|
|
87694
|
+
default:
|
|
87695
|
+
reader.skipField();
|
|
87696
|
+
break;
|
|
87697
|
+
}
|
|
87698
|
+
}
|
|
87699
|
+
return msg;
|
|
87700
|
+
};
|
|
87701
|
+
/**
|
|
87702
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
87703
|
+
* @return {!Uint8Array}
|
|
87704
|
+
*/
|
|
87705
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.serializeBinary = function () {
|
|
87706
|
+
var writer = new jspb.BinaryWriter();
|
|
87707
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter(this, writer);
|
|
87708
|
+
return writer.getResultBuffer();
|
|
87709
|
+
};
|
|
87710
|
+
/**
|
|
87711
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
87712
|
+
* format), writing to the given BinaryWriter.
|
|
87713
|
+
* @param {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} message
|
|
87714
|
+
* @param {!jspb.BinaryWriter} writer
|
|
87715
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
87716
|
+
*/
|
|
87717
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.serializeBinaryToWriter = function (message, writer) {
|
|
87718
|
+
var f = undefined;
|
|
87719
|
+
f = message.getStatus();
|
|
87720
|
+
if (f != null) {
|
|
87721
|
+
writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
|
|
87722
|
+
}
|
|
87723
|
+
f = message.getPipelineVersionRunStatusLogsList();
|
|
87724
|
+
if (f.length > 0) {
|
|
87725
|
+
writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog.serializeBinaryToWriter);
|
|
87726
|
+
}
|
|
87727
|
+
};
|
|
87728
|
+
/**
|
|
87729
|
+
* optional status.Status status = 1;
|
|
87730
|
+
* @return {?proto.clarifai.api.status.Status}
|
|
87731
|
+
*/
|
|
87732
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getStatus = function () {
|
|
87733
|
+
return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
|
|
87734
|
+
};
|
|
87735
|
+
/**
|
|
87736
|
+
* @param {?proto.clarifai.api.status.Status|undefined} value
|
|
87737
|
+
* @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
|
|
87738
|
+
*/
|
|
87739
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setStatus = function (value) {
|
|
87740
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
87741
|
+
};
|
|
87742
|
+
/**
|
|
87743
|
+
* Clears the message field making it undefined.
|
|
87744
|
+
* @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
|
|
87745
|
+
*/
|
|
87746
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearStatus = function () {
|
|
87747
|
+
return this.setStatus(undefined);
|
|
87748
|
+
};
|
|
87749
|
+
/**
|
|
87750
|
+
* Returns whether this field is set.
|
|
87751
|
+
* @return {boolean}
|
|
87752
|
+
*/
|
|
87753
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.hasStatus = function () {
|
|
87754
|
+
return jspb.Message.getField(this, 1) != null;
|
|
87755
|
+
};
|
|
87756
|
+
/**
|
|
87757
|
+
* repeated PipelineVersionRunStatusLog pipeline_version_run_status_logs = 2;
|
|
87758
|
+
* @return {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>}
|
|
87759
|
+
*/
|
|
87760
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.getPipelineVersionRunStatusLogsList = function () {
|
|
87761
|
+
return /** @type{!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.PipelineVersionRunStatusLog, 2));
|
|
87762
|
+
};
|
|
87763
|
+
/**
|
|
87764
|
+
* @param {!Array<!proto.clarifai.api.PipelineVersionRunStatusLog>} value
|
|
87765
|
+
* @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
|
|
87766
|
+
*/
|
|
87767
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.setPipelineVersionRunStatusLogsList = function (value) {
|
|
87768
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
87769
|
+
};
|
|
87770
|
+
/**
|
|
87771
|
+
* @param {!proto.clarifai.api.PipelineVersionRunStatusLog=} opt_value
|
|
87772
|
+
* @param {number=} opt_index
|
|
87773
|
+
* @return {!proto.clarifai.api.PipelineVersionRunStatusLog}
|
|
87774
|
+
*/
|
|
87775
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.addPipelineVersionRunStatusLogs = function (opt_value, opt_index) {
|
|
87776
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.PipelineVersionRunStatusLog, opt_index);
|
|
87777
|
+
};
|
|
87778
|
+
/**
|
|
87779
|
+
* Clears the list making it empty but non-null.
|
|
87780
|
+
* @return {!proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse} returns this
|
|
87781
|
+
*/
|
|
87782
|
+
proto.clarifai.api.MultiPipelineVersionRunStatusLogResponse.prototype.clearPipelineVersionRunStatusLogsList = function () {
|
|
87783
|
+
return this.setPipelineVersionRunStatusLogsList([]);
|
|
87784
|
+
};
|
|
86502
87785
|
/**
|
|
86503
87786
|
* List of repeated fields within this message type.
|
|
86504
87787
|
* @private {!Array<number>}
|