clarifai-web-grpc 11.9.10 → 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.
- package/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +327 -20
- package/dist/cjs/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/dist/esm/proto/clarifai/api/resources_pb.js +327 -20
- package/dist/esm/proto/clarifai/auth/scope/scope_pb.js +4 -1
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +47 -5
- package/proto/clarifai/api/resources_pb.js +388 -21
- package/proto/clarifai/auth/scope/scope_pb.d.ts +3 -0
- package/proto/clarifai/auth/scope/scope_pb.js +4 -1
|
@@ -263,6 +263,7 @@ goog.exportSymbol('proto.clarifai.api.PipelineStep', null, global);
|
|
|
263
263
|
goog.exportSymbol('proto.clarifai.api.PipelineStepInputParam', null, global);
|
|
264
264
|
goog.exportSymbol('proto.clarifai.api.PipelineStepVersion', null, global);
|
|
265
265
|
goog.exportSymbol('proto.clarifai.api.PipelineVersion', null, global);
|
|
266
|
+
goog.exportSymbol('proto.clarifai.api.PipelineVersionConfig', null, global);
|
|
266
267
|
goog.exportSymbol('proto.clarifai.api.PipelineVersionRun', null, global);
|
|
267
268
|
goog.exportSymbol('proto.clarifai.api.Point', null, global);
|
|
268
269
|
goog.exportSymbol('proto.clarifai.api.Point.Visibility', null, global);
|
|
@@ -297,6 +298,7 @@ goog.exportSymbol('proto.clarifai.api.StatValueAggType', null, global);
|
|
|
297
298
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregate', null, global);
|
|
298
299
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregateQuery', null, global);
|
|
299
300
|
goog.exportSymbol('proto.clarifai.api.StatValueAggregateResult', null, global);
|
|
301
|
+
goog.exportSymbol('proto.clarifai.api.StepSecretConfig', null, global);
|
|
300
302
|
goog.exportSymbol('proto.clarifai.api.Task', null, global);
|
|
301
303
|
goog.exportSymbol('proto.clarifai.api.Task.TaskPriority', null, global);
|
|
302
304
|
goog.exportSymbol('proto.clarifai.api.Task.TaskType', null, global);
|
|
@@ -5553,6 +5555,48 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
5553
5555
|
*/
|
|
5554
5556
|
proto.clarifai.api.Pipeline.displayName = 'proto.clarifai.api.Pipeline';
|
|
5555
5557
|
}
|
|
5558
|
+
/**
|
|
5559
|
+
* Generated by JsPbCodeGenerator.
|
|
5560
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5561
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5562
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5563
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5564
|
+
* valid.
|
|
5565
|
+
* @extends {jspb.Message}
|
|
5566
|
+
* @constructor
|
|
5567
|
+
*/
|
|
5568
|
+
proto.clarifai.api.PipelineVersionConfig = function(opt_data) {
|
|
5569
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5570
|
+
};
|
|
5571
|
+
goog.inherits(proto.clarifai.api.PipelineVersionConfig, jspb.Message);
|
|
5572
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5573
|
+
/**
|
|
5574
|
+
* @public
|
|
5575
|
+
* @override
|
|
5576
|
+
*/
|
|
5577
|
+
proto.clarifai.api.PipelineVersionConfig.displayName = 'proto.clarifai.api.PipelineVersionConfig';
|
|
5578
|
+
}
|
|
5579
|
+
/**
|
|
5580
|
+
* Generated by JsPbCodeGenerator.
|
|
5581
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
5582
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
5583
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
5584
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
5585
|
+
* valid.
|
|
5586
|
+
* @extends {jspb.Message}
|
|
5587
|
+
* @constructor
|
|
5588
|
+
*/
|
|
5589
|
+
proto.clarifai.api.StepSecretConfig = function(opt_data) {
|
|
5590
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
5591
|
+
};
|
|
5592
|
+
goog.inherits(proto.clarifai.api.StepSecretConfig, jspb.Message);
|
|
5593
|
+
if (goog.DEBUG && !COMPILED) {
|
|
5594
|
+
/**
|
|
5595
|
+
* @public
|
|
5596
|
+
* @override
|
|
5597
|
+
*/
|
|
5598
|
+
proto.clarifai.api.StepSecretConfig.displayName = 'proto.clarifai.api.StepSecretConfig';
|
|
5599
|
+
}
|
|
5556
5600
|
/**
|
|
5557
5601
|
* Generated by JsPbCodeGenerator.
|
|
5558
5602
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -20875,7 +20919,8 @@ proto.clarifai.api.InputSettings.toObject = function(includeInstance, msg) {
|
|
|
20875
20919
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
20876
20920
|
sampleRateMs: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
20877
20921
|
sampleRateFrame: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
20878
|
-
|
|
20922
|
+
pinnedConceptsList: jspb.Message.toObjectList(msg.getPinnedConceptsList(),
|
|
20923
|
+
proto.clarifai.api.Concept.toObject, includeInstance)
|
|
20879
20924
|
};
|
|
20880
20925
|
|
|
20881
20926
|
if (includeInstance) {
|
|
@@ -20926,8 +20971,9 @@ proto.clarifai.api.InputSettings.deserializeBinaryFromReader = function(msg, rea
|
|
|
20926
20971
|
msg.setSampleRateFrame(value);
|
|
20927
20972
|
break;
|
|
20928
20973
|
case 4:
|
|
20929
|
-
var value =
|
|
20930
|
-
|
|
20974
|
+
var value = new proto.clarifai.api.Concept;
|
|
20975
|
+
reader.readMessage(value,proto.clarifai.api.Concept.deserializeBinaryFromReader);
|
|
20976
|
+
msg.addPinnedConcepts(value);
|
|
20931
20977
|
break;
|
|
20932
20978
|
default:
|
|
20933
20979
|
reader.skipField();
|
|
@@ -20980,11 +21026,12 @@ proto.clarifai.api.InputSettings.serializeBinaryToWriter = function(message, wri
|
|
|
20980
21026
|
f
|
|
20981
21027
|
);
|
|
20982
21028
|
}
|
|
20983
|
-
f = message.
|
|
21029
|
+
f = message.getPinnedConceptsList();
|
|
20984
21030
|
if (f.length > 0) {
|
|
20985
|
-
writer.
|
|
21031
|
+
writer.writeRepeatedMessage(
|
|
20986
21032
|
4,
|
|
20987
|
-
f
|
|
21033
|
+
f,
|
|
21034
|
+
proto.clarifai.api.Concept.serializeBinaryToWriter
|
|
20988
21035
|
);
|
|
20989
21036
|
}
|
|
20990
21037
|
};
|
|
@@ -21064,30 +21111,31 @@ proto.clarifai.api.InputSettings.prototype.setSampleRateFrame = function(value)
|
|
|
21064
21111
|
|
|
21065
21112
|
|
|
21066
21113
|
/**
|
|
21067
|
-
* repeated
|
|
21068
|
-
* @return {!Array
|
|
21114
|
+
* repeated Concept pinned_concepts = 4;
|
|
21115
|
+
* @return {!Array<!proto.clarifai.api.Concept>}
|
|
21069
21116
|
*/
|
|
21070
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21071
|
-
return /** @type
|
|
21117
|
+
proto.clarifai.api.InputSettings.prototype.getPinnedConceptsList = function() {
|
|
21118
|
+
return /** @type{!Array<!proto.clarifai.api.Concept>} */ (
|
|
21119
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.Concept, 4));
|
|
21072
21120
|
};
|
|
21073
21121
|
|
|
21074
21122
|
|
|
21075
21123
|
/**
|
|
21076
|
-
* @param {!Array
|
|
21124
|
+
* @param {!Array<!proto.clarifai.api.Concept>} value
|
|
21077
21125
|
* @return {!proto.clarifai.api.InputSettings} returns this
|
|
21078
|
-
|
|
21079
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21080
|
-
return jspb.Message.
|
|
21126
|
+
*/
|
|
21127
|
+
proto.clarifai.api.InputSettings.prototype.setPinnedConceptsList = function(value) {
|
|
21128
|
+
return jspb.Message.setRepeatedWrapperField(this, 4, value);
|
|
21081
21129
|
};
|
|
21082
21130
|
|
|
21083
21131
|
|
|
21084
21132
|
/**
|
|
21085
|
-
* @param {
|
|
21133
|
+
* @param {!proto.clarifai.api.Concept=} opt_value
|
|
21086
21134
|
* @param {number=} opt_index
|
|
21087
|
-
* @return {!proto.clarifai.api.
|
|
21135
|
+
* @return {!proto.clarifai.api.Concept}
|
|
21088
21136
|
*/
|
|
21089
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21090
|
-
return jspb.Message.
|
|
21137
|
+
proto.clarifai.api.InputSettings.prototype.addPinnedConcepts = function(opt_value, opt_index) {
|
|
21138
|
+
return jspb.Message.addToRepeatedWrapperField(this, 4, opt_value, proto.clarifai.api.Concept, opt_index);
|
|
21091
21139
|
};
|
|
21092
21140
|
|
|
21093
21141
|
|
|
@@ -21095,8 +21143,8 @@ proto.clarifai.api.InputSettings.prototype.addPinnedConceptIds = function(value,
|
|
|
21095
21143
|
* Clears the list making it empty but non-null.
|
|
21096
21144
|
* @return {!proto.clarifai.api.InputSettings} returns this
|
|
21097
21145
|
*/
|
|
21098
|
-
proto.clarifai.api.InputSettings.prototype.
|
|
21099
|
-
return this.
|
|
21146
|
+
proto.clarifai.api.InputSettings.prototype.clearPinnedConceptsList = function() {
|
|
21147
|
+
return this.setPinnedConceptsList([]);
|
|
21100
21148
|
};
|
|
21101
21149
|
|
|
21102
21150
|
|
|
@@ -84788,6 +84836,274 @@ proto.clarifai.api.Pipeline.prototype.hasModifiedAt = function() {
|
|
|
84788
84836
|
|
|
84789
84837
|
|
|
84790
84838
|
|
|
84839
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84840
|
+
/**
|
|
84841
|
+
* Creates an object representation of this proto.
|
|
84842
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
84843
|
+
* Optional fields that are not set will be set to undefined.
|
|
84844
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
84845
|
+
* For the list of reserved names please see:
|
|
84846
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
84847
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
84848
|
+
* JSPB instance for transitional soy proto support:
|
|
84849
|
+
* http://goto/soy-param-migration
|
|
84850
|
+
* @return {!Object}
|
|
84851
|
+
*/
|
|
84852
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.toObject = function(opt_includeInstance) {
|
|
84853
|
+
return proto.clarifai.api.PipelineVersionConfig.toObject(opt_includeInstance, this);
|
|
84854
|
+
};
|
|
84855
|
+
|
|
84856
|
+
|
|
84857
|
+
/**
|
|
84858
|
+
* Static version of the {@see toObject} method.
|
|
84859
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
84860
|
+
* the JSPB instance for transitional soy proto support:
|
|
84861
|
+
* http://goto/soy-param-migration
|
|
84862
|
+
* @param {!proto.clarifai.api.PipelineVersionConfig} msg The msg instance to transform.
|
|
84863
|
+
* @return {!Object}
|
|
84864
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
84865
|
+
*/
|
|
84866
|
+
proto.clarifai.api.PipelineVersionConfig.toObject = function(includeInstance, msg) {
|
|
84867
|
+
var f, obj = {
|
|
84868
|
+
stepVersionSecretsMap: (f = msg.getStepVersionSecretsMap()) ? f.toObject(includeInstance, proto.clarifai.api.StepSecretConfig.toObject) : []
|
|
84869
|
+
};
|
|
84870
|
+
|
|
84871
|
+
if (includeInstance) {
|
|
84872
|
+
obj.$jspbMessageInstance = msg;
|
|
84873
|
+
}
|
|
84874
|
+
return obj;
|
|
84875
|
+
};
|
|
84876
|
+
}
|
|
84877
|
+
|
|
84878
|
+
|
|
84879
|
+
/**
|
|
84880
|
+
* Deserializes binary data (in protobuf wire format).
|
|
84881
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
84882
|
+
* @return {!proto.clarifai.api.PipelineVersionConfig}
|
|
84883
|
+
*/
|
|
84884
|
+
proto.clarifai.api.PipelineVersionConfig.deserializeBinary = function(bytes) {
|
|
84885
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
84886
|
+
var msg = new proto.clarifai.api.PipelineVersionConfig;
|
|
84887
|
+
return proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader(msg, reader);
|
|
84888
|
+
};
|
|
84889
|
+
|
|
84890
|
+
|
|
84891
|
+
/**
|
|
84892
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
84893
|
+
* given reader into the given message object.
|
|
84894
|
+
* @param {!proto.clarifai.api.PipelineVersionConfig} msg The message object to deserialize into.
|
|
84895
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
84896
|
+
* @return {!proto.clarifai.api.PipelineVersionConfig}
|
|
84897
|
+
*/
|
|
84898
|
+
proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
84899
|
+
while (reader.nextField()) {
|
|
84900
|
+
if (reader.isEndGroup()) {
|
|
84901
|
+
break;
|
|
84902
|
+
}
|
|
84903
|
+
var field = reader.getFieldNumber();
|
|
84904
|
+
switch (field) {
|
|
84905
|
+
case 1:
|
|
84906
|
+
var value = msg.getStepVersionSecretsMap();
|
|
84907
|
+
reader.readMessage(value, function(message, reader) {
|
|
84908
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readMessage, proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader, "", new proto.clarifai.api.StepSecretConfig());
|
|
84909
|
+
});
|
|
84910
|
+
break;
|
|
84911
|
+
default:
|
|
84912
|
+
reader.skipField();
|
|
84913
|
+
break;
|
|
84914
|
+
}
|
|
84915
|
+
}
|
|
84916
|
+
return msg;
|
|
84917
|
+
};
|
|
84918
|
+
|
|
84919
|
+
|
|
84920
|
+
/**
|
|
84921
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
84922
|
+
* @return {!Uint8Array}
|
|
84923
|
+
*/
|
|
84924
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.serializeBinary = function() {
|
|
84925
|
+
var writer = new jspb.BinaryWriter();
|
|
84926
|
+
proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter(this, writer);
|
|
84927
|
+
return writer.getResultBuffer();
|
|
84928
|
+
};
|
|
84929
|
+
|
|
84930
|
+
|
|
84931
|
+
/**
|
|
84932
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
84933
|
+
* format), writing to the given BinaryWriter.
|
|
84934
|
+
* @param {!proto.clarifai.api.PipelineVersionConfig} message
|
|
84935
|
+
* @param {!jspb.BinaryWriter} writer
|
|
84936
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
84937
|
+
*/
|
|
84938
|
+
proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter = function(message, writer) {
|
|
84939
|
+
var f = undefined;
|
|
84940
|
+
f = message.getStepVersionSecretsMap(true);
|
|
84941
|
+
if (f && f.getLength() > 0) {
|
|
84942
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeMessage, proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter);
|
|
84943
|
+
}
|
|
84944
|
+
};
|
|
84945
|
+
|
|
84946
|
+
|
|
84947
|
+
/**
|
|
84948
|
+
* map<string, StepSecretConfig> step_version_secrets = 1;
|
|
84949
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
84950
|
+
* empty, instead returning `undefined`
|
|
84951
|
+
* @return {!jspb.Map<string,!proto.clarifai.api.StepSecretConfig>}
|
|
84952
|
+
*/
|
|
84953
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.getStepVersionSecretsMap = function(opt_noLazyCreate) {
|
|
84954
|
+
return /** @type {!jspb.Map<string,!proto.clarifai.api.StepSecretConfig>} */ (
|
|
84955
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
84956
|
+
proto.clarifai.api.StepSecretConfig));
|
|
84957
|
+
};
|
|
84958
|
+
|
|
84959
|
+
|
|
84960
|
+
/**
|
|
84961
|
+
* Clears values from the map. The map will be non-null.
|
|
84962
|
+
* @return {!proto.clarifai.api.PipelineVersionConfig} returns this
|
|
84963
|
+
*/
|
|
84964
|
+
proto.clarifai.api.PipelineVersionConfig.prototype.clearStepVersionSecretsMap = function() {
|
|
84965
|
+
this.getStepVersionSecretsMap().clear();
|
|
84966
|
+
return this;
|
|
84967
|
+
};
|
|
84968
|
+
|
|
84969
|
+
|
|
84970
|
+
|
|
84971
|
+
|
|
84972
|
+
|
|
84973
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84974
|
+
/**
|
|
84975
|
+
* Creates an object representation of this proto.
|
|
84976
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
84977
|
+
* Optional fields that are not set will be set to undefined.
|
|
84978
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
84979
|
+
* For the list of reserved names please see:
|
|
84980
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
84981
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
84982
|
+
* JSPB instance for transitional soy proto support:
|
|
84983
|
+
* http://goto/soy-param-migration
|
|
84984
|
+
* @return {!Object}
|
|
84985
|
+
*/
|
|
84986
|
+
proto.clarifai.api.StepSecretConfig.prototype.toObject = function(opt_includeInstance) {
|
|
84987
|
+
return proto.clarifai.api.StepSecretConfig.toObject(opt_includeInstance, this);
|
|
84988
|
+
};
|
|
84989
|
+
|
|
84990
|
+
|
|
84991
|
+
/**
|
|
84992
|
+
* Static version of the {@see toObject} method.
|
|
84993
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
84994
|
+
* the JSPB instance for transitional soy proto support:
|
|
84995
|
+
* http://goto/soy-param-migration
|
|
84996
|
+
* @param {!proto.clarifai.api.StepSecretConfig} msg The msg instance to transform.
|
|
84997
|
+
* @return {!Object}
|
|
84998
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
84999
|
+
*/
|
|
85000
|
+
proto.clarifai.api.StepSecretConfig.toObject = function(includeInstance, msg) {
|
|
85001
|
+
var f, obj = {
|
|
85002
|
+
secretsMap: (f = msg.getSecretsMap()) ? f.toObject(includeInstance, undefined) : []
|
|
85003
|
+
};
|
|
85004
|
+
|
|
85005
|
+
if (includeInstance) {
|
|
85006
|
+
obj.$jspbMessageInstance = msg;
|
|
85007
|
+
}
|
|
85008
|
+
return obj;
|
|
85009
|
+
};
|
|
85010
|
+
}
|
|
85011
|
+
|
|
85012
|
+
|
|
85013
|
+
/**
|
|
85014
|
+
* Deserializes binary data (in protobuf wire format).
|
|
85015
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
85016
|
+
* @return {!proto.clarifai.api.StepSecretConfig}
|
|
85017
|
+
*/
|
|
85018
|
+
proto.clarifai.api.StepSecretConfig.deserializeBinary = function(bytes) {
|
|
85019
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
85020
|
+
var msg = new proto.clarifai.api.StepSecretConfig;
|
|
85021
|
+
return proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader(msg, reader);
|
|
85022
|
+
};
|
|
85023
|
+
|
|
85024
|
+
|
|
85025
|
+
/**
|
|
85026
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
85027
|
+
* given reader into the given message object.
|
|
85028
|
+
* @param {!proto.clarifai.api.StepSecretConfig} msg The message object to deserialize into.
|
|
85029
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
85030
|
+
* @return {!proto.clarifai.api.StepSecretConfig}
|
|
85031
|
+
*/
|
|
85032
|
+
proto.clarifai.api.StepSecretConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
85033
|
+
while (reader.nextField()) {
|
|
85034
|
+
if (reader.isEndGroup()) {
|
|
85035
|
+
break;
|
|
85036
|
+
}
|
|
85037
|
+
var field = reader.getFieldNumber();
|
|
85038
|
+
switch (field) {
|
|
85039
|
+
case 1:
|
|
85040
|
+
var value = msg.getSecretsMap();
|
|
85041
|
+
reader.readMessage(value, function(message, reader) {
|
|
85042
|
+
jspb.Map.deserializeBinary(message, reader, jspb.BinaryReader.prototype.readString, jspb.BinaryReader.prototype.readString, null, "", "");
|
|
85043
|
+
});
|
|
85044
|
+
break;
|
|
85045
|
+
default:
|
|
85046
|
+
reader.skipField();
|
|
85047
|
+
break;
|
|
85048
|
+
}
|
|
85049
|
+
}
|
|
85050
|
+
return msg;
|
|
85051
|
+
};
|
|
85052
|
+
|
|
85053
|
+
|
|
85054
|
+
/**
|
|
85055
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
85056
|
+
* @return {!Uint8Array}
|
|
85057
|
+
*/
|
|
85058
|
+
proto.clarifai.api.StepSecretConfig.prototype.serializeBinary = function() {
|
|
85059
|
+
var writer = new jspb.BinaryWriter();
|
|
85060
|
+
proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter(this, writer);
|
|
85061
|
+
return writer.getResultBuffer();
|
|
85062
|
+
};
|
|
85063
|
+
|
|
85064
|
+
|
|
85065
|
+
/**
|
|
85066
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
85067
|
+
* format), writing to the given BinaryWriter.
|
|
85068
|
+
* @param {!proto.clarifai.api.StepSecretConfig} message
|
|
85069
|
+
* @param {!jspb.BinaryWriter} writer
|
|
85070
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
85071
|
+
*/
|
|
85072
|
+
proto.clarifai.api.StepSecretConfig.serializeBinaryToWriter = function(message, writer) {
|
|
85073
|
+
var f = undefined;
|
|
85074
|
+
f = message.getSecretsMap(true);
|
|
85075
|
+
if (f && f.getLength() > 0) {
|
|
85076
|
+
f.serializeBinary(1, writer, jspb.BinaryWriter.prototype.writeString, jspb.BinaryWriter.prototype.writeString);
|
|
85077
|
+
}
|
|
85078
|
+
};
|
|
85079
|
+
|
|
85080
|
+
|
|
85081
|
+
/**
|
|
85082
|
+
* map<string, string> secrets = 1;
|
|
85083
|
+
* @param {boolean=} opt_noLazyCreate Do not create the map if
|
|
85084
|
+
* empty, instead returning `undefined`
|
|
85085
|
+
* @return {!jspb.Map<string,string>}
|
|
85086
|
+
*/
|
|
85087
|
+
proto.clarifai.api.StepSecretConfig.prototype.getSecretsMap = function(opt_noLazyCreate) {
|
|
85088
|
+
return /** @type {!jspb.Map<string,string>} */ (
|
|
85089
|
+
jspb.Message.getMapField(this, 1, opt_noLazyCreate,
|
|
85090
|
+
null));
|
|
85091
|
+
};
|
|
85092
|
+
|
|
85093
|
+
|
|
85094
|
+
/**
|
|
85095
|
+
* Clears values from the map. The map will be non-null.
|
|
85096
|
+
* @return {!proto.clarifai.api.StepSecretConfig} returns this
|
|
85097
|
+
*/
|
|
85098
|
+
proto.clarifai.api.StepSecretConfig.prototype.clearSecretsMap = function() {
|
|
85099
|
+
this.getSecretsMap().clear();
|
|
85100
|
+
return this;
|
|
85101
|
+
};
|
|
85102
|
+
|
|
85103
|
+
|
|
85104
|
+
|
|
85105
|
+
|
|
85106
|
+
|
|
84791
85107
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
84792
85108
|
/**
|
|
84793
85109
|
* Creates an object representation of this proto.
|
|
@@ -84826,7 +85142,8 @@ proto.clarifai.api.PipelineVersion.toObject = function(includeInstance, msg) {
|
|
|
84826
85142
|
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
84827
85143
|
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
84828
85144
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
84829
|
-
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f)
|
|
85145
|
+
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
85146
|
+
config: (f = msg.getConfig()) && proto.clarifai.api.PipelineVersionConfig.toObject(includeInstance, f)
|
|
84830
85147
|
};
|
|
84831
85148
|
|
|
84832
85149
|
if (includeInstance) {
|
|
@@ -84908,6 +85225,11 @@ proto.clarifai.api.PipelineVersion.deserializeBinaryFromReader = function(msg, r
|
|
|
84908
85225
|
reader.readMessage(value,google_protobuf_timestamp_pb.Timestamp.deserializeBinaryFromReader);
|
|
84909
85226
|
msg.setModifiedAt(value);
|
|
84910
85227
|
break;
|
|
85228
|
+
case 11:
|
|
85229
|
+
var value = new proto.clarifai.api.PipelineVersionConfig;
|
|
85230
|
+
reader.readMessage(value,proto.clarifai.api.PipelineVersionConfig.deserializeBinaryFromReader);
|
|
85231
|
+
msg.setConfig(value);
|
|
85232
|
+
break;
|
|
84911
85233
|
default:
|
|
84912
85234
|
reader.skipField();
|
|
84913
85235
|
break;
|
|
@@ -85012,6 +85334,14 @@ proto.clarifai.api.PipelineVersion.serializeBinaryToWriter = function(message, w
|
|
|
85012
85334
|
google_protobuf_timestamp_pb.Timestamp.serializeBinaryToWriter
|
|
85013
85335
|
);
|
|
85014
85336
|
}
|
|
85337
|
+
f = message.getConfig();
|
|
85338
|
+
if (f != null) {
|
|
85339
|
+
writer.writeMessage(
|
|
85340
|
+
11,
|
|
85341
|
+
f,
|
|
85342
|
+
proto.clarifai.api.PipelineVersionConfig.serializeBinaryToWriter
|
|
85343
|
+
);
|
|
85344
|
+
}
|
|
85015
85345
|
};
|
|
85016
85346
|
|
|
85017
85347
|
|
|
@@ -85290,6 +85620,43 @@ proto.clarifai.api.PipelineVersion.prototype.hasModifiedAt = function() {
|
|
|
85290
85620
|
};
|
|
85291
85621
|
|
|
85292
85622
|
|
|
85623
|
+
/**
|
|
85624
|
+
* optional PipelineVersionConfig config = 11;
|
|
85625
|
+
* @return {?proto.clarifai.api.PipelineVersionConfig}
|
|
85626
|
+
*/
|
|
85627
|
+
proto.clarifai.api.PipelineVersion.prototype.getConfig = function() {
|
|
85628
|
+
return /** @type{?proto.clarifai.api.PipelineVersionConfig} */ (
|
|
85629
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.PipelineVersionConfig, 11));
|
|
85630
|
+
};
|
|
85631
|
+
|
|
85632
|
+
|
|
85633
|
+
/**
|
|
85634
|
+
* @param {?proto.clarifai.api.PipelineVersionConfig|undefined} value
|
|
85635
|
+
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
85636
|
+
*/
|
|
85637
|
+
proto.clarifai.api.PipelineVersion.prototype.setConfig = function(value) {
|
|
85638
|
+
return jspb.Message.setWrapperField(this, 11, value);
|
|
85639
|
+
};
|
|
85640
|
+
|
|
85641
|
+
|
|
85642
|
+
/**
|
|
85643
|
+
* Clears the message field making it undefined.
|
|
85644
|
+
* @return {!proto.clarifai.api.PipelineVersion} returns this
|
|
85645
|
+
*/
|
|
85646
|
+
proto.clarifai.api.PipelineVersion.prototype.clearConfig = function() {
|
|
85647
|
+
return this.setConfig(undefined);
|
|
85648
|
+
};
|
|
85649
|
+
|
|
85650
|
+
|
|
85651
|
+
/**
|
|
85652
|
+
* Returns whether this field is set.
|
|
85653
|
+
* @return {boolean}
|
|
85654
|
+
*/
|
|
85655
|
+
proto.clarifai.api.PipelineVersion.prototype.hasConfig = function() {
|
|
85656
|
+
return jspb.Message.getField(this, 11) != null;
|
|
85657
|
+
};
|
|
85658
|
+
|
|
85659
|
+
|
|
85293
85660
|
|
|
85294
85661
|
/**
|
|
85295
85662
|
* Oneof group definitions for this message. Each group defines the field
|
|
@@ -372,7 +372,10 @@ proto.clarifai.auth.scope.S = {
|
|
|
372
372
|
SECRETS_GET: 160,
|
|
373
373
|
SECRETS_ADD: 161,
|
|
374
374
|
SECRETS_DELETE: 162,
|
|
375
|
-
USERMETRICS_GET: 163
|
|
375
|
+
USERMETRICS_GET: 163,
|
|
376
|
+
ANNOTATIONTRACKS_GET: 166,
|
|
377
|
+
ANNOTATIONTRACKS_ADD: 167,
|
|
378
|
+
ANNOTATIONTRACKS_DELETE: 168
|
|
376
379
|
};
|
|
377
380
|
|
|
378
381
|
|