clarifai-web-grpc 11.8.1 → 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 +418 -11
- package/dist/cjs/proto/clarifai/api/status/status_code_pb.js +1 -0
- package/dist/esm/proto/clarifai/api/resources_pb.js +418 -11
- 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 +65 -0
- package/proto/clarifai/api/resources_pb.js +534 -11
- 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) {
|
|
@@ -25819,7 +25842,8 @@ proto.clarifai.api.Key.toObject = function(includeInstance, msg) {
|
|
|
25819
25842
|
proto.clarifai.api.App.toObject, includeInstance),
|
|
25820
25843
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
25821
25844
|
expiresAt: (f = msg.getExpiresAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
25822
|
-
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f
|
|
25845
|
+
authorizedIdpIdsList: (f = jspb.Message.getRepeatedField(msg, 9)) == null ? undefined : f,
|
|
25846
|
+
organizationId: jspb.Message.getFieldWithDefault(msg, 10, "")
|
|
25823
25847
|
};
|
|
25824
25848
|
|
|
25825
25849
|
if (includeInstance) {
|
|
@@ -25895,6 +25919,10 @@ proto.clarifai.api.Key.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
25895
25919
|
var value = /** @type {string} */ (reader.readString());
|
|
25896
25920
|
msg.addAuthorizedIdpIds(value);
|
|
25897
25921
|
break;
|
|
25922
|
+
case 10:
|
|
25923
|
+
var value = /** @type {string} */ (reader.readString());
|
|
25924
|
+
msg.setOrganizationId(value);
|
|
25925
|
+
break;
|
|
25898
25926
|
default:
|
|
25899
25927
|
reader.skipField();
|
|
25900
25928
|
break;
|
|
@@ -25990,6 +26018,13 @@ proto.clarifai.api.Key.serializeBinaryToWriter = function(message, writer) {
|
|
|
25990
26018
|
f
|
|
25991
26019
|
);
|
|
25992
26020
|
}
|
|
26021
|
+
f = message.getOrganizationId();
|
|
26022
|
+
if (f.length > 0) {
|
|
26023
|
+
writer.writeString(
|
|
26024
|
+
10,
|
|
26025
|
+
f
|
|
26026
|
+
);
|
|
26027
|
+
}
|
|
25993
26028
|
};
|
|
25994
26029
|
|
|
25995
26030
|
|
|
@@ -26270,6 +26305,24 @@ proto.clarifai.api.Key.prototype.clearAuthorizedIdpIdsList = function() {
|
|
|
26270
26305
|
};
|
|
26271
26306
|
|
|
26272
26307
|
|
|
26308
|
+
/**
|
|
26309
|
+
* optional string organization_id = 10;
|
|
26310
|
+
* @return {string}
|
|
26311
|
+
*/
|
|
26312
|
+
proto.clarifai.api.Key.prototype.getOrganizationId = function() {
|
|
26313
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 10, ""));
|
|
26314
|
+
};
|
|
26315
|
+
|
|
26316
|
+
|
|
26317
|
+
/**
|
|
26318
|
+
* @param {string} value
|
|
26319
|
+
* @return {!proto.clarifai.api.Key} returns this
|
|
26320
|
+
*/
|
|
26321
|
+
proto.clarifai.api.Key.prototype.setOrganizationId = function(value) {
|
|
26322
|
+
return jspb.Message.setProto3StringField(this, 10, value);
|
|
26323
|
+
};
|
|
26324
|
+
|
|
26325
|
+
|
|
26273
26326
|
|
|
26274
26327
|
/**
|
|
26275
26328
|
* List of repeated fields within this message type.
|
|
@@ -27850,6 +27903,204 @@ proto.clarifai.api.Model.prototype.hasOpenRouterInfo = function() {
|
|
|
27850
27903
|
|
|
27851
27904
|
|
|
27852
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
|
+
|
|
27853
28104
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
27854
28105
|
/**
|
|
27855
28106
|
* Creates an object representation of this proto.
|
|
@@ -33217,7 +33468,7 @@ proto.clarifai.api.ModelQuery.prototype.setModelTypeId = function(value) {
|
|
|
33217
33468
|
* @private {!Array<number>}
|
|
33218
33469
|
* @const
|
|
33219
33470
|
*/
|
|
33220
|
-
proto.clarifai.api.ModelVersion.repeatedFields_ = [26];
|
|
33471
|
+
proto.clarifai.api.ModelVersion.repeatedFields_ = [26,27];
|
|
33221
33472
|
|
|
33222
33473
|
|
|
33223
33474
|
|
|
@@ -33273,7 +33524,9 @@ proto.clarifai.api.ModelVersion.toObject = function(includeInstance, msg) {
|
|
|
33273
33524
|
inferenceComputeInfo: (f = msg.getInferenceComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
33274
33525
|
buildInfo: (f = msg.getBuildInfo()) && proto.clarifai.api.BuildInfo.toObject(includeInstance, f),
|
|
33275
33526
|
methodSignaturesList: jspb.Message.toObjectList(msg.getMethodSignaturesList(),
|
|
33276
|
-
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)
|
|
33277
33530
|
};
|
|
33278
33531
|
|
|
33279
33532
|
if (includeInstance) {
|
|
@@ -33417,6 +33670,11 @@ proto.clarifai.api.ModelVersion.deserializeBinaryFromReader = function(msg, read
|
|
|
33417
33670
|
reader.readMessage(value,proto.clarifai.api.MethodSignature.deserializeBinaryFromReader);
|
|
33418
33671
|
msg.addMethodSignatures(value);
|
|
33419
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;
|
|
33420
33678
|
default:
|
|
33421
33679
|
reader.skipField();
|
|
33422
33680
|
break;
|
|
@@ -33622,6 +33880,14 @@ proto.clarifai.api.ModelVersion.serializeBinaryToWriter = function(message, writ
|
|
|
33622
33880
|
proto.clarifai.api.MethodSignature.serializeBinaryToWriter
|
|
33623
33881
|
);
|
|
33624
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
|
+
}
|
|
33625
33891
|
};
|
|
33626
33892
|
|
|
33627
33893
|
|
|
@@ -34325,6 +34591,44 @@ proto.clarifai.api.ModelVersion.prototype.clearMethodSignaturesList = function()
|
|
|
34325
34591
|
};
|
|
34326
34592
|
|
|
34327
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
|
+
|
|
34328
34632
|
|
|
34329
34633
|
/**
|
|
34330
34634
|
* List of repeated fields within this message type.
|
|
@@ -70604,7 +70908,7 @@ proto.clarifai.api.BookmarkOrigin.prototype.setResourceType = function(value) {
|
|
|
70604
70908
|
* @private {!Array<number>}
|
|
70605
70909
|
* @const
|
|
70606
70910
|
*/
|
|
70607
|
-
proto.clarifai.api.Runner.repeatedFields_ = [7];
|
|
70911
|
+
proto.clarifai.api.Runner.repeatedFields_ = [7,12];
|
|
70608
70912
|
|
|
70609
70913
|
|
|
70610
70914
|
|
|
@@ -70646,7 +70950,9 @@ proto.clarifai.api.Runner.toObject = function(includeInstance, msg) {
|
|
|
70646
70950
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
70647
70951
|
nodepool: (f = msg.getNodepool()) && proto.clarifai.api.Nodepool.toObject(includeInstance, f),
|
|
70648
70952
|
computeInfo: (f = msg.getComputeInfo()) && proto.clarifai.api.ComputeInfo.toObject(includeInstance, f),
|
|
70649
|
-
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)
|
|
70650
70956
|
};
|
|
70651
70957
|
|
|
70652
70958
|
if (includeInstance) {
|
|
@@ -70729,6 +71035,11 @@ proto.clarifai.api.Runner.deserializeBinaryFromReader = function(msg, reader) {
|
|
|
70729
71035
|
var value = /** @type {number} */ (reader.readUint32());
|
|
70730
71036
|
msg.setNumReplicas(value);
|
|
70731
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;
|
|
70732
71043
|
default:
|
|
70733
71044
|
reader.skipField();
|
|
70734
71045
|
break;
|
|
@@ -70834,6 +71145,14 @@ proto.clarifai.api.Runner.serializeBinaryToWriter = function(message, writer) {
|
|
|
70834
71145
|
f
|
|
70835
71146
|
);
|
|
70836
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
|
+
}
|
|
70837
71156
|
};
|
|
70838
71157
|
|
|
70839
71158
|
|
|
@@ -71150,13 +71469,51 @@ proto.clarifai.api.Runner.prototype.setNumReplicas = function(value) {
|
|
|
71150
71469
|
};
|
|
71151
71470
|
|
|
71152
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
|
+
|
|
71153
71510
|
|
|
71154
71511
|
/**
|
|
71155
71512
|
* List of repeated fields within this message type.
|
|
71156
71513
|
* @private {!Array<number>}
|
|
71157
71514
|
* @const
|
|
71158
71515
|
*/
|
|
71159
|
-
proto.clarifai.api.Nodepool.repeatedFields_ = [8];
|
|
71516
|
+
proto.clarifai.api.Nodepool.repeatedFields_ = [8,15];
|
|
71160
71517
|
|
|
71161
71518
|
|
|
71162
71519
|
|
|
@@ -71202,7 +71559,9 @@ proto.clarifai.api.Nodepool.toObject = function(includeInstance, msg) {
|
|
|
71202
71559
|
enforcedMinInstances: jspb.Message.getFieldWithDefault(msg, 13, 0),
|
|
71203
71560
|
enforcedMaxInstances: jspb.Message.getFieldWithDefault(msg, 14, 0),
|
|
71204
71561
|
visibility: (f = msg.getVisibility()) && proto.clarifai.api.Visibility.toObject(includeInstance, f),
|
|
71205
|
-
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)
|
|
71206
71565
|
};
|
|
71207
71566
|
|
|
71208
71567
|
if (includeInstance) {
|
|
@@ -71298,6 +71657,11 @@ proto.clarifai.api.Nodepool.deserializeBinaryFromReader = function(msg, reader)
|
|
|
71298
71657
|
reader.readMessage(value,google_protobuf_struct_pb.Struct.deserializeBinaryFromReader);
|
|
71299
71658
|
msg.setMetadata(value);
|
|
71300
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;
|
|
71301
71665
|
default:
|
|
71302
71666
|
reader.skipField();
|
|
71303
71667
|
break;
|
|
@@ -71425,6 +71789,14 @@ proto.clarifai.api.Nodepool.serializeBinaryToWriter = function(message, writer)
|
|
|
71425
71789
|
google_protobuf_struct_pb.Struct.serializeBinaryToWriter
|
|
71426
71790
|
);
|
|
71427
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
|
+
}
|
|
71428
71800
|
};
|
|
71429
71801
|
|
|
71430
71802
|
|
|
@@ -71796,6 +72168,44 @@ proto.clarifai.api.Nodepool.prototype.hasMetadata = function() {
|
|
|
71796
72168
|
};
|
|
71797
72169
|
|
|
71798
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
|
+
|
|
71799
72209
|
|
|
71800
72210
|
/**
|
|
71801
72211
|
* List of repeated fields within this message type.
|
|
@@ -71964,6 +72374,13 @@ proto.clarifai.api.NodeCapacityType.prototype.clearCapacityTypesList = function(
|
|
|
71964
72374
|
|
|
71965
72375
|
|
|
71966
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
|
+
|
|
71967
72384
|
|
|
71968
72385
|
|
|
71969
72386
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -72002,7 +72419,9 @@ proto.clarifai.api.InstanceType.toObject = function(includeInstance, msg) {
|
|
|
72002
72419
|
cloudProvider: (f = msg.getCloudProvider()) && proto.clarifai.api.CloudProvider.toObject(includeInstance, f),
|
|
72003
72420
|
region: jspb.Message.getFieldWithDefault(msg, 6, ""),
|
|
72004
72421
|
allowedCapacityTypes: (f = msg.getAllowedCapacityTypes()) && proto.clarifai.api.NodeCapacityType.toObject(includeInstance, f),
|
|
72005
|
-
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)
|
|
72006
72425
|
};
|
|
72007
72426
|
|
|
72008
72427
|
if (includeInstance) {
|
|
@@ -72074,6 +72493,11 @@ proto.clarifai.api.InstanceType.deserializeBinaryFromReader = function(msg, read
|
|
|
72074
72493
|
var value = /** @type {string} */ (reader.readString());
|
|
72075
72494
|
msg.setFeatureFlagGroup(value);
|
|
72076
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;
|
|
72077
72501
|
default:
|
|
72078
72502
|
reader.skipField();
|
|
72079
72503
|
break;
|
|
@@ -72162,6 +72586,14 @@ proto.clarifai.api.InstanceType.serializeBinaryToWriter = function(message, writ
|
|
|
72162
72586
|
f
|
|
72163
72587
|
);
|
|
72164
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
|
+
}
|
|
72165
72597
|
};
|
|
72166
72598
|
|
|
72167
72599
|
|
|
@@ -72366,6 +72798,44 @@ proto.clarifai.api.InstanceType.prototype.setFeatureFlagGroup = function(value)
|
|
|
72366
72798
|
};
|
|
72367
72799
|
|
|
72368
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
|
+
|
|
72369
72839
|
|
|
72370
72840
|
|
|
72371
72841
|
|
|
@@ -73762,7 +74232,7 @@ proto.clarifai.api.AutoscaleConfig.prototype.setScaleToZeroDelaySeconds = functi
|
|
|
73762
74232
|
* @private {!Array<number>}
|
|
73763
74233
|
* @const
|
|
73764
74234
|
*/
|
|
73765
|
-
proto.clarifai.api.Deployment.repeatedFields_ = [4];
|
|
74235
|
+
proto.clarifai.api.Deployment.repeatedFields_ = [4,15];
|
|
73766
74236
|
|
|
73767
74237
|
|
|
73768
74238
|
|
|
@@ -73807,7 +74277,9 @@ proto.clarifai.api.Deployment.toObject = function(includeInstance, msg) {
|
|
|
73807
74277
|
worker: (f = msg.getWorker()) && proto.clarifai.api.Worker.toObject(includeInstance, f),
|
|
73808
74278
|
createdAt: (f = msg.getCreatedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
73809
74279
|
modifiedAt: (f = msg.getModifiedAt()) && google_protobuf_timestamp_pb.Timestamp.toObject(includeInstance, f),
|
|
73810
|
-
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)
|
|
73811
74283
|
};
|
|
73812
74284
|
|
|
73813
74285
|
if (includeInstance) {
|
|
@@ -73899,6 +74371,11 @@ proto.clarifai.api.Deployment.deserializeBinaryFromReader = function(msg, reader
|
|
|
73899
74371
|
var value = /** @type {boolean} */ (reader.readBool());
|
|
73900
74372
|
msg.setDeployLatestVersion(value);
|
|
73901
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;
|
|
73902
74379
|
default:
|
|
73903
74380
|
reader.skipField();
|
|
73904
74381
|
break;
|
|
@@ -74019,6 +74496,14 @@ proto.clarifai.api.Deployment.serializeBinaryToWriter = function(message, writer
|
|
|
74019
74496
|
f
|
|
74020
74497
|
);
|
|
74021
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
|
+
}
|
|
74022
74507
|
};
|
|
74023
74508
|
|
|
74024
74509
|
|
|
@@ -74387,6 +74872,44 @@ proto.clarifai.api.Deployment.prototype.setDeployLatestVersion = function(value)
|
|
|
74387
74872
|
};
|
|
74388
74873
|
|
|
74389
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
|
+
|
|
74390
74913
|
|
|
74391
74914
|
|
|
74392
74915
|
|