clarifai-web-grpc 10.5.3 → 10.6.0
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 +39 -47
- package/dist/cjs/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/cjs/proto/clarifai/api/service_pb.js +547 -7
- package/dist/esm/proto/clarifai/api/resources_pb.js +39 -47
- package/dist/esm/proto/clarifai/api/service_grpc_web_pb.js +42 -0
- package/dist/esm/proto/clarifai/api/service_pb.js +547 -7
- package/package.json +1 -1
- package/proto/clarifai/api/resources_pb.d.ts +6 -8
- package/proto/clarifai/api/resources_pb.js +52 -61
- package/proto/clarifai/api/service_grpc_web_pb.d.ts +12 -0
- package/proto/clarifai/api/service_grpc_web_pb.js +61 -0
- package/proto/clarifai/api/service_pb.d.ts +81 -0
- package/proto/clarifai/api/service_pb.js +684 -7
|
@@ -260,6 +260,7 @@ goog.exportSymbol('proto.clarifai.api.PatchAnnotationsSearchesRequest', null, gl
|
|
|
260
260
|
goog.exportSymbol('proto.clarifai.api.PatchAnnotationsStatusRequest', null, global);
|
|
261
261
|
goog.exportSymbol('proto.clarifai.api.PatchAnnotationsStatusResponse', null, global);
|
|
262
262
|
goog.exportSymbol('proto.clarifai.api.PatchAppRequest', null, global);
|
|
263
|
+
goog.exportSymbol('proto.clarifai.api.PatchAppsDetailsRequest', null, global);
|
|
263
264
|
goog.exportSymbol('proto.clarifai.api.PatchAppsIdsRequest', null, global);
|
|
264
265
|
goog.exportSymbol('proto.clarifai.api.PatchAppsRequest', null, global);
|
|
265
266
|
goog.exportSymbol('proto.clarifai.api.PatchCollaboratorsRequest', null, global);
|
|
@@ -359,6 +360,7 @@ goog.exportSymbol('proto.clarifai.api.PutUploadContentPartsRequest', null, globa
|
|
|
359
360
|
goog.exportSymbol('proto.clarifai.api.ReviewApproveConfig', null, global);
|
|
360
361
|
goog.exportSymbol('proto.clarifai.api.ReviewRejectConfig', null, global);
|
|
361
362
|
goog.exportSymbol('proto.clarifai.api.ReviewRequestChangesConfig', null, global);
|
|
363
|
+
goog.exportSymbol('proto.clarifai.api.ReviewStartConfig', null, global);
|
|
362
364
|
goog.exportSymbol('proto.clarifai.api.RunnerItem', null, global);
|
|
363
365
|
goog.exportSymbol('proto.clarifai.api.RunnerItem.RequestCase', null, global);
|
|
364
366
|
goog.exportSymbol('proto.clarifai.api.RunnerItemOutput', null, global);
|
|
@@ -784,6 +786,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
784
786
|
*/
|
|
785
787
|
proto.clarifai.api.PatchAppsRequest.displayName = 'proto.clarifai.api.PatchAppsRequest';
|
|
786
788
|
}
|
|
789
|
+
/**
|
|
790
|
+
* Generated by JsPbCodeGenerator.
|
|
791
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
792
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
793
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
794
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
795
|
+
* valid.
|
|
796
|
+
* @extends {jspb.Message}
|
|
797
|
+
* @constructor
|
|
798
|
+
*/
|
|
799
|
+
proto.clarifai.api.PatchAppsDetailsRequest = function(opt_data) {
|
|
800
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchAppsDetailsRequest.repeatedFields_, null);
|
|
801
|
+
};
|
|
802
|
+
goog.inherits(proto.clarifai.api.PatchAppsDetailsRequest, jspb.Message);
|
|
803
|
+
if (goog.DEBUG && !COMPILED) {
|
|
804
|
+
/**
|
|
805
|
+
* @public
|
|
806
|
+
* @override
|
|
807
|
+
*/
|
|
808
|
+
proto.clarifai.api.PatchAppsDetailsRequest.displayName = 'proto.clarifai.api.PatchAppsDetailsRequest';
|
|
809
|
+
}
|
|
787
810
|
/**
|
|
788
811
|
* Generated by JsPbCodeGenerator.
|
|
789
812
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -6601,6 +6624,27 @@ if (goog.DEBUG && !COMPILED) {
|
|
|
6601
6624
|
*/
|
|
6602
6625
|
proto.clarifai.api.LabelSubmitConfig.displayName = 'proto.clarifai.api.LabelSubmitConfig';
|
|
6603
6626
|
}
|
|
6627
|
+
/**
|
|
6628
|
+
* Generated by JsPbCodeGenerator.
|
|
6629
|
+
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
6630
|
+
* server response, or constructed directly in Javascript. The array is used
|
|
6631
|
+
* in place and becomes part of the constructed object. It is not cloned.
|
|
6632
|
+
* If no data is provided, the constructed object will be empty, but still
|
|
6633
|
+
* valid.
|
|
6634
|
+
* @extends {jspb.Message}
|
|
6635
|
+
* @constructor
|
|
6636
|
+
*/
|
|
6637
|
+
proto.clarifai.api.ReviewStartConfig = function(opt_data) {
|
|
6638
|
+
jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.ReviewStartConfig.repeatedFields_, null);
|
|
6639
|
+
};
|
|
6640
|
+
goog.inherits(proto.clarifai.api.ReviewStartConfig, jspb.Message);
|
|
6641
|
+
if (goog.DEBUG && !COMPILED) {
|
|
6642
|
+
/**
|
|
6643
|
+
* @public
|
|
6644
|
+
* @override
|
|
6645
|
+
*/
|
|
6646
|
+
proto.clarifai.api.ReviewStartConfig.displayName = 'proto.clarifai.api.ReviewStartConfig';
|
|
6647
|
+
}
|
|
6604
6648
|
/**
|
|
6605
6649
|
* Generated by JsPbCodeGenerator.
|
|
6606
6650
|
* @param {Array=} opt_data Optional initial data array, typically from a
|
|
@@ -12849,6 +12893,247 @@ proto.clarifai.api.PatchAppsRequest.prototype.setReindex = function(value) {
|
|
|
12849
12893
|
|
|
12850
12894
|
|
|
12851
12895
|
|
|
12896
|
+
/**
|
|
12897
|
+
* List of repeated fields within this message type.
|
|
12898
|
+
* @private {!Array<number>}
|
|
12899
|
+
* @const
|
|
12900
|
+
*/
|
|
12901
|
+
proto.clarifai.api.PatchAppsDetailsRequest.repeatedFields_ = [2];
|
|
12902
|
+
|
|
12903
|
+
|
|
12904
|
+
|
|
12905
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
12906
|
+
/**
|
|
12907
|
+
* Creates an object representation of this proto.
|
|
12908
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
12909
|
+
* Optional fields that are not set will be set to undefined.
|
|
12910
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
12911
|
+
* For the list of reserved names please see:
|
|
12912
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
12913
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
12914
|
+
* JSPB instance for transitional soy proto support:
|
|
12915
|
+
* http://goto/soy-param-migration
|
|
12916
|
+
* @return {!Object}
|
|
12917
|
+
*/
|
|
12918
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.toObject = function(opt_includeInstance) {
|
|
12919
|
+
return proto.clarifai.api.PatchAppsDetailsRequest.toObject(opt_includeInstance, this);
|
|
12920
|
+
};
|
|
12921
|
+
|
|
12922
|
+
|
|
12923
|
+
/**
|
|
12924
|
+
* Static version of the {@see toObject} method.
|
|
12925
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
12926
|
+
* the JSPB instance for transitional soy proto support:
|
|
12927
|
+
* http://goto/soy-param-migration
|
|
12928
|
+
* @param {!proto.clarifai.api.PatchAppsDetailsRequest} msg The msg instance to transform.
|
|
12929
|
+
* @return {!Object}
|
|
12930
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
12931
|
+
*/
|
|
12932
|
+
proto.clarifai.api.PatchAppsDetailsRequest.toObject = function(includeInstance, msg) {
|
|
12933
|
+
var f, obj = {
|
|
12934
|
+
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
12935
|
+
appsList: jspb.Message.toObjectList(msg.getAppsList(),
|
|
12936
|
+
proto_clarifai_api_resources_pb.App.toObject, includeInstance),
|
|
12937
|
+
action: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
12938
|
+
};
|
|
12939
|
+
|
|
12940
|
+
if (includeInstance) {
|
|
12941
|
+
obj.$jspbMessageInstance = msg;
|
|
12942
|
+
}
|
|
12943
|
+
return obj;
|
|
12944
|
+
};
|
|
12945
|
+
}
|
|
12946
|
+
|
|
12947
|
+
|
|
12948
|
+
/**
|
|
12949
|
+
* Deserializes binary data (in protobuf wire format).
|
|
12950
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
12951
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest}
|
|
12952
|
+
*/
|
|
12953
|
+
proto.clarifai.api.PatchAppsDetailsRequest.deserializeBinary = function(bytes) {
|
|
12954
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
12955
|
+
var msg = new proto.clarifai.api.PatchAppsDetailsRequest;
|
|
12956
|
+
return proto.clarifai.api.PatchAppsDetailsRequest.deserializeBinaryFromReader(msg, reader);
|
|
12957
|
+
};
|
|
12958
|
+
|
|
12959
|
+
|
|
12960
|
+
/**
|
|
12961
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
12962
|
+
* given reader into the given message object.
|
|
12963
|
+
* @param {!proto.clarifai.api.PatchAppsDetailsRequest} msg The message object to deserialize into.
|
|
12964
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
12965
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest}
|
|
12966
|
+
*/
|
|
12967
|
+
proto.clarifai.api.PatchAppsDetailsRequest.deserializeBinaryFromReader = function(msg, reader) {
|
|
12968
|
+
while (reader.nextField()) {
|
|
12969
|
+
if (reader.isEndGroup()) {
|
|
12970
|
+
break;
|
|
12971
|
+
}
|
|
12972
|
+
var field = reader.getFieldNumber();
|
|
12973
|
+
switch (field) {
|
|
12974
|
+
case 1:
|
|
12975
|
+
var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
|
|
12976
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
|
|
12977
|
+
msg.setUserAppId(value);
|
|
12978
|
+
break;
|
|
12979
|
+
case 2:
|
|
12980
|
+
var value = new proto_clarifai_api_resources_pb.App;
|
|
12981
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.App.deserializeBinaryFromReader);
|
|
12982
|
+
msg.addApps(value);
|
|
12983
|
+
break;
|
|
12984
|
+
case 3:
|
|
12985
|
+
var value = /** @type {string} */ (reader.readString());
|
|
12986
|
+
msg.setAction(value);
|
|
12987
|
+
break;
|
|
12988
|
+
default:
|
|
12989
|
+
reader.skipField();
|
|
12990
|
+
break;
|
|
12991
|
+
}
|
|
12992
|
+
}
|
|
12993
|
+
return msg;
|
|
12994
|
+
};
|
|
12995
|
+
|
|
12996
|
+
|
|
12997
|
+
/**
|
|
12998
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
12999
|
+
* @return {!Uint8Array}
|
|
13000
|
+
*/
|
|
13001
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.serializeBinary = function() {
|
|
13002
|
+
var writer = new jspb.BinaryWriter();
|
|
13003
|
+
proto.clarifai.api.PatchAppsDetailsRequest.serializeBinaryToWriter(this, writer);
|
|
13004
|
+
return writer.getResultBuffer();
|
|
13005
|
+
};
|
|
13006
|
+
|
|
13007
|
+
|
|
13008
|
+
/**
|
|
13009
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
13010
|
+
* format), writing to the given BinaryWriter.
|
|
13011
|
+
* @param {!proto.clarifai.api.PatchAppsDetailsRequest} message
|
|
13012
|
+
* @param {!jspb.BinaryWriter} writer
|
|
13013
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
13014
|
+
*/
|
|
13015
|
+
proto.clarifai.api.PatchAppsDetailsRequest.serializeBinaryToWriter = function(message, writer) {
|
|
13016
|
+
var f = undefined;
|
|
13017
|
+
f = message.getUserAppId();
|
|
13018
|
+
if (f != null) {
|
|
13019
|
+
writer.writeMessage(
|
|
13020
|
+
1,
|
|
13021
|
+
f,
|
|
13022
|
+
proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter
|
|
13023
|
+
);
|
|
13024
|
+
}
|
|
13025
|
+
f = message.getAppsList();
|
|
13026
|
+
if (f.length > 0) {
|
|
13027
|
+
writer.writeRepeatedMessage(
|
|
13028
|
+
2,
|
|
13029
|
+
f,
|
|
13030
|
+
proto_clarifai_api_resources_pb.App.serializeBinaryToWriter
|
|
13031
|
+
);
|
|
13032
|
+
}
|
|
13033
|
+
f = message.getAction();
|
|
13034
|
+
if (f.length > 0) {
|
|
13035
|
+
writer.writeString(
|
|
13036
|
+
3,
|
|
13037
|
+
f
|
|
13038
|
+
);
|
|
13039
|
+
}
|
|
13040
|
+
};
|
|
13041
|
+
|
|
13042
|
+
|
|
13043
|
+
/**
|
|
13044
|
+
* optional UserAppIDSet user_app_id = 1;
|
|
13045
|
+
* @return {?proto.clarifai.api.UserAppIDSet}
|
|
13046
|
+
*/
|
|
13047
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.getUserAppId = function() {
|
|
13048
|
+
return /** @type{?proto.clarifai.api.UserAppIDSet} */ (
|
|
13049
|
+
jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
|
|
13050
|
+
};
|
|
13051
|
+
|
|
13052
|
+
|
|
13053
|
+
/**
|
|
13054
|
+
* @param {?proto.clarifai.api.UserAppIDSet|undefined} value
|
|
13055
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest} returns this
|
|
13056
|
+
*/
|
|
13057
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.setUserAppId = function(value) {
|
|
13058
|
+
return jspb.Message.setWrapperField(this, 1, value);
|
|
13059
|
+
};
|
|
13060
|
+
|
|
13061
|
+
|
|
13062
|
+
/**
|
|
13063
|
+
* Clears the message field making it undefined.
|
|
13064
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest} returns this
|
|
13065
|
+
*/
|
|
13066
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.clearUserAppId = function() {
|
|
13067
|
+
return this.setUserAppId(undefined);
|
|
13068
|
+
};
|
|
13069
|
+
|
|
13070
|
+
|
|
13071
|
+
/**
|
|
13072
|
+
* Returns whether this field is set.
|
|
13073
|
+
* @return {boolean}
|
|
13074
|
+
*/
|
|
13075
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.hasUserAppId = function() {
|
|
13076
|
+
return jspb.Message.getField(this, 1) != null;
|
|
13077
|
+
};
|
|
13078
|
+
|
|
13079
|
+
|
|
13080
|
+
/**
|
|
13081
|
+
* repeated App apps = 2;
|
|
13082
|
+
* @return {!Array<!proto.clarifai.api.App>}
|
|
13083
|
+
*/
|
|
13084
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.getAppsList = function() {
|
|
13085
|
+
return /** @type{!Array<!proto.clarifai.api.App>} */ (
|
|
13086
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.App, 2));
|
|
13087
|
+
};
|
|
13088
|
+
|
|
13089
|
+
|
|
13090
|
+
/**
|
|
13091
|
+
* @param {!Array<!proto.clarifai.api.App>} value
|
|
13092
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest} returns this
|
|
13093
|
+
*/
|
|
13094
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.setAppsList = function(value) {
|
|
13095
|
+
return jspb.Message.setRepeatedWrapperField(this, 2, value);
|
|
13096
|
+
};
|
|
13097
|
+
|
|
13098
|
+
|
|
13099
|
+
/**
|
|
13100
|
+
* @param {!proto.clarifai.api.App=} opt_value
|
|
13101
|
+
* @param {number=} opt_index
|
|
13102
|
+
* @return {!proto.clarifai.api.App}
|
|
13103
|
+
*/
|
|
13104
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.addApps = function(opt_value, opt_index) {
|
|
13105
|
+
return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.App, opt_index);
|
|
13106
|
+
};
|
|
13107
|
+
|
|
13108
|
+
|
|
13109
|
+
/**
|
|
13110
|
+
* Clears the list making it empty but non-null.
|
|
13111
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest} returns this
|
|
13112
|
+
*/
|
|
13113
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.clearAppsList = function() {
|
|
13114
|
+
return this.setAppsList([]);
|
|
13115
|
+
};
|
|
13116
|
+
|
|
13117
|
+
|
|
13118
|
+
/**
|
|
13119
|
+
* optional string action = 3;
|
|
13120
|
+
* @return {string}
|
|
13121
|
+
*/
|
|
13122
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.getAction = function() {
|
|
13123
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 3, ""));
|
|
13124
|
+
};
|
|
13125
|
+
|
|
13126
|
+
|
|
13127
|
+
/**
|
|
13128
|
+
* @param {string} value
|
|
13129
|
+
* @return {!proto.clarifai.api.PatchAppsDetailsRequest} returns this
|
|
13130
|
+
*/
|
|
13131
|
+
proto.clarifai.api.PatchAppsDetailsRequest.prototype.setAction = function(value) {
|
|
13132
|
+
return jspb.Message.setProto3StringField(this, 3, value);
|
|
13133
|
+
};
|
|
13134
|
+
|
|
13135
|
+
|
|
13136
|
+
|
|
12852
13137
|
|
|
12853
13138
|
|
|
12854
13139
|
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
@@ -78572,7 +78857,7 @@ proto.clarifai.api.MultiBulkOperationsResponse.prototype.clearBulkOperationList
|
|
|
78572
78857
|
* @private {!Array<!Array<number>>}
|
|
78573
78858
|
* @const
|
|
78574
78859
|
*/
|
|
78575
|
-
proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_ = [[6,7,8,9]];
|
|
78860
|
+
proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_ = [[6,10,7,8,9]];
|
|
78576
78861
|
|
|
78577
78862
|
/**
|
|
78578
78863
|
* @enum {number}
|
|
@@ -78580,6 +78865,7 @@ proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_ = [[6,7,8,9]];
|
|
|
78580
78865
|
proto.clarifai.api.PutTaskAssignmentsRequest.ActionConfigCase = {
|
|
78581
78866
|
ACTION_CONFIG_NOT_SET: 0,
|
|
78582
78867
|
LABEL_SUBMIT_CONFIG: 6,
|
|
78868
|
+
REVIEW_START_CONFIG: 10,
|
|
78583
78869
|
REVIEW_APPROVE_CONFIG: 7,
|
|
78584
78870
|
REVIEW_REQUEST_CHANGES_CONFIG: 8,
|
|
78585
78871
|
REVIEW_REJECT_CONFIG: 9
|
|
@@ -78628,6 +78914,7 @@ proto.clarifai.api.PutTaskAssignmentsRequest.toObject = function(includeInstance
|
|
|
78628
78914
|
inputId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
78629
78915
|
action: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
78630
78916
|
labelSubmitConfig: (f = msg.getLabelSubmitConfig()) && proto.clarifai.api.LabelSubmitConfig.toObject(includeInstance, f),
|
|
78917
|
+
reviewStartConfig: (f = msg.getReviewStartConfig()) && proto.clarifai.api.ReviewStartConfig.toObject(includeInstance, f),
|
|
78631
78918
|
reviewApproveConfig: (f = msg.getReviewApproveConfig()) && proto.clarifai.api.ReviewApproveConfig.toObject(includeInstance, f),
|
|
78632
78919
|
reviewRequestChangesConfig: (f = msg.getReviewRequestChangesConfig()) && proto.clarifai.api.ReviewRequestChangesConfig.toObject(includeInstance, f),
|
|
78633
78920
|
reviewRejectConfig: (f = msg.getReviewRejectConfig()) && proto.clarifai.api.ReviewRejectConfig.toObject(includeInstance, f)
|
|
@@ -78689,6 +78976,11 @@ proto.clarifai.api.PutTaskAssignmentsRequest.deserializeBinaryFromReader = funct
|
|
|
78689
78976
|
reader.readMessage(value,proto.clarifai.api.LabelSubmitConfig.deserializeBinaryFromReader);
|
|
78690
78977
|
msg.setLabelSubmitConfig(value);
|
|
78691
78978
|
break;
|
|
78979
|
+
case 10:
|
|
78980
|
+
var value = new proto.clarifai.api.ReviewStartConfig;
|
|
78981
|
+
reader.readMessage(value,proto.clarifai.api.ReviewStartConfig.deserializeBinaryFromReader);
|
|
78982
|
+
msg.setReviewStartConfig(value);
|
|
78983
|
+
break;
|
|
78692
78984
|
case 7:
|
|
78693
78985
|
var value = new proto.clarifai.api.ReviewApproveConfig;
|
|
78694
78986
|
reader.readMessage(value,proto.clarifai.api.ReviewApproveConfig.deserializeBinaryFromReader);
|
|
@@ -78770,6 +79062,14 @@ proto.clarifai.api.PutTaskAssignmentsRequest.serializeBinaryToWriter = function(
|
|
|
78770
79062
|
proto.clarifai.api.LabelSubmitConfig.serializeBinaryToWriter
|
|
78771
79063
|
);
|
|
78772
79064
|
}
|
|
79065
|
+
f = message.getReviewStartConfig();
|
|
79066
|
+
if (f != null) {
|
|
79067
|
+
writer.writeMessage(
|
|
79068
|
+
10,
|
|
79069
|
+
f,
|
|
79070
|
+
proto.clarifai.api.ReviewStartConfig.serializeBinaryToWriter
|
|
79071
|
+
);
|
|
79072
|
+
}
|
|
78773
79073
|
f = message.getReviewApproveConfig();
|
|
78774
79074
|
if (f != null) {
|
|
78775
79075
|
writer.writeMessage(
|
|
@@ -78925,6 +79225,43 @@ proto.clarifai.api.PutTaskAssignmentsRequest.prototype.hasLabelSubmitConfig = fu
|
|
|
78925
79225
|
};
|
|
78926
79226
|
|
|
78927
79227
|
|
|
79228
|
+
/**
|
|
79229
|
+
* optional ReviewStartConfig review_start_config = 10;
|
|
79230
|
+
* @return {?proto.clarifai.api.ReviewStartConfig}
|
|
79231
|
+
*/
|
|
79232
|
+
proto.clarifai.api.PutTaskAssignmentsRequest.prototype.getReviewStartConfig = function() {
|
|
79233
|
+
return /** @type{?proto.clarifai.api.ReviewStartConfig} */ (
|
|
79234
|
+
jspb.Message.getWrapperField(this, proto.clarifai.api.ReviewStartConfig, 10));
|
|
79235
|
+
};
|
|
79236
|
+
|
|
79237
|
+
|
|
79238
|
+
/**
|
|
79239
|
+
* @param {?proto.clarifai.api.ReviewStartConfig|undefined} value
|
|
79240
|
+
* @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
|
|
79241
|
+
*/
|
|
79242
|
+
proto.clarifai.api.PutTaskAssignmentsRequest.prototype.setReviewStartConfig = function(value) {
|
|
79243
|
+
return jspb.Message.setOneofWrapperField(this, 10, proto.clarifai.api.PutTaskAssignmentsRequest.oneofGroups_[0], value);
|
|
79244
|
+
};
|
|
79245
|
+
|
|
79246
|
+
|
|
79247
|
+
/**
|
|
79248
|
+
* Clears the message field making it undefined.
|
|
79249
|
+
* @return {!proto.clarifai.api.PutTaskAssignmentsRequest} returns this
|
|
79250
|
+
*/
|
|
79251
|
+
proto.clarifai.api.PutTaskAssignmentsRequest.prototype.clearReviewStartConfig = function() {
|
|
79252
|
+
return this.setReviewStartConfig(undefined);
|
|
79253
|
+
};
|
|
79254
|
+
|
|
79255
|
+
|
|
79256
|
+
/**
|
|
79257
|
+
* Returns whether this field is set.
|
|
79258
|
+
* @return {boolean}
|
|
79259
|
+
*/
|
|
79260
|
+
proto.clarifai.api.PutTaskAssignmentsRequest.prototype.hasReviewStartConfig = function() {
|
|
79261
|
+
return jspb.Message.getField(this, 10) != null;
|
|
79262
|
+
};
|
|
79263
|
+
|
|
79264
|
+
|
|
78928
79265
|
/**
|
|
78929
79266
|
* optional ReviewApproveConfig review_approve_config = 7;
|
|
78930
79267
|
* @return {?proto.clarifai.api.ReviewApproveConfig}
|
|
@@ -79197,6 +79534,166 @@ proto.clarifai.api.LabelSubmitConfig.prototype.clearTaskAssignmentsList = functi
|
|
|
79197
79534
|
|
|
79198
79535
|
|
|
79199
79536
|
|
|
79537
|
+
/**
|
|
79538
|
+
* List of repeated fields within this message type.
|
|
79539
|
+
* @private {!Array<number>}
|
|
79540
|
+
* @const
|
|
79541
|
+
*/
|
|
79542
|
+
proto.clarifai.api.ReviewStartConfig.repeatedFields_ = [1];
|
|
79543
|
+
|
|
79544
|
+
|
|
79545
|
+
|
|
79546
|
+
if (jspb.Message.GENERATE_TO_OBJECT) {
|
|
79547
|
+
/**
|
|
79548
|
+
* Creates an object representation of this proto.
|
|
79549
|
+
* Field names that are reserved in JavaScript and will be renamed to pb_name.
|
|
79550
|
+
* Optional fields that are not set will be set to undefined.
|
|
79551
|
+
* To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
|
|
79552
|
+
* For the list of reserved names please see:
|
|
79553
|
+
* net/proto2/compiler/js/internal/generator.cc#kKeyword.
|
|
79554
|
+
* @param {boolean=} opt_includeInstance Deprecated. whether to include the
|
|
79555
|
+
* JSPB instance for transitional soy proto support:
|
|
79556
|
+
* http://goto/soy-param-migration
|
|
79557
|
+
* @return {!Object}
|
|
79558
|
+
*/
|
|
79559
|
+
proto.clarifai.api.ReviewStartConfig.prototype.toObject = function(opt_includeInstance) {
|
|
79560
|
+
return proto.clarifai.api.ReviewStartConfig.toObject(opt_includeInstance, this);
|
|
79561
|
+
};
|
|
79562
|
+
|
|
79563
|
+
|
|
79564
|
+
/**
|
|
79565
|
+
* Static version of the {@see toObject} method.
|
|
79566
|
+
* @param {boolean|undefined} includeInstance Deprecated. Whether to include
|
|
79567
|
+
* the JSPB instance for transitional soy proto support:
|
|
79568
|
+
* http://goto/soy-param-migration
|
|
79569
|
+
* @param {!proto.clarifai.api.ReviewStartConfig} msg The msg instance to transform.
|
|
79570
|
+
* @return {!Object}
|
|
79571
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79572
|
+
*/
|
|
79573
|
+
proto.clarifai.api.ReviewStartConfig.toObject = function(includeInstance, msg) {
|
|
79574
|
+
var f, obj = {
|
|
79575
|
+
workersList: jspb.Message.toObjectList(msg.getWorkersList(),
|
|
79576
|
+
proto_clarifai_api_resources_pb.Worker.toObject, includeInstance)
|
|
79577
|
+
};
|
|
79578
|
+
|
|
79579
|
+
if (includeInstance) {
|
|
79580
|
+
obj.$jspbMessageInstance = msg;
|
|
79581
|
+
}
|
|
79582
|
+
return obj;
|
|
79583
|
+
};
|
|
79584
|
+
}
|
|
79585
|
+
|
|
79586
|
+
|
|
79587
|
+
/**
|
|
79588
|
+
* Deserializes binary data (in protobuf wire format).
|
|
79589
|
+
* @param {jspb.ByteSource} bytes The bytes to deserialize.
|
|
79590
|
+
* @return {!proto.clarifai.api.ReviewStartConfig}
|
|
79591
|
+
*/
|
|
79592
|
+
proto.clarifai.api.ReviewStartConfig.deserializeBinary = function(bytes) {
|
|
79593
|
+
var reader = new jspb.BinaryReader(bytes);
|
|
79594
|
+
var msg = new proto.clarifai.api.ReviewStartConfig;
|
|
79595
|
+
return proto.clarifai.api.ReviewStartConfig.deserializeBinaryFromReader(msg, reader);
|
|
79596
|
+
};
|
|
79597
|
+
|
|
79598
|
+
|
|
79599
|
+
/**
|
|
79600
|
+
* Deserializes binary data (in protobuf wire format) from the
|
|
79601
|
+
* given reader into the given message object.
|
|
79602
|
+
* @param {!proto.clarifai.api.ReviewStartConfig} msg The message object to deserialize into.
|
|
79603
|
+
* @param {!jspb.BinaryReader} reader The BinaryReader to use.
|
|
79604
|
+
* @return {!proto.clarifai.api.ReviewStartConfig}
|
|
79605
|
+
*/
|
|
79606
|
+
proto.clarifai.api.ReviewStartConfig.deserializeBinaryFromReader = function(msg, reader) {
|
|
79607
|
+
while (reader.nextField()) {
|
|
79608
|
+
if (reader.isEndGroup()) {
|
|
79609
|
+
break;
|
|
79610
|
+
}
|
|
79611
|
+
var field = reader.getFieldNumber();
|
|
79612
|
+
switch (field) {
|
|
79613
|
+
case 1:
|
|
79614
|
+
var value = new proto_clarifai_api_resources_pb.Worker;
|
|
79615
|
+
reader.readMessage(value,proto_clarifai_api_resources_pb.Worker.deserializeBinaryFromReader);
|
|
79616
|
+
msg.addWorkers(value);
|
|
79617
|
+
break;
|
|
79618
|
+
default:
|
|
79619
|
+
reader.skipField();
|
|
79620
|
+
break;
|
|
79621
|
+
}
|
|
79622
|
+
}
|
|
79623
|
+
return msg;
|
|
79624
|
+
};
|
|
79625
|
+
|
|
79626
|
+
|
|
79627
|
+
/**
|
|
79628
|
+
* Serializes the message to binary data (in protobuf wire format).
|
|
79629
|
+
* @return {!Uint8Array}
|
|
79630
|
+
*/
|
|
79631
|
+
proto.clarifai.api.ReviewStartConfig.prototype.serializeBinary = function() {
|
|
79632
|
+
var writer = new jspb.BinaryWriter();
|
|
79633
|
+
proto.clarifai.api.ReviewStartConfig.serializeBinaryToWriter(this, writer);
|
|
79634
|
+
return writer.getResultBuffer();
|
|
79635
|
+
};
|
|
79636
|
+
|
|
79637
|
+
|
|
79638
|
+
/**
|
|
79639
|
+
* Serializes the given message to binary data (in protobuf wire
|
|
79640
|
+
* format), writing to the given BinaryWriter.
|
|
79641
|
+
* @param {!proto.clarifai.api.ReviewStartConfig} message
|
|
79642
|
+
* @param {!jspb.BinaryWriter} writer
|
|
79643
|
+
* @suppress {unusedLocalVariables} f is only used for nested messages
|
|
79644
|
+
*/
|
|
79645
|
+
proto.clarifai.api.ReviewStartConfig.serializeBinaryToWriter = function(message, writer) {
|
|
79646
|
+
var f = undefined;
|
|
79647
|
+
f = message.getWorkersList();
|
|
79648
|
+
if (f.length > 0) {
|
|
79649
|
+
writer.writeRepeatedMessage(
|
|
79650
|
+
1,
|
|
79651
|
+
f,
|
|
79652
|
+
proto_clarifai_api_resources_pb.Worker.serializeBinaryToWriter
|
|
79653
|
+
);
|
|
79654
|
+
}
|
|
79655
|
+
};
|
|
79656
|
+
|
|
79657
|
+
|
|
79658
|
+
/**
|
|
79659
|
+
* repeated Worker workers = 1;
|
|
79660
|
+
* @return {!Array<!proto.clarifai.api.Worker>}
|
|
79661
|
+
*/
|
|
79662
|
+
proto.clarifai.api.ReviewStartConfig.prototype.getWorkersList = function() {
|
|
79663
|
+
return /** @type{!Array<!proto.clarifai.api.Worker>} */ (
|
|
79664
|
+
jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Worker, 1));
|
|
79665
|
+
};
|
|
79666
|
+
|
|
79667
|
+
|
|
79668
|
+
/**
|
|
79669
|
+
* @param {!Array<!proto.clarifai.api.Worker>} value
|
|
79670
|
+
* @return {!proto.clarifai.api.ReviewStartConfig} returns this
|
|
79671
|
+
*/
|
|
79672
|
+
proto.clarifai.api.ReviewStartConfig.prototype.setWorkersList = function(value) {
|
|
79673
|
+
return jspb.Message.setRepeatedWrapperField(this, 1, value);
|
|
79674
|
+
};
|
|
79675
|
+
|
|
79676
|
+
|
|
79677
|
+
/**
|
|
79678
|
+
* @param {!proto.clarifai.api.Worker=} opt_value
|
|
79679
|
+
* @param {number=} opt_index
|
|
79680
|
+
* @return {!proto.clarifai.api.Worker}
|
|
79681
|
+
*/
|
|
79682
|
+
proto.clarifai.api.ReviewStartConfig.prototype.addWorkers = function(opt_value, opt_index) {
|
|
79683
|
+
return jspb.Message.addToRepeatedWrapperField(this, 1, opt_value, proto.clarifai.api.Worker, opt_index);
|
|
79684
|
+
};
|
|
79685
|
+
|
|
79686
|
+
|
|
79687
|
+
/**
|
|
79688
|
+
* Clears the list making it empty but non-null.
|
|
79689
|
+
* @return {!proto.clarifai.api.ReviewStartConfig} returns this
|
|
79690
|
+
*/
|
|
79691
|
+
proto.clarifai.api.ReviewStartConfig.prototype.clearWorkersList = function() {
|
|
79692
|
+
return this.setWorkersList([]);
|
|
79693
|
+
};
|
|
79694
|
+
|
|
79695
|
+
|
|
79696
|
+
|
|
79200
79697
|
/**
|
|
79201
79698
|
* List of repeated fields within this message type.
|
|
79202
79699
|
* @private {!Array<number>}
|
|
@@ -84024,7 +84521,8 @@ proto.clarifai.api.GetRunnerRequest.toObject = function(includeInstance, msg) {
|
|
|
84024
84521
|
var f, obj = {
|
|
84025
84522
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84026
84523
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84027
|
-
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
84524
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
84525
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
84028
84526
|
};
|
|
84029
84527
|
|
|
84030
84528
|
if (includeInstance) {
|
|
@@ -84074,6 +84572,10 @@ proto.clarifai.api.GetRunnerRequest.deserializeBinaryFromReader = function(msg,
|
|
|
84074
84572
|
var value = /** @type {string} */ (reader.readString());
|
|
84075
84573
|
msg.setRunnerId(value);
|
|
84076
84574
|
break;
|
|
84575
|
+
case 4:
|
|
84576
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84577
|
+
msg.setComputeClusterId(value);
|
|
84578
|
+
break;
|
|
84077
84579
|
default:
|
|
84078
84580
|
reader.skipField();
|
|
84079
84581
|
break;
|
|
@@ -84125,6 +84627,13 @@ proto.clarifai.api.GetRunnerRequest.serializeBinaryToWriter = function(message,
|
|
|
84125
84627
|
f
|
|
84126
84628
|
);
|
|
84127
84629
|
}
|
|
84630
|
+
f = message.getComputeClusterId();
|
|
84631
|
+
if (f.length > 0) {
|
|
84632
|
+
writer.writeString(
|
|
84633
|
+
4,
|
|
84634
|
+
f
|
|
84635
|
+
);
|
|
84636
|
+
}
|
|
84128
84637
|
};
|
|
84129
84638
|
|
|
84130
84639
|
|
|
@@ -84201,6 +84710,24 @@ proto.clarifai.api.GetRunnerRequest.prototype.setRunnerId = function(value) {
|
|
|
84201
84710
|
};
|
|
84202
84711
|
|
|
84203
84712
|
|
|
84713
|
+
/**
|
|
84714
|
+
* optional string compute_cluster_id = 4;
|
|
84715
|
+
* @return {string}
|
|
84716
|
+
*/
|
|
84717
|
+
proto.clarifai.api.GetRunnerRequest.prototype.getComputeClusterId = function() {
|
|
84718
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
84719
|
+
};
|
|
84720
|
+
|
|
84721
|
+
|
|
84722
|
+
/**
|
|
84723
|
+
* @param {string} value
|
|
84724
|
+
* @return {!proto.clarifai.api.GetRunnerRequest} returns this
|
|
84725
|
+
*/
|
|
84726
|
+
proto.clarifai.api.GetRunnerRequest.prototype.setComputeClusterId = function(value) {
|
|
84727
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
84728
|
+
};
|
|
84729
|
+
|
|
84730
|
+
|
|
84204
84731
|
|
|
84205
84732
|
|
|
84206
84733
|
|
|
@@ -84236,7 +84763,8 @@ proto.clarifai.api.ListRunnersRequest.toObject = function(includeInstance, msg)
|
|
|
84236
84763
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84237
84764
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84238
84765
|
page: jspb.Message.getFieldWithDefault(msg, 3, 0),
|
|
84239
|
-
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0)
|
|
84766
|
+
perPage: jspb.Message.getFieldWithDefault(msg, 4, 0),
|
|
84767
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 5, "")
|
|
84240
84768
|
};
|
|
84241
84769
|
|
|
84242
84770
|
if (includeInstance) {
|
|
@@ -84290,6 +84818,10 @@ proto.clarifai.api.ListRunnersRequest.deserializeBinaryFromReader = function(msg
|
|
|
84290
84818
|
var value = /** @type {number} */ (reader.readUint32());
|
|
84291
84819
|
msg.setPerPage(value);
|
|
84292
84820
|
break;
|
|
84821
|
+
case 5:
|
|
84822
|
+
var value = /** @type {string} */ (reader.readString());
|
|
84823
|
+
msg.setComputeClusterId(value);
|
|
84824
|
+
break;
|
|
84293
84825
|
default:
|
|
84294
84826
|
reader.skipField();
|
|
84295
84827
|
break;
|
|
@@ -84348,6 +84880,13 @@ proto.clarifai.api.ListRunnersRequest.serializeBinaryToWriter = function(message
|
|
|
84348
84880
|
f
|
|
84349
84881
|
);
|
|
84350
84882
|
}
|
|
84883
|
+
f = message.getComputeClusterId();
|
|
84884
|
+
if (f.length > 0) {
|
|
84885
|
+
writer.writeString(
|
|
84886
|
+
5,
|
|
84887
|
+
f
|
|
84888
|
+
);
|
|
84889
|
+
}
|
|
84351
84890
|
};
|
|
84352
84891
|
|
|
84353
84892
|
|
|
@@ -84442,6 +84981,24 @@ proto.clarifai.api.ListRunnersRequest.prototype.setPerPage = function(value) {
|
|
|
84442
84981
|
};
|
|
84443
84982
|
|
|
84444
84983
|
|
|
84984
|
+
/**
|
|
84985
|
+
* optional string compute_cluster_id = 5;
|
|
84986
|
+
* @return {string}
|
|
84987
|
+
*/
|
|
84988
|
+
proto.clarifai.api.ListRunnersRequest.prototype.getComputeClusterId = function() {
|
|
84989
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 5, ""));
|
|
84990
|
+
};
|
|
84991
|
+
|
|
84992
|
+
|
|
84993
|
+
/**
|
|
84994
|
+
* @param {string} value
|
|
84995
|
+
* @return {!proto.clarifai.api.ListRunnersRequest} returns this
|
|
84996
|
+
*/
|
|
84997
|
+
proto.clarifai.api.ListRunnersRequest.prototype.setComputeClusterId = function(value) {
|
|
84998
|
+
return jspb.Message.setProto3StringField(this, 5, value);
|
|
84999
|
+
};
|
|
85000
|
+
|
|
85001
|
+
|
|
84445
85002
|
|
|
84446
85003
|
/**
|
|
84447
85004
|
* List of repeated fields within this message type.
|
|
@@ -84484,7 +85041,8 @@ proto.clarifai.api.PostRunnersRequest.toObject = function(includeInstance, msg)
|
|
|
84484
85041
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84485
85042
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84486
85043
|
runnersList: jspb.Message.toObjectList(msg.getRunnersList(),
|
|
84487
|
-
proto_clarifai_api_resources_pb.Runner.toObject, includeInstance)
|
|
85044
|
+
proto_clarifai_api_resources_pb.Runner.toObject, includeInstance),
|
|
85045
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
84488
85046
|
};
|
|
84489
85047
|
|
|
84490
85048
|
if (includeInstance) {
|
|
@@ -84535,6 +85093,10 @@ proto.clarifai.api.PostRunnersRequest.deserializeBinaryFromReader = function(msg
|
|
|
84535
85093
|
reader.readMessage(value,proto_clarifai_api_resources_pb.Runner.deserializeBinaryFromReader);
|
|
84536
85094
|
msg.addRunners(value);
|
|
84537
85095
|
break;
|
|
85096
|
+
case 4:
|
|
85097
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85098
|
+
msg.setComputeClusterId(value);
|
|
85099
|
+
break;
|
|
84538
85100
|
default:
|
|
84539
85101
|
reader.skipField();
|
|
84540
85102
|
break;
|
|
@@ -84587,6 +85149,13 @@ proto.clarifai.api.PostRunnersRequest.serializeBinaryToWriter = function(message
|
|
|
84587
85149
|
proto_clarifai_api_resources_pb.Runner.serializeBinaryToWriter
|
|
84588
85150
|
);
|
|
84589
85151
|
}
|
|
85152
|
+
f = message.getComputeClusterId();
|
|
85153
|
+
if (f.length > 0) {
|
|
85154
|
+
writer.writeString(
|
|
85155
|
+
4,
|
|
85156
|
+
f
|
|
85157
|
+
);
|
|
85158
|
+
}
|
|
84590
85159
|
};
|
|
84591
85160
|
|
|
84592
85161
|
|
|
@@ -84683,6 +85252,24 @@ proto.clarifai.api.PostRunnersRequest.prototype.clearRunnersList = function() {
|
|
|
84683
85252
|
};
|
|
84684
85253
|
|
|
84685
85254
|
|
|
85255
|
+
/**
|
|
85256
|
+
* optional string compute_cluster_id = 4;
|
|
85257
|
+
* @return {string}
|
|
85258
|
+
*/
|
|
85259
|
+
proto.clarifai.api.PostRunnersRequest.prototype.getComputeClusterId = function() {
|
|
85260
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
85261
|
+
};
|
|
85262
|
+
|
|
85263
|
+
|
|
85264
|
+
/**
|
|
85265
|
+
* @param {string} value
|
|
85266
|
+
* @return {!proto.clarifai.api.PostRunnersRequest} returns this
|
|
85267
|
+
*/
|
|
85268
|
+
proto.clarifai.api.PostRunnersRequest.prototype.setComputeClusterId = function(value) {
|
|
85269
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
85270
|
+
};
|
|
85271
|
+
|
|
85272
|
+
|
|
84686
85273
|
|
|
84687
85274
|
/**
|
|
84688
85275
|
* List of repeated fields within this message type.
|
|
@@ -84724,7 +85311,8 @@ proto.clarifai.api.DeleteRunnersRequest.toObject = function(includeInstance, msg
|
|
|
84724
85311
|
var f, obj = {
|
|
84725
85312
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
84726
85313
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
84727
|
-
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f
|
|
85314
|
+
idsList: (f = jspb.Message.getRepeatedField(msg, 3)) == null ? undefined : f,
|
|
85315
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
84728
85316
|
};
|
|
84729
85317
|
|
|
84730
85318
|
if (includeInstance) {
|
|
@@ -84774,6 +85362,10 @@ proto.clarifai.api.DeleteRunnersRequest.deserializeBinaryFromReader = function(m
|
|
|
84774
85362
|
var value = /** @type {string} */ (reader.readString());
|
|
84775
85363
|
msg.addIds(value);
|
|
84776
85364
|
break;
|
|
85365
|
+
case 4:
|
|
85366
|
+
var value = /** @type {string} */ (reader.readString());
|
|
85367
|
+
msg.setComputeClusterId(value);
|
|
85368
|
+
break;
|
|
84777
85369
|
default:
|
|
84778
85370
|
reader.skipField();
|
|
84779
85371
|
break;
|
|
@@ -84825,6 +85417,13 @@ proto.clarifai.api.DeleteRunnersRequest.serializeBinaryToWriter = function(messa
|
|
|
84825
85417
|
f
|
|
84826
85418
|
);
|
|
84827
85419
|
}
|
|
85420
|
+
f = message.getComputeClusterId();
|
|
85421
|
+
if (f.length > 0) {
|
|
85422
|
+
writer.writeString(
|
|
85423
|
+
4,
|
|
85424
|
+
f
|
|
85425
|
+
);
|
|
85426
|
+
}
|
|
84828
85427
|
};
|
|
84829
85428
|
|
|
84830
85429
|
|
|
@@ -84920,6 +85519,24 @@ proto.clarifai.api.DeleteRunnersRequest.prototype.clearIdsList = function() {
|
|
|
84920
85519
|
};
|
|
84921
85520
|
|
|
84922
85521
|
|
|
85522
|
+
/**
|
|
85523
|
+
* optional string compute_cluster_id = 4;
|
|
85524
|
+
* @return {string}
|
|
85525
|
+
*/
|
|
85526
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.getComputeClusterId = function() {
|
|
85527
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
85528
|
+
};
|
|
85529
|
+
|
|
85530
|
+
|
|
85531
|
+
/**
|
|
85532
|
+
* @param {string} value
|
|
85533
|
+
* @return {!proto.clarifai.api.DeleteRunnersRequest} returns this
|
|
85534
|
+
*/
|
|
85535
|
+
proto.clarifai.api.DeleteRunnersRequest.prototype.setComputeClusterId = function(value) {
|
|
85536
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
85537
|
+
};
|
|
85538
|
+
|
|
85539
|
+
|
|
84923
85540
|
|
|
84924
85541
|
|
|
84925
85542
|
|
|
@@ -85367,7 +85984,8 @@ proto.clarifai.api.ListRunnerItemsRequest.toObject = function(includeInstance, m
|
|
|
85367
85984
|
var f, obj = {
|
|
85368
85985
|
userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
|
|
85369
85986
|
nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, ""),
|
|
85370
|
-
runnerId: jspb.Message.getFieldWithDefault(msg, 3, "")
|
|
85987
|
+
runnerId: jspb.Message.getFieldWithDefault(msg, 3, ""),
|
|
85988
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 4, "")
|
|
85371
85989
|
};
|
|
85372
85990
|
|
|
85373
85991
|
if (includeInstance) {
|
|
@@ -85417,6 +86035,10 @@ proto.clarifai.api.ListRunnerItemsRequest.deserializeBinaryFromReader = function
|
|
|
85417
86035
|
var value = /** @type {string} */ (reader.readString());
|
|
85418
86036
|
msg.setRunnerId(value);
|
|
85419
86037
|
break;
|
|
86038
|
+
case 4:
|
|
86039
|
+
var value = /** @type {string} */ (reader.readString());
|
|
86040
|
+
msg.setComputeClusterId(value);
|
|
86041
|
+
break;
|
|
85420
86042
|
default:
|
|
85421
86043
|
reader.skipField();
|
|
85422
86044
|
break;
|
|
@@ -85468,6 +86090,13 @@ proto.clarifai.api.ListRunnerItemsRequest.serializeBinaryToWriter = function(mes
|
|
|
85468
86090
|
f
|
|
85469
86091
|
);
|
|
85470
86092
|
}
|
|
86093
|
+
f = message.getComputeClusterId();
|
|
86094
|
+
if (f.length > 0) {
|
|
86095
|
+
writer.writeString(
|
|
86096
|
+
4,
|
|
86097
|
+
f
|
|
86098
|
+
);
|
|
86099
|
+
}
|
|
85471
86100
|
};
|
|
85472
86101
|
|
|
85473
86102
|
|
|
@@ -85544,6 +86173,24 @@ proto.clarifai.api.ListRunnerItemsRequest.prototype.setRunnerId = function(value
|
|
|
85544
86173
|
};
|
|
85545
86174
|
|
|
85546
86175
|
|
|
86176
|
+
/**
|
|
86177
|
+
* optional string compute_cluster_id = 4;
|
|
86178
|
+
* @return {string}
|
|
86179
|
+
*/
|
|
86180
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.getComputeClusterId = function() {
|
|
86181
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
|
|
86182
|
+
};
|
|
86183
|
+
|
|
86184
|
+
|
|
86185
|
+
/**
|
|
86186
|
+
* @param {string} value
|
|
86187
|
+
* @return {!proto.clarifai.api.ListRunnerItemsRequest} returns this
|
|
86188
|
+
*/
|
|
86189
|
+
proto.clarifai.api.ListRunnerItemsRequest.prototype.setComputeClusterId = function(value) {
|
|
86190
|
+
return jspb.Message.setProto3StringField(this, 4, value);
|
|
86191
|
+
};
|
|
86192
|
+
|
|
86193
|
+
|
|
85547
86194
|
|
|
85548
86195
|
/**
|
|
85549
86196
|
* List of repeated fields within this message type.
|
|
@@ -85590,7 +86237,8 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.toObject = function(includeInsta
|
|
|
85590
86237
|
runnerItemOutputsList: jspb.Message.toObjectList(msg.getRunnerItemOutputsList(),
|
|
85591
86238
|
proto.clarifai.api.RunnerItemOutput.toObject, includeInstance),
|
|
85592
86239
|
status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
|
|
85593
|
-
runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, "")
|
|
86240
|
+
runnerReplicaId: jspb.Message.getFieldWithDefault(msg, 7, ""),
|
|
86241
|
+
computeClusterId: jspb.Message.getFieldWithDefault(msg, 8, "")
|
|
85594
86242
|
};
|
|
85595
86243
|
|
|
85596
86244
|
if (includeInstance) {
|
|
@@ -85658,6 +86306,10 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.deserializeBinaryFromReader = fu
|
|
|
85658
86306
|
var value = /** @type {string} */ (reader.readString());
|
|
85659
86307
|
msg.setRunnerReplicaId(value);
|
|
85660
86308
|
break;
|
|
86309
|
+
case 8:
|
|
86310
|
+
var value = /** @type {string} */ (reader.readString());
|
|
86311
|
+
msg.setComputeClusterId(value);
|
|
86312
|
+
break;
|
|
85661
86313
|
default:
|
|
85662
86314
|
reader.skipField();
|
|
85663
86315
|
break;
|
|
@@ -85739,6 +86391,13 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.serializeBinaryToWriter = functi
|
|
|
85739
86391
|
f
|
|
85740
86392
|
);
|
|
85741
86393
|
}
|
|
86394
|
+
f = message.getComputeClusterId();
|
|
86395
|
+
if (f.length > 0) {
|
|
86396
|
+
writer.writeString(
|
|
86397
|
+
8,
|
|
86398
|
+
f
|
|
86399
|
+
);
|
|
86400
|
+
}
|
|
85742
86401
|
};
|
|
85743
86402
|
|
|
85744
86403
|
|
|
@@ -85926,6 +86585,24 @@ proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setRunnerReplicaId = f
|
|
|
85926
86585
|
};
|
|
85927
86586
|
|
|
85928
86587
|
|
|
86588
|
+
/**
|
|
86589
|
+
* optional string compute_cluster_id = 8;
|
|
86590
|
+
* @return {string}
|
|
86591
|
+
*/
|
|
86592
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.getComputeClusterId = function() {
|
|
86593
|
+
return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 8, ""));
|
|
86594
|
+
};
|
|
86595
|
+
|
|
86596
|
+
|
|
86597
|
+
/**
|
|
86598
|
+
* @param {string} value
|
|
86599
|
+
* @return {!proto.clarifai.api.PostRunnerItemOutputsRequest} returns this
|
|
86600
|
+
*/
|
|
86601
|
+
proto.clarifai.api.PostRunnerItemOutputsRequest.prototype.setComputeClusterId = function(value) {
|
|
86602
|
+
return jspb.Message.setProto3StringField(this, 8, value);
|
|
86603
|
+
};
|
|
86604
|
+
|
|
86605
|
+
|
|
85929
86606
|
|
|
85930
86607
|
/**
|
|
85931
86608
|
* List of repeated fields within this message type.
|