clarifai-web-grpc 11.9.9 → 11.9.11

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.
@@ -261,6 +261,7 @@ goog.exportSymbol('proto.clarifai.api.PipelineStep', null, global);
261
261
  goog.exportSymbol('proto.clarifai.api.PipelineStepInputParam', null, global);
262
262
  goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
263
263
  goog.exportSymbol('proto.clarifai.api.PipelineVersion', null, global);
264
+ goog.exportSymbol('proto.clarifai.api.PipelineVersionConfig', null, global);
264
265
  goog.exportSymbol('proto.clarifai.api.PipelineVersionRun', null, global);
265
266
  goog.exportSymbol('proto.clarifai.api.Point', null, global);
266
267
  goog.exportSymbol('proto.clarifai.api.Point.Visibility', null, global);
@@ -295,6 +296,7 @@ goog.exportSymbol('proto.clarifai.api.StatValueAggType', null, global);
295
296
  goog.exportSymbol('proto.clarifai.api.StatValueAggregate', null, global);
296
297
  goog.exportSymbol('proto.clarifai.api.StatValueAggregateQuery', null, global);
297
298
  goog.exportSymbol('proto.clarifai.api.StatValueAggregateResult', null, global);
299
+ goog.exportSymbol('proto.clarifai.api.StepSecretConfig', null, global);
298
300
  goog.exportSymbol('proto.clarifai.api.Task', null, global);
299
301
  goog.exportSymbol('proto.clarifai.api.Task.TaskPriority', null, global);
300
302
  goog.exportSymbol('proto.clarifai.api.Task.TaskType', null, global);
@@ -5551,6 +5553,48 @@ if (goog.DEBUG && !COMPILED) {
5551
5553
  */
5552
5554
  proto.clarifai.api.Pipeline.displayName = 'proto.clarifai.api.Pipeline';
5553
5555
  }
5556
+ /**
5557
+ * Generated by JsPbCodeGenerator.
5558
+ * @param {Array=} opt_data Optional initial data array, typically from a
5559
+ * server response, or constructed directly in Javascript. The array is used
5560
+ * in place and becomes part of the constructed object. It is not cloned.
5561
+ * If no data is provided, the constructed object will be empty, but still
5562
+ * valid.
5563
+ * @extends {jspb.Message}
5564
+ * @constructor
5565
+ */
5566
+ proto.clarifai.api.PipelineVersionConfig = function (opt_data) {
5567
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5568
+ };
5569
+ goog.inherits(proto.clarifai.api.PipelineVersionConfig, jspb.Message);
5570
+ if (goog.DEBUG && !COMPILED) {
5571
+ /**
5572
+ * @public
5573
+ * @override
5574
+ */
5575
+ proto.clarifai.api.PipelineVersionConfig.displayName = 'proto.clarifai.api.PipelineVersionConfig';
5576
+ }
5577
+ /**
5578
+ * Generated by JsPbCodeGenerator.
5579
+ * @param {Array=} opt_data Optional initial data array, typically from a
5580
+ * server response, or constructed directly in Javascript. The array is used
5581
+ * in place and becomes part of the constructed object. It is not cloned.
5582
+ * If no data is provided, the constructed object will be empty, but still
5583
+ * valid.
5584
+ * @extends {jspb.Message}
5585
+ * @constructor
5586
+ */
5587
+ proto.clarifai.api.StepSecretConfig = function (opt_data) {
5588
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
5589
+ };
5590
+ goog.inherits(proto.clarifai.api.StepSecretConfig, jspb.Message);
5591
+ if (goog.DEBUG && !COMPILED) {
5592
+ /**
5593
+ * @public
5594
+ * @override
5595
+ */
5596
+ proto.clarifai.api.StepSecretConfig.displayName = 'proto.clarifai.api.StepSecretConfig';
5597
+ }
5554
5598
  /**
5555
5599
  * Generated by JsPbCodeGenerator.
5556
5600
  * @param {Array=} opt_data Optional initial data array, typically from a
@@ -17654,7 +17698,7 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
17654
17698
  worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
17655
17699
  sampleRateMs: jspb.Message.getFieldWithDefault(msg, 2, 0),
17656
17700
  sampleRateFrame: jspb.Message.getFieldWithDefault(msg, 3, 0),
17657
- pinnedConceptIdsList: (f = jspb.Message.getRepeatedField(msg, 4)) == null ? undefined : f
17701
+ pinnedConceptsList: jspb.Message.toObjectList(msg.getPinnedConceptsList(), proto.clarifai.api.Concept.toObject, includeInstance)
17658
17702
  };
17659
17703
  if (includeInstance) {
17660
17704
  obj.$jspbMessageInstance = msg;
@@ -17700,8 +17744,9 @@ proto.clarifai.api.InputSettings.deserializeBinaryFromReader = function (msg, re
17700
17744
  msg.setSampleRateFrame(value);
17701
17745
  break;
17702
17746
  case 4:
17703
- var value = /** @type {string} */ (reader.readString());
17704
- msg.addPinnedConceptIds(value);
17747
+ var value = new proto.clarifai.api.Concept;
17748
+ reader.readMessage(value, proto.clarifai.api.Concept.deserializeBinaryFromReader);
17749
+ msg.addPinnedConcepts(value);
17705
17750
  break;
17706
17751
  default:
17707
17752
  reader.skipField();
@@ -17740,9 +17785,9 @@ proto.clarifai.api.InputSettings.serializeBinaryToWriter = function (message, wr
17740
17785
  if (f !== 0) {
17741
17786
  writer.writeUint32(3, f);
17742
17787
  }
17743
- f = message.getPinnedConceptIdsList();
17788
+ f = message.getPinnedConceptsList();
17744
17789
  if (f.length > 0) {
17745
- writer.writeRepeatedString(4, f);
17790
+ writer.writeRepeatedMessage(4, f, proto.clarifai.api.Concept.serializeBinaryToWriter);
17746
17791
  }
17747
17792
  };
17748
17793
  /**
@@ -17802,33 +17847,33 @@ proto.clarifai.api.InputSettings.prototype.setSampleRateFrame = function (value)
17802
17847
  return jspb.Message.setProto3IntField(this, 3, value);
17803
17848
  };
17804
17849
  /**
17805
- * repeated string pinned_concept_ids = 4;
17806
- * @return {!Array<string>}
17850
+ * repeated Concept pinned_concepts = 4;
17851
+ * @return {!Array<!proto.clarifai.api.Concept>}
17807
17852
  */
17808
- proto.clarifai.api.InputSettings.prototype.getPinnedConceptIdsList = function () {
17809
- return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 4));
17853
+ proto.clarifai.api.InputSettings.prototype.getPinnedConceptsList = function () {
17854
+ return /** @type{!Array<!proto.clarifai.api.Concept>} */ (jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Concept, 4));
17810
17855
  };
17811
17856
  /**
17812
- * @param {!Array<string>} value
17857
+ * @param {!Array<!proto.clarifai.api.Concept>} value
17813
17858
  * @return {!proto.clarifai.api.InputSettings} returns this
17814
- */
17815
- proto.clarifai.api.InputSettings.prototype.setPinnedConceptIdsList = function (value) {
17816
- return jspb.Message.setField(this, 4, value || []);
17859
+ */
17860
+ proto.clarifai.api.InputSettings.prototype.setPinnedConceptsList = function (value) {
17861
+ return jspb.Message.setRepeatedWrapperField(this, 4, value);
17817
17862
  };
17818
17863
  /**
17819
- * @param {string} value
17864
+ * @param {!proto.clarifai.api.Concept=} opt_value
17820
17865
  * @param {number=} opt_index
17821
- * @return {!proto.clarifai.api.InputSettings} returns this
17866
+ * @return {!proto.clarifai.api.Concept}
17822
17867
  */
17823
- proto.clarifai.api.InputSettings.prototype.addPinnedConceptIds = function (value, opt_index) {
17824
- return jspb.Message.addToRepeatedField(this, 4, value, opt_index);
17868
+ proto.clarifai.api.InputSettings.prototype.addPinnedConcepts = function (opt_value, opt_index) {
17869
+ return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Concept, opt_index);
17825
17870
  };
17826
17871
  /**
17827
17872
  * Clears the list making it empty but non-null.
17828
17873
  * @return {!proto.clarifai.api.InputSettings} returns this
17829
17874
  */
17830
- proto.clarifai.api.InputSettings.prototype.clearPinnedConceptIdsList = function () {
17831
- return this.setPinnedConceptIdsList([]);
17875
+ proto.clarifai.api.InputSettings.prototype.clearPinnedConceptsList = function () {
17876
+ return this.setPinnedConceptsList([]);
17832
17877
  };
17833
17878
  /**
17834
17879
  * List of repeated fields within this message type.
@@ -67710,6 +67755,230 @@ proto.clarifai.api.Pipeline.prototype.clearModifiedAt = function () {
67710
67755
  proto.clarifai.api.Pipeline.prototype.hasModifiedAt = function () {
67711
67756
  return jspb.Message.getField(this, 11) != null;
67712
67757
  };
67758
+ if (jspb.Message.GENERATE_TO_OBJECT) {
67759
+ /**
67760
+ * Creates an object representation of this proto.
67761
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
67762
+ * Optional fields that are not set will be set to undefined.
67763
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
67764
+ * For the list of reserved names please see:
67765
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
67766
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
67767
+ * JSPB instance for transitional soy proto support:
67768
+ * http://goto/soy-param-migration
67769
+ * @return {!Object}
67770
+ */
67771
+ proto.clarifai.api.PipelineVersionConfig.prototype.toObject = function (opt_includeInstance) {
67772
+ return proto.clarifai.api.PipelineVersionConfig.toObject(opt_includeInstance, this);
67773
+ };
67774
+ /**
67775
+ * Static version of the {@see toObject} method.
67776
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
67777
+ * the JSPB instance for transitional soy proto support:
67778
+ * http://goto/soy-param-migration
67779
+ * @param {!proto.clarifai.api.PipelineVersionConfig} msg The msg instance to transform.
67780
+ * @return {!Object}
67781
+ * @suppress {unusedLocalVariables} f is only used for nested messages
67782
+ */
67783
+ proto.clarifai.api.PipelineVersionConfig.toObject = function (includeInstance, msg) {
67784
+ var f, obj = {
67785
+ stepVersionSecretsMap: (f = msg.getStepVersionSecretsMap()) ? f.toObject(includeInstance, proto.clarifai.api.StepSecretConfig.toObject) : []
67786
+ };
67787
+ if (includeInstance) {
67788
+ obj.$jspbMessageInstance = msg;
67789
+ }
67790
+ return obj;
67791
+ };
67792
+ }
67793
+ /**
67794
+ * Deserializes binary data (in protobuf wire format).
67795
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
67796
+ * @return {!proto.clarifai.api.PipelineVersionConfig}
67797
+ */
67798
+ proto.clarifai.api.PipelineVersionConfig.deserializeBinary = function (bytes) {
67799
+ var reader = new jspb.BinaryReader(bytes);
67800
+ var msg = new proto.clarifai.api.PipelineVersionConfig;
67801
+ return proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader(msg, reader);
67802
+ };
67803
+ /**
67804
+ * Deserializes binary data (in protobuf wire format) from the
67805
+ * given reader into the given message object.
67806
+ * @param {!proto.clarifai.api.PipelineVersionConfig} msg The message object to deserialize into.
67807
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
67808
+ * @return {!proto.clarifai.api.PipelineVersionConfig}
67809
+ */
67810
+ proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader = function (msg, reader) {
67811
+ while (reader.nextField()) {
67812
+ if (reader.isEndGroup()) {
67813
+ break;
67814
+ }
67815
+ var field = reader.getFieldNumber();
67816
+ switch (field) {
67817
+ case 1:
67818
+ var value = msg.getStepVersionSecretsMap();
67819
+ reader.readMessage(value, function (message, reader) {
67820
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader, "", new proto.clarifai.api.StepSecretConfig());
67821
+ });
67822
+ break;
67823
+ default:
67824
+ reader.skipField();
67825
+ break;
67826
+ }
67827
+ }
67828
+ return msg;
67829
+ };
67830
+ /**
67831
+ * Serializes the message to binary data (in protobuf wire format).
67832
+ * @return {!Uint8Array}
67833
+ */
67834
+ proto.clarifai.api.PipelineVersionConfig.prototype.serializeBinary = function () {
67835
+ var writer = new jspb.BinaryWriter();
67836
+ proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter(this, writer);
67837
+ return writer.getResultBuffer();
67838
+ };
67839
+ /**
67840
+ * Serializes the given message to binary data (in protobuf wire
67841
+ * format), writing to the given BinaryWriter.
67842
+ * @param {!proto.clarifai.api.PipelineVersionConfig} message
67843
+ * @param {!jspb.BinaryWriter} writer
67844
+ * @suppress {unusedLocalVariables} f is only used for nested messages
67845
+ */
67846
+ proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter = function (message, writer) {
67847
+ var f = undefined;
67848
+ f = message.getStepVersionSecretsMap(true);
67849
+ if (f && f.getLength() > 0) {
67850
+ f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter);
67851
+ }
67852
+ };
67853
+ /**
67854
+ * map<string, StepSecretConfig> step_version_secrets = 1;
67855
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
67856
+ * empty, instead returning `undefined`
67857
+ * @return {!jspb.Map<string,!proto.clarifai.api.StepSecretConfig>}
67858
+ */
67859
+ proto.clarifai.api.PipelineVersionConfig.prototype.getStepVersionSecretsMap = function (opt_noLazyCreate) {
67860
+ return /** @type {!jspb.Map<string,!proto.clarifai.api.StepSecretConfig>} */ (jspb.Message.getMapField(this, 1, opt_noLazyCreate, proto.clarifai.api.StepSecretConfig));
67861
+ };
67862
+ /**
67863
+ * Clears values from the map. The map will be non-null.
67864
+ * @return {!proto.clarifai.api.PipelineVersionConfig} returns this
67865
+ */
67866
+ proto.clarifai.api.PipelineVersionConfig.prototype.clearStepVersionSecretsMap = function () {
67867
+ this.getStepVersionSecretsMap().clear();
67868
+ return this;
67869
+ };
67870
+ if (jspb.Message.GENERATE_TO_OBJECT) {
67871
+ /**
67872
+ * Creates an object representation of this proto.
67873
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
67874
+ * Optional fields that are not set will be set to undefined.
67875
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
67876
+ * For the list of reserved names please see:
67877
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
67878
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
67879
+ * JSPB instance for transitional soy proto support:
67880
+ * http://goto/soy-param-migration
67881
+ * @return {!Object}
67882
+ */
67883
+ proto.clarifai.api.StepSecretConfig.prototype.toObject = function (opt_includeInstance) {
67884
+ return proto.clarifai.api.StepSecretConfig.toObject(opt_includeInstance, this);
67885
+ };
67886
+ /**
67887
+ * Static version of the {@see toObject} method.
67888
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
67889
+ * the JSPB instance for transitional soy proto support:
67890
+ * http://goto/soy-param-migration
67891
+ * @param {!proto.clarifai.api.StepSecretConfig} msg The msg instance to transform.
67892
+ * @return {!Object}
67893
+ * @suppress {unusedLocalVariables} f is only used for nested messages
67894
+ */
67895
+ proto.clarifai.api.StepSecretConfig.toObject = function (includeInstance, msg) {
67896
+ var f, obj = {
67897
+ secretsMap: (f = msg.getSecretsMap()) ? f.toObject(includeInstance, undefined) : []
67898
+ };
67899
+ if (includeInstance) {
67900
+ obj.$jspbMessageInstance = msg;
67901
+ }
67902
+ return obj;
67903
+ };
67904
+ }
67905
+ /**
67906
+ * Deserializes binary data (in protobuf wire format).
67907
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
67908
+ * @return {!proto.clarifai.api.StepSecretConfig}
67909
+ */
67910
+ proto.clarifai.api.StepSecretConfig.deserializeBinary = function (bytes) {
67911
+ var reader = new jspb.BinaryReader(bytes);
67912
+ var msg = new proto.clarifai.api.StepSecretConfig;
67913
+ return proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader(msg, reader);
67914
+ };
67915
+ /**
67916
+ * Deserializes binary data (in protobuf wire format) from the
67917
+ * given reader into the given message object.
67918
+ * @param {!proto.clarifai.api.StepSecretConfig} msg The message object to deserialize into.
67919
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
67920
+ * @return {!proto.clarifai.api.StepSecretConfig}
67921
+ */
67922
+ proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader = function (msg, reader) {
67923
+ while (reader.nextField()) {
67924
+ if (reader.isEndGroup()) {
67925
+ break;
67926
+ }
67927
+ var field = reader.getFieldNumber();
67928
+ switch (field) {
67929
+ case 1:
67930
+ var value = msg.getSecretsMap();
67931
+ reader.readMessage(value, function (message, reader) {
67932
+ jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
67933
+ });
67934
+ break;
67935
+ default:
67936
+ reader.skipField();
67937
+ break;
67938
+ }
67939
+ }
67940
+ return msg;
67941
+ };
67942
+ /**
67943
+ * Serializes the message to binary data (in protobuf wire format).
67944
+ * @return {!Uint8Array}
67945
+ */
67946
+ proto.clarifai.api.StepSecretConfig.prototype.serializeBinary = function () {
67947
+ var writer = new jspb.BinaryWriter();
67948
+ proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter(this, writer);
67949
+ return writer.getResultBuffer();
67950
+ };
67951
+ /**
67952
+ * Serializes the given message to binary data (in protobuf wire
67953
+ * format), writing to the given BinaryWriter.
67954
+ * @param {!proto.clarifai.api.StepSecretConfig} message
67955
+ * @param {!jspb.BinaryWriter} writer
67956
+ * @suppress {unusedLocalVariables} f is only used for nested messages
67957
+ */
67958
+ proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter = function (message, writer) {
67959
+ var f = undefined;
67960
+ f = message.getSecretsMap(true);
67961
+ if (f && f.getLength() > 0) {
67962
+ f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
67963
+ }
67964
+ };
67965
+ /**
67966
+ * map<string, string> secrets = 1;
67967
+ * @param {boolean=} opt_noLazyCreate Do not create the map if
67968
+ * empty, instead returning `undefined`
67969
+ * @return {!jspb.Map<string,string>}
67970
+ */
67971
+ proto.clarifai.api.StepSecretConfig.prototype.getSecretsMap = function (opt_noLazyCreate) {
67972
+ return /** @type {!jspb.Map<string,string>} */ (jspb.Message.getMapField(this, 1, opt_noLazyCreate, null));
67973
+ };
67974
+ /**
67975
+ * Clears values from the map. The map will be non-null.
67976
+ * @return {!proto.clarifai.api.StepSecretConfig} returns this
67977
+ */
67978
+ proto.clarifai.api.StepSecretConfig.prototype.clearSecretsMap = function () {
67979
+ this.getSecretsMap().clear();
67980
+ return this;
67981
+ };
67713
67982
  if (jspb.Message.GENERATE_TO_OBJECT) {
67714
67983
  /**
67715
67984
  * Creates an object representation of this proto.
@@ -67746,7 +68015,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
67746
68015
  visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
67747
68016
  metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
67748
68017
  createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
67749
- modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
68018
+ modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
68019
+ config: (f = msg.getConfig()) && proto.clarifai.api.PipelineVersionConfig.toObject(includeInstance, f)
67750
68020
  };
67751
68021
  if (includeInstance) {
67752
68022
  obj.$jspbMessageInstance = msg;
@@ -67823,6 +68093,11 @@ proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader = function (msg,
67823
68093
  reader.readMessage(value, google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
67824
68094
  msg.setModifiedAt(value);
67825
68095
  break;
68096
+ case 11:
68097
+ var value = new proto.clarifai.api.PipelineVersionConfig;
68098
+ reader.readMessage(value, proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader);
68099
+ msg.setConfig(value);
68100
+ break;
67826
68101
  default:
67827
68102
  reader.skipField();
67828
68103
  break;
@@ -67888,6 +68163,10 @@ proto.clarifai.api.PipelineVersion.serializeBinaryToWriter = function (message,
67888
68163
  if (f != null) {
67889
68164
  writer.writeMessage(10, f, google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter);
67890
68165
  }
68166
+ f = message.getConfig();
68167
+ if (f != null) {
68168
+ writer.writeMessage(11, f, proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter);
68169
+ }
67891
68170
  };
67892
68171
  /**
67893
68172
  * optional string id = 1;
@@ -68099,6 +68378,34 @@ proto.clarifai.api.PipelineVersion.prototype.clearModifiedAt = function () {
68099
68378
  proto.clarifai.api.PipelineVersion.prototype.hasModifiedAt = function () {
68100
68379
  return jspb.Message.getField(this, 10) != null;
68101
68380
  };
68381
+ /**
68382
+ * optional PipelineVersionConfig config = 11;
68383
+ * @return {?proto.clarifai.api.PipelineVersionConfig}
68384
+ */
68385
+ proto.clarifai.api.PipelineVersion.prototype.getConfig = function () {
68386
+ return /** @type{?proto.clarifai.api.PipelineVersionConfig} */ (jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersionConfig, 11));
68387
+ };
68388
+ /**
68389
+ * @param {?proto.clarifai.api.PipelineVersionConfig|undefined} value
68390
+ * @return {!proto.clarifai.api.PipelineVersion} returns this
68391
+ */
68392
+ proto.clarifai.api.PipelineVersion.prototype.setConfig = function (value) {
68393
+ return jspb.Message.setWrapperField(this, 11, value);
68394
+ };
68395
+ /**
68396
+ * Clears the message field making it undefined.
68397
+ * @return {!proto.clarifai.api.PipelineVersion} returns this
68398
+ */
68399
+ proto.clarifai.api.PipelineVersion.prototype.clearConfig = function () {
68400
+ return this.setConfig(undefined);
68401
+ };
68402
+ /**
68403
+ * Returns whether this field is set.
68404
+ * @return {boolean}
68405
+ */
68406
+ proto.clarifai.api.PipelineVersion.prototype.hasConfig = function () {
68407
+ return jspb.Message.getField(this, 11) != null;
68408
+ };
68102
68409
  /**
68103
68410
  * Oneof group definitions for this message. Each group defines the field
68104
68411
  * numbers belonging to that group. When of these fields' value is set, all
@@ -331,7 +331,10 @@ proto.clarifai.auth.scope.S = {
331
331
  SECRETS_GET: 160,
332
332
  SECRETS_ADD: 161,
333
333
  SECRETS_DELETE: 162,
334
- USERMETRICS_GET: 163
334
+ USERMETRICS_GET: 163,
335
+ ANNOTATIONTRACKS_GET: 166,
336
+ ANNOTATIONTRACKS_ADD: 167,
337
+ ANNOTATIONTRACKS_DELETE: 168
335
338
  };
336
339
  /**
337
340
  * A tuple of {field number, class constructor} for the extension
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "clarifai-web-grpc",
3
- "version": "11.9.9",
3
+ "version": "11.9.11",
4
4
  "description": "The official Clarifai gRPC-web client",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -1960,10 +1960,10 @@ export class InputSettings extends jspb.Message {
1960
1960
  getSampleRateFrame(): number;
1961
1961
  setSampleRateFrame(value: number): InputSettings;
1962
1962
 
1963
- getPinnedConceptIdsList(): Array<string>;
1964
- setPinnedConceptIdsList(value: Array<string>): InputSettings;
1965
- clearPinnedConceptIdsList(): InputSettings;
1966
- addPinnedConceptIds(value: string, index?: number): InputSettings;
1963
+ getPinnedConceptsList(): Array<Concept>;
1964
+ setPinnedConceptsList(value: Array<Concept>): InputSettings;
1965
+ clearPinnedConceptsList(): InputSettings;
1966
+ addPinnedConcepts(value?: Concept, index?: number): Concept;
1967
1967
 
1968
1968
  serializeBinary(): Uint8Array;
1969
1969
  toObject(includeInstance?: boolean): InputSettings.AsObject;
@@ -1978,7 +1978,7 @@ export namespace InputSettings {
1978
1978
  worker?: Worker.AsObject,
1979
1979
  sampleRateMs: number,
1980
1980
  sampleRateFrame: number,
1981
- pinnedConceptIdsList: Array<string>,
1981
+ pinnedConceptsList: Array<Concept.AsObject>,
1982
1982
  }
1983
1983
  }
1984
1984
 
@@ -10339,6 +10339,42 @@ export namespace Pipeline {
10339
10339
  }
10340
10340
  }
10341
10341
 
10342
+ export class PipelineVersionConfig extends jspb.Message {
10343
+ getStepVersionSecretsMap(): jspb.Map<string, StepSecretConfig>;
10344
+ clearStepVersionSecretsMap(): PipelineVersionConfig;
10345
+
10346
+ serializeBinary(): Uint8Array;
10347
+ toObject(includeInstance?: boolean): PipelineVersionConfig.AsObject;
10348
+ static toObject(includeInstance: boolean, msg: PipelineVersionConfig): PipelineVersionConfig.AsObject;
10349
+ static serializeBinaryToWriter(message: PipelineVersionConfig, writer: jspb.BinaryWriter): void;
10350
+ static deserializeBinary(bytes: Uint8Array): PipelineVersionConfig;
10351
+ static deserializeBinaryFromReader(message: PipelineVersionConfig, reader: jspb.BinaryReader): PipelineVersionConfig;
10352
+ }
10353
+
10354
+ export namespace PipelineVersionConfig {
10355
+ export type AsObject = {
10356
+ stepVersionSecretsMap: Array<[string, StepSecretConfig.AsObject]>,
10357
+ }
10358
+ }
10359
+
10360
+ export class StepSecretConfig extends jspb.Message {
10361
+ getSecretsMap(): jspb.Map<string, string>;
10362
+ clearSecretsMap(): StepSecretConfig;
10363
+
10364
+ serializeBinary(): Uint8Array;
10365
+ toObject(includeInstance?: boolean): StepSecretConfig.AsObject;
10366
+ static toObject(includeInstance: boolean, msg: StepSecretConfig): StepSecretConfig.AsObject;
10367
+ static serializeBinaryToWriter(message: StepSecretConfig, writer: jspb.BinaryWriter): void;
10368
+ static deserializeBinary(bytes: Uint8Array): StepSecretConfig;
10369
+ static deserializeBinaryFromReader(message: StepSecretConfig, reader: jspb.BinaryReader): StepSecretConfig;
10370
+ }
10371
+
10372
+ export namespace StepSecretConfig {
10373
+ export type AsObject = {
10374
+ secretsMap: Array<[string, string]>,
10375
+ }
10376
+ }
10377
+
10342
10378
  export class PipelineVersion extends jspb.Message {
10343
10379
  getId(): string;
10344
10380
  setId(value: string): PipelineVersion;
@@ -10380,6 +10416,11 @@ export class PipelineVersion extends jspb.Message {
10380
10416
  hasModifiedAt(): boolean;
10381
10417
  clearModifiedAt(): PipelineVersion;
10382
10418
 
10419
+ getConfig(): PipelineVersionConfig | undefined;
10420
+ setConfig(value?: PipelineVersionConfig): PipelineVersion;
10421
+ hasConfig(): boolean;
10422
+ clearConfig(): PipelineVersion;
10423
+
10383
10424
  serializeBinary(): Uint8Array;
10384
10425
  toObject(includeInstance?: boolean): PipelineVersion.AsObject;
10385
10426
  static toObject(includeInstance: boolean, msg: PipelineVersion): PipelineVersion.AsObject;
@@ -10400,6 +10441,7 @@ export namespace PipelineVersion {
10400
10441
  metadata?: google_protobuf_struct_pb.Struct.AsObject,
10401
10442
  createdAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10402
10443
  modifiedAt?: google_protobuf_timestamp_pb.Timestamp.AsObject,
10444
+ config?: PipelineVersionConfig.AsObject,
10403
10445
  }
10404
10446
  }
10405
10447