clarifai-web-grpc 10.3.3 → 10.4.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.
@@ -65,6 +65,7 @@ goog.exportSymbol('proto.clarifai.api.DeleteModelVersionRequest', null, global);
65
65
  goog.exportSymbol('proto.clarifai.api.DeleteModelsRequest', null, global);
66
66
  goog.exportSymbol('proto.clarifai.api.DeleteModuleVersionsRequest', null, global);
67
67
  goog.exportSymbol('proto.clarifai.api.DeleteModulesRequest', null, global);
68
+ goog.exportSymbol('proto.clarifai.api.DeleteNodepoolsRequest', null, global);
68
69
  goog.exportSymbol('proto.clarifai.api.DeleteRunnersRequest', null, global);
69
70
  goog.exportSymbol('proto.clarifai.api.DeleteSearchRequest', null, global);
70
71
  goog.exportSymbol('proto.clarifai.api.DeleteTasksRequest', null, global);
@@ -104,6 +105,7 @@ goog.exportSymbol('proto.clarifai.api.GetModelVersionRequest', null, global);
104
105
  goog.exportSymbol('proto.clarifai.api.GetModuleRequest', null, global);
105
106
  goog.exportSymbol('proto.clarifai.api.GetModuleVersionRequest', null, global);
106
107
  goog.exportSymbol('proto.clarifai.api.GetModuleVersionUsageCountRequest', null, global);
108
+ goog.exportSymbol('proto.clarifai.api.GetNodepoolRequest', null, global);
107
109
  goog.exportSymbol('proto.clarifai.api.GetResourceCountsRequest', null, global);
108
110
  goog.exportSymbol('proto.clarifai.api.GetResourceCountsResponse', null, global);
109
111
  goog.exportSymbol('proto.clarifai.api.GetRunnerRequest', null, global);
@@ -162,6 +164,7 @@ goog.exportSymbol('proto.clarifai.api.ListModuleVersionsRequest', null, global);
162
164
  goog.exportSymbol('proto.clarifai.api.ListModulesRequest', null, global);
163
165
  goog.exportSymbol('proto.clarifai.api.ListModulesRequest.SortByCase', null, global);
164
166
  goog.exportSymbol('proto.clarifai.api.ListNextTaskAssignmentsRequest', null, global);
167
+ goog.exportSymbol('proto.clarifai.api.ListNodepoolsRequest', null, global);
165
168
  goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesRequest', null, global);
166
169
  goog.exportSymbol('proto.clarifai.api.ListOpenSourceLicensesResponse', null, global);
167
170
  goog.exportSymbol('proto.clarifai.api.ListRunnerItemsRequest', null, global);
@@ -216,6 +219,7 @@ goog.exportSymbol('proto.clarifai.api.MultiModelVersionInputExampleResponse', nu
216
219
  goog.exportSymbol('proto.clarifai.api.MultiModelVersionResponse', null, global);
217
220
  goog.exportSymbol('proto.clarifai.api.MultiModuleResponse', null, global);
218
221
  goog.exportSymbol('proto.clarifai.api.MultiModuleVersionResponse', null, global);
222
+ goog.exportSymbol('proto.clarifai.api.MultiNodepoolResponse', null, global);
219
223
  goog.exportSymbol('proto.clarifai.api.MultiOutputResponse', null, global);
220
224
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemOutputResponse', null, global);
221
225
  goog.exportSymbol('proto.clarifai.api.MultiRunnerItemResponse', null, global);
@@ -268,6 +272,7 @@ goog.exportSymbol('proto.clarifai.api.PatchModelVersionsRequest', null, global);
268
272
  goog.exportSymbol('proto.clarifai.api.PatchModelsRequest', null, global);
269
273
  goog.exportSymbol('proto.clarifai.api.PatchModuleVersionsRequest', null, global);
270
274
  goog.exportSymbol('proto.clarifai.api.PatchModulesRequest', null, global);
275
+ goog.exportSymbol('proto.clarifai.api.PatchNodepoolsRequest', null, global);
271
276
  goog.exportSymbol('proto.clarifai.api.PatchSearchesRequest', null, global);
272
277
  goog.exportSymbol('proto.clarifai.api.PatchTasksRequest', null, global);
273
278
  goog.exportSymbol('proto.clarifai.api.PatchWorkflowIdsRequest', null, global);
@@ -316,6 +321,7 @@ goog.exportSymbol('proto.clarifai.api.PostModelsRequest', null, global);
316
321
  goog.exportSymbol('proto.clarifai.api.PostModelsSearchesRequest', null, global);
317
322
  goog.exportSymbol('proto.clarifai.api.PostModuleVersionsRequest', null, global);
318
323
  goog.exportSymbol('proto.clarifai.api.PostModulesRequest', null, global);
324
+ goog.exportSymbol('proto.clarifai.api.PostNodepoolsRequest', null, global);
319
325
  goog.exportSymbol('proto.clarifai.api.PostRunnerItemOutputsRequest', null, global);
320
326
  goog.exportSymbol('proto.clarifai.api.PostRunnersRequest', null, global);
321
327
  goog.exportSymbol('proto.clarifai.api.PostSearchesByIDRequest', null, global);
@@ -373,6 +379,7 @@ goog.exportSymbol('proto.clarifai.api.SingleModelVersionResponse', null, global)
373
379
  goog.exportSymbol('proto.clarifai.api.SingleModuleResponse', null, global);
374
380
  goog.exportSymbol('proto.clarifai.api.SingleModuleVersionResponse', null, global);
375
381
  goog.exportSymbol('proto.clarifai.api.SingleModuleVersionUsageCountResponse', null, global);
382
+ goog.exportSymbol('proto.clarifai.api.SingleNodepoolResponse', null, global);
376
383
  goog.exportSymbol('proto.clarifai.api.SinglePasswordValidationResponse', null, global);
377
384
  goog.exportSymbol('proto.clarifai.api.SingleRunnerResponse', null, global);
378
385
  goog.exportSymbol('proto.clarifai.api.SingleSearchResponse', null, global);
@@ -7400,6 +7407,153 @@ if (goog.DEBUG && !COMPILED) {
7400
7407
  */
7401
7408
  proto.clarifai.api.MultiTrainingTimeEstimateResponse.displayName = 'proto.clarifai.api.MultiTrainingTimeEstimateResponse';
7402
7409
  }
7410
+ /**
7411
+ * Generated by JsPbCodeGenerator.
7412
+ * @param {Array=} opt_data Optional initial data array, typically from a
7413
+ * server response, or constructed directly in Javascript. The array is used
7414
+ * in place and becomes part of the constructed object. It is not cloned.
7415
+ * If no data is provided, the constructed object will be empty, but still
7416
+ * valid.
7417
+ * @extends {jspb.Message}
7418
+ * @constructor
7419
+ */
7420
+ proto.clarifai.api.GetNodepoolRequest = function (opt_data) {
7421
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7422
+ };
7423
+ goog.inherits(proto.clarifai.api.GetNodepoolRequest, jspb.Message);
7424
+ if (goog.DEBUG && !COMPILED) {
7425
+ /**
7426
+ * @public
7427
+ * @override
7428
+ */
7429
+ proto.clarifai.api.GetNodepoolRequest.displayName = 'proto.clarifai.api.GetNodepoolRequest';
7430
+ }
7431
+ /**
7432
+ * Generated by JsPbCodeGenerator.
7433
+ * @param {Array=} opt_data Optional initial data array, typically from a
7434
+ * server response, or constructed directly in Javascript. The array is used
7435
+ * in place and becomes part of the constructed object. It is not cloned.
7436
+ * If no data is provided, the constructed object will be empty, but still
7437
+ * valid.
7438
+ * @extends {jspb.Message}
7439
+ * @constructor
7440
+ */
7441
+ proto.clarifai.api.ListNodepoolsRequest = function (opt_data) {
7442
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7443
+ };
7444
+ goog.inherits(proto.clarifai.api.ListNodepoolsRequest, jspb.Message);
7445
+ if (goog.DEBUG && !COMPILED) {
7446
+ /**
7447
+ * @public
7448
+ * @override
7449
+ */
7450
+ proto.clarifai.api.ListNodepoolsRequest.displayName = 'proto.clarifai.api.ListNodepoolsRequest';
7451
+ }
7452
+ /**
7453
+ * Generated by JsPbCodeGenerator.
7454
+ * @param {Array=} opt_data Optional initial data array, typically from a
7455
+ * server response, or constructed directly in Javascript. The array is used
7456
+ * in place and becomes part of the constructed object. It is not cloned.
7457
+ * If no data is provided, the constructed object will be empty, but still
7458
+ * valid.
7459
+ * @extends {jspb.Message}
7460
+ * @constructor
7461
+ */
7462
+ proto.clarifai.api.PostNodepoolsRequest = function (opt_data) {
7463
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PostNodepoolsRequest.repeatedFields_, null);
7464
+ };
7465
+ goog.inherits(proto.clarifai.api.PostNodepoolsRequest, jspb.Message);
7466
+ if (goog.DEBUG && !COMPILED) {
7467
+ /**
7468
+ * @public
7469
+ * @override
7470
+ */
7471
+ proto.clarifai.api.PostNodepoolsRequest.displayName = 'proto.clarifai.api.PostNodepoolsRequest';
7472
+ }
7473
+ /**
7474
+ * Generated by JsPbCodeGenerator.
7475
+ * @param {Array=} opt_data Optional initial data array, typically from a
7476
+ * server response, or constructed directly in Javascript. The array is used
7477
+ * in place and becomes part of the constructed object. It is not cloned.
7478
+ * If no data is provided, the constructed object will be empty, but still
7479
+ * valid.
7480
+ * @extends {jspb.Message}
7481
+ * @constructor
7482
+ */
7483
+ proto.clarifai.api.PatchNodepoolsRequest = function (opt_data) {
7484
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_, null);
7485
+ };
7486
+ goog.inherits(proto.clarifai.api.PatchNodepoolsRequest, jspb.Message);
7487
+ if (goog.DEBUG && !COMPILED) {
7488
+ /**
7489
+ * @public
7490
+ * @override
7491
+ */
7492
+ proto.clarifai.api.PatchNodepoolsRequest.displayName = 'proto.clarifai.api.PatchNodepoolsRequest';
7493
+ }
7494
+ /**
7495
+ * Generated by JsPbCodeGenerator.
7496
+ * @param {Array=} opt_data Optional initial data array, typically from a
7497
+ * server response, or constructed directly in Javascript. The array is used
7498
+ * in place and becomes part of the constructed object. It is not cloned.
7499
+ * If no data is provided, the constructed object will be empty, but still
7500
+ * valid.
7501
+ * @extends {jspb.Message}
7502
+ * @constructor
7503
+ */
7504
+ proto.clarifai.api.DeleteNodepoolsRequest = function (opt_data) {
7505
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_, null);
7506
+ };
7507
+ goog.inherits(proto.clarifai.api.DeleteNodepoolsRequest, jspb.Message);
7508
+ if (goog.DEBUG && !COMPILED) {
7509
+ /**
7510
+ * @public
7511
+ * @override
7512
+ */
7513
+ proto.clarifai.api.DeleteNodepoolsRequest.displayName = 'proto.clarifai.api.DeleteNodepoolsRequest';
7514
+ }
7515
+ /**
7516
+ * Generated by JsPbCodeGenerator.
7517
+ * @param {Array=} opt_data Optional initial data array, typically from a
7518
+ * server response, or constructed directly in Javascript. The array is used
7519
+ * in place and becomes part of the constructed object. It is not cloned.
7520
+ * If no data is provided, the constructed object will be empty, but still
7521
+ * valid.
7522
+ * @extends {jspb.Message}
7523
+ * @constructor
7524
+ */
7525
+ proto.clarifai.api.SingleNodepoolResponse = function (opt_data) {
7526
+ jspb.Message.initialize(this, opt_data, 0, -1, null, null);
7527
+ };
7528
+ goog.inherits(proto.clarifai.api.SingleNodepoolResponse, jspb.Message);
7529
+ if (goog.DEBUG && !COMPILED) {
7530
+ /**
7531
+ * @public
7532
+ * @override
7533
+ */
7534
+ proto.clarifai.api.SingleNodepoolResponse.displayName = 'proto.clarifai.api.SingleNodepoolResponse';
7535
+ }
7536
+ /**
7537
+ * Generated by JsPbCodeGenerator.
7538
+ * @param {Array=} opt_data Optional initial data array, typically from a
7539
+ * server response, or constructed directly in Javascript. The array is used
7540
+ * in place and becomes part of the constructed object. It is not cloned.
7541
+ * If no data is provided, the constructed object will be empty, but still
7542
+ * valid.
7543
+ * @extends {jspb.Message}
7544
+ * @constructor
7545
+ */
7546
+ proto.clarifai.api.MultiNodepoolResponse = function (opt_data) {
7547
+ jspb.Message.initialize(this, opt_data, 0, -1, proto.clarifai.api.MultiNodepoolResponse.repeatedFields_, null);
7548
+ };
7549
+ goog.inherits(proto.clarifai.api.MultiNodepoolResponse, jspb.Message);
7550
+ if (goog.DEBUG && !COMPILED) {
7551
+ /**
7552
+ * @public
7553
+ * @override
7554
+ */
7555
+ proto.clarifai.api.MultiNodepoolResponse.displayName = 'proto.clarifai.api.MultiNodepoolResponse';
7556
+ }
7403
7557
  if (jspb.Message.GENERATE_TO_OBJECT) {
7404
7558
  /**
7405
7559
  * Creates an object representation of this proto.
@@ -34730,7 +34884,8 @@ if (jspb.Message.GENERATE_TO_OBJECT) {
34730
34884
  userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
34731
34885
  modelId: jspb.Message.getFieldWithDefault(msg, 2, ""),
34732
34886
  modelVersion: (f = msg.getModelVersion()) && proto_clarifai_api_resources_pb.ModelVersion.toObject(includeInstance, f),
34733
- totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0)
34887
+ totalSize: jspb.Message.getFieldWithDefault(msg, 4, 0),
34888
+ isV3: jspb.Message.getBooleanFieldWithDefault(msg, 5, false)
34734
34889
  };
34735
34890
  if (includeInstance) {
34736
34891
  obj.$jspbMessageInstance = msg;
@@ -34780,6 +34935,10 @@ proto.clarifai.api.PostModelVersionsUploadConfig.deserializeBinaryFromReader = f
34780
34935
  var value = /** @type {number} */ (reader.readUint64());
34781
34936
  msg.setTotalSize(value);
34782
34937
  break;
34938
+ case 5:
34939
+ var value = /** @type {boolean} */ (reader.readBool());
34940
+ msg.setIsV3(value);
34941
+ break;
34783
34942
  default:
34784
34943
  reader.skipField();
34785
34944
  break;
@@ -34821,6 +34980,10 @@ proto.clarifai.api.PostModelVersionsUploadConfig.serializeBinaryToWriter = funct
34821
34980
  if (f !== 0) {
34822
34981
  writer.writeUint64(4, f);
34823
34982
  }
34983
+ f = message.getIsV3();
34984
+ if (f) {
34985
+ writer.writeBool(5, f);
34986
+ }
34824
34987
  };
34825
34988
  /**
34826
34989
  * optional UserAppIDSet user_app_id = 1;
@@ -34906,6 +35069,20 @@ proto.clarifai.api.PostModelVersionsUploadConfig.prototype.getTotalSize = functi
34906
35069
  proto.clarifai.api.PostModelVersionsUploadConfig.prototype.setTotalSize = function (value) {
34907
35070
  return jspb.Message.setProto3IntField(this, 4, value);
34908
35071
  };
35072
+ /**
35073
+ * optional bool is_v3 = 5;
35074
+ * @return {boolean}
35075
+ */
35076
+ proto.clarifai.api.PostModelVersionsUploadConfig.prototype.getIsV3 = function () {
35077
+ return /** @type {boolean} */ (jspb.Message.getBooleanFieldWithDefault(this, 5, false));
35078
+ };
35079
+ /**
35080
+ * @param {boolean} value
35081
+ * @return {!proto.clarifai.api.PostModelVersionsUploadConfig} returns this
35082
+ */
35083
+ proto.clarifai.api.PostModelVersionsUploadConfig.prototype.setIsV3 = function (value) {
35084
+ return jspb.Message.setProto3BooleanField(this, 5, value);
35085
+ };
34909
35086
  if (jspb.Message.GENERATE_TO_OBJECT) {
34910
35087
  /**
34911
35088
  * Creates an object representation of this proto.
@@ -70460,6 +70637,1169 @@ proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.addTrainingTimeEs
70460
70637
  proto.clarifai.api.MultiTrainingTimeEstimateResponse.prototype.clearTrainingTimeEstimatesList = function () {
70461
70638
  return this.setTrainingTimeEstimatesList([]);
70462
70639
  };
70640
+ if (jspb.Message.GENERATE_TO_OBJECT) {
70641
+ /**
70642
+ * Creates an object representation of this proto.
70643
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
70644
+ * Optional fields that are not set will be set to undefined.
70645
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
70646
+ * For the list of reserved names please see:
70647
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
70648
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
70649
+ * JSPB instance for transitional soy proto support:
70650
+ * http://goto/soy-param-migration
70651
+ * @return {!Object}
70652
+ */
70653
+ proto.clarifai.api.GetNodepoolRequest.prototype.toObject = function (opt_includeInstance) {
70654
+ return proto.clarifai.api.GetNodepoolRequest.toObject(opt_includeInstance, this);
70655
+ };
70656
+ /**
70657
+ * Static version of the {@see toObject} method.
70658
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70659
+ * the JSPB instance for transitional soy proto support:
70660
+ * http://goto/soy-param-migration
70661
+ * @param {!proto.clarifai.api.GetNodepoolRequest} msg The msg instance to transform.
70662
+ * @return {!Object}
70663
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70664
+ */
70665
+ proto.clarifai.api.GetNodepoolRequest.toObject = function (includeInstance, msg) {
70666
+ var f, obj = {
70667
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
70668
+ nodepoolId: jspb.Message.getFieldWithDefault(msg, 2, "")
70669
+ };
70670
+ if (includeInstance) {
70671
+ obj.$jspbMessageInstance = msg;
70672
+ }
70673
+ return obj;
70674
+ };
70675
+ }
70676
+ /**
70677
+ * Deserializes binary data (in protobuf wire format).
70678
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
70679
+ * @return {!proto.clarifai.api.GetNodepoolRequest}
70680
+ */
70681
+ proto.clarifai.api.GetNodepoolRequest.deserializeBinary = function (bytes) {
70682
+ var reader = new jspb.BinaryReader(bytes);
70683
+ var msg = new proto.clarifai.api.GetNodepoolRequest;
70684
+ return proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader(msg, reader);
70685
+ };
70686
+ /**
70687
+ * Deserializes binary data (in protobuf wire format) from the
70688
+ * given reader into the given message object.
70689
+ * @param {!proto.clarifai.api.GetNodepoolRequest} msg The message object to deserialize into.
70690
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
70691
+ * @return {!proto.clarifai.api.GetNodepoolRequest}
70692
+ */
70693
+ proto.clarifai.api.GetNodepoolRequest.deserializeBinaryFromReader = function (msg, reader) {
70694
+ while (reader.nextField()) {
70695
+ if (reader.isEndGroup()) {
70696
+ break;
70697
+ }
70698
+ var field = reader.getFieldNumber();
70699
+ switch (field) {
70700
+ case 1:
70701
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
70702
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
70703
+ msg.setUserAppId(value);
70704
+ break;
70705
+ case 2:
70706
+ var value = /** @type {string} */ (reader.readString());
70707
+ msg.setNodepoolId(value);
70708
+ break;
70709
+ default:
70710
+ reader.skipField();
70711
+ break;
70712
+ }
70713
+ }
70714
+ return msg;
70715
+ };
70716
+ /**
70717
+ * Serializes the message to binary data (in protobuf wire format).
70718
+ * @return {!Uint8Array}
70719
+ */
70720
+ proto.clarifai.api.GetNodepoolRequest.prototype.serializeBinary = function () {
70721
+ var writer = new jspb.BinaryWriter();
70722
+ proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter(this, writer);
70723
+ return writer.getResultBuffer();
70724
+ };
70725
+ /**
70726
+ * Serializes the given message to binary data (in protobuf wire
70727
+ * format), writing to the given BinaryWriter.
70728
+ * @param {!proto.clarifai.api.GetNodepoolRequest} message
70729
+ * @param {!jspb.BinaryWriter} writer
70730
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70731
+ */
70732
+ proto.clarifai.api.GetNodepoolRequest.serializeBinaryToWriter = function (message, writer) {
70733
+ var f = undefined;
70734
+ f = message.getUserAppId();
70735
+ if (f != null) {
70736
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
70737
+ }
70738
+ f = message.getNodepoolId();
70739
+ if (f.length > 0) {
70740
+ writer.writeString(2, f);
70741
+ }
70742
+ };
70743
+ /**
70744
+ * optional UserAppIDSet user_app_id = 1;
70745
+ * @return {?proto.clarifai.api.UserAppIDSet}
70746
+ */
70747
+ proto.clarifai.api.GetNodepoolRequest.prototype.getUserAppId = function () {
70748
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
70749
+ };
70750
+ /**
70751
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
70752
+ * @return {!proto.clarifai.api.GetNodepoolRequest} returns this
70753
+ */
70754
+ proto.clarifai.api.GetNodepoolRequest.prototype.setUserAppId = function (value) {
70755
+ return jspb.Message.setWrapperField(this, 1, value);
70756
+ };
70757
+ /**
70758
+ * Clears the message field making it undefined.
70759
+ * @return {!proto.clarifai.api.GetNodepoolRequest} returns this
70760
+ */
70761
+ proto.clarifai.api.GetNodepoolRequest.prototype.clearUserAppId = function () {
70762
+ return this.setUserAppId(undefined);
70763
+ };
70764
+ /**
70765
+ * Returns whether this field is set.
70766
+ * @return {boolean}
70767
+ */
70768
+ proto.clarifai.api.GetNodepoolRequest.prototype.hasUserAppId = function () {
70769
+ return jspb.Message.getField(this, 1) != null;
70770
+ };
70771
+ /**
70772
+ * optional string nodepool_id = 2;
70773
+ * @return {string}
70774
+ */
70775
+ proto.clarifai.api.GetNodepoolRequest.prototype.getNodepoolId = function () {
70776
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 2, ""));
70777
+ };
70778
+ /**
70779
+ * @param {string} value
70780
+ * @return {!proto.clarifai.api.GetNodepoolRequest} returns this
70781
+ */
70782
+ proto.clarifai.api.GetNodepoolRequest.prototype.setNodepoolId = function (value) {
70783
+ return jspb.Message.setProto3StringField(this, 2, value);
70784
+ };
70785
+ if (jspb.Message.GENERATE_TO_OBJECT) {
70786
+ /**
70787
+ * Creates an object representation of this proto.
70788
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
70789
+ * Optional fields that are not set will be set to undefined.
70790
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
70791
+ * For the list of reserved names please see:
70792
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
70793
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
70794
+ * JSPB instance for transitional soy proto support:
70795
+ * http://goto/soy-param-migration
70796
+ * @return {!Object}
70797
+ */
70798
+ proto.clarifai.api.ListNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
70799
+ return proto.clarifai.api.ListNodepoolsRequest.toObject(opt_includeInstance, this);
70800
+ };
70801
+ /**
70802
+ * Static version of the {@see toObject} method.
70803
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70804
+ * the JSPB instance for transitional soy proto support:
70805
+ * http://goto/soy-param-migration
70806
+ * @param {!proto.clarifai.api.ListNodepoolsRequest} msg The msg instance to transform.
70807
+ * @return {!Object}
70808
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70809
+ */
70810
+ proto.clarifai.api.ListNodepoolsRequest.toObject = function (includeInstance, msg) {
70811
+ var f, obj = {
70812
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
70813
+ page: jspb.Message.getFieldWithDefault(msg, 2, 0),
70814
+ perPage: jspb.Message.getFieldWithDefault(msg, 3, 0)
70815
+ };
70816
+ if (includeInstance) {
70817
+ obj.$jspbMessageInstance = msg;
70818
+ }
70819
+ return obj;
70820
+ };
70821
+ }
70822
+ /**
70823
+ * Deserializes binary data (in protobuf wire format).
70824
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
70825
+ * @return {!proto.clarifai.api.ListNodepoolsRequest}
70826
+ */
70827
+ proto.clarifai.api.ListNodepoolsRequest.deserializeBinary = function (bytes) {
70828
+ var reader = new jspb.BinaryReader(bytes);
70829
+ var msg = new proto.clarifai.api.ListNodepoolsRequest;
70830
+ return proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
70831
+ };
70832
+ /**
70833
+ * Deserializes binary data (in protobuf wire format) from the
70834
+ * given reader into the given message object.
70835
+ * @param {!proto.clarifai.api.ListNodepoolsRequest} msg The message object to deserialize into.
70836
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
70837
+ * @return {!proto.clarifai.api.ListNodepoolsRequest}
70838
+ */
70839
+ proto.clarifai.api.ListNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
70840
+ while (reader.nextField()) {
70841
+ if (reader.isEndGroup()) {
70842
+ break;
70843
+ }
70844
+ var field = reader.getFieldNumber();
70845
+ switch (field) {
70846
+ case 1:
70847
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
70848
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
70849
+ msg.setUserAppId(value);
70850
+ break;
70851
+ case 2:
70852
+ var value = /** @type {number} */ (reader.readUint32());
70853
+ msg.setPage(value);
70854
+ break;
70855
+ case 3:
70856
+ var value = /** @type {number} */ (reader.readUint32());
70857
+ msg.setPerPage(value);
70858
+ break;
70859
+ default:
70860
+ reader.skipField();
70861
+ break;
70862
+ }
70863
+ }
70864
+ return msg;
70865
+ };
70866
+ /**
70867
+ * Serializes the message to binary data (in protobuf wire format).
70868
+ * @return {!Uint8Array}
70869
+ */
70870
+ proto.clarifai.api.ListNodepoolsRequest.prototype.serializeBinary = function () {
70871
+ var writer = new jspb.BinaryWriter();
70872
+ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter(this, writer);
70873
+ return writer.getResultBuffer();
70874
+ };
70875
+ /**
70876
+ * Serializes the given message to binary data (in protobuf wire
70877
+ * format), writing to the given BinaryWriter.
70878
+ * @param {!proto.clarifai.api.ListNodepoolsRequest} message
70879
+ * @param {!jspb.BinaryWriter} writer
70880
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70881
+ */
70882
+ proto.clarifai.api.ListNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
70883
+ var f = undefined;
70884
+ f = message.getUserAppId();
70885
+ if (f != null) {
70886
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
70887
+ }
70888
+ f = message.getPage();
70889
+ if (f !== 0) {
70890
+ writer.writeUint32(2, f);
70891
+ }
70892
+ f = message.getPerPage();
70893
+ if (f !== 0) {
70894
+ writer.writeUint32(3, f);
70895
+ }
70896
+ };
70897
+ /**
70898
+ * optional UserAppIDSet user_app_id = 1;
70899
+ * @return {?proto.clarifai.api.UserAppIDSet}
70900
+ */
70901
+ proto.clarifai.api.ListNodepoolsRequest.prototype.getUserAppId = function () {
70902
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
70903
+ };
70904
+ /**
70905
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
70906
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
70907
+ */
70908
+ proto.clarifai.api.ListNodepoolsRequest.prototype.setUserAppId = function (value) {
70909
+ return jspb.Message.setWrapperField(this, 1, value);
70910
+ };
70911
+ /**
70912
+ * Clears the message field making it undefined.
70913
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
70914
+ */
70915
+ proto.clarifai.api.ListNodepoolsRequest.prototype.clearUserAppId = function () {
70916
+ return this.setUserAppId(undefined);
70917
+ };
70918
+ /**
70919
+ * Returns whether this field is set.
70920
+ * @return {boolean}
70921
+ */
70922
+ proto.clarifai.api.ListNodepoolsRequest.prototype.hasUserAppId = function () {
70923
+ return jspb.Message.getField(this, 1) != null;
70924
+ };
70925
+ /**
70926
+ * optional uint32 page = 2;
70927
+ * @return {number}
70928
+ */
70929
+ proto.clarifai.api.ListNodepoolsRequest.prototype.getPage = function () {
70930
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 2, 0));
70931
+ };
70932
+ /**
70933
+ * @param {number} value
70934
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
70935
+ */
70936
+ proto.clarifai.api.ListNodepoolsRequest.prototype.setPage = function (value) {
70937
+ return jspb.Message.setProto3IntField(this, 2, value);
70938
+ };
70939
+ /**
70940
+ * optional uint32 per_page = 3;
70941
+ * @return {number}
70942
+ */
70943
+ proto.clarifai.api.ListNodepoolsRequest.prototype.getPerPage = function () {
70944
+ return /** @type {number} */ (jspb.Message.getFieldWithDefault(this, 3, 0));
70945
+ };
70946
+ /**
70947
+ * @param {number} value
70948
+ * @return {!proto.clarifai.api.ListNodepoolsRequest} returns this
70949
+ */
70950
+ proto.clarifai.api.ListNodepoolsRequest.prototype.setPerPage = function (value) {
70951
+ return jspb.Message.setProto3IntField(this, 3, value);
70952
+ };
70953
+ /**
70954
+ * List of repeated fields within this message type.
70955
+ * @private {!Array<number>}
70956
+ * @const
70957
+ */
70958
+ proto.clarifai.api.PostNodepoolsRequest.repeatedFields_ = [2];
70959
+ if (jspb.Message.GENERATE_TO_OBJECT) {
70960
+ /**
70961
+ * Creates an object representation of this proto.
70962
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
70963
+ * Optional fields that are not set will be set to undefined.
70964
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
70965
+ * For the list of reserved names please see:
70966
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
70967
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
70968
+ * JSPB instance for transitional soy proto support:
70969
+ * http://goto/soy-param-migration
70970
+ * @return {!Object}
70971
+ */
70972
+ proto.clarifai.api.PostNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
70973
+ return proto.clarifai.api.PostNodepoolsRequest.toObject(opt_includeInstance, this);
70974
+ };
70975
+ /**
70976
+ * Static version of the {@see toObject} method.
70977
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
70978
+ * the JSPB instance for transitional soy proto support:
70979
+ * http://goto/soy-param-migration
70980
+ * @param {!proto.clarifai.api.PostNodepoolsRequest} msg The msg instance to transform.
70981
+ * @return {!Object}
70982
+ * @suppress {unusedLocalVariables} f is only used for nested messages
70983
+ */
70984
+ proto.clarifai.api.PostNodepoolsRequest.toObject = function (includeInstance, msg) {
70985
+ var f, obj = {
70986
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
70987
+ nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
70988
+ };
70989
+ if (includeInstance) {
70990
+ obj.$jspbMessageInstance = msg;
70991
+ }
70992
+ return obj;
70993
+ };
70994
+ }
70995
+ /**
70996
+ * Deserializes binary data (in protobuf wire format).
70997
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
70998
+ * @return {!proto.clarifai.api.PostNodepoolsRequest}
70999
+ */
71000
+ proto.clarifai.api.PostNodepoolsRequest.deserializeBinary = function (bytes) {
71001
+ var reader = new jspb.BinaryReader(bytes);
71002
+ var msg = new proto.clarifai.api.PostNodepoolsRequest;
71003
+ return proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
71004
+ };
71005
+ /**
71006
+ * Deserializes binary data (in protobuf wire format) from the
71007
+ * given reader into the given message object.
71008
+ * @param {!proto.clarifai.api.PostNodepoolsRequest} msg The message object to deserialize into.
71009
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71010
+ * @return {!proto.clarifai.api.PostNodepoolsRequest}
71011
+ */
71012
+ proto.clarifai.api.PostNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
71013
+ while (reader.nextField()) {
71014
+ if (reader.isEndGroup()) {
71015
+ break;
71016
+ }
71017
+ var field = reader.getFieldNumber();
71018
+ switch (field) {
71019
+ case 1:
71020
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
71021
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
71022
+ msg.setUserAppId(value);
71023
+ break;
71024
+ case 2:
71025
+ var value = new proto_clarifai_api_resources_pb.Nodepool;
71026
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
71027
+ msg.addNodepools(value);
71028
+ break;
71029
+ default:
71030
+ reader.skipField();
71031
+ break;
71032
+ }
71033
+ }
71034
+ return msg;
71035
+ };
71036
+ /**
71037
+ * Serializes the message to binary data (in protobuf wire format).
71038
+ * @return {!Uint8Array}
71039
+ */
71040
+ proto.clarifai.api.PostNodepoolsRequest.prototype.serializeBinary = function () {
71041
+ var writer = new jspb.BinaryWriter();
71042
+ proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter(this, writer);
71043
+ return writer.getResultBuffer();
71044
+ };
71045
+ /**
71046
+ * Serializes the given message to binary data (in protobuf wire
71047
+ * format), writing to the given BinaryWriter.
71048
+ * @param {!proto.clarifai.api.PostNodepoolsRequest} message
71049
+ * @param {!jspb.BinaryWriter} writer
71050
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71051
+ */
71052
+ proto.clarifai.api.PostNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
71053
+ var f = undefined;
71054
+ f = message.getUserAppId();
71055
+ if (f != null) {
71056
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
71057
+ }
71058
+ f = message.getNodepoolsList();
71059
+ if (f.length > 0) {
71060
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
71061
+ }
71062
+ };
71063
+ /**
71064
+ * optional UserAppIDSet user_app_id = 1;
71065
+ * @return {?proto.clarifai.api.UserAppIDSet}
71066
+ */
71067
+ proto.clarifai.api.PostNodepoolsRequest.prototype.getUserAppId = function () {
71068
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
71069
+ };
71070
+ /**
71071
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
71072
+ * @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
71073
+ */
71074
+ proto.clarifai.api.PostNodepoolsRequest.prototype.setUserAppId = function (value) {
71075
+ return jspb.Message.setWrapperField(this, 1, value);
71076
+ };
71077
+ /**
71078
+ * Clears the message field making it undefined.
71079
+ * @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
71080
+ */
71081
+ proto.clarifai.api.PostNodepoolsRequest.prototype.clearUserAppId = function () {
71082
+ return this.setUserAppId(undefined);
71083
+ };
71084
+ /**
71085
+ * Returns whether this field is set.
71086
+ * @return {boolean}
71087
+ */
71088
+ proto.clarifai.api.PostNodepoolsRequest.prototype.hasUserAppId = function () {
71089
+ return jspb.Message.getField(this, 1) != null;
71090
+ };
71091
+ /**
71092
+ * repeated Nodepool nodepools = 2;
71093
+ * @return {!Array<!proto.clarifai.api.Nodepool>}
71094
+ */
71095
+ proto.clarifai.api.PostNodepoolsRequest.prototype.getNodepoolsList = function () {
71096
+ return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
71097
+ };
71098
+ /**
71099
+ * @param {!Array<!proto.clarifai.api.Nodepool>} value
71100
+ * @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
71101
+ */
71102
+ proto.clarifai.api.PostNodepoolsRequest.prototype.setNodepoolsList = function (value) {
71103
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
71104
+ };
71105
+ /**
71106
+ * @param {!proto.clarifai.api.Nodepool=} opt_value
71107
+ * @param {number=} opt_index
71108
+ * @return {!proto.clarifai.api.Nodepool}
71109
+ */
71110
+ proto.clarifai.api.PostNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
71111
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Nodepool, opt_index);
71112
+ };
71113
+ /**
71114
+ * Clears the list making it empty but non-null.
71115
+ * @return {!proto.clarifai.api.PostNodepoolsRequest} returns this
71116
+ */
71117
+ proto.clarifai.api.PostNodepoolsRequest.prototype.clearNodepoolsList = function () {
71118
+ return this.setNodepoolsList([]);
71119
+ };
71120
+ /**
71121
+ * List of repeated fields within this message type.
71122
+ * @private {!Array<number>}
71123
+ * @const
71124
+ */
71125
+ proto.clarifai.api.PatchNodepoolsRequest.repeatedFields_ = [3];
71126
+ if (jspb.Message.GENERATE_TO_OBJECT) {
71127
+ /**
71128
+ * Creates an object representation of this proto.
71129
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
71130
+ * Optional fields that are not set will be set to undefined.
71131
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
71132
+ * For the list of reserved names please see:
71133
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
71134
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
71135
+ * JSPB instance for transitional soy proto support:
71136
+ * http://goto/soy-param-migration
71137
+ * @return {!Object}
71138
+ */
71139
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
71140
+ return proto.clarifai.api.PatchNodepoolsRequest.toObject(opt_includeInstance, this);
71141
+ };
71142
+ /**
71143
+ * Static version of the {@see toObject} method.
71144
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
71145
+ * the JSPB instance for transitional soy proto support:
71146
+ * http://goto/soy-param-migration
71147
+ * @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The msg instance to transform.
71148
+ * @return {!Object}
71149
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71150
+ */
71151
+ proto.clarifai.api.PatchNodepoolsRequest.toObject = function (includeInstance, msg) {
71152
+ var f, obj = {
71153
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
71154
+ nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance),
71155
+ action: jspb.Message.getFieldWithDefault(msg, 4, "")
71156
+ };
71157
+ if (includeInstance) {
71158
+ obj.$jspbMessageInstance = msg;
71159
+ }
71160
+ return obj;
71161
+ };
71162
+ }
71163
+ /**
71164
+ * Deserializes binary data (in protobuf wire format).
71165
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
71166
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest}
71167
+ */
71168
+ proto.clarifai.api.PatchNodepoolsRequest.deserializeBinary = function (bytes) {
71169
+ var reader = new jspb.BinaryReader(bytes);
71170
+ var msg = new proto.clarifai.api.PatchNodepoolsRequest;
71171
+ return proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
71172
+ };
71173
+ /**
71174
+ * Deserializes binary data (in protobuf wire format) from the
71175
+ * given reader into the given message object.
71176
+ * @param {!proto.clarifai.api.PatchNodepoolsRequest} msg The message object to deserialize into.
71177
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71178
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest}
71179
+ */
71180
+ proto.clarifai.api.PatchNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
71181
+ while (reader.nextField()) {
71182
+ if (reader.isEndGroup()) {
71183
+ break;
71184
+ }
71185
+ var field = reader.getFieldNumber();
71186
+ switch (field) {
71187
+ case 1:
71188
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
71189
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
71190
+ msg.setUserAppId(value);
71191
+ break;
71192
+ case 3:
71193
+ var value = new proto_clarifai_api_resources_pb.Nodepool;
71194
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
71195
+ msg.addNodepools(value);
71196
+ break;
71197
+ case 4:
71198
+ var value = /** @type {string} */ (reader.readString());
71199
+ msg.setAction(value);
71200
+ break;
71201
+ default:
71202
+ reader.skipField();
71203
+ break;
71204
+ }
71205
+ }
71206
+ return msg;
71207
+ };
71208
+ /**
71209
+ * Serializes the message to binary data (in protobuf wire format).
71210
+ * @return {!Uint8Array}
71211
+ */
71212
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.serializeBinary = function () {
71213
+ var writer = new jspb.BinaryWriter();
71214
+ proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter(this, writer);
71215
+ return writer.getResultBuffer();
71216
+ };
71217
+ /**
71218
+ * Serializes the given message to binary data (in protobuf wire
71219
+ * format), writing to the given BinaryWriter.
71220
+ * @param {!proto.clarifai.api.PatchNodepoolsRequest} message
71221
+ * @param {!jspb.BinaryWriter} writer
71222
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71223
+ */
71224
+ proto.clarifai.api.PatchNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
71225
+ var f = undefined;
71226
+ f = message.getUserAppId();
71227
+ if (f != null) {
71228
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
71229
+ }
71230
+ f = message.getNodepoolsList();
71231
+ if (f.length > 0) {
71232
+ writer.writeRepeatedMessage(3, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
71233
+ }
71234
+ f = message.getAction();
71235
+ if (f.length > 0) {
71236
+ writer.writeString(4, f);
71237
+ }
71238
+ };
71239
+ /**
71240
+ * optional UserAppIDSet user_app_id = 1;
71241
+ * @return {?proto.clarifai.api.UserAppIDSet}
71242
+ */
71243
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.getUserAppId = function () {
71244
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
71245
+ };
71246
+ /**
71247
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
71248
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
71249
+ */
71250
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.setUserAppId = function (value) {
71251
+ return jspb.Message.setWrapperField(this, 1, value);
71252
+ };
71253
+ /**
71254
+ * Clears the message field making it undefined.
71255
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
71256
+ */
71257
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.clearUserAppId = function () {
71258
+ return this.setUserAppId(undefined);
71259
+ };
71260
+ /**
71261
+ * Returns whether this field is set.
71262
+ * @return {boolean}
71263
+ */
71264
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.hasUserAppId = function () {
71265
+ return jspb.Message.getField(this, 1) != null;
71266
+ };
71267
+ /**
71268
+ * repeated Nodepool nodepools = 3;
71269
+ * @return {!Array<!proto.clarifai.api.Nodepool>}
71270
+ */
71271
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.getNodepoolsList = function () {
71272
+ return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 3));
71273
+ };
71274
+ /**
71275
+ * @param {!Array<!proto.clarifai.api.Nodepool>} value
71276
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
71277
+ */
71278
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.setNodepoolsList = function (value) {
71279
+ return jspb.Message.setRepeatedWrapperField(this, 3, value);
71280
+ };
71281
+ /**
71282
+ * @param {!proto.clarifai.api.Nodepool=} opt_value
71283
+ * @param {number=} opt_index
71284
+ * @return {!proto.clarifai.api.Nodepool}
71285
+ */
71286
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.addNodepools = function (opt_value, opt_index) {
71287
+ return jspb.Message.addToRepeatedWrapperField(this, 3, opt_value, proto.clarifai.api.Nodepool, opt_index);
71288
+ };
71289
+ /**
71290
+ * Clears the list making it empty but non-null.
71291
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
71292
+ */
71293
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.clearNodepoolsList = function () {
71294
+ return this.setNodepoolsList([]);
71295
+ };
71296
+ /**
71297
+ * optional string action = 4;
71298
+ * @return {string}
71299
+ */
71300
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.getAction = function () {
71301
+ return /** @type {string} */ (jspb.Message.getFieldWithDefault(this, 4, ""));
71302
+ };
71303
+ /**
71304
+ * @param {string} value
71305
+ * @return {!proto.clarifai.api.PatchNodepoolsRequest} returns this
71306
+ */
71307
+ proto.clarifai.api.PatchNodepoolsRequest.prototype.setAction = function (value) {
71308
+ return jspb.Message.setProto3StringField(this, 4, value);
71309
+ };
71310
+ /**
71311
+ * List of repeated fields within this message type.
71312
+ * @private {!Array<number>}
71313
+ * @const
71314
+ */
71315
+ proto.clarifai.api.DeleteNodepoolsRequest.repeatedFields_ = [2];
71316
+ if (jspb.Message.GENERATE_TO_OBJECT) {
71317
+ /**
71318
+ * Creates an object representation of this proto.
71319
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
71320
+ * Optional fields that are not set will be set to undefined.
71321
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
71322
+ * For the list of reserved names please see:
71323
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
71324
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
71325
+ * JSPB instance for transitional soy proto support:
71326
+ * http://goto/soy-param-migration
71327
+ * @return {!Object}
71328
+ */
71329
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.toObject = function (opt_includeInstance) {
71330
+ return proto.clarifai.api.DeleteNodepoolsRequest.toObject(opt_includeInstance, this);
71331
+ };
71332
+ /**
71333
+ * Static version of the {@see toObject} method.
71334
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
71335
+ * the JSPB instance for transitional soy proto support:
71336
+ * http://goto/soy-param-migration
71337
+ * @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The msg instance to transform.
71338
+ * @return {!Object}
71339
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71340
+ */
71341
+ proto.clarifai.api.DeleteNodepoolsRequest.toObject = function (includeInstance, msg) {
71342
+ var f, obj = {
71343
+ userAppId: (f = msg.getUserAppId()) && proto_clarifai_api_resources_pb.UserAppIDSet.toObject(includeInstance, f),
71344
+ idsList: (f = jspb.Message.getRepeatedField(msg, 2)) == null ? undefined : f
71345
+ };
71346
+ if (includeInstance) {
71347
+ obj.$jspbMessageInstance = msg;
71348
+ }
71349
+ return obj;
71350
+ };
71351
+ }
71352
+ /**
71353
+ * Deserializes binary data (in protobuf wire format).
71354
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
71355
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest}
71356
+ */
71357
+ proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinary = function (bytes) {
71358
+ var reader = new jspb.BinaryReader(bytes);
71359
+ var msg = new proto.clarifai.api.DeleteNodepoolsRequest;
71360
+ return proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader(msg, reader);
71361
+ };
71362
+ /**
71363
+ * Deserializes binary data (in protobuf wire format) from the
71364
+ * given reader into the given message object.
71365
+ * @param {!proto.clarifai.api.DeleteNodepoolsRequest} msg The message object to deserialize into.
71366
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71367
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest}
71368
+ */
71369
+ proto.clarifai.api.DeleteNodepoolsRequest.deserializeBinaryFromReader = function (msg, reader) {
71370
+ while (reader.nextField()) {
71371
+ if (reader.isEndGroup()) {
71372
+ break;
71373
+ }
71374
+ var field = reader.getFieldNumber();
71375
+ switch (field) {
71376
+ case 1:
71377
+ var value = new proto_clarifai_api_resources_pb.UserAppIDSet;
71378
+ reader.readMessage(value, proto_clarifai_api_resources_pb.UserAppIDSet.deserializeBinaryFromReader);
71379
+ msg.setUserAppId(value);
71380
+ break;
71381
+ case 2:
71382
+ var value = /** @type {string} */ (reader.readString());
71383
+ msg.addIds(value);
71384
+ break;
71385
+ default:
71386
+ reader.skipField();
71387
+ break;
71388
+ }
71389
+ }
71390
+ return msg;
71391
+ };
71392
+ /**
71393
+ * Serializes the message to binary data (in protobuf wire format).
71394
+ * @return {!Uint8Array}
71395
+ */
71396
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.serializeBinary = function () {
71397
+ var writer = new jspb.BinaryWriter();
71398
+ proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter(this, writer);
71399
+ return writer.getResultBuffer();
71400
+ };
71401
+ /**
71402
+ * Serializes the given message to binary data (in protobuf wire
71403
+ * format), writing to the given BinaryWriter.
71404
+ * @param {!proto.clarifai.api.DeleteNodepoolsRequest} message
71405
+ * @param {!jspb.BinaryWriter} writer
71406
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71407
+ */
71408
+ proto.clarifai.api.DeleteNodepoolsRequest.serializeBinaryToWriter = function (message, writer) {
71409
+ var f = undefined;
71410
+ f = message.getUserAppId();
71411
+ if (f != null) {
71412
+ writer.writeMessage(1, f, proto_clarifai_api_resources_pb.UserAppIDSet.serializeBinaryToWriter);
71413
+ }
71414
+ f = message.getIdsList();
71415
+ if (f.length > 0) {
71416
+ writer.writeRepeatedString(2, f);
71417
+ }
71418
+ };
71419
+ /**
71420
+ * optional UserAppIDSet user_app_id = 1;
71421
+ * @return {?proto.clarifai.api.UserAppIDSet}
71422
+ */
71423
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.getUserAppId = function () {
71424
+ return /** @type{?proto.clarifai.api.UserAppIDSet} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.UserAppIDSet, 1));
71425
+ };
71426
+ /**
71427
+ * @param {?proto.clarifai.api.UserAppIDSet|undefined} value
71428
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
71429
+ */
71430
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.setUserAppId = function (value) {
71431
+ return jspb.Message.setWrapperField(this, 1, value);
71432
+ };
71433
+ /**
71434
+ * Clears the message field making it undefined.
71435
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
71436
+ */
71437
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearUserAppId = function () {
71438
+ return this.setUserAppId(undefined);
71439
+ };
71440
+ /**
71441
+ * Returns whether this field is set.
71442
+ * @return {boolean}
71443
+ */
71444
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.hasUserAppId = function () {
71445
+ return jspb.Message.getField(this, 1) != null;
71446
+ };
71447
+ /**
71448
+ * repeated string ids = 2;
71449
+ * @return {!Array<string>}
71450
+ */
71451
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.getIdsList = function () {
71452
+ return /** @type {!Array<string>} */ (jspb.Message.getRepeatedField(this, 2));
71453
+ };
71454
+ /**
71455
+ * @param {!Array<string>} value
71456
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
71457
+ */
71458
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.setIdsList = function (value) {
71459
+ return jspb.Message.setField(this, 2, value || []);
71460
+ };
71461
+ /**
71462
+ * @param {string} value
71463
+ * @param {number=} opt_index
71464
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
71465
+ */
71466
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.addIds = function (value, opt_index) {
71467
+ return jspb.Message.addToRepeatedField(this, 2, value, opt_index);
71468
+ };
71469
+ /**
71470
+ * Clears the list making it empty but non-null.
71471
+ * @return {!proto.clarifai.api.DeleteNodepoolsRequest} returns this
71472
+ */
71473
+ proto.clarifai.api.DeleteNodepoolsRequest.prototype.clearIdsList = function () {
71474
+ return this.setIdsList([]);
71475
+ };
71476
+ if (jspb.Message.GENERATE_TO_OBJECT) {
71477
+ /**
71478
+ * Creates an object representation of this proto.
71479
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
71480
+ * Optional fields that are not set will be set to undefined.
71481
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
71482
+ * For the list of reserved names please see:
71483
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
71484
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
71485
+ * JSPB instance for transitional soy proto support:
71486
+ * http://goto/soy-param-migration
71487
+ * @return {!Object}
71488
+ */
71489
+ proto.clarifai.api.SingleNodepoolResponse.prototype.toObject = function (opt_includeInstance) {
71490
+ return proto.clarifai.api.SingleNodepoolResponse.toObject(opt_includeInstance, this);
71491
+ };
71492
+ /**
71493
+ * Static version of the {@see toObject} method.
71494
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
71495
+ * the JSPB instance for transitional soy proto support:
71496
+ * http://goto/soy-param-migration
71497
+ * @param {!proto.clarifai.api.SingleNodepoolResponse} msg The msg instance to transform.
71498
+ * @return {!Object}
71499
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71500
+ */
71501
+ proto.clarifai.api.SingleNodepoolResponse.toObject = function (includeInstance, msg) {
71502
+ var f, obj = {
71503
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
71504
+ nodepool: (f = msg.getNodepool()) && proto_clarifai_api_resources_pb.Nodepool.toObject(includeInstance, f)
71505
+ };
71506
+ if (includeInstance) {
71507
+ obj.$jspbMessageInstance = msg;
71508
+ }
71509
+ return obj;
71510
+ };
71511
+ }
71512
+ /**
71513
+ * Deserializes binary data (in protobuf wire format).
71514
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
71515
+ * @return {!proto.clarifai.api.SingleNodepoolResponse}
71516
+ */
71517
+ proto.clarifai.api.SingleNodepoolResponse.deserializeBinary = function (bytes) {
71518
+ var reader = new jspb.BinaryReader(bytes);
71519
+ var msg = new proto.clarifai.api.SingleNodepoolResponse;
71520
+ return proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader(msg, reader);
71521
+ };
71522
+ /**
71523
+ * Deserializes binary data (in protobuf wire format) from the
71524
+ * given reader into the given message object.
71525
+ * @param {!proto.clarifai.api.SingleNodepoolResponse} msg The message object to deserialize into.
71526
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71527
+ * @return {!proto.clarifai.api.SingleNodepoolResponse}
71528
+ */
71529
+ proto.clarifai.api.SingleNodepoolResponse.deserializeBinaryFromReader = function (msg, reader) {
71530
+ while (reader.nextField()) {
71531
+ if (reader.isEndGroup()) {
71532
+ break;
71533
+ }
71534
+ var field = reader.getFieldNumber();
71535
+ switch (field) {
71536
+ case 1:
71537
+ var value = new proto_clarifai_api_status_status_pb.Status;
71538
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
71539
+ msg.setStatus(value);
71540
+ break;
71541
+ case 2:
71542
+ var value = new proto_clarifai_api_resources_pb.Nodepool;
71543
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
71544
+ msg.setNodepool(value);
71545
+ break;
71546
+ default:
71547
+ reader.skipField();
71548
+ break;
71549
+ }
71550
+ }
71551
+ return msg;
71552
+ };
71553
+ /**
71554
+ * Serializes the message to binary data (in protobuf wire format).
71555
+ * @return {!Uint8Array}
71556
+ */
71557
+ proto.clarifai.api.SingleNodepoolResponse.prototype.serializeBinary = function () {
71558
+ var writer = new jspb.BinaryWriter();
71559
+ proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter(this, writer);
71560
+ return writer.getResultBuffer();
71561
+ };
71562
+ /**
71563
+ * Serializes the given message to binary data (in protobuf wire
71564
+ * format), writing to the given BinaryWriter.
71565
+ * @param {!proto.clarifai.api.SingleNodepoolResponse} message
71566
+ * @param {!jspb.BinaryWriter} writer
71567
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71568
+ */
71569
+ proto.clarifai.api.SingleNodepoolResponse.serializeBinaryToWriter = function (message, writer) {
71570
+ var f = undefined;
71571
+ f = message.getStatus();
71572
+ if (f != null) {
71573
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
71574
+ }
71575
+ f = message.getNodepool();
71576
+ if (f != null) {
71577
+ writer.writeMessage(2, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
71578
+ }
71579
+ };
71580
+ /**
71581
+ * optional status.Status status = 1;
71582
+ * @return {?proto.clarifai.api.status.Status}
71583
+ */
71584
+ proto.clarifai.api.SingleNodepoolResponse.prototype.getStatus = function () {
71585
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
71586
+ };
71587
+ /**
71588
+ * @param {?proto.clarifai.api.status.Status|undefined} value
71589
+ * @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
71590
+ */
71591
+ proto.clarifai.api.SingleNodepoolResponse.prototype.setStatus = function (value) {
71592
+ return jspb.Message.setWrapperField(this, 1, value);
71593
+ };
71594
+ /**
71595
+ * Clears the message field making it undefined.
71596
+ * @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
71597
+ */
71598
+ proto.clarifai.api.SingleNodepoolResponse.prototype.clearStatus = function () {
71599
+ return this.setStatus(undefined);
71600
+ };
71601
+ /**
71602
+ * Returns whether this field is set.
71603
+ * @return {boolean}
71604
+ */
71605
+ proto.clarifai.api.SingleNodepoolResponse.prototype.hasStatus = function () {
71606
+ return jspb.Message.getField(this, 1) != null;
71607
+ };
71608
+ /**
71609
+ * optional Nodepool nodepool = 2;
71610
+ * @return {?proto.clarifai.api.Nodepool}
71611
+ */
71612
+ proto.clarifai.api.SingleNodepoolResponse.prototype.getNodepool = function () {
71613
+ return /** @type{?proto.clarifai.api.Nodepool} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
71614
+ };
71615
+ /**
71616
+ * @param {?proto.clarifai.api.Nodepool|undefined} value
71617
+ * @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
71618
+ */
71619
+ proto.clarifai.api.SingleNodepoolResponse.prototype.setNodepool = function (value) {
71620
+ return jspb.Message.setWrapperField(this, 2, value);
71621
+ };
71622
+ /**
71623
+ * Clears the message field making it undefined.
71624
+ * @return {!proto.clarifai.api.SingleNodepoolResponse} returns this
71625
+ */
71626
+ proto.clarifai.api.SingleNodepoolResponse.prototype.clearNodepool = function () {
71627
+ return this.setNodepool(undefined);
71628
+ };
71629
+ /**
71630
+ * Returns whether this field is set.
71631
+ * @return {boolean}
71632
+ */
71633
+ proto.clarifai.api.SingleNodepoolResponse.prototype.hasNodepool = function () {
71634
+ return jspb.Message.getField(this, 2) != null;
71635
+ };
71636
+ /**
71637
+ * List of repeated fields within this message type.
71638
+ * @private {!Array<number>}
71639
+ * @const
71640
+ */
71641
+ proto.clarifai.api.MultiNodepoolResponse.repeatedFields_ = [2];
71642
+ if (jspb.Message.GENERATE_TO_OBJECT) {
71643
+ /**
71644
+ * Creates an object representation of this proto.
71645
+ * Field names that are reserved in JavaScript and will be renamed to pb_name.
71646
+ * Optional fields that are not set will be set to undefined.
71647
+ * To access a reserved field use, foo.pb_<name>, eg, foo.pb_default.
71648
+ * For the list of reserved names please see:
71649
+ * net/proto2/compiler/js/internal/generator.cc#kKeyword.
71650
+ * @param {boolean=} opt_includeInstance Deprecated. whether to include the
71651
+ * JSPB instance for transitional soy proto support:
71652
+ * http://goto/soy-param-migration
71653
+ * @return {!Object}
71654
+ */
71655
+ proto.clarifai.api.MultiNodepoolResponse.prototype.toObject = function (opt_includeInstance) {
71656
+ return proto.clarifai.api.MultiNodepoolResponse.toObject(opt_includeInstance, this);
71657
+ };
71658
+ /**
71659
+ * Static version of the {@see toObject} method.
71660
+ * @param {boolean|undefined} includeInstance Deprecated. Whether to include
71661
+ * the JSPB instance for transitional soy proto support:
71662
+ * http://goto/soy-param-migration
71663
+ * @param {!proto.clarifai.api.MultiNodepoolResponse} msg The msg instance to transform.
71664
+ * @return {!Object}
71665
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71666
+ */
71667
+ proto.clarifai.api.MultiNodepoolResponse.toObject = function (includeInstance, msg) {
71668
+ var f, obj = {
71669
+ status: (f = msg.getStatus()) && proto_clarifai_api_status_status_pb.Status.toObject(includeInstance, f),
71670
+ nodepoolsList: jspb.Message.toObjectList(msg.getNodepoolsList(), proto_clarifai_api_resources_pb.Nodepool.toObject, includeInstance)
71671
+ };
71672
+ if (includeInstance) {
71673
+ obj.$jspbMessageInstance = msg;
71674
+ }
71675
+ return obj;
71676
+ };
71677
+ }
71678
+ /**
71679
+ * Deserializes binary data (in protobuf wire format).
71680
+ * @param {jspb.ByteSource} bytes The bytes to deserialize.
71681
+ * @return {!proto.clarifai.api.MultiNodepoolResponse}
71682
+ */
71683
+ proto.clarifai.api.MultiNodepoolResponse.deserializeBinary = function (bytes) {
71684
+ var reader = new jspb.BinaryReader(bytes);
71685
+ var msg = new proto.clarifai.api.MultiNodepoolResponse;
71686
+ return proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader(msg, reader);
71687
+ };
71688
+ /**
71689
+ * Deserializes binary data (in protobuf wire format) from the
71690
+ * given reader into the given message object.
71691
+ * @param {!proto.clarifai.api.MultiNodepoolResponse} msg The message object to deserialize into.
71692
+ * @param {!jspb.BinaryReader} reader The BinaryReader to use.
71693
+ * @return {!proto.clarifai.api.MultiNodepoolResponse}
71694
+ */
71695
+ proto.clarifai.api.MultiNodepoolResponse.deserializeBinaryFromReader = function (msg, reader) {
71696
+ while (reader.nextField()) {
71697
+ if (reader.isEndGroup()) {
71698
+ break;
71699
+ }
71700
+ var field = reader.getFieldNumber();
71701
+ switch (field) {
71702
+ case 1:
71703
+ var value = new proto_clarifai_api_status_status_pb.Status;
71704
+ reader.readMessage(value, proto_clarifai_api_status_status_pb.Status.deserializeBinaryFromReader);
71705
+ msg.setStatus(value);
71706
+ break;
71707
+ case 2:
71708
+ var value = new proto_clarifai_api_resources_pb.Nodepool;
71709
+ reader.readMessage(value, proto_clarifai_api_resources_pb.Nodepool.deserializeBinaryFromReader);
71710
+ msg.addNodepools(value);
71711
+ break;
71712
+ default:
71713
+ reader.skipField();
71714
+ break;
71715
+ }
71716
+ }
71717
+ return msg;
71718
+ };
71719
+ /**
71720
+ * Serializes the message to binary data (in protobuf wire format).
71721
+ * @return {!Uint8Array}
71722
+ */
71723
+ proto.clarifai.api.MultiNodepoolResponse.prototype.serializeBinary = function () {
71724
+ var writer = new jspb.BinaryWriter();
71725
+ proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter(this, writer);
71726
+ return writer.getResultBuffer();
71727
+ };
71728
+ /**
71729
+ * Serializes the given message to binary data (in protobuf wire
71730
+ * format), writing to the given BinaryWriter.
71731
+ * @param {!proto.clarifai.api.MultiNodepoolResponse} message
71732
+ * @param {!jspb.BinaryWriter} writer
71733
+ * @suppress {unusedLocalVariables} f is only used for nested messages
71734
+ */
71735
+ proto.clarifai.api.MultiNodepoolResponse.serializeBinaryToWriter = function (message, writer) {
71736
+ var f = undefined;
71737
+ f = message.getStatus();
71738
+ if (f != null) {
71739
+ writer.writeMessage(1, f, proto_clarifai_api_status_status_pb.Status.serializeBinaryToWriter);
71740
+ }
71741
+ f = message.getNodepoolsList();
71742
+ if (f.length > 0) {
71743
+ writer.writeRepeatedMessage(2, f, proto_clarifai_api_resources_pb.Nodepool.serializeBinaryToWriter);
71744
+ }
71745
+ };
71746
+ /**
71747
+ * optional status.Status status = 1;
71748
+ * @return {?proto.clarifai.api.status.Status}
71749
+ */
71750
+ proto.clarifai.api.MultiNodepoolResponse.prototype.getStatus = function () {
71751
+ return /** @type{?proto.clarifai.api.status.Status} */ (jspb.Message.getWrapperField(this, proto_clarifai_api_status_status_pb.Status, 1));
71752
+ };
71753
+ /**
71754
+ * @param {?proto.clarifai.api.status.Status|undefined} value
71755
+ * @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
71756
+ */
71757
+ proto.clarifai.api.MultiNodepoolResponse.prototype.setStatus = function (value) {
71758
+ return jspb.Message.setWrapperField(this, 1, value);
71759
+ };
71760
+ /**
71761
+ * Clears the message field making it undefined.
71762
+ * @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
71763
+ */
71764
+ proto.clarifai.api.MultiNodepoolResponse.prototype.clearStatus = function () {
71765
+ return this.setStatus(undefined);
71766
+ };
71767
+ /**
71768
+ * Returns whether this field is set.
71769
+ * @return {boolean}
71770
+ */
71771
+ proto.clarifai.api.MultiNodepoolResponse.prototype.hasStatus = function () {
71772
+ return jspb.Message.getField(this, 1) != null;
71773
+ };
71774
+ /**
71775
+ * repeated Nodepool nodepools = 2;
71776
+ * @return {!Array<!proto.clarifai.api.Nodepool>}
71777
+ */
71778
+ proto.clarifai.api.MultiNodepoolResponse.prototype.getNodepoolsList = function () {
71779
+ return /** @type{!Array<!proto.clarifai.api.Nodepool>} */ (jspb.Message.getRepeatedWrapperField(this, proto_clarifai_api_resources_pb.Nodepool, 2));
71780
+ };
71781
+ /**
71782
+ * @param {!Array<!proto.clarifai.api.Nodepool>} value
71783
+ * @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
71784
+ */
71785
+ proto.clarifai.api.MultiNodepoolResponse.prototype.setNodepoolsList = function (value) {
71786
+ return jspb.Message.setRepeatedWrapperField(this, 2, value);
71787
+ };
71788
+ /**
71789
+ * @param {!proto.clarifai.api.Nodepool=} opt_value
71790
+ * @param {number=} opt_index
71791
+ * @return {!proto.clarifai.api.Nodepool}
71792
+ */
71793
+ proto.clarifai.api.MultiNodepoolResponse.prototype.addNodepools = function (opt_value, opt_index) {
71794
+ return jspb.Message.addToRepeatedWrapperField(this, 2, opt_value, proto.clarifai.api.Nodepool, opt_index);
71795
+ };
71796
+ /**
71797
+ * Clears the list making it empty but non-null.
71798
+ * @return {!proto.clarifai.api.MultiNodepoolResponse} returns this
71799
+ */
71800
+ proto.clarifai.api.MultiNodepoolResponse.prototype.clearNodepoolsList = function () {
71801
+ return this.setNodepoolsList([]);
71802
+ };
70463
71803
  /**
70464
71804
  * @enum {number}
70465
71805
  */