clarifai-web-grpc 11.8.2 → 11.8.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/VERSION +1 -1
- package/dist/cjs/proto/clarifai/api/resources_pb.js +394 -10
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +394 -10
- package/dist/esm/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +61 -0
- package/proto/clarifai/api/resources_pb.js +503 -10
- package/proto/clarifai/api/status/status_code_pb.d.ts +1 -0
- package/proto/clarifai/api/status/status_code_pb.js +1 -0
|
@@ -285,6 +285,8 @@ goog.exportSymbol('proto.clarifai.api.Search', null, global);
|
|
|
285
285
|
goog.exportSymbol('proto.clarifai.api.Search.Metric', null, global);
|
|
286
286
|
goog.exportSymbol('proto.clarifai.api.Secret', null, global);
|
|
287
287
|
goog.exportSymbol('proto.clarifai.api.Span', null, global);
|
|
288
|
+
goog.exportSymbol('proto.clarifai.api.SpecialHandling', null, global);
|
|
289
|
+
goog.exportSymbol('proto.clarifai.api.SpecialHandling.Reason', null, global);
|
|
288
290
|
goog.exportSymbol('proto.clarifai.api.SplitIntoDatasets', null, global);
|
|
289
291
|
goog.exportSymbol('proto.clarifai.api.SplitIntoDatasets.DatasetSplitMethod', null, global);
|
|
290
292
|
goog.exportSymbol('proto.clarifai.api.StatTimeAggType', null, global);
|
|
@@ -1748,6 +1750,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
1748
1750
|
*/
|
|
1749
1751
|
proto.clarifai.api.Model.displayName = 'proto.clarifai.api.Model';
|
|
1750
1752
|
}
|
|
1753
|
+
/**
|
|
1754
|
+
* Generated by JsPbCodeGenerator.
|
|
1755
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
1756
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
1757
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
1758
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
1759
|
+
* valid.
|
|
1760
|
+
* @extends {jspb.Message}
|
|
1761
|
+
* @constructor
|
|
1762
|
+
*/
|
|
1763
|
+
proto.clarifai.api.SpecialHandling = function(opt_data) {
|
|
1764
|
+
jspb.Message.initialize(this, opt_data, 0, -1, null, null);
|
|
1765
|
+
};
|
|
1766
|
+
goog.inherits(proto.clarifai.api.SpecialHandling, jspb.Message);
|
|
1767
|
+
if (goog.DEBUG && !COMPILED) {
|
|
1768
|
+
/**
|
|
1769
|
+
* @public
|
|
1770
|
+
* @override
|
|
1771
|
+
*/
|
|
1772
|
+
proto.clarifai.api.SpecialHandling.displayName = 'proto.clarifai.api.SpecialHandling';
|
|
1773
|
+
}
|
|
1751
1774
|
/**
|
|
1752
1775
|
* Generated by JsPbCodeGenerator.
|
|
1753
1776
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -4783,7 +4806,7 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
4783
4806
|
* @constructor
|
|
4784
4807
|
*/
|
|
4785
4808
|
proto.clarifai.api.InstanceType = function(opt_data) {
|
|
4786
|
-
jspb.Message.initialize(this, opt_data, 0, -1,
|
|
4809
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.InstanceType.repeatedFields_, null);
|
|
4787
4810
|
};
|
|
4788
4811
|
goog.inherits(proto.clarifai.api.InstanceType, jspb.Message);
|
|
4789
4812
|
if (goog.DEBUG && !COMPILED) {
|
|
@@ -27880,6 +27903,204 @@ proto.clarifai.api.Model.prototype.hasOpenRouterInfo = function() {
|
|
|
27880
27903
|
|
|
27881
27904
|
|
|
27882
27905
|
|
|
27906
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27907
|
+
/**
|
|
27908
|
+
* Creates an object representation of this proto.
|
|
27909
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
27910
|
+
* Optional fields that are not set will be set to undefined.
|
|
27911
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
27912
|
+
* For the list of reserved names please see:
|
|
27913
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
27914
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
27915
|
+
* JSPB instance for transitional soy proto support:
|
|
27916
|
+
* http://goto/soy-param-migration
|
|
27917
|
+
* @return {!Object}
|
|
27918
|
+
*/
|
|
27919
|
+
proto.clarifai.api.SpecialHandling.prototype.toObject = function(opt_includeInstance) {
|
|
27920
|
+
return proto.clarifai.api.SpecialHandling.toObject(opt_includeInstance, this);
|
|
27921
|
+
};
|
|
27922
|
+
|
|
27923
|
+
|
|
27924
|
+
/**
|
|
27925
|
+
* Static version of the {@see toObject} method.
|
|
27926
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
27927
|
+
* the JSPB instance for transitional soy proto support:
|
|
27928
|
+
* http://goto/soy-param-migration
|
|
27929
|
+
* @param {!proto.clarifai.api.SpecialHandling} msg The msg instance to transform.
|
|
27930
|
+
* @return {!Object}
|
|
27931
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
27932
|
+
*/
|
|
27933
|
+
proto.clarifai.api.SpecialHandling.toObject = function(includeInstance, msg) {
|
|
27934
|
+
var f, obj = {
|
|
27935
|
+
id: jspb.Message.getFieldWithDefault(msg, 1, ""),
|
|
27936
|
+
reason: jspb.Message.getFieldWithDefault(msg, 2, 0),
|
|
27937
|
+
done: jspb.Message.getBooleanFieldWithDefault(msg, 3, false)
|
|
27938
|
+
};
|
|
27939
|
+
|
|
27940
|
+
if (includeInstance) {
|
|
27941
|
+
obj.$jspbMessageInstance = msg;
|
|
27942
|
+
}
|
|
27943
|
+
return obj;
|
|
27944
|
+
};
|
|
27945
|
+
}
|
|
27946
|
+
|
|
27947
|
+
|
|
27948
|
+
/**
|
|
27949
|
+
* Deserializes binary data (in protobuf wire format).
|
|
27950
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
27951
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
27952
|
+
*/
|
|
27953
|
+
proto.clarifai.api.SpecialHandling.deserializeBinary = function(bytes) {
|
|
27954
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
27955
|
+
var msg = new proto.clarifai.api.SpecialHandling;
|
|
27956
|
+
return proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader(msg, reader);
|
|
27957
|
+
};
|
|
27958
|
+
|
|
27959
|
+
|
|
27960
|
+
/**
|
|
27961
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
27962
|
+
* given reader into the given message object.
|
|
27963
|
+
* @param {!proto.clarifai.api.SpecialHandling} msg The message object to deserialize into.
|
|
27964
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
27965
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
27966
|
+
*/
|
|
27967
|
+
proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader = function(msg, reader) {
|
|
27968
|
+
while (reader.nextField()) {
|
|
27969
|
+
if (reader.isEndGroup()) {
|
|
27970
|
+
break;
|
|
27971
|
+
}
|
|
27972
|
+
var field = reader.getFieldNumber();
|
|
27973
|
+
switch (field) {
|
|
27974
|
+
case 1:
|
|
27975
|
+
var value = /** @type {string} */ (reader.readString());
|
|
27976
|
+
msg.setId(value);
|
|
27977
|
+
break;
|
|
27978
|
+
case 2:
|
|
27979
|
+
var value = /** @type {!proto.clarifai.api.SpecialHandling.Reason} */ (reader.readEnum());
|
|
27980
|
+
msg.setReason(value);
|
|
27981
|
+
break;
|
|
27982
|
+
case 3:
|
|
27983
|
+
var value = /** @type {boolean} */ (reader.readBool());
|
|
27984
|
+
msg.setDone(value);
|
|
27985
|
+
break;
|
|
27986
|
+
default:
|
|
27987
|
+
reader.skipField();
|
|
27988
|
+
break;
|
|
27989
|
+
}
|
|
27990
|
+
}
|
|
27991
|
+
return msg;
|
|
27992
|
+
};
|
|
27993
|
+
|
|
27994
|
+
|
|
27995
|
+
/**
|
|
27996
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
27997
|
+
* @return {!Uint8Array}
|
|
27998
|
+
*/
|
|
27999
|
+
proto.clarifai.api.SpecialHandling.prototype.serializeBinary = function() {
|
|
28000
|
+
var writer = new jspb.BinaryWriter();
|
|
28001
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter(this, writer);
|
|
28002
|
+
return writer.getResultBuffer();
|
|
28003
|
+
};
|
|
28004
|
+
|
|
28005
|
+
|
|
28006
|
+
/**
|
|
28007
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
28008
|
+
* format), writing to the given BinaryWriter.
|
|
28009
|
+
* @param {!proto.clarifai.api.SpecialHandling} message
|
|
28010
|
+
* @param {!jspb.BinaryWriter} writer
|
|
28011
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
28012
|
+
*/
|
|
28013
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter = function(message, writer) {
|
|
28014
|
+
var f = undefined;
|
|
28015
|
+
f = message.getId();
|
|
28016
|
+
if (f.length > 0) {
|
|
28017
|
+
writer.writeString(
|
|
28018
|
+
1,
|
|
28019
|
+
f
|
|
28020
|
+
);
|
|
28021
|
+
}
|
|
28022
|
+
f = message.getReason();
|
|
28023
|
+
if (f !== 0.0) {
|
|
28024
|
+
writer.writeEnum(
|
|
28025
|
+
2,
|
|
28026
|
+
f
|
|
28027
|
+
);
|
|
28028
|
+
}
|
|
28029
|
+
f = message.getDone();
|
|
28030
|
+
if (f) {
|
|
28031
|
+
writer.writeBool(
|
|
28032
|
+
3,
|
|
28033
|
+
f
|
|
28034
|
+
);
|
|
28035
|
+
}
|
|
28036
|
+
};
|
|
28037
|
+
|
|
28038
|
+
|
|
28039
|
+
/**
|
|
28040
|
+
* @enum {number}
|
|
28041
|
+
*/
|
|
28042
|
+
proto.clarifai.api.SpecialHandling.Reason = {
|
|
28043
|
+
REASON_NOT_SET: 0,
|
|
28044
|
+
CONTACT_SALES: 1
|
|
28045
|
+
};
|
|
28046
|
+
|
|
28047
|
+
/**
|
|
28048
|
+
* optional string id = 1;
|
|
28049
|
+
* @return {string}
|
|
28050
|
+
*/
|
|
28051
|
+
proto.clarifai.api.SpecialHandling.prototype.getId = function() {
|
|
28052
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 1, ""));
|
|
28053
|
+
};
|
|
28054
|
+
|
|
28055
|
+
|
|
28056
|
+
/**
|
|
28057
|
+
* @param {string} value
|
|
28058
|
+
* @return {!proto.clarifai.api.SpecialHandling} returns this
|
|
28059
|
+
*/
|
|
28060
|
+
proto.clarifai.api.SpecialHandling.prototype.setId = function(value) {
|
|
28061
|
+
return jspb.Message.setProto3StringField(this, 1, value);
|
|
28062
|
+
};
|
|
28063
|
+
|
|
28064
|
+
|
|
28065
|
+
/**
|
|
28066
|
+
* optional Reason reason = 2;
|
|
28067
|
+
* @return {!proto.clarifai.api.SpecialHandling.Reason}
|
|
28068
|
+
*/
|
|
28069
|
+
proto.clarifai.api.SpecialHandling.prototype.getReason = function() {
|
|
28070
|
+
return /** @type {!proto.clarifai.api.SpecialHandling.Reason} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
|
|
28071
|
+
};
|
|
28072
|
+
|
|
28073
|
+
|
|
28074
|
+
/**
|
|
28075
|
+
* @param {!proto.clarifai.api.SpecialHandling.Reason} value
|
|
28076
|
+
* @return {!proto.clarifai.api.SpecialHandling} returns this
|
|
28077
|
+
*/
|
|
28078
|
+
proto.clarifai.api.SpecialHandling.prototype.setReason = function(value) {
|
|
28079
|
+
return jspb.Message.setProto3EnumField(this, 2, value);
|
|
28080
|
+
};
|
|
28081
|
+
|
|
28082
|
+
|
|
28083
|
+
/**
|
|
28084
|
+
* optional bool done = 3;
|
|
28085
|
+
* @return {boolean}
|
|
28086
|
+
*/
|
|
28087
|
+
proto.clarifai.api.SpecialHandling.prototype.getDone = function() {
|
|
28088
|
+
return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 3, false));
|
|
28089
|
+
};
|
|
28090
|
+
|
|
28091
|
+
|
|
28092
|
+
/**
|
|
28093
|
+
* @param {boolean} value
|
|
28094
|
+
* @return {!proto.clarifai.api.SpecialHandling} returns this
|
|
28095
|
+
*/
|
|
28096
|
+
proto.clarifai.api.SpecialHandling.prototype.setDone = function(value) {
|
|
28097
|
+
return jspb.Message.setProto3BooleanField(this, 3, value);
|
|
28098
|
+
};
|
|
28099
|
+
|
|
28100
|
+
|
|
28101
|
+
|
|
28102
|
+
|
|
28103
|
+
|
|
27883
28104
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27884
28105
|
/**
|
|
27885
28106
|
* Creates an object representation of this proto.
|
|
@@ -33247,7 +33468,7 @@ proto.clarifai.api.ModelQuery.prototype.setModelTypeId = function(value) {
|
|
|
33247
33468
|
* @private {!Array<number>}
|
|
33248
33469
|
* @const
|
|
33249
33470
|
*/
|
|
33250
|
-
proto.clarifai.api.ModelVersion.repeatedFields_ = [26];
|
|
33471
|
+
proto.clarifai.api.ModelVersion.repeatedFields_ = [26,27];
|
|
33251
33472
|
|
|
33252
33473
|
|
|
33253
33474
|
|
|
@@ -33303,7 +33524,9 @@ proto.clarifai.api.ModelVersion.toObject = function(includeInstance, msg) {
|
|
|
33303
33524
|
inferenceComputeInfo: (f = msg.getInferenceComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
33304
33525
|
buildInfo: (f = msg.getBuildInfo()) && proto.clarifai.api.BuildInfo.toObject(includeInstance, f),
|
|
33305
33526
|
methodSignaturesList: jspb.Message.toObjectList(msg.getMethodSignaturesList(),
|
|
33306
|
-
proto.clarifai.api.MethodSignature.toObject, includeInstance)
|
|
33527
|
+
proto.clarifai.api.MethodSignature.toObject, includeInstance),
|
|
33528
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
|
|
33529
|
+
proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
33307
33530
|
};
|
|
33308
33531
|
|
|
33309
33532
|
if (includeInstance) {
|
|
@@ -33447,6 +33670,11 @@ proto.clarifai.api.ModelVersion.deserializeBinaryFromReader = function(msg, read
|
|
|
33447
33670
|
reader.readMessage(value,proto.clarifai.api.MethodSignature.deserializeBinaryFromReader);
|
|
33448
33671
|
msg.addMethodSignatures(value);
|
|
33449
33672
|
break;
|
|
33673
|
+
case 27:
|
|
33674
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
33675
|
+
reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
33676
|
+
msg.addSpecialHandling(value);
|
|
33677
|
+
break;
|
|
33450
33678
|
default:
|
|
33451
33679
|
reader.skipField();
|
|
33452
33680
|
break;
|
|
@@ -33652,6 +33880,14 @@ proto.clarifai.api.ModelVersion.serializeBinaryToWriter = function(message, writ
|
|
|
33652
33880
|
proto.clarifai.api.MethodSignature.serializeBinaryToWriter
|
|
33653
33881
|
);
|
|
33654
33882
|
}
|
|
33883
|
+
f = message.getSpecialHandlingList();
|
|
33884
|
+
if (f.length > 0) {
|
|
33885
|
+
writer.writeRepeatedMessage(
|
|
33886
|
+
27,
|
|
33887
|
+
f,
|
|
33888
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
|
|
33889
|
+
);
|
|
33890
|
+
}
|
|
33655
33891
|
};
|
|
33656
33892
|
|
|
33657
33893
|
|
|
@@ -34355,6 +34591,44 @@ proto.clarifai.api.ModelVersion.prototype.clearMethodSignaturesList = function()
|
|
|
34355
34591
|
};
|
|
34356
34592
|
|
|
34357
34593
|
|
|
34594
|
+
/**
|
|
34595
|
+
* repeated SpecialHandling special_handling = 27;
|
|
34596
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
34597
|
+
*/
|
|
34598
|
+
proto.clarifai.api.ModelVersion.prototype.getSpecialHandlingList = function() {
|
|
34599
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
|
|
34600
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 27));
|
|
34601
|
+
};
|
|
34602
|
+
|
|
34603
|
+
|
|
34604
|
+
/**
|
|
34605
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
34606
|
+
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
34607
|
+
*/
|
|
34608
|
+
proto.clarifai.api.ModelVersion.prototype.setSpecialHandlingList = function(value) {
|
|
34609
|
+
return jspb.Message.setRepeatedWrapperField(this, 27, value);
|
|
34610
|
+
};
|
|
34611
|
+
|
|
34612
|
+
|
|
34613
|
+
/**
|
|
34614
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
34615
|
+
* @param {number=} opt_index
|
|
34616
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
34617
|
+
*/
|
|
34618
|
+
proto.clarifai.api.ModelVersion.prototype.addSpecialHandling = function(opt_value, opt_index) {
|
|
34619
|
+
return jspb.Message.addToRepeatedWrapperField(this, 27, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
34620
|
+
};
|
|
34621
|
+
|
|
34622
|
+
|
|
34623
|
+
/**
|
|
34624
|
+
* Clears the list making it empty but non-null.
|
|
34625
|
+
* @return {!proto.clarifai.api.ModelVersion} returns this
|
|
34626
|
+
*/
|
|
34627
|
+
proto.clarifai.api.ModelVersion.prototype.clearSpecialHandlingList = function() {
|
|
34628
|
+
return this.setSpecialHandlingList([]);
|
|
34629
|
+
};
|
|
34630
|
+
|
|
34631
|
+
|
|
34358
34632
|
|
|
34359
34633
|
/**
|
|
34360
34634
|
* List of repeated fields within this message type.
|
|
@@ -70634,7 +70908,7 @@ proto.clarifai.api.BookmarkOrigin.prototype.setResourceType = function(value) {
|
|
|
70634
70908
|
* @private {!Array<number>}
|
|
70635
70909
|
* @const
|
|
70636
70910
|
*/
|
|
70637
|
-
proto.clarifai.api.Runner.repeatedFields_ = [7];
|
|
70911
|
+
proto.clarifai.api.Runner.repeatedFields_ = [7,12];
|
|
70638
70912
|
|
|
70639
70913
|
|
|
70640
70914
|
|
|
@@ -70676,7 +70950,9 @@ proto.clarifai.api.Runner.toObject = function(includeInstance, msg) {
|
|
|
70676
70950
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
70677
70951
|
nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
|
|
70678
70952
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
70679
|
-
numReplicas: jspb.Message.getFieldWithDefault(msg, 11, 0)
|
|
70953
|
+
numReplicas: jspb.Message.getFieldWithDefault(msg, 11, 0),
|
|
70954
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
|
|
70955
|
+
proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
70680
70956
|
};
|
|
70681
70957
|
|
|
70682
70958
|
if (includeInstance) {
|
|
@@ -70759,6 +71035,11 @@ proto.clarifai.api.Runner.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
70759
71035
|
var value = /** @type {number} */ (reader.readUint32());
|
|
70760
71036
|
msg.setNumReplicas(value);
|
|
70761
71037
|
break;
|
|
71038
|
+
case 12:
|
|
71039
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
71040
|
+
reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
71041
|
+
msg.addSpecialHandling(value);
|
|
71042
|
+
break;
|
|
70762
71043
|
default:
|
|
70763
71044
|
reader.skipField();
|
|
70764
71045
|
break;
|
|
@@ -70864,6 +71145,14 @@ proto.clarifai.api.Runner.serializeBinaryToWriter = function(message, writer) {
|
|
|
70864
71145
|
f
|
|
70865
71146
|
);
|
|
70866
71147
|
}
|
|
71148
|
+
f = message.getSpecialHandlingList();
|
|
71149
|
+
if (f.length > 0) {
|
|
71150
|
+
writer.writeRepeatedMessage(
|
|
71151
|
+
12,
|
|
71152
|
+
f,
|
|
71153
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
|
|
71154
|
+
);
|
|
71155
|
+
}
|
|
70867
71156
|
};
|
|
70868
71157
|
|
|
70869
71158
|
|
|
@@ -71180,13 +71469,51 @@ proto.clarifai.api.Runner.prototype.setNumReplicas = function(value) {
|
|
|
71180
71469
|
};
|
|
71181
71470
|
|
|
71182
71471
|
|
|
71472
|
+
/**
|
|
71473
|
+
* repeated SpecialHandling special_handling = 12;
|
|
71474
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
71475
|
+
*/
|
|
71476
|
+
proto.clarifai.api.Runner.prototype.getSpecialHandlingList = function() {
|
|
71477
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
|
|
71478
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 12));
|
|
71479
|
+
};
|
|
71480
|
+
|
|
71481
|
+
|
|
71482
|
+
/**
|
|
71483
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
71484
|
+
* @return {!proto.clarifai.api.Runner} returns this
|
|
71485
|
+
*/
|
|
71486
|
+
proto.clarifai.api.Runner.prototype.setSpecialHandlingList = function(value) {
|
|
71487
|
+
return jspb.Message.setRepeatedWrapperField(this, 12, value);
|
|
71488
|
+
};
|
|
71489
|
+
|
|
71490
|
+
|
|
71491
|
+
/**
|
|
71492
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
71493
|
+
* @param {number=} opt_index
|
|
71494
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
71495
|
+
*/
|
|
71496
|
+
proto.clarifai.api.Runner.prototype.addSpecialHandling = function(opt_value, opt_index) {
|
|
71497
|
+
return jspb.Message.addToRepeatedWrapperField(this, 12, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
71498
|
+
};
|
|
71499
|
+
|
|
71500
|
+
|
|
71501
|
+
/**
|
|
71502
|
+
* Clears the list making it empty but non-null.
|
|
71503
|
+
* @return {!proto.clarifai.api.Runner} returns this
|
|
71504
|
+
*/
|
|
71505
|
+
proto.clarifai.api.Runner.prototype.clearSpecialHandlingList = function() {
|
|
71506
|
+
return this.setSpecialHandlingList([]);
|
|
71507
|
+
};
|
|
71508
|
+
|
|
71509
|
+
|
|
71183
71510
|
|
|
71184
71511
|
/**
|
|
71185
71512
|
* List of repeated fields within this message type.
|
|
71186
71513
|
* @private {!Array<number>}
|
|
71187
71514
|
* @const
|
|
71188
71515
|
*/
|
|
71189
|
-
proto.clarifai.api.Nodepool.repeatedFields_ = [8];
|
|
71516
|
+
proto.clarifai.api.Nodepool.repeatedFields_ = [8,15];
|
|
71190
71517
|
|
|
71191
71518
|
|
|
71192
71519
|
|
|
@@ -71232,7 +71559,9 @@ proto.clarifai.api.Nodepool.toObject = function(includeInstance, msg) {
|
|
|
71232
71559
|
enforcedMinInstances: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
71233
71560
|
enforcedMaxInstances: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
71234
71561
|
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
71235
|
-
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f)
|
|
71562
|
+
metadata: (f = msg.getMetadata()) && google_protobuf_struct_pb.Struct.toObject(includeInstance, f),
|
|
71563
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
|
|
71564
|
+
proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
71236
71565
|
};
|
|
71237
71566
|
|
|
71238
71567
|
if (includeInstance) {
|
|
@@ -71328,6 +71657,11 @@ proto.clarifai.api.Nodepool.deserializeBinaryFromReader = function(msg, reader)
|
|
|
71328
71657
|
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
71329
71658
|
msg.setMetadata(value);
|
|
71330
71659
|
break;
|
|
71660
|
+
case 15:
|
|
71661
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
71662
|
+
reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
71663
|
+
msg.addSpecialHandling(value);
|
|
71664
|
+
break;
|
|
71331
71665
|
default:
|
|
71332
71666
|
reader.skipField();
|
|
71333
71667
|
break;
|
|
@@ -71455,6 +71789,14 @@ proto.clarifai.api.Nodepool.serializeBinaryToWriter = function(message, writer)
|
|
|
71455
71789
|
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
71456
71790
|
);
|
|
71457
71791
|
}
|
|
71792
|
+
f = message.getSpecialHandlingList();
|
|
71793
|
+
if (f.length > 0) {
|
|
71794
|
+
writer.writeRepeatedMessage(
|
|
71795
|
+
15,
|
|
71796
|
+
f,
|
|
71797
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
|
|
71798
|
+
);
|
|
71799
|
+
}
|
|
71458
71800
|
};
|
|
71459
71801
|
|
|
71460
71802
|
|
|
@@ -71826,6 +72168,44 @@ proto.clarifai.api.Nodepool.prototype.hasMetadata = function() {
|
|
|
71826
72168
|
};
|
|
71827
72169
|
|
|
71828
72170
|
|
|
72171
|
+
/**
|
|
72172
|
+
* repeated SpecialHandling special_handling = 15;
|
|
72173
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
72174
|
+
*/
|
|
72175
|
+
proto.clarifai.api.Nodepool.prototype.getSpecialHandlingList = function() {
|
|
72176
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
|
|
72177
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 15));
|
|
72178
|
+
};
|
|
72179
|
+
|
|
72180
|
+
|
|
72181
|
+
/**
|
|
72182
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
72183
|
+
* @return {!proto.clarifai.api.Nodepool} returns this
|
|
72184
|
+
*/
|
|
72185
|
+
proto.clarifai.api.Nodepool.prototype.setSpecialHandlingList = function(value) {
|
|
72186
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
72187
|
+
};
|
|
72188
|
+
|
|
72189
|
+
|
|
72190
|
+
/**
|
|
72191
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
72192
|
+
* @param {number=} opt_index
|
|
72193
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
72194
|
+
*/
|
|
72195
|
+
proto.clarifai.api.Nodepool.prototype.addSpecialHandling = function(opt_value, opt_index) {
|
|
72196
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
72197
|
+
};
|
|
72198
|
+
|
|
72199
|
+
|
|
72200
|
+
/**
|
|
72201
|
+
* Clears the list making it empty but non-null.
|
|
72202
|
+
* @return {!proto.clarifai.api.Nodepool} returns this
|
|
72203
|
+
*/
|
|
72204
|
+
proto.clarifai.api.Nodepool.prototype.clearSpecialHandlingList = function() {
|
|
72205
|
+
return this.setSpecialHandlingList([]);
|
|
72206
|
+
};
|
|
72207
|
+
|
|
72208
|
+
|
|
71829
72209
|
|
|
71830
72210
|
/**
|
|
71831
72211
|
* List of repeated fields within this message type.
|
|
@@ -71994,6 +72374,13 @@ proto.clarifai.api.NodeCapacityType.prototype.clearCapacityTypesList = function(
|
|
|
71994
72374
|
|
|
71995
72375
|
|
|
71996
72376
|
|
|
72377
|
+
/**
|
|
72378
|
+
* List of repeated fields within this message type.
|
|
72379
|
+
* @private {!Array<number>}
|
|
72380
|
+
* @const
|
|
72381
|
+
*/
|
|
72382
|
+
proto.clarifai.api.InstanceType.repeatedFields_ = [9];
|
|
72383
|
+
|
|
71997
72384
|
|
|
71998
72385
|
|
|
71999
72386
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -72032,7 +72419,9 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
|
|
|
72032
72419
|
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
72033
72420
|
region: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
72034
72421
|
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f),
|
|
72035
|
-
featureFlagGroup: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
72422
|
+
featureFlagGroup: jspb.Message.getFieldWithDefault(msg, 8, ""),
|
|
72423
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
|
|
72424
|
+
proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
72036
72425
|
};
|
|
72037
72426
|
|
|
72038
72427
|
if (includeInstance) {
|
|
@@ -72104,6 +72493,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
|
|
|
72104
72493
|
var value = /** @type {string} */ (reader.readString());
|
|
72105
72494
|
msg.setFeatureFlagGroup(value);
|
|
72106
72495
|
break;
|
|
72496
|
+
case 9:
|
|
72497
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
72498
|
+
reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
72499
|
+
msg.addSpecialHandling(value);
|
|
72500
|
+
break;
|
|
72107
72501
|
default:
|
|
72108
72502
|
reader.skipField();
|
|
72109
72503
|
break;
|
|
@@ -72192,6 +72586,14 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
|
|
|
72192
72586
|
f
|
|
72193
72587
|
);
|
|
72194
72588
|
}
|
|
72589
|
+
f = message.getSpecialHandlingList();
|
|
72590
|
+
if (f.length > 0) {
|
|
72591
|
+
writer.writeRepeatedMessage(
|
|
72592
|
+
9,
|
|
72593
|
+
f,
|
|
72594
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
|
|
72595
|
+
);
|
|
72596
|
+
}
|
|
72195
72597
|
};
|
|
72196
72598
|
|
|
72197
72599
|
|
|
@@ -72396,6 +72798,44 @@ proto.clarifai.api.InstanceType.prototype.setFeatureFlagGroup = function(value)
|
|
|
72396
72798
|
};
|
|
72397
72799
|
|
|
72398
72800
|
|
|
72801
|
+
/**
|
|
72802
|
+
* repeated SpecialHandling special_handling = 9;
|
|
72803
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
72804
|
+
*/
|
|
72805
|
+
proto.clarifai.api.InstanceType.prototype.getSpecialHandlingList = function() {
|
|
72806
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
|
|
72807
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 9));
|
|
72808
|
+
};
|
|
72809
|
+
|
|
72810
|
+
|
|
72811
|
+
/**
|
|
72812
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
72813
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
72814
|
+
*/
|
|
72815
|
+
proto.clarifai.api.InstanceType.prototype.setSpecialHandlingList = function(value) {
|
|
72816
|
+
return jspb.Message.setRepeatedWrapperField(this, 9, value);
|
|
72817
|
+
};
|
|
72818
|
+
|
|
72819
|
+
|
|
72820
|
+
/**
|
|
72821
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
72822
|
+
* @param {number=} opt_index
|
|
72823
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
72824
|
+
*/
|
|
72825
|
+
proto.clarifai.api.InstanceType.prototype.addSpecialHandling = function(opt_value, opt_index) {
|
|
72826
|
+
return jspb.Message.addToRepeatedWrapperField(this, 9, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
72827
|
+
};
|
|
72828
|
+
|
|
72829
|
+
|
|
72830
|
+
/**
|
|
72831
|
+
* Clears the list making it empty but non-null.
|
|
72832
|
+
* @return {!proto.clarifai.api.InstanceType} returns this
|
|
72833
|
+
*/
|
|
72834
|
+
proto.clarifai.api.InstanceType.prototype.clearSpecialHandlingList = function() {
|
|
72835
|
+
return this.setSpecialHandlingList([]);
|
|
72836
|
+
};
|
|
72837
|
+
|
|
72838
|
+
|
|
72399
72839
|
|
|
72400
72840
|
|
|
72401
72841
|
|
|
@@ -73792,7 +74232,7 @@ proto.clarifai.api.AutoscaleConfig.prototype.setScaleToZeroDelaySeconds = functi
|
|
|
73792
74232
|
* @private {!Array<number>}
|
|
73793
74233
|
* @const
|
|
73794
74234
|
*/
|
|
73795
|
-
proto.clarifai.api.Deployment.repeatedFields_ = [4];
|
|
74235
|
+
proto.clarifai.api.Deployment.repeatedFields_ = [4,15];
|
|
73796
74236
|
|
|
73797
74237
|
|
|
73798
74238
|
|
|
@@ -73837,7 +74277,9 @@ proto.clarifai.api.Deployment.toObject = function(includeInstance, msg) {
|
|
|
73837
74277
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
73838
74278
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
73839
74279
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
73840
|
-
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false)
|
|
74280
|
+
deployLatestVersion: jspb.Message.getBooleanFieldWithDefault(msg, 14, false),
|
|
74281
|
+
specialHandlingList: jspb.Message.toObjectList(msg.getSpecialHandlingList(),
|
|
74282
|
+
proto.clarifai.api.SpecialHandling.toObject, includeInstance)
|
|
73841
74283
|
};
|
|
73842
74284
|
|
|
73843
74285
|
if (includeInstance) {
|
|
@@ -73929,6 +74371,11 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function(msg, reader
|
|
|
73929
74371
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
73930
74372
|
msg.setDeployLatestVersion(value);
|
|
73931
74373
|
break;
|
|
74374
|
+
case 15:
|
|
74375
|
+
var value = new proto.clarifai.api.SpecialHandling;
|
|
74376
|
+
reader.readMessage(value,proto.clarifai.api.SpecialHandling.deserializeBinaryFromReader);
|
|
74377
|
+
msg.addSpecialHandling(value);
|
|
74378
|
+
break;
|
|
73932
74379
|
default:
|
|
73933
74380
|
reader.skipField();
|
|
73934
74381
|
break;
|
|
@@ -74049,6 +74496,14 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function(message, writer
|
|
|
74049
74496
|
f
|
|
74050
74497
|
);
|
|
74051
74498
|
}
|
|
74499
|
+
f = message.getSpecialHandlingList();
|
|
74500
|
+
if (f.length > 0) {
|
|
74501
|
+
writer.writeRepeatedMessage(
|
|
74502
|
+
15,
|
|
74503
|
+
f,
|
|
74504
|
+
proto.clarifai.api.SpecialHandling.serializeBinaryToWriter
|
|
74505
|
+
);
|
|
74506
|
+
}
|
|
74052
74507
|
};
|
|
74053
74508
|
|
|
74054
74509
|
|
|
@@ -74417,6 +74872,44 @@ proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function(value)
|
|
|
74417
74872
|
};
|
|
74418
74873
|
|
|
74419
74874
|
|
|
74875
|
+
/**
|
|
74876
|
+
* repeated SpecialHandling special_handling = 15;
|
|
74877
|
+
* @return {!Array<!proto.clarifai.api.SpecialHandling>}
|
|
74878
|
+
*/
|
|
74879
|
+
proto.clarifai.api.Deployment.prototype.getSpecialHandlingList = function() {
|
|
74880
|
+
return /** @type{!Array<!proto.clarifai.api.SpecialHandling>} */ (
|
|
74881
|
+
jspb.Message.getRepeatedWrapperField(this, proto.clarifai.api.SpecialHandling, 15));
|
|
74882
|
+
};
|
|
74883
|
+
|
|
74884
|
+
|
|
74885
|
+
/**
|
|
74886
|
+
* @param {!Array<!proto.clarifai.api.SpecialHandling>} value
|
|
74887
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
74888
|
+
*/
|
|
74889
|
+
proto.clarifai.api.Deployment.prototype.setSpecialHandlingList = function(value) {
|
|
74890
|
+
return jspb.Message.setRepeatedWrapperField(this, 15, value);
|
|
74891
|
+
};
|
|
74892
|
+
|
|
74893
|
+
|
|
74894
|
+
/**
|
|
74895
|
+
* @param {!proto.clarifai.api.SpecialHandling=} opt_value
|
|
74896
|
+
* @param {number=} opt_index
|
|
74897
|
+
* @return {!proto.clarifai.api.SpecialHandling}
|
|
74898
|
+
*/
|
|
74899
|
+
proto.clarifai.api.Deployment.prototype.addSpecialHandling = function(opt_value, opt_index) {
|
|
74900
|
+
return jspb.Message.addToRepeatedWrapperField(this, 15, opt_value, proto.clarifai.api.SpecialHandling, opt_index);
|
|
74901
|
+
};
|
|
74902
|
+
|
|
74903
|
+
|
|
74904
|
+
/**
|
|
74905
|
+
* Clears the list making it empty but non-null.
|
|
74906
|
+
* @return {!proto.clarifai.api.Deployment} returns this
|
|
74907
|
+
*/
|
|
74908
|
+
proto.clarifai.api.Deployment.prototype.clearSpecialHandlingList = function() {
|
|
74909
|
+
return this.setSpecialHandlingList([]);
|
|
74910
|
+
};
|
|
74911
|
+
|
|
74912
|
+
|
|
74420
74913
|
|
|
74421
74914
|
|
|
74422
74915
|
|